| 12 |
|
* and don't pass these vectors to fvect routines. |
| 13 |
|
*/ |
| 14 |
|
typedef struct ambrec { |
| 15 |
+ |
unsigned long latick; /* last accessed tick */ |
| 16 |
|
float pos[3]; /* position in space */ |
| 17 |
|
float dir[3]; /* normal direction */ |
| 18 |
|
int lvl; /* recursion level of parent ray */ |
| 40 |
|
#define AVGREFL 0.5 /* assumed average reflectance */ |
| 41 |
|
|
| 42 |
|
#define AMBVALSIZ 75 /* number of bytes in portable AMBVAL struct */ |
| 43 |
+ |
#define AMBMAGIC 557 /* magic number for ambient value files */ |
| 44 |
+ |
#define AMBFMT "Radiance_ambval" /* format id string */ |