# | Line 80 | Line 80 | typedef float COLOR[3]; /* red, green, blue */ | |
---|---|---|
80 | #define CIE_gf (CIE_y_g*CIE_C_gD/CIE_D) | |
81 | #define CIE_bf (CIE_y_b*CIE_C_bD/CIE_D) | |
82 | ||
83 | + | /* As of 9-94, CIE_rf=.265074126, CIE_gf=.670114631 and CIE_bf=.064811243 */ |
84 | + | |
85 | #define bright(col) (CIE_rf*(col)[RED]+CIE_gf*(col)[GRN]+CIE_bf*(col)[BLU]) | |
86 | #define normbright(c) ( ( (long)(CIE_rf*256.+.5)*(c)[RED] + \ | |
87 | (long)(CIE_gf*256.+.5)*(c)[GRN] + \ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |