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

Comparing ray/src/rt/otspecial.h (file contents):
Revision 2.9 by greg, Thu Nov 8 00:54:07 2018 UTC vs.
Revision 2.10 by greg, Thu Apr 18 22:37:36 2019 UTC

# Line 20 | Line 20 | extern "C" {
20   #define  isopaque(t)    (ofun[t].flags & T_OPAQUE)
21  
22                  /* test if we have a BSDF proxy surface */
23 < #define isBSDFproxy(m)  ((m)->otype == MAT_BSDF && (m)->oargs.nsargs && \
23 > #define isBSDFproxy(m)  (((m)->otype == MAT_BSDF) & ((m)->oargs.nsargs > 0) &&\
24                                  strcmp((m)->oargs.sarg[0], "0"))
25  
26                  /* defined in initotypes.c */
# Line 30 | Line 30 | extern OBJREC   *findmaterial(OBJREC *o);
30   }
31   #endif
32   #endif /* _RAD_OTSPECIAL_H_ */
33

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines