--- ray/src/cv/bsdf2ttree.c 2012/11/10 19:47:42 2.7 +++ ray/src/cv/bsdf2ttree.c 2012/11/13 04:23:38 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: bsdf2ttree.c,v 2.7 2012/11/10 19:47:42 greg Exp $"; +static const char RCSid[] = "$Id: bsdf2ttree.c,v 2.8 2012/11/13 04:23:38 greg Exp $"; #endif /* * Load measured BSDF interpolant and write out as XML file with tensor tree. @@ -32,7 +32,7 @@ interp_isotropic() float bsdf; #if DEBUG fprintf(stderr, "Writing isotropic order %d ", samp_order); - if (pctcull >= 0) fprintf(stderr, "data with %f%% culling\n", pctcull); + if (pctcull >= 0) fprintf(stderr, "data with %.1f%% culling\n", pctcull); else fputs("raw data\n", stderr); #endif if (pctcull >= 0) { /* begin output */ @@ -94,7 +94,7 @@ interp_anisotropic() float bsdf; #if DEBUG fprintf(stderr, "Writing anisotropic order %d ", samp_order); - if (pctcull >= 0) fprintf(stderr, "data with %f%% culling\n", pctcull); + if (pctcull >= 0) fprintf(stderr, "data with %.1f%% culling\n", pctcull); else fputs("raw data\n", stderr); #endif if (pctcull >= 0) { /* begin output */