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.9 by greg, Tue May 7 11:02:15 1991 UTC vs.
Revision 1.10 by greg, Tue May 7 14:53:16 1991 UTC

# Line 40 | Line 40 | typedef struct {
40   #define  MAT_LIGHT      23              /* primary light source */
41   #define  MAT_ILLUM      24              /* secondary light source */
42   #define  MAT_GLOW       25              /* proximity light source */
43 < #define  MAT_BRTDF      26              /* brtd function */
44 < #define  MAT_PDATA      27              /* plastic brdf data */
45 < #define  MAT_MDATA      28              /* metal brdf data */
46 < #define  MAT_SPOT       29              /* spot light source */
47 < #define  PAT_CFUNC      30              /* color function */
48 < #define  MAT_CLIP       31              /* clipping surface */
49 < #define  PAT_CDATA      32              /* color data */
50 < #define  PAT_CTEXT      33              /* colored text */
51 < #define  TEX_DATA       34              /* surface texture data */
52 < #define  MIX_FUNC       35              /* mixing function */
53 < #define  MIX_DATA       36              /* mixing data */
54 < #define  MIX_TEXT       37              /* mixing text */
43 > #define  MAT_SPOT       26              /* spot light source */
44 > #define  MAT_TFUNC      27              /* trans brdf function */
45 > #define  MAT_BRTDF      28              /* brtd function */
46 > #define  MAT_PDATA      29              /* plastic brdf data */
47 > #define  MAT_MDATA      30              /* metal brdf data */
48 > #define  MAT_TDATA      31              /* trans brdf data */
49 > #define  PAT_CFUNC      32              /* color function */
50 > #define  MAT_CLIP       33              /* clipping surface */
51 > #define  PAT_CDATA      34              /* color data */
52 > #define  PAT_CTEXT      35              /* colored text */
53 > #define  TEX_DATA       36              /* surface texture data */
54 > #define  MIX_FUNC       37              /* mixing function */
55 > #define  MIX_DATA       38              /* mixing data */
56 > #define  MIX_TEXT       39              /* mixing text */
57                                  /* number of object types */
58 < #define  NUMOTYPE       38
58 > #define  NUMOTYPE       40
59                                  /* type flags */
60   #define  T_S            01              /* surface (object) */
61   #define  T_M            02              /* material */
# Line 111 | Line 113 | extern int  o_default();
113                                  { "light",      T_M|T_L,        o_default }, \
114                                  { "illum",      T_M|T_L,        o_default }, \
115                                  { "glow",       T_M|T_L,        o_default }, \
116 +                                { "spotlight",  T_M|T_L,        o_default }, \
117 +                                { "transfunc",  T_M|T_F,        o_default }, \
118                                  { "BRTDfunc",   T_M|T_F,        o_default }, \
119                                  { "plasdata",   T_M|T_D,        o_default }, \
120                                  { "metdata",    T_M|T_D,        o_default }, \
121 <                                { "spotlight",  T_M|T_L,        o_default }, \
121 >                                { "transdata",  T_M|T_D,        o_default }, \
122                                  { "colorfunc",  T_P|T_F,        o_default }, \
123                                  { "antimatter", T_M,            o_default }, \
124                                  { "colordata",  T_P|T_D,        o_default }, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines