# | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
---|---|---|
10 | #include <string.h> | |
11 | #include <stdlib.h> | |
12 | #include <math.h> | |
13 | + | #include "rtprocess.h" |
14 | #include "bsdfrep.h" | |
15 | ||
16 | const float colarr[6][3] = { | |
# | Line 90 | Line 91 | main(int argc, char *argv[]) | |
91 | #ifdef DEBUG | |
92 | fprintf(stderr, "Minimum BSDF set to %.4f\n", bsdf_min); | |
93 | #endif | |
94 | < | min_log = log(bsdf_min*.5); |
94 | > | min_log = log(bsdf_min*.5 + 1e-5); |
95 | /* output BSDF rep. */ | |
96 | for (n = 0; (n < 6) & (2*n+3 < argc); n++) { | |
97 | double theta = atof(argv[2*n+2]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |