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.4 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.5 by greg, Tue Jun 22 13:40:54 2004 UTC

# Line 281 | Line 281 | srcblocker(register RAY *r)
281          m = findmaterial(r->ro);
282          if (m == NULL)
283                  return;                 /* no material?! */
284 <        if (!(ofun[m->otype].flags & T_OPAQUE))
284 >        if (!isopaque(m->otype))
285                  return;                 /* material not a reliable blocker */
286          *srcobstructp(r) = r->robj;     /* else record obstructor */
287   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines