MoonTools.Bonk/Bonk/NarrowPhase/Edge2D.cs

19 lines
373 B
C#

using System.Numerics;
namespace MoonTools.Bonk
{
internal struct Edge2D
{
public float distance;
public Vector2 normal;
public int index;
public Edge2D(float distance, Vector2 normal, int index)
{
this.distance = distance;
this.normal = normal;
this.index = index;
}
}
}