499 |
|
extern int ambssamp; |
500 |
|
extern int ambounce; |
501 |
|
extern COLOR cextinction; |
502 |
< |
extern double salbedo; |
502 |
> |
extern COLOR salbedo; |
503 |
|
extern double seccg; |
504 |
|
extern double ssampdist; |
505 |
|
extern int directvis; |
605 |
|
(COLOR *)cextinction); |
606 |
|
break; |
607 |
|
case 'a': /* scattering albedo */ |
608 |
< |
getparam(s+2, "scattering albedo", 'r', &salbedo); |
608 |
> |
getparam(s+2, "scattering albedo", 'C', |
609 |
> |
(COLOR *)salbedo); |
610 |
|
break; |
611 |
|
case 'g': /* scattering eccentricity */ |
612 |
|
getparam(s+2, "scattering eccentricity", 'r', &seccg); |