ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/o_instance.c
(Generate patch)

Comparing ray/src/rt/o_instance.c (file contents):
Revision 2.6 by greg, Tue Mar 11 17:08:55 2003 UTC vs.
Revision 2.7 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 23 | Line 23 | register RAY  *r;
23                                          /* get the octree */
24          ins = getinstance(o, IO_ALL);
25                                          /* copy and transform ray */
26 <        copystruct(&rcont, r);
26 >        rcont = *r;
27          multp3(rcont.rorg, r->rorg, ins->x.b.xfm);
28          multv3(rcont.rdir, r->rdir, ins->x.b.xfm);
29          for (i = 0; i < 3; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines