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

Comparing ray/src/rt/raycalls.c (file contents):
Revision 2.11 by greg, Tue Apr 19 01:15:06 2005 UTC vs.
Revision 2.12 by greg, Mon Jun 13 20:07:56 2005 UTC

# Line 179 | Line 179 | ray_trace(                     /* trace a primary ray */
179   )
180   {
181          rayorigin(r, PRIMARY, NULL, NULL);
182 <        samplendx++;
182 >        samplendx = rand_samp ? random() : samplendx+1;
183          rayvalue(r);            /* assumes origin and direction are set */
184   }
185  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines