diff options
author | aap <aap@papnet.eu> | 2019-07-07 10:16:16 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-07 10:16:16 +0200 |
commit | 533f265f55ffea86a2090e3cd44f9efe69df8b57 (patch) | |
tree | b13d1b1fa4818da40915c4a58c2fb61e5f07c421 /src/math | |
parent | Merge pull request #114 from Nick007J/master (diff) | |
download | re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar.gz re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar.bz2 re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar.lz re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar.xz re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.tar.zst re3-533f265f55ffea86a2090e3cd44f9efe69df8b57.zip |
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/Vector.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/math/Vector.h b/src/math/Vector.h index 2c431d0d..b49f00f2 100644 --- a/src/math/Vector.h +++ b/src/math/Vector.h @@ -38,35 +38,35 @@ public: x = 1.0f; } - inline const CVector &operator+=(CVector const &right) { + const CVector &operator+=(CVector const &right) { x += right.x; y += right.y; z += right.z; return *this; } - inline const CVector &operator-=(CVector const &right) { + const CVector &operator-=(CVector const &right) { x -= right.x; y -= right.y; z -= right.z; return *this; } - inline const CVector &operator*=(float right) { + const CVector &operator*=(float right) { x *= right; y *= right; z *= right; return *this; } - inline const CVector &operator/=(float right) { + const CVector &operator/=(float right) { x /= right; y /= right; z /= right; return *this; } - inline CVector operator-() const { + CVector operator-() const { return CVector(-x, -y, -z); } |