Box2D.Common.MathUtils.Atan2 C# (CSharp) Method

Atan2() public static method

public static Atan2 ( float y, float x ) : float
y float
x float
return float
        public static float Atan2(float y, float x)
        {
            if (Settings.FAST_MATH)
            {
                return FastAtan2(y, x);
            }
            else
            {
                //UPGRADE_WARNING: Data types in Visual C# might be different.  Verify the accuracy of narrowing conversions. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1042'"
                return (float)Math.Atan2(y, x);
            }
        }