An interface for classes that determine potentially colliding pairs of objects in a scene.
More...
#include <omPhysicsCollisionBroadphase.h>
An interface for classes that determine potentially colliding pairs of objects in a scene.
virtual om::physics::collision::CollisionBroadphase::~CollisionBroadphase |
( |
| ) |
|
|
inlinevirtual |
Destroy this broadphase and all allocated data.
Test all objects in this broadphase and add potentially overlaping pairs to the narrowphase object.
virtual Size om::physics::collision::CollisionBroadphase::getColliderCount |
( |
| ) |
const |
|
pure virtual |
Return the number of colliders there are in this broadphase.
virtual Bool om::physics::collision::CollisionBroadphase::addCollider |
( |
Collider * |
collider | ) |
|
|
pure virtual |
Add a collider to this broadphase.
virtual Bool om::physics::collision::CollisionBroadphase::removeCollider |
( |
const Collider * |
collider | ) |
|
|
pure virtual |
Remove the specified collider from this broadphase.
virtual void om::physics::collision::CollisionBroadphase::clearColliders |
( |
| ) |
|
|
pure virtual |
Remove all colliders from the broadphase.
The documentation for this class was generated from the following file: