Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents a pair of potentially colliding objects. More...
#include <omPhysicsCollisionPair.h>
Public Member Functions | |
CollisionPair (Collider *newCollider1, Collider *newCollider2) | |
Create a new collision pair for the specified colliders. More... | |
Hash | getHashCode () const |
Return an integer hash code for this collision pair. More... | |
Public Attributes | |
Collider * | collider1 |
A pointer to the first collider in the collision pair. More... | |
Collider * | collider2 |
A pointer to the second collider in the collision pair. More... | |
A class that represents a pair of potentially colliding objects.
|
inline |
Create a new collision pair for the specified colliders.
|
inline |
Return an integer hash code for this collision pair.
Collider* om::physics::collision::CollisionPair::collider1 |
A pointer to the first collider in the collision pair.
Collider* om::physics::collision::CollisionPair::collider2 |
A pointer to the second collider in the collision pair.