--- ray/src/common/color.h 2003/06/06 16:38:47 2.21 +++ ray/src/common/color.h 2003/07/14 22:23:59 2.25 @@ -1,4 +1,4 @@ -/* RCSid $Id: color.h,v 2.21 2003/06/06 16:38:47 schorsch Exp $ */ +/* RCSid $Id: color.h,v 2.25 2003/07/14 22:23:59 schorsch Exp $ */ /* * color.h - header for routines using pixel color values. * @@ -11,16 +11,13 @@ */ #ifndef _RAD_COLOR_H_ #define _RAD_COLOR_H_ + +#include + #ifdef __cplusplus extern "C" { #endif - -#include "copyright.h" - -#include -#include - #define RED 0 #define GRN 1 #define BLU 2 @@ -200,11 +197,7 @@ extern COLOR cblack, cwhite; /* black (0,0,0) and whi #define rgb_cie(xyz,rgb) colortrans(xyz,rgb2xyzmat,rgb) -#ifdef BSD -#define cpcolormat(md,ms) bcopy((void *)ms,(void *)md,sizeof(COLORMAT)) -#else #define cpcolormat(md,ms) memcpy((void *)md,(void *)ms,sizeof(COLORMAT)) -#endif /* defined in color.c */ extern char *tempbuffer(unsigned int len);