ATan2
This function gets angle a 2D point forms relative to the origin.
Syntax
- static float ATan2(const float y , const float x)
Parameters
- y: the Y coordinate of the point.
- x: the X coordinate of the point.
Returns
Returns the angle defined by the specified point.