Nez.Portable/Math/Mathf.cs
/// <summary>
/// returns the angle whose tangent is the quotient (y/x) of two specified numbers
/// </summary>
/// <param name="y">The y coordinate.</param>
/// <param name="x">The x coordinate.</param>
returns the angle whose tangent is the quotient (y/x) of two specified numbers
returns the angle whose tangent is the quotient ( y / x ) of two specified numbers
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static float atan2(float y, float x)
        {
            return (float)Math.Atan2(y, x);
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static float atan2 ( float y , float x ) { return ( float ) Math . Atan2 ( y , x ) ; }
returns the angle whose tangent is the quotient (y/x) of two specified numbers
returns the angle whose tangent is the quotient ( y / x ) of two specified numbers
y
float
The y coordinate.
The y coordinate .
x
float
The x coordinate.
The x coordinate .