3 |
|
* Special type flags for objects used in rendering. |
4 |
|
* Depends on definitions in otypes.h |
5 |
|
*/ |
6 |
+ |
#ifndef _RAD_OTSPECIAL_H_ |
7 |
+ |
#define _RAD_OTSPECIAL_H_ |
8 |
+ |
#ifdef __cplusplus |
9 |
+ |
extern "C" { |
10 |
+ |
#endif |
11 |
|
|
7 |
– |
#include "copyright.h" |
8 |
– |
|
12 |
|
/* flag for materials to ignore during irradiance comp. */ |
13 |
|
#define T_IRR_IGN T_SP1 |
14 |
|
|
15 |
+ |
/* flag for completely opaque materials */ |
16 |
+ |
#define T_OPAQUE T_SP2 |
17 |
+ |
|
18 |
|
#define irr_ignore(t) (ofun[t].flags & T_IRR_IGN) |
19 |
+ |
|
20 |
+ |
#define isopaque(t) (ofun[t].flags & T_OPAQUE) |
21 |
+ |
|
22 |
+ |
|
23 |
+ |
#ifdef __cplusplus |
24 |
+ |
} |
25 |
+ |
#endif |
26 |
+ |
#endif /* _RAD_OTSPECIAL_H_ */ |
27 |
+ |
|