--- ray/src/gen/mkillum.h 2003/02/22 02:07:24 2.2 +++ ray/src/gen/mkillum.h 2003/06/26 00:58:09 2.3 @@ -1,13 +1,18 @@ -/* RCSid: $Id: mkillum.h,v 2.2 2003/02/22 02:07:24 greg Exp $ */ +/* RCSid: $Id: mkillum.h,v 2.3 2003/06/26 00:58:09 schorsch Exp $ */ /* * Common definitions for mkillum */ +#ifndef _RAD_MKILLUM_H_ +#define _RAD_MKILLUM_H_ +#ifdef __cplusplus +extern "C" { +#endif -#include "standard.h" +#include "standard.h" #include "object.h" - #include "otypes.h" +#include "rtprocess.h" /* illum flags */ #define IL_LIGHT 0x1 /* light rather than illum */ @@ -28,9 +33,16 @@ struct illum_args { }; /* illum options */ struct rtproc { - int pd[3]; /* rtrace pipe descriptors */ + SUBPROC pd; /* rtrace pipe descriptors */ float *buf; /* rtrace i/o buffer */ int bsiz; /* maximum rays for rtrace buffer */ float **dest; /* destination for each ray result */ int nrays; /* current length of rtrace buffer */ }; /* rtrace process */ + + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_MKILLUM_H_ */ +