Ped & fixes, including peds dive into danger fix

This commit is contained in:
eray orçunus 2019-07-25 18:06:24 +03:00
parent 3bb607f9cb
commit 8fd63e5ca6
10 changed files with 876 additions and 137 deletions

View file

@ -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; }