feat: Math.Sqr
This commit is contained in:
parent
00b80f1a01
commit
601d15fa45
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue