87 |
|
static void tabin(RAY *r); |
88 |
|
static void ourtrace(RAY *r); |
89 |
|
|
90 |
< |
static void putscolor(const COLORV *scol); |
90 |
> |
static void putscolor(COLORV *scol); |
91 |
|
|
92 |
|
static oputf_t *ray_out[32], *every_out[32]; |
93 |
|
static putf_t *putreal; |
253 |
|
case 'c': |
254 |
|
if (outvals[1] || !strchr("vrx", outvals[0])) |
255 |
|
error(USER, "color format only with -ov, -or, -ox"); |
256 |
+ |
if (nco < 3) |
257 |
+ |
error(USER, "color format incompatible with -pY, -pS, -pM"); |
258 |
|
break; |
259 |
|
default: |
260 |
|
error(CONSISTENCY, "botched output format"); |
959 |
|
|
960 |
|
|
961 |
|
static void |
962 |
< |
putscolor(const COLORV *scol) /* output (spectral) color */ |
962 |
> |
putscolor(COLORV *scol) /* output (spectral) color */ |
963 |
|
{ |
964 |
|
static COLORMAT xyz2myrgbmat; |
965 |
|
SCOLOR my_scol; |