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.11 by greg, Fri Nov 10 17:04:19 1995 UTC vs.
Revision 2.12 by greg, Thu Jan 30 19:14:37 1997 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
1 > /* Copyright (c) 1997 Regents of the University of California */
2  
3   /* SCCSid "$SunId$ LBL" */
4  
# Line 188 | Line 188 | extern RGBPRIMS  stdprims;             /* standard primary chroma
188   extern COLORMAT  rgb2xyzmat;            /* RGB to XYZ conversion matrix */
189   extern COLORMAT  xyz2rgbmat;            /* XYZ to RGB conversion matrix */
190  
191 < #define  cie_rgb(rgb,xyz)       colortrans(rgb,xyz2rgbmat,xyz)
192 < #define  rgb_cie(xyz,rgb)       colortrans(xyz,rgb2xyzmat,rgb)
191 > #define  cie_rgb(rgb,xyz)       colortrans(rgb,xyz2rgbmat,xyz,1)
192 > #define  rgb_cie(xyz,rgb)       colortrans(xyz,rgb2xyzmat,rgb,1)
193  
194   #ifdef BSD
195   #define  cpcolormat(md,ms)      bcopy((char *)ms,(char *)md,sizeof(COLORMAT))
196   #else
197 + extern char  *memcpy();
198   #define  cpcolormat(md,ms)      (void)memcpy((char *)md,(char *)ms,sizeof(COLORMAT))
199   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines