mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 15:30:37 +00:00
WaterCannon done, resource ico
This commit is contained in:
parent
9e49e5c2bd
commit
3366cd0ff8
6 changed files with 363 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue