Comparing ray/src/rt/raypwin.c (file contents):
Revision 2.7 by greg, Thu May 27 19:32:13 2010 UTC vs.
Revision 2.8 by greg, Tue Oct 26 03:45:35 2010 UTC
54 |
|
RAY *r |
55 |
|
) |
56 |
|
{ |
57 |
+ |
RNUMBER rno; |
58 |
+ |
|
59 |
|
if (r == NULL) |
60 |
|
return(0); |
61 |
|
if (ray_pnidle <= 0) { |
63 |
|
*r = queued_ray; |
64 |
|
queued_ray = new_ray; |
65 |
|
} |
66 |
+ |
rno = r->rno; |
67 |
+ |
r->rno = raynum++; |
68 |
|
samplendx++; |
69 |
|
rayvalue(r); |
70 |
+ |
r->rno = rno; |
71 |
|
return(1); |
72 |
|
} |
73 |
|
|
82 |
|
return(0); |
83 |
|
if (ray_pnidle <= 0) { |
84 |
|
*r = queued_ray; |
85 |
+ |
r->rno = raynum++; |
86 |
|
samplendx++; |
87 |
|
rayvalue(r); |
88 |
+ |
r->rno = queued_ray.rno; |
89 |
|
ray_pnidle = 1; |
90 |
|
return(1); |
91 |
|
} |
Diff Legend
– |
Removed lines |
+ |
Added lines |
< |
Changed lines |
> |
Changed lines |