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

Comparing ray/src/gen/mkillum.h (file contents):
Revision 2.6 by greg, Fri Nov 21 07:15:30 2003 UTC vs.
Revision 2.7 by greg, Fri Sep 17 21:43:50 2004 UTC

# Line 31 | Line 31 | struct illum_args {
31   };                              /* illum options */
32  
33   struct rtproc {
34 +        struct rtproc   *next;          /* next in list of processes */
35          SUBPROC pd;                     /* rtrace pipe descriptors */
36          float   *buf;                   /* rtrace i/o buffer */
37          int     bsiz;                   /* maximum rays for rtrace buffer */
# Line 45 | Line 46 | extern void flatout(struct illum_args  *il, float  *da
46   extern void illumout(register struct illum_args  *il, OBJREC  *ob);
47   extern void roundout(struct illum_args  *il, float  *da, int  n, int  m);
48  
49 + /* The header file otypes.h has to follow definition of our struct's */
50 + #define FUN_ARGLIST     OBJREC *, struct illum_args *, struct rtproc *, char *
51   #ifdef __cplusplus
52   }
53 + #include  "otypes.h"
54 + extern "C" {
55 + #else
56 + #include  "otypes.h"
57   #endif
58  
59 < #define FUN_ARGLIST     OBJREC *, struct illum_args *, struct rtproc *, char *
60 < #include  "otypes.h"
59 > extern int o_default(FUN_ARGLIST);
60 > extern int o_face(FUN_ARGLIST);
61 > extern int o_sphere(FUN_ARGLIST);
62 > extern int o_ring(FUN_ARGLIST);
63 > extern void raysamp(float res[3], FVECT org, FVECT dir, struct rtproc *rt0);
64 > extern void rayflush(struct rtproc *rt, int doall);
65 > extern struct rtproc *raywait(struct rtproc *rt0);
66 >
67 >
68 > #ifdef __cplusplus
69 > }
70 > #endif
71  
72   #endif /* _RAD_MKILLUM_H_ */
73  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines