MoonTools.Bonk/Bonk/IHasAABB2D.cs

17 lines
454 B
C#

using MoonTools.Structs;
namespace MoonTools.Bonk
{
public interface IHasAABB2D
{
AABB2D AABB { get; }
/// <summary>
/// Returns a bounding box based on the shape.
/// </summary>
/// <param name="transform">A Transform for transforming the shape vertices.</param>
/// <returns>Returns a bounding box based on the shape.</returns>
AABB2D TransformedAABB(Transform2D transform);
}
}