forked from MoonsideGames/MoonTools.Bonk
18 lines
374 B
C#
18 lines
374 B
C#
|
using Microsoft.Xna.Framework;
|
|||
|
|
|||
|
namespace MoonTools.Core.Bonk
|
|||
|
{
|
|||
|
internal struct Edge
|
|||
|
{
|
|||
|
public float distance;
|
|||
|
public Vector2 normal;
|
|||
|
public int index;
|
|||
|
|
|||
|
public Edge(float distance, Vector2 normal, int index) {
|
|||
|
this.distance = distance;
|
|||
|
this.normal = normal;
|
|||
|
this.index = index;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|