mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 01:19:48 +00:00
WaterCannon done, resource ico
This commit is contained in:
@ -38,6 +38,14 @@ public:
|
||||
}else
|
||||
x = 1.0f;
|
||||
}
|
||||
|
||||
void Normalise(float norm) {
|
||||
float sq = MagnitudeSqr();
|
||||
float invsqrt = RecipSqrt(norm, sq);
|
||||
x *= invsqrt;
|
||||
y *= invsqrt;
|
||||
z *= invsqrt;
|
||||
}
|
||||
|
||||
const CVector &operator+=(CVector const &right) {
|
||||
x += right.x;
|
||||
|
Reference in New Issue
Block a user