ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/otypes.h
(Generate patch)

Comparing ray/src/common/otypes.h (file contents):
Revision 2.3 by greg, Thu Mar 12 11:41:20 1992 UTC vs.
Revision 2.5 by greg, Fri Sep 15 14:55:08 1995 UTC

# Line 86 | Line 86 | extern FUN  ofun[];                    /* our type list */
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines