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

Comparing ray/src/rt/o_mesh.c (file contents):
Revision 2.8 by schorsch, Mon Jun 30 14:59:12 2003 UTC vs.
Revision 2.9 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 158 | Line 158 | register RAY   *r;
158                                          /* get the mesh instance */
159          prep_edge_cache(o);
160                                          /* copy and transform ray */
161 <        copystruct(&rcont, r);
161 >        rcont = *r;
162          multp3(rcont.rorg, r->rorg, curmi->x.b.xfm);
163          multv3(rcont.rdir, r->rdir, curmi->x.b.xfm);
164          for (i = 0; i < 3; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines