diff --git a/Engine.Physics2D/Primitives/AABB.cs b/Engine.Physics2D/Primitives/AABB.cs index f27df37..6d1191b 100644 --- a/Engine.Physics2D/Primitives/AABB.cs +++ b/Engine.Physics2D/Primitives/AABB.cs @@ -65,6 +65,12 @@ public readonly struct AABB(Vector2D lowerBoundary, Vector2D upperBoundary) return new(lowerBoundary, upperBoundary); } + /// + /// Converts the to its string representation. + /// + /// A string representation of the . + public override string ToString() => $"{nameof(AABB)}({LowerBoundary}, {UpperBoundary})"; + /// /// Checks if two s are approximately equal. ///