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

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

# Line 63 | Line 63 | o_sphere(                      /* compute intersection with sphere */
63                          break;
64          if (i >= nroots)
65                  return(0);                      /* no positive root */
66 <        if (rayreject(so, r, t))
66 >        if (rayreject(so, r, t, 0))
67                  return(0);                      /* previous hit better */
68  
69          r->ro = so;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines