| 2 |
|
/* |
| 3 |
|
* Common definitions for mkillum |
| 4 |
|
*/ |
| 5 |
+ |
#ifndef _RAD_MKILLUM_H_ |
| 6 |
+ |
#define _RAD_MKILLUM_H_ |
| 7 |
+ |
#ifdef __cplusplus |
| 8 |
+ |
extern "C" { |
| 9 |
+ |
#endif |
| 10 |
|
|
| 6 |
– |
#include "standard.h" |
| 11 |
|
|
| 12 |
+ |
#include "standard.h" |
| 13 |
|
#include "object.h" |
| 9 |
– |
|
| 14 |
|
#include "otypes.h" |
| 15 |
+ |
#include "rtprocess.h" |
| 16 |
|
|
| 17 |
|
/* illum flags */ |
| 18 |
|
#define IL_LIGHT 0x1 /* light rather than illum */ |
| 33 |
|
}; /* illum options */ |
| 34 |
|
|
| 35 |
|
struct rtproc { |
| 36 |
< |
int pd[3]; /* rtrace pipe descriptors */ |
| 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 |
+ |
|
| 43 |
+ |
|
| 44 |
+ |
#ifdef __cplusplus |
| 45 |
+ |
} |
| 46 |
+ |
#endif |
| 47 |
+ |
#endif /* _RAD_MKILLUM_H_ */ |
| 48 |
+ |
|