ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/color.h
(Generate patch)

Comparing ray/src/common/color.h (file contents):
Revision 2.12 by greg, Thu Jan 30 19:14:37 1997 UTC vs.
Revision 2.13 by greg, Fri Jan 31 12:39:12 1997 UTC

# Line 187 | Line 187 | extern double  atof(), ldexp(), frexp();
187   extern RGBPRIMS  stdprims;              /* standard primary chromaticities */
188   extern COLORMAT  rgb2xyzmat;            /* RGB to XYZ conversion matrix */
189   extern COLORMAT  xyz2rgbmat;            /* XYZ to RGB conversion matrix */
190 + extern COLOR  cblack, cwhite;           /* black (0,0,0) and white (1,1,1) */
191  
192 < #define  cie_rgb(rgb,xyz)       colortrans(rgb,xyz2rgbmat,xyz,1)
193 < #define  rgb_cie(xyz,rgb)       colortrans(xyz,rgb2xyzmat,rgb,1)
192 > #define  CGAMUT_LOWER           01
193 > #define  CGAMUT_UPPER           02
194 > #define  CGAMUT                 (CGAMUT_LOWER|CGAMUT_UPPER)
195 >
196 > #define  rgb_cie(xyz,rgb)       colortrans(xyz,rgb2xyzmat,rgb)
197  
198   #ifdef BSD
199   #define  cpcolormat(md,ms)      bcopy((char *)ms,(char *)md,sizeof(COLORMAT))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines