86 |
|
#define isvolume(t) (ofun[t].flags & T_V) |
87 |
|
#define ismodifier(t) (!(ofun[t].flags & (T_S|T_V))) |
88 |
|
#define ismaterial(t) (ofun[t].flags & T_M) |
89 |
– |
#define istexture(t) (ofun[t].flags & (T_P|T_T|T_X)) |
89 |
|
#define islight(t) (ofun[t].flags & T_L) |
90 |
|
#define isvlight(t) (ofun[t].flags & T_LV) |
91 |
|
#define hasdata(t) (ofun[t].flags & (T_D|T_I)) |
92 |
|
#define hasfunc(t) (ofun[t].flags & (T_F|T_D|T_I)) |
93 |
|
#define hastext(t) (ofun[t].flags & T_E) |
94 |
+ |
#define isflat(t) ((t)==OBJ_FACE || (t)==OBJ_RING) |
95 |
|
|
96 |
|
extern int o_default(); |
97 |
|
/* type list initialization */ |