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.5 by schorsch, Sun Nov 16 10:29:38 2003 UTC vs.
Revision 2.8 by greg, Thu Sep 13 06:31:21 2007 UTC

# Line 5 | Line 5
5   #ifndef _RAD_MKILLUM_H_
6   #define _RAD_MKILLUM_H_
7  
8 < #include  "standard.h"
9 < #include  "object.h"
8 > #include  "ray.h"
9   #include  "otypes.h"
11 #include  "rtprocess.h"
10  
11   #ifdef __cplusplus
12   extern "C" {
13   #endif
16
14                                  /* illum flags */
15   #define  IL_LIGHT       0x1             /* light rather than illum */
16   #define  IL_COLDST      0x2             /* use color distribution */
# Line 32 | Line 29 | struct illum_args {
29          float   col[3];                 /* computed average color */
30   };                              /* illum options */
31  
35 struct rtproc {
36        SUBPROC pd;                     /* rtrace pipe descriptors */
37        float   *buf;                   /* rtrace i/o buffer */
38        int     bsiz;                   /* maximum rays for rtrace buffer */
39        float   **dest;                 /* destination for each ray result */
40        int     nrays;                  /* current length of rtrace buffer */
41 };                              /* rtrace process */
42
32   extern void printobj(char  *mod, register OBJREC  *obj);
33   extern int average(register struct illum_args  *il, float  *da, int  n);
34   extern void flatout(struct illum_args  *il, float  *da, int  n, int  m,
# Line 47 | Line 36 | extern void flatout(struct illum_args  *il, float  *da
36   extern void illumout(register struct illum_args  *il, OBJREC  *ob);
37   extern void roundout(struct illum_args  *il, float  *da, int  n, int  m);
38  
39 + extern int my_default(OBJREC *, struct illum_args *, char *);
40 + extern int my_face(OBJREC *, struct illum_args *, char *);
41 + extern int my_sphere(OBJREC *, struct illum_args *, char *);
42 + extern int my_ring(OBJREC *, struct illum_args *, char *);
43 +
44 + extern char     *progname;
45 +
46   #ifdef __cplusplus
47   }
48   #endif
49 +
50   #endif /* _RAD_MKILLUM_H_ */
51  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines