finished tutorial 7

This commit is contained in:
h4570 committed 2022-08-23 22:31:07 +02:00
1 parent 9f831c7a6f
commit 989d2702e8
24 files changed
+439 -25

No files matched your search

+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); }