47 |
|
}; |
48 |
|
|
49 |
|
|
50 |
< |
mgf2rgb(cin, intensity, cout) /* convert MGF color to RGB */ |
51 |
< |
register C_COLOR *cin; /* input MGF chrominance */ |
52 |
< |
double intensity; /* input luminance or reflectance */ |
53 |
< |
register float cout[3]; /* output RGB color */ |
50 |
> |
void |
51 |
> |
mgf2rgb( /* convert MGF color to RGB */ |
52 |
> |
register C_COLOR *cin, /* input MGF chrominance */ |
53 |
> |
double intensity, /* input luminance or reflectance */ |
54 |
> |
register float cout[3] /* output RGB color */ |
55 |
> |
) |
56 |
|
{ |
57 |
|
static double cie[3]; |
58 |
|
/* get CIE XYZ representation */ |