using System; using System.Numerics; using MoonTools.Structs; namespace MoonTools.Bonk { public interface IShape2D : IHasAABB2D, IEquatable { /// /// A Minkowski support function. Gives the farthest point on the edge of a shape along the given direction. /// /// A normalized Vector2. /// A Transform for transforming the shape vertices. /// The farthest point on the edge of the shape along the given direction. Vector2 Support(Vector2 direction, Transform2D transform); } }