--- ray/src/gen/mkillum.h 2003/06/26 00:58:09 2.3 +++ ray/src/gen/mkillum.h 2003/11/16 10:29:38 2.5 @@ -1,19 +1,19 @@ -/* RCSid: $Id: mkillum.h,v 2.3 2003/06/26 00:58:09 schorsch Exp $ */ +/* RCSid: $Id: mkillum.h,v 2.5 2003/11/16 10:29:38 schorsch Exp $ */ /* * Common definitions for mkillum */ #ifndef _RAD_MKILLUM_H_ #define _RAD_MKILLUM_H_ -#ifdef __cplusplus -extern "C" { -#endif - #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,6 +40,12 @@ 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 }