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.11 by greg, Sat Feb 25 19:49:16 2006 UTC vs.
Revision 2.12 by greg, Mon Oct 25 22:57:45 2010 UTC

# Line 198 | Line 198 | o_mesh(                        /* compute ray intersection with a mesh */
198                                          wt[2]*tv[2].n[i];
199                  multv3(r->pert, rcont.pert, curmi->x.f.xfm);
200                  if (normalize(r->pert) != 0.0)
201 <                        for (i = 0; i < 3; i++)
202 <                                r->pert[i] -= r->ron[i];
201 >                        VSUB(r->pert, r->pert, r->ron);
202          } else
203                  r->pert[0] = r->pert[1] = r->pert[2] = .0;
204  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines