This commit is contained in:
h4570
2022-08-14 19:41:44 +02:00
parent b8aa40cba8
commit a78f430a6e
8 changed files with 132 additions and 19 deletions
+2
View File
@@ -49,6 +49,8 @@ class Color {
explicit Color(const float* v) { copy(this, v); }
void operator=(const Color& v);
void operator*=(const float& v);
void operator/=(const float& v);
inline void set(const Color& v) { copy(this, v.rgba); }
inline void set(const float* v) { copy(this, v); }