refactor: Added Static Methods Back

This commit is contained in:
2024-01-23 19:18:31 +03:00
parent bd03d036aa
commit 0d29ab066f
3 changed files with 77 additions and 60 deletions

View File

@@ -1,9 +0,0 @@
namespace Syntriax.Engine.Physics2D.Primitives;
public static class Math
{
public const float RadianToDegree = 57.29577866666166f;
public const float DegreeToRadian = 0.01745329277777778f;
public static float Clamp(float value, float min, float max) => (value < min) ? min : (value > max) ? max : value;
}