mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 06:00:36 +00:00
Merged with upstream
This commit is contained in:
commit
1d620f4b67
20 changed files with 248 additions and 70 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
return *((RwV3d*)this);
|
||||
}
|
||||
#endif
|
||||
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; }
|
||||
float Magnitude2D(void) const { return sqrt(x*x + y*y); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue