made code use TimeStepIn(Milli)Seconds; purged unnecessary inlines

This commit is contained in:
aap 2019-07-07 10:16:16 +02:00
parent b515ce4730
commit 533f265f55
11 changed files with 114 additions and 112 deletions

View file

@ -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);
}