CAutomobile::ProcessControl done

This commit is contained in:
aap 2019-07-18 15:41:09 +02:00
parent 82be466013
commit fd01f9b25c
12 changed files with 239 additions and 11 deletions

View file

@ -22,6 +22,7 @@ public:
return *((RwV3d*)this);
}
#endif
// (0,1,0) means no rotation. So get right vector and its atan
float Heading(void) const { return Atan2(-x, y); }
float Magnitude(void) const { return Sqrt(x*x + y*y + z*z); }
float MagnitudeSqr(void) const { return x*x + y*y + z*z; }