--- ray/src/gen/mkillum.h 2003/07/14 22:23:59 2.4 +++ ray/src/gen/mkillum.h 2003/11/21 07:15:30 2.6 @@ -1,4 +1,4 @@ -/* RCSid: $Id: mkillum.h,v 2.4 2003/07/14 22:23:59 schorsch Exp $ */ +/* RCSid: $Id: mkillum.h,v 2.6 2003/11/21 07:15:30 greg Exp $ */ /* * Common definitions for mkillum */ @@ -7,13 +7,11 @@ #include "standard.h" #include "object.h" -#include "otypes.h" #include "rtprocess.h" #ifdef __cplusplus extern "C" { #endif - /* illum flags */ #define IL_LIGHT 0x1 /* light rather than illum */ #define IL_COLDST 0x2 /* use color distribution */ @@ -40,9 +38,19 @@ struct rtproc { int nrays; /* current length of rtrace buffer */ }; /* rtrace process */ +extern void printobj(char *mod, register OBJREC *obj); +extern int average(register struct illum_args *il, float *da, int n); +extern void flatout(struct illum_args *il, float *da, int n, int m, + FVECT u, FVECT v, FVECT w); +extern void illumout(register struct illum_args *il, OBJREC *ob); +extern void roundout(struct illum_args *il, float *da, int n, int m); #ifdef __cplusplus } #endif + +#define FUN_ARGLIST OBJREC *, struct illum_args *, struct rtproc *, char * +#include "otypes.h" + #endif /* _RAD_MKILLUM_H_ */