2019-10-31 23:19:30 +00:00
|
|
|
|
using System.Numerics;
|
2019-09-06 08:11:58 +00:00
|
|
|
|
|
2020-02-21 02:07:59 +00:00
|
|
|
|
namespace MoonTools.Bonk
|
2019-09-06 08:11:58 +00:00
|
|
|
|
{
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|