Jolt Physics
A multi core friendly Game Physics Engine
|
Structure that holds a body pair. More...
#include <BodyPair.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | BodyPair ()=default |
Constructor. More... | |
BodyPair (BodyID inA, BodyID inB) | |
bool | operator== (const BodyPair &inRHS) const |
Equals operator. More... | |
bool | operator< (const BodyPair &inRHS) const |
Smaller than operator, used for consistently ordering body pairs. More... | |
uint64 | GetHash () const |
Get the hash value of this object. More... | |
Public Attributes | |
BodyID | mBodyA |
BodyID | mBodyB |
Structure that holds a body pair.
|
default |
Constructor.
|
inline |
Get the hash value of this object.
|
inline |
Smaller than operator, used for consistently ordering body pairs.
|
inline |
Equals operator.
BodyID BodyPair::mBodyA |
BodyID BodyPair::mBodyB |