diff --git a/Engine.Core/Math.cs b/Engine.Core/Math.cs index b65cc5e..14ba680 100644 --- a/Engine.Core/Math.cs +++ b/Engine.Core/Math.cs @@ -110,6 +110,13 @@ public static class Math /// The sine of . public static float Sin(float x) => MathF.Sin(x); + /// + /// Returns the tangent of a number. + /// + /// The angle, in radians. + /// The tangent of . + public static float Tan(float x) => MathF.Tan(x); + /// /// Returns the arccosine of a number. /// @@ -124,6 +131,13 @@ public static class Math /// The arcsine of . public static float Asin(float x) => MathF.Asin(x); + /// + /// Returns the angle whose tangent is the specified number. + /// + /// The tangent value. + /// The angle, in radians. + public static float Atan(float x) => MathF.Atan(x); + /// /// Returns the angle whose tangent is the quotient of two specified numbers. ///