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

Comparing ray/src/rt/srcsupp.c (file contents):
Revision 2.3 by greg, Wed Jan 15 16:54:50 1992 UTC vs.
Revision 2.4 by greg, Wed Feb 26 09:49:37 1992 UTC

# Line 545 | Line 545 | register RAY  *r;
545   */
546  
547   #define  badcomponent(m, r)     (r->crtype&(AMBIENT|SPECULAR) && \
548 <                                !(r->crtype&SHADOW || distglow(m, r)))
548 >                                !(r->crtype&SHADOW || r->rod < 0.0 || \
549 >                                        distglow(m, r)))
550  
551   /* overcount *
552   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines