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 2.17 by greg, Tue Apr 19 01:15:07 2005 UTC vs.
Revision 2.18 by greg, Mon Jun 13 20:07:56 2005 UTC

# Line 171 | Line 171 | int  xmin, ymin, xmax, ymax;
171                  setcolor(thisray.rcol, 0.0, 0.0, 0.0);
172          } else {
173                  rayorigin(&thisray, PRIMARY, NULL, NULL);
174 <                samplendx++;
174 >                samplendx = rand_samp ? random() : samplendx+1;
175                  rayvalue(&thisray);
176          }
177  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines