Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::physics::constraints::ContactConstraint::ContactManifold Class Reference

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

ObjectStateobject1
 A pointer to the first object of this contact manifold. More...
 
ObjectStateobject2
 A pointer to the second object of this contact manifold. More...
 
StaticArrayList< Contact *, MAX_MANIFOLD_SIZE, UInt32contacts
 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...
 

Detailed Description

An object that stores a set of contact points between two objects.

Constructor & Destructor Documentation

om::physics::constraints::ContactConstraint::ContactManifold::ContactManifold ( ObjectState newObject1,
ObjectState newObject2 
)
inline

Create a new contact manifold between the specified objects.

Member Data Documentation

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.


The documentation for this class was generated from the following file: