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.13 by greg, Mon Sep 15 17:01:52 2003 UTC vs.
Revision 2.15 by schorsch, Sun Mar 28 20:33:12 2004 UTC

# Line 17 | Line 17 | typedef struct {
17          int  (*funp)();                 /* pointer to function */
18   #endif
19   }  FUN;
20 +
21 + #ifdef FUN_ARGLIST
22 + extern int  o_default(FUN_ARGLIST);
23 + #else
24 + extern int  o_default(); /* XXX conflict with radogl.h */
25 + #endif
26 +
27 + /* extern void initotypes(void);*/ /* XXX don't mess with the linker... */
28 +
29                                  /* object types in decreasing frequency */
30   #define  OBJ_FACE       0               /* polygon */
31   #define  OBJ_CONE       1               /* cone */
# Line 103 | Line 112 | extern FUN  ofun[];                    /* our type list */
112   #define  hasfunc(t)     (ofun[t].flags & (T_F|T_D|T_I))
113   #define  hastext(t)     (ofun[t].flags & T_E)
114   #define  isflat(t)      ((t)==OBJ_FACE || (t)==OBJ_RING)
106
107 extern int  o_default();
115  
116   #define  ALIASKEY       "alias"                 /* alias keyword */
117   #define  ALIASMOD       "inherit"               /* inherit target modifier */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines