ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/cvrgb.c
(Generate patch)

Comparing ray/src/cv/mgflib/cvrgb.c (file contents):
Revision 1.2 by greg, Fri Feb 28 20:11:29 2003 UTC vs.
Revision 1.3 by schorsch, Sat Nov 15 17:54:06 2003 UTC

# Line 47 | Line 47 | float  xyz2rgbmat[3][3] = {            /* XYZ to RGB conversion m
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines