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. | |
BodyPair (BodyID inA, BodyID inB) | |
bool | operator== (const BodyPair &inRHS) const |
Equals operator. | |
bool | operator< (const BodyPair &inRHS) const |
Smaller than operator, used for consistently ordering body pairs. | |
uint64 | GetHash () const |
Get the hash value of this object. | |
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 |