mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 01:19:48 +00:00
made code use TimeStepIn(Milli)Seconds; purged unnecessary inlines
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user