--- ray/src/common/otypes.h 1994/01/12 15:55:08 2.4 +++ ray/src/common/otypes.h 1995/09/15 14:55:08 2.5 @@ -91,6 +91,7 @@ extern FUN ofun[]; /* our type list */ #define hasdata(t) (ofun[t].flags & (T_D|T_I)) #define hasfunc(t) (ofun[t].flags & (T_F|T_D|T_I)) #define hastext(t) (ofun[t].flags & T_E) +#define isflat(t) ((t)==OBJ_FACE || (t)==OBJ_RING) extern int o_default(); /* type list initialization */