diff options
Diffstat (limited to 'src/Data/Vector.h')
-rw-r--r-- | src/Data/Vector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Data/Vector.h b/src/Data/Vector.h index 5d9fd1e..cfac1c0 100644 --- a/src/Data/Vector.h +++ b/src/Data/Vector.h @@ -50,13 +50,20 @@ class Vector { Vector operator+(const Vector &v) const; Vector operator-(const Vector &v) const; + float operator*(const Vector &v) const; + Vector operator*(float f) const; Vector operator/(float f) const; + Vector operator%(const Vector &v) const; + Vector& operator+=(const Vector &v); Vector& operator-=(const Vector &v); + Vector& operator*=(float f); Vector& operator/=(float f); + + Vector& operator%=(const Vector &v); }; } |