# | 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 | – |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |