mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-03 11:46:05 +00:00
Forgot to pass alpha
This commit is contained in:
parent
2a3401ade9
commit
e1fbd991b6
@ -296,7 +296,7 @@ public:
|
|||||||
void toHSL(float& h, float& s, float& l);
|
void toHSL(float& h, float& s, float& l);
|
||||||
|
|
||||||
CColor toGrayscale()
|
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)
|
static inline CColor operator+(float lhs, const CColor& rhs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user