Used to provide better reporting of collisions. More...
Public Member Functions | |
CollisionDispatcher (PhysicsManager *PhysMan, btCollisionConfiguration *CollisionConfig) | |
Class constructor. More... | |
virtual | ~CollisionDispatcher () |
Class destructor. | |
void * | allocateCollisionAlgorithm (int size) |
Allocates space for a new Collision Algorithm between two objects. More... | |
void | freeCollisionAlgorithm (void *ptr) |
Frees up the space belonging to a Collision Algorithm that is no longer needed. More... | |
AlgoList * | GetAlgoCreationQueue () |
Gets the list of algorithms that have been created and need processing. More... | |
Protected Attributes | |
AlgoList | AlgoCreationQueue |
A list of all the algorithms that have been created and need processing. More... | |
PhysicsManager * | PhysMan |
Physics Manager. | |
Used to provide better reporting of collisions.
Definition at line 63 of file collisiondispatcher.h.cpp.
Mezzanine::Physics::CollisionDispatcher::CollisionDispatcher | ( | PhysicsManager * | PhysMan, |
btCollisionConfiguration * | CollisionConfig | ||
) |
Class constructor.
CollisionConfig | The collision configuration for the world being created. |
Definition at line 56 of file collisiondispatcher.cpp.
void * Mezzanine::Physics::CollisionDispatcher::allocateCollisionAlgorithm | ( | int | size | ) |
Allocates space for a new Collision Algorithm between two objects.
size | The size needed for the new Collision Algorithm. |
Definition at line 67 of file collisiondispatcher.cpp.
void Mezzanine::Physics::CollisionDispatcher::freeCollisionAlgorithm | ( | void * | ptr | ) |
Frees up the space belonging to a Collision Algorithm that is no longer needed.
ptr | A pointer to Collision Algorithim that is being removed. |
Definition at line 74 of file collisiondispatcher.cpp.
AlgoList * Mezzanine::Physics::CollisionDispatcher::GetAlgoCreationQueue | ( | ) |
Gets the list of algorithms that have been created and need processing.
Definition at line 105 of file collisiondispatcher.cpp.
|
protected |
A list of all the algorithms that have been created and need processing.
Definition at line 71 of file collisiondispatcher.h.cpp.