Back to index

radiance  4R0+20100331
otspecial.h
Go to the documentation of this file.
00001 /* RCSid $Id: otspecial.h,v 2.7 2004/06/22 13:40:54 greg Exp $ */
00002 /*
00003  * Special type flags for objects used in rendering.
00004  * Depends on definitions in otypes.h
00005  */
00006 #ifndef _RAD_OTSPECIAL_H_
00007 #define _RAD_OTSPECIAL_H_
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011 
00012               /* flag for materials to ignore during irradiance comp. */
00013 #define  T_IRR_IGN   T_SP1
00014 
00015               /* flag for completely opaque materials */
00016 #define  T_OPAQUE       T_SP2
00017 
00018 #define  irr_ignore(t)      (ofun[t].flags & T_IRR_IGN)
00019 
00020 #define  isopaque(t)    (ofun[t].flags & T_OPAQUE)
00021 
00022 
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026 #endif /* _RAD_OTSPECIAL_H_ */
00027