55 |
|
COLOR rcol; /* returned ray value */ |
56 |
|
double rt; /* returned effective ray length */ |
57 |
|
COLOR cext; /* medium extinction coefficient */ |
58 |
< |
float albedo; /* medium scattering albedo */ |
58 |
> |
COLOR albedo; /* medium scattering albedo */ |
59 |
|
float gecc; /* scattering eccentricity coefficient */ |
60 |
|
int *slights; /* list of lights to test for scattering */ |
61 |
|
} RAY; |
64 |
|
|
65 |
|
extern double raynormal(); |
66 |
|
|
67 |
< |
extern double raydistance(); |
67 |
> |
extern double raydist(); |
68 |
|
|
69 |
|
extern int dimlist[]; /* dimension list for distribution */ |
70 |
|
extern int ndims; /* number of dimensions so far */ |