finished tutorial 7

This commit is contained in:
h4570
2022-08-23 22:31:07 +02:00
parent 9f831c7a6f
commit 989d2702e8
24 changed files with 439 additions and 25 deletions
+4
View File
@@ -53,6 +53,10 @@ class Color {
void operator-=(const float& v);
void operator*=(const float& v);
void operator/=(const float& v);
Color operator+(const float& v) const;
Color operator-(const float& v) const;
Color operator*(const float& v) const;
Color operator/(const float& v) const;
inline void set(const Color& v) { copy(this, v.rgba); }
inline void set(const float* v) { copy(this, v); }