20 |
|
/* global argv[0] */ |
21 |
|
char *progname; |
22 |
|
/* reciprocity averaging option */ |
23 |
< |
static const char *recip = " -a"; |
23 |
> |
static const char *recip = ""; |
24 |
|
/* percentage to cull (<0 to turn off) */ |
25 |
|
static double pctcull = 90.; |
26 |
|
/* sampling order */ |
765 |
|
single_plane_incident = 0; |
766 |
|
break; |
767 |
|
case 'f': |
768 |
< |
if (!argv[i][2]) { |
768 |
> |
if ((argv[i][0] == '-') & !argv[i][2]) { |
769 |
|
if (strchr(argv[++i], '=') != NULL) { |
770 |
|
add_wbsdf("-f", 1); |
771 |
|
add_wbsdf(argv[i], 1); |
878 |
|
fprintf(stderr, "\tor 3 arguments using Dx,Dy,Dz: bsdf(ix,iy,iz)\n"); |
879 |
|
goto userr; |
880 |
|
} |
881 |
+ |
doptimize(1); /* optimize definitions */ |
882 |
|
++eclock; |
883 |
|
add_wbsdf("-a", 1); |
884 |
|
add_wbsdf(tfmt[single_plane_incident], 1); |