mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 01:34:09 +00:00
Ped & fixes, including peds dive into danger fix
This commit is contained in:
parent
3bb607f9cb
commit
8fd63e5ca6
10 changed files with 876 additions and 137 deletions
|
@ -7,6 +7,7 @@ public:
|
|||
CVector2D(void) {}
|
||||
CVector2D(float x, float y) : x(x), y(y) {}
|
||||
CVector2D(const CVector &v) : x(v.x), y(v.y) {}
|
||||
float Heading(void) const { return Atan2(-x, y); }
|
||||
float Magnitude(void) const { return Sqrt(x*x + y*y); }
|
||||
float MagnitudeSqr(void) const { return x*x + y*y; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue