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.2 by greg, Sat Jan 4 19:51:21 1992 UTC vs.
Revision 2.3 by greg, Thu Mar 12 11:41:20 1992 UTC

# Line 84 | Line 84 | extern FUN  ofun[];                    /* our type list */
84  
85   #define  issurface(t)   (ofun[t].flags & T_S)
86   #define  isvolume(t)    (ofun[t].flags & T_V)
87 < #define  ismodifier(t)  (!issurface(t))
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))
90   #define  islight(t)     (ofun[t].flags & T_L)
# Line 101 | Line 101 | extern int  o_default();
101                                  { "texfunc",    T_T|T_F,        o_default }, \
102                                  { "ring",       T_S,            o_default }, \
103                                  { "cylinder",   T_S,            o_default }, \
104 <                                { "instance",   T_S|T_V,        o_default }, \
104 >                                { "instance",   T_V,            o_default }, \
105                                  { "cup",        T_S,            o_default }, \
106                                  { "bubble",     T_S,            o_default }, \
107                                  { "tube",       T_S,            o_default }, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines