mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-09 13:37:46 +00:00
Forgot to pass alpha
This commit is contained in:
@@ -296,7 +296,7 @@ public:
|
||||
void toHSL(float& h, float& s, float& l);
|
||||
|
||||
CColor toGrayscale()
|
||||
{ return {Math::sqrtF((r * r + g * g + b * b) / 3)}; }
|
||||
{ return {Math::sqrtF((r * r + g * g + b * b) / 3), a}; }
|
||||
};
|
||||
|
||||
static inline CColor operator+(float lhs, const CColor& rhs)
|
||||
|
||||
Reference in New Issue
Block a user