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

Comparing ray/src/rt/raypwin.c (file contents):
Revision 2.3 by greg, Mon Feb 11 21:17:25 2008 UTC vs.
Revision 2.4 by greg, Wed Feb 13 01:06:10 2008 UTC

# Line 55 | Line 55 | ray_pqueue(                    /* queue a ray for computation */
55   {
56          if (r == NULL)
57                  return(0);
58 <        ray_value(r);
58 >        samplendx++;
59 >        rayvalue(r);
60          return(1);
61   }
62  
# Line 69 | Line 70 | ray_presult(           /* check for a completed ray */
70          if (r == NULL)
71                  return(0);
72          if (ray_pnidle <= 0) {
73 <                ray_value(&queued_ray);
73 >                samplendx++;
74 >                rayvalue(r);
75                  *r = queued_ray;
76                  ray_pnidle = 1;
77                  return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines