#include <PhysicsCollisionObject.h>
Public Member Functions | |
CollisionPair (PhysicsCollisionObject *objectA, PhysicsCollisionObject *objectB) | |
bool | operator< (const CollisionPair &collisionPair) const |
Public Attributes | |
PhysicsCollisionObject * | objectA |
PhysicsCollisionObject * | objectB |
Defines a pair of rigid bodies that collided (or may collide).
gameplay::PhysicsCollisionObject::CollisionPair::CollisionPair | ( | PhysicsCollisionObject * | objectA, |
PhysicsCollisionObject * | objectB | ||
) |
Constructor.
bool gameplay::PhysicsCollisionObject::CollisionPair::operator< | ( | const CollisionPair & | collisionPair | ) | const |
Less than operator (needed for use as a key in map).
collisionPair | The collision pair to compare. |
The first object in the collision.
The second object in the collision.