8 |
|
#include "copyright.h" |
9 |
|
|
10 |
|
#include "ray.h" |
11 |
– |
|
11 |
|
#include "instance.h" |
12 |
+ |
#include "rtotypes.h" |
13 |
|
|
14 |
|
|
15 |
< |
o_instance(o, r) /* compute ray intersection with octree */ |
16 |
< |
OBJREC *o; |
17 |
< |
register RAY *r; |
15 |
> |
int |
16 |
> |
o_instance( /* compute ray intersection with octree */ |
17 |
> |
OBJREC *o, |
18 |
> |
RAY *r |
19 |
> |
) |
20 |
|
{ |
21 |
|
RAY rcont; |
22 |
|
double d; |
23 |
< |
register INSTANCE *ins; |
24 |
< |
register int i; |
23 |
> |
INSTANCE *ins; |
24 |
> |
int i; |
25 |
|
/* get the octree */ |
26 |
|
ins = getinstance(o, IO_ALL); |
27 |
|
/* copy and transform ray */ |