ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rv3.c
(Generate patch)

Comparing ray/src/rt/rv3.c (file contents):
Revision 1.18 by greg, Tue Mar 19 13:14:03 1991 UTC vs.
Revision 1.20 by greg, Tue May 21 17:41:19 1991 UTC

# Line 157 | Line 157 | int  xmin, ymin, xmax, ymax;
157                  setcolor(thisray.rcol, 0.0, 0.0, 0.0);
158          } else {
159                  rayorigin(&thisray, NULL, PRIMARY, 1.0);
160 +                samplendx++;
161                  rayvalue(&thisray);
162          }
163  
# Line 178 | Line 179 | newimage()                             /* start a new image */
179   {
180                                                  /* free old image */
181          freepkids(&ptrunk);
182 +                                                /* save reserve memory */
183 +        fillreserves();
184                                                  /* compute resolution */
185          hresolu = dev->xsiz;
186          vresolu = dev->ysiz;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines