--- ray/src/cv/bsdfmesh.c 2014/08/21 10:33:48 2.30 +++ ray/src/cv/bsdfmesh.c 2014/08/21 13:44:05 2.31 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: bsdfmesh.c,v 2.30 2014/08/21 10:33:48 greg Exp $"; +static const char RCSid[] = "$Id: bsdfmesh.c,v 2.31 2014/08/21 13:44:05 greg Exp $"; #endif /* * Create BSDF advection mesh from radial basis functions. @@ -100,7 +100,7 @@ comp_bsdf_spec(void) if (dsf_list == NULL) { bsdf_spec_peak = 0; - bsdf_spec_crad = 0; + bsdf_spec_rad = 0; return; } for (rbf = dsf_list; rbf != NULL; rbf = rbf->next) { @@ -112,7 +112,7 @@ comp_bsdf_spec(void) ++n; } bsdf_spec_peak = peak_sum/(double)n; - bsdf_spec_crad = ANG2R( rad_sum/(double)n ); + bsdf_spec_rad = rad_sum/(double)n; } /* Create a new migration holder (sharing memory for multiprocessing) */