com.jme.bounding
Interface CollisionTreeController
- All Known Implementing Classes:
- UsageTreeController
public interface CollisionTreeController
CollisionTreeController defines an interface for determining which
collision tree to remove from a supplied cache. The desired size is
given for the controller to attempt to reduce the cache to, as well as
a list of protected elements that should not be removed from the
cache.
- Author:
- Mark Powell
Method Summary |
void |
clean(java.util.Map<TriMesh,CollisionTree> cache,
java.util.List<TriMesh> protectedList,
int desiredSize)
clean will reduce the size of cache to the provided desiredSize. |
clean
void clean(java.util.Map<TriMesh,CollisionTree> cache,
java.util.List<TriMesh> protectedList,
int desiredSize)
- clean will reduce the size of cache to the provided desiredSize. The
protectedList defines elements that should not be removed from the
cache.
- Parameters:
cache
- the cache to reduce.protectedList
- the list of elements to not remove.desiredSize
- the desiredSize of the final cache.