Comparing ray/src/rt/raypwin.c (file contents):
Revision 2.3 by greg, Mon Feb 11 21:17:25 2008 UTC vs.
Revision 2.5 by greg, Thu Apr 17 18:48:09 2008 UTC
55 |
|
{ |
56 |
|
if (r == NULL) |
57 |
|
return(0); |
58 |
< |
ray_value(r); |
58 |
> |
if (ray_pnidle <= 0) { |
59 |
> |
RAY new_ray = *r; |
60 |
> |
*r = queued_ray; |
61 |
> |
queued_ray = new_ray; |
62 |
> |
} |
63 |
> |
samplendx++; |
64 |
> |
rayvalue(r); |
65 |
|
return(1); |
66 |
|
} |
67 |
|
|
75 |
|
if (r == NULL) |
76 |
|
return(0); |
77 |
|
if (ray_pnidle <= 0) { |
72 |
– |
ray_value(&queued_ray); |
78 |
|
*r = queued_ray; |
79 |
+ |
samplendx++; |
80 |
+ |
rayvalue(r); |
81 |
|
ray_pnidle = 1; |
82 |
|
return(1); |
83 |
|
} |
Diff Legend
– |
Removed lines |
+ |
Added lines |
< |
Changed lines |
> |
Changed lines |