--- ray/src/rt/otspecial.h 2003/06/07 00:54:58 2.4 +++ ray/src/rt/otspecial.h 2004/06/22 13:40:54 2.7 @@ -1,4 +1,4 @@ -/* RCSid $Id: otspecial.h,v 2.4 2003/06/07 00:54:58 schorsch Exp $ */ +/* RCSid $Id: otspecial.h,v 2.7 2004/06/22 13:40:54 greg Exp $ */ /* * Special type flags for objects used in rendering. * Depends on definitions in otypes.h @@ -9,13 +9,15 @@ extern "C" { #endif - -#include "copyright.h" - /* flag for materials to ignore during irradiance comp. */ #define T_IRR_IGN T_SP1 + /* flag for completely opaque materials */ +#define T_OPAQUE T_SP2 + #define irr_ignore(t) (ofun[t].flags & T_IRR_IGN) + +#define isopaque(t) (ofun[t].flags & T_OPAQUE) #ifdef __cplusplus