10 |
|
|
11 |
|
#include "mkillum.h" |
12 |
|
|
13 |
< |
#define brt(col) (.295*(col)[0] + .635*(col)[1] + .070*(col)[2]) |
13 |
> |
#define brt(col) (.263*(col)[0]+.655*(col)[1]+.082*(col)[2]) |
14 |
|
|
15 |
|
char DATORD[] = "RGB"; /* data ordering */ |
16 |
|
char DATSUF[] = ".dat"; /* data file suffix */ |
112 |
|
} else { |
113 |
|
printf("\n%s %s %s%s", VOIDID, ofun[PAT_BDATA].funame, |
114 |
|
il->matname, DSTSUF); |
115 |
< |
printf("\n5 noop"); |
115 |
> |
printf("\n5 noneg"); |
116 |
|
dfp = dfopen(il, 0); |
117 |
|
fprintf(dfp, "2\n%f %f %d\n%f %f %d\n", 1.-.5/n, .5/n, n, |
118 |
|
0., 2.*PI, m+1); |
153 |
|
} else { |
154 |
|
printf("\n%s %s %s%s", VOIDID, ofun[PAT_BDATA].funame, |
155 |
|
il->matname, DSTSUF); |
156 |
< |
printf("\n5 noop"); |
156 |
> |
printf("\n5 noneg"); |
157 |
|
dfp = dfopen(il, 0); |
158 |
|
fprintf(dfp, "2\n%f %f %d\n%f %f %d\n", 1.-1./n, -1.+1./n, n, |
159 |
|
0., 2.*PI, m+1); |