finished tutorial 7
This commit is contained in:
1 parent
9f831c7a6f
commit
989d2702e8
24 files changed
+439
-25
No files matched your search
@@ -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); }
|
||||
|
||||
Reference in new issue
Block a user