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.8 by greg, Tue Jan 9 05:01:15 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 */
27 + extern OBJREC   *findmaterial(OBJREC *o);
28 +
29   #ifdef __cplusplus
30   }
31   #endif
32   #endif /* _RAD_OTSPECIAL_H_ */
30

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines