feat: Math.Sqr

This commit is contained in:
Syntriax 2024-01-25 21:52:03 +03:00
parent 00b80f1a01
commit 601d15fa45
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ public static class Math
public static float MinMagnitude(float x, float y) => MathF.MinMagnitude(x, y);
public static float Pow(float x, float y) => MathF.Pow(x, y);
public static float Round(float x, int digits, MidpointRounding mode) => MathF.Round(x, digits, mode);
public static float Sqr(float x) => x * x;
public static float Sqrt(float x) => MathF.Sqrt(x);
public static float Truncate(float x) => MathF.Truncate(x);
}