From 533f265f55ffea86a2090e3cd44f9efe69df8b57 Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 7 Jul 2019 10:16:16 +0200 Subject: made code use TimeStepIn(Milli)Seconds; purged unnecessary inlines --- src/math/Vector.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/math') 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); } -- cgit v1.2.3