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 1.4 by greg, Wed Jun 7 10:07:04 1989 UTC vs.
Revision 1.5 by greg, Fri Mar 30 09:58:33 1990 UTC

# Line 60 | Line 60 | typedef struct {
60   #define  NUMOTYPE       (OBJ_CNT+MAT_CNT+TP_CNT)
61  
62   #define  issurface(t)   ((t) >= OBJ_MIN && (t) < OBJ_MIN+OBJ_CNT)
63 + #define  isvolume(t)    ((t) == OBJ_INSTANCE)
64   #define  ismodifier(t)  ((t) >= MOD_MIN && (t) < MOD_MIN+MOD_CNT)
65   #define  ismaterial(t)  ((t) >= MAT_MIN && (t) < MAT_MIN+MAT_CNT)
66   #define  istexture(t)   ((t) >= TP_MIN && (t) < TP_MIN+TP_CNT)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines