nuclear@2: #ifndef COLOR_H_ nuclear@2: #define COLOR_H_ nuclear@2: nuclear@45: #include nuclear@2: nuclear@5: typedef Vector4 Color; nuclear@2: nuclear@2: inline float color_luminance(const Color &c) { return c[0] * 0.2126 + c[1] * 0.7152 + c[2] * 0.0722; } nuclear@2: nuclear@2: #endif // COLOR_H_