chore: Removed Physics2D Degree Constants
This commit is contained in:
parent
4bf618251f
commit
a60f79f12b
|
@ -8,9 +8,6 @@ namespace Engine.Physics2D;
|
||||||
|
|
||||||
public static partial class Physics2D
|
public static partial class Physics2D
|
||||||
{
|
{
|
||||||
public const float RadianToDegree = 57.29577866666166f;
|
|
||||||
public const float DegreeToRadian = 0.01745329277777778f;
|
|
||||||
|
|
||||||
public static bool Overlaps(this Circle left, Circle right)
|
public static bool Overlaps(this Circle left, Circle right)
|
||||||
{
|
{
|
||||||
float distanceSquared = left.Position.FromTo(right.Position).LengthSquared();
|
float distanceSquared = left.Position.FromTo(right.Position).LengthSquared();
|
||||||
|
|
Loading…
Reference in New Issue