Synopsis
double mth_GetAtan2(double y, double x)
Purpose
Compute the adjusted arc tangent of y/x.
Description
The arc tangent of y/x will be returned after being adjusted such that 0 <= angle <= 2PI.
Input
y
Y location
x
X location
Return
atan2 of y/x adjusted to 0 <= angle <= 2PI.