-
- Type Parameters:
T
- the object type
- All Known Implementing Classes:
NullAABBExpansionMethod
,StaticValueAABBExpansionMethod
public interface AABBExpansionMethod<T>
Represents a rule used to expand an AABB based on the given type T.AABB expansion can be used to tweak the performance trade off between broadphase acceleration structure update time vs. detection time. A large expansion value would cause less updates to the acceleration structure, but would cause more pairs to reach the narrowphase where detection is generally more expensive. A small expansion value (or zero) would cause more updates to the acceleration structure, but would cause less pairs to reach the narrowphase.
- Since:
- 4.1.0
- Version:
- 4.1.0
- Author:
- William Bittle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
expand(T object, AABB aabb)
Expands the given AABB.
-