ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/otspecial.h
Revision: 2.4
Committed: Sat Jun 7 00:54:58 2003 UTC (20 years, 10 months ago) by schorsch
Content type: text/plain
Branch: MAIN
Changes since 2.3: +14 -1 lines
Log Message:
Instrumented headers against multiple inclusion and for use from C++.
Removed NOPROTO sections.

File Contents

# User Rev Content
1 schorsch 2.4 /* RCSid $Id: otspecial.h,v 2.3 2003/02/25 02:47:23 greg Exp $ */
2 greg 1.1 /*
3     * Special type flags for objects used in rendering.
4     * Depends on definitions in otypes.h
5 greg 2.2 */
6 schorsch 2.4 #ifndef _RAD_OTSPECIAL_H_
7     #define _RAD_OTSPECIAL_H_
8     #ifdef __cplusplus
9     extern "C" {
10     #endif
11    
12 greg 2.2
13 greg 2.3 #include "copyright.h"
14 greg 1.1
15     /* flag for materials to ignore during irradiance comp. */
16     #define T_IRR_IGN T_SP1
17    
18     #define irr_ignore(t) (ofun[t].flags & T_IRR_IGN)
19 schorsch 2.4
20    
21     #ifdef __cplusplus
22     }
23     #endif
24     #endif /* _RAD_OTSPECIAL_H_ */
25