FerretEngine/src/Utils/FeMath.cs
/// <summary>
/// Returns the angle in degrees for the given x and y values.
/// </summary>
/// <param name="y"></param>
/// <param name="x"></param>
/// <returns>The angle in degrees.</returns>
Returns the angle in degrees for the given x and y values.
Returns the angle in degrees for the given x and y values .
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static float ATan2(float y, float x)
        {
            return RadToDeg((float)Math.Atan2(y, x));
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] public static float ATan2 ( float y , float x ) { return RadToDeg ( ( float ) Math . Atan2 ( y , x ) ) ; }
Returns the angle in degrees for the given x and y values.
Returns the angle in degrees for the given x and y values .
The angle in degrees.
The angle in degrees .
y
float
None
x
float
None