summaryrefslogtreecommitdiffstats
path: root/src/math/Vector.h
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-07-07 15:16:54 +0200
committer_AG <gennariarmando@outlook.com>2019-07-07 15:16:54 +0200
commitd1c6a6aaa6c17250e069d1267b27e13303d6e20f (patch)
tree76d55bfd8bcc8f72cdd4d261c0bb1eaa050e522a /src/math/Vector.h
parentMerge branch 'master' into master (diff)
parentthe great reorganization (diff)
downloadre3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.gz
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.bz2
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.lz
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.xz
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.tar.zst
re3-d1c6a6aaa6c17250e069d1267b27e13303d6e20f.zip
Diffstat (limited to 'src/math/Vector.h')
-rw-r--r--src/math/Vector.h10
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);
}