mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 10:39:47 +00:00
miscellaneous, mostly world related
This commit is contained in:
@ -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); }
|
||||
|
Reference in New Issue
Block a user