mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 00:54:09 +00:00
CAutomobile::ProcessControl done
This commit is contained in:
parent
82be466013
commit
fd01f9b25c
12 changed files with 239 additions and 11 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue