78 |
|
* restarted at any point by calling ray_init() on a new |
79 |
|
* octree. |
80 |
|
* |
81 |
< |
* The call ray_save(rp) allocates and returns a buffer |
81 |
> |
* The call ray_save(rp) fills a parameter structure |
82 |
|
* with the current global parameter settings, which may be |
83 |
|
* restored at any time with a call to ray_restore(rp). |
84 |
|
* This buffer contains no linked information, and thus |
179 |
|
/* ready to go... */ |
180 |
|
} |
181 |
|
|
182 |
– |
|
182 |
|
void |
183 |
< |
ray_trace(RAY *r) /* trace a primary ray */ |
183 |
> |
ray_trace(r) /* trace a primary ray */ |
184 |
> |
RAY *r; |
185 |
|
{ |
186 |
|
rayorigin(r, NULL, PRIMARY, 1.0); |
187 |
|
samplendx++; |