MoonTools.Bonk/Bonk/NarrowPhase/Edge.cs

19 lines
374 B
C#
Raw Permalink Normal View History

2019-10-31 23:19:30 +00:00
using System.Numerics;
2019-09-06 08:11:58 +00:00
namespace MoonTools.Core.Bonk
{
2019-09-15 17:38:21 +00:00
internal struct Edge
2019-09-06 08:11:58 +00:00
{
public float distance;
public Vector2 normal;
public int index;
2019-10-31 23:19:30 +00:00
public Edge(float distance, Vector2 normal, int index)
{
2019-09-06 08:11:58 +00:00
this.distance = distance;
this.normal = normal;
this.index = index;
}
}
}