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

Comparing ray/src/rt/srcobstr.c (file contents):
Revision 2.21 by greg, Sun Nov 17 19:36:09 2024 UTC vs.
Revision 2.22 by greg, Mon Dec 9 00:44:29 2024 UTC

# Line 309 | Line 309 | srcblocker(RAY *r)
309          m = findmaterial(r->ro);
310          if (m == NULL)
311                  return(0);              /* no material?! */
312 <        if (!isopaque(m->otype))
312 >        if (!isopaque(m))
313                  return(0);              /* material not a reliable blocker */
314          *srcobstructp(r) = r->robj;     /* else record obstructor */
315          return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines