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

Comparing ray/src/rt/o_face.c (file contents):
Revision 2.8 by greg, Sun Jan 31 18:08:04 2021 UTC vs.
Revision 2.9 by greg, Thu Mar 16 00:25:24 2023 UTC

# Line 41 | Line 41 | o_face(                /* compute intersection with polygonal face *
41  
42          t = (DOT(r->rorg, f->norm) - f->offset) / rdot;
43          
44 <        if (rayreject(o, r, t))                 /* previous hit is better? */
44 >        if (rayreject(o, r, t, rdot))           /* previous hit is better? */
45                  return(0);
46                                                  /* compute intersection */
47          VSUM(pisect, r->rorg, r->rdir, t);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines