MoonTools.Bonk/Bonk/IHasAABB2D.cs

18 lines
474 B
C#
Raw Normal View History

2020-01-02 09:40:03 +00:00
using System;
using MoonTools.Core.Structs;
namespace MoonTools.Core.Bonk
{
public interface IHasAABB2D
{
AABB 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>
AABB TransformedAABB(Transform2D transform);
}
}