MoonTools.Bonk/Bonk/IHasAABB2D.cs

17 lines
454 B
C#
Raw Normal View History

2020-02-21 08:03:47 +00:00
using MoonTools.Structs;
2020-01-02 09:40:03 +00:00
2020-02-21 08:03:47 +00:00
namespace MoonTools.Bonk
2020-01-02 09:40:03 +00:00
{
public interface IHasAABB2D
{
2020-09-07 02:38:51 +00:00
AABB2D AABB { get; }
2020-01-02 09:40:03 +00:00
/// <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>
2020-09-07 02:38:51 +00:00
AABB2D TransformedAABB(Transform2D transform);
2020-01-02 09:40:03 +00:00
}
}