com.bulletphysics.collision.dispatch
Class CollisionAlgorithmCreateFunc

java.lang.Object
  extended by com.bulletphysics.collision.dispatch.CollisionAlgorithmCreateFunc
Direct Known Subclasses:
CompoundCollisionAlgorithm.CreateFunc, CompoundCollisionAlgorithm.SwappedCreateFunc, ConvexConcaveCollisionAlgorithm.CreateFunc, ConvexConcaveCollisionAlgorithm.SwappedCreateFunc, ConvexConvexAlgorithm.CreateFunc, ConvexPlaneCollisionAlgorithm.CreateFunc, EmptyAlgorithm.CreateFunc, GImpactCollisionAlgorithm.CreateFunc, SphereSphereCollisionAlgorithm.CreateFunc

public abstract class CollisionAlgorithmCreateFunc
extends Object

Used by the CollisionDispatcher to register and create instances for CollisionAlgorithm.


Field Summary
 boolean swapped
           
 
Constructor Summary
CollisionAlgorithmCreateFunc()
           
 
Method Summary
abstract  CollisionAlgorithm createCollisionAlgorithm(CollisionAlgorithmConstructionInfo ci, CollisionObject body0, CollisionObject body1)
           
abstract  void releaseCollisionAlgorithm(CollisionAlgorithm algo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swapped

public boolean swapped
Constructor Detail

CollisionAlgorithmCreateFunc

public CollisionAlgorithmCreateFunc()
Method Detail

createCollisionAlgorithm

public abstract CollisionAlgorithm createCollisionAlgorithm(CollisionAlgorithmConstructionInfo ci,
                                                            CollisionObject body0,
                                                            CollisionObject body1)

releaseCollisionAlgorithm

public abstract void releaseCollisionAlgorithm(CollisionAlgorithm algo)