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

Comparing ray/src/rt/m_clip.c (file contents):
Revision 2.13 by greg, Sat May 4 03:14:04 2019 UTC vs.
Revision 2.14 by greg, Thu Apr 4 20:04:11 2024 UTC

# Line 93 | Line 93 | m_clip(                        /* clip objects from ray */
93                  const RAY  *rp;
94                                          /* check for penetration */
95                  for (rp = r; rp->parent != NULL; rp = rp->parent)
96 <                        if ((rp->rtype == RAYREFL) & (rp->parent->ro != NULL)
96 >                        if (!(rp->rtype & RAYREFL) & (rp->parent->ro != NULL)
97                                          && inset(modset, rp->parent->ro->omod)) {
98                                  if (rp->parent->rod > 0.0)
99                                          inside++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines