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.15 by greg, Fri Mar 1 02:03:33 2019 UTC vs.
Revision 2.16 by greg, Wed Jun 18 22:16:31 2025 UTC

# Line 184 | Line 184 | o_mesh(                        /* compute ray intersection with a mesh */
184          if ((o->omod == OVOID) & (tmod != OVOID)) {
185                  r->ro = getmeshpseudo(curmsh, tmod);
186                  r->rox = &curmi->x;
187 <        } else
187 >        } else {
188                  r->ro = o;
189 +                r->rox = NULL;
190 +        }
191                                          /* compute barycentric weights */
192          if (flags & (MT_N|MT_UV))
193                  if (get_baryc(wt, rcont.rop, tv[0].v, tv[1].v, tv[2].v) < 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines