mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 18:54:08 +00:00
made code use TimeStepIn(Milli)Seconds; purged unnecessary inlines
This commit is contained in:
parent
b515ce4730
commit
533f265f55
11 changed files with 114 additions and 112 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue