Om
1.0.0
A universal framework for multimedia simulation
|
An object that stores a set of contact points between two objects. More...
#include <omPhysicsContactConstraint.h>
Public Member Functions | |
ContactManifold (ObjectState *newObject1, ObjectState *newObject2) | |
Create a new contact manifold between the specified objects. More... | |
Public Attributes | |
ObjectState * | object1 |
A pointer to the first object of this contact manifold. More... | |
ObjectState * | object2 |
A pointer to the second object of this contact manifold. More... | |
StaticArrayList< Contact *, MAX_MANIFOLD_SIZE, UInt32 > | contacts |
A list of the contacts that are part of this manifold. More... | |
ConstraintID | constraintID |
The ID of the constraint for this contact manifold in the physics context. More... | |
UInt32 | timestamp |
An integer that keeps track of the frame index when this contact manifold was last updated. More... | |
An object that stores a set of contact points between two objects.
|
inline |
Create a new contact manifold between the specified objects.
ObjectState* om::physics::constraints::ContactConstraint::ContactManifold::object1 |
A pointer to the first object of this contact manifold.
ObjectState* om::physics::constraints::ContactConstraint::ContactManifold::object2 |
A pointer to the second object of this contact manifold.
StaticArrayList<Contact*,MAX_MANIFOLD_SIZE,UInt32> om::physics::constraints::ContactConstraint::ContactManifold::contacts |
A list of the contacts that are part of this manifold.
ConstraintID om::physics::constraints::ContactConstraint::ContactManifold::constraintID |
The ID of the constraint for this contact manifold in the physics context.
UInt32 om::physics::constraints::ContactConstraint::ContactManifold::timestamp |
An integer that keeps track of the frame index when this contact manifold was last updated.