Jolt Physics
A multi core friendly Game Physics Engine
|
A pair of bodies and their sub shape ID's. Can be used as a key in a map to find a contact point. More...
#include <SubShapeIDPair.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | SubShapeIDPair ()=default |
Constructor. | |
SubShapeIDPair (const BodyID &inBody1ID, const SubShapeID &inSubShapeID1, const BodyID &inBody2ID, const SubShapeID &inSubShapeID2) | |
SubShapeIDPair & | operator= (const SubShapeIDPair &)=default |
SubShapeIDPair (const SubShapeIDPair &)=default | |
bool | operator== (const SubShapeIDPair &inRHS) const |
Equality operator. | |
bool | operator< (const SubShapeIDPair &inRHS) const |
Less than operator, used to consistently order contact points for a deterministic simulation. | |
const BodyID & | GetBody1ID () const |
const SubShapeID & | GetSubShapeID1 () const |
const BodyID & | GetBody2ID () const |
const SubShapeID & | GetSubShapeID2 () const |
uint64 | GetHash () const |
A pair of bodies and their sub shape ID's. Can be used as a key in a map to find a contact point.
|
default |
Constructor.
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Less than operator, used to consistently order contact points for a deterministic simulation.
|
default |
|
inline |
Equality operator.