16 |
|
|
17 |
|
#define MAXDIM 32 /* maximum number of dimensions */ |
18 |
|
|
19 |
– |
#define MAXSLIST 32 /* maximum sources to check */ |
20 |
– |
|
19 |
|
/* ray type flags */ |
20 |
|
#define PRIMARY 01 /* original ray */ |
21 |
|
#define SHADOW 02 /* ray to light source */ |
53 |
|
COLOR rcol; /* returned ray value */ |
54 |
|
double rt; /* returned effective ray length */ |
55 |
|
COLOR cext; /* medium extinction coefficient */ |
56 |
< |
float albedo; /* medium scattering albedo */ |
56 |
> |
COLOR albedo; /* medium scattering albedo */ |
57 |
|
float gecc; /* scattering eccentricity coefficient */ |
58 |
|
int *slights; /* list of lights to test for scattering */ |
59 |
|
} RAY; |