-
- Type Parameters:
T
- the object type
- All Known Implementing Classes:
CollisionBodyAABBProducer
,CollisionItemAABBProducer
,PhysicsBodySweptAABBProducer
public interface AABBProducer<T>
Represents a way to generate an AABB from a given object.Implementations of this interface should return tight fitting AABBs for the given object.
- Since:
- 4.1.0
- Version:
- 4.1.0
- Author:
- William Bittle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AABB
compute(T object)
Returns a new AABB for the given object.void
compute(T object, AABB result)
Updates the given AABB with the AABB for the given object.
-