# | Line 24 | Line 24 | register RAY *r; | |
---|---|---|
24 | register INSTANCE *in; | |
25 | register int i; | |
26 | /* get the octree */ | |
27 | < | in = getinstance(o, GET_ALL); |
27 | > | in = getinstance(o, IO_ALL); |
28 | /* copy old ray */ | |
29 | < | bcopy(r, &rcont, sizeof(RAY)); |
29 | > | copystruct(&rcont, r); |
30 | /* transform it */ | |
31 | rcont.rno = nrays; | |
32 | rcont.ro = NULL; | |
33 | rcont.rot = FHUGE; | |
34 | – | rcont.rno = nrays; |
34 | multp3(rcont.rorg, r->rorg, in->b.xfm); | |
35 | multv3(rcont.rdir, r->rdir, in->b.xfm); | |
36 | for (i = 0; i < 3; i++) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |