50 ioLHS = ioLHS | inRHS;
57 ioLHS = ioLHS & inRHS;
64 ioLHS = ioLHS ^ inRHS;
constexpr EAllowedDOFs & operator&=(EAllowedDOFs &ioLHS, EAllowedDOFs inRHS)
Bitwise AND assignment operator for EAllowedDOFs.
Definition AllowedDOFs.h:55
constexpr EAllowedDOFs operator^(EAllowedDOFs inLHS, EAllowedDOFs inRHS)
Bitwise XOR operator for EAllowedDOFs.
Definition AllowedDOFs.h:36
EAllowedDOFs
Enum used in BodyCreationSettings and MotionProperties to indicate which degrees of freedom a body ha...
Definition AllowedDOFs.h:11
@ RotationX
Body can rotate around world space X axis.
@ TranslationY
Body can move in world space Y axis.
@ None
No degrees of freedom are allowed. Note that this is not valid and will crash. Use a static body inst...
@ RotationY
Body can rotate around world space Y axis.
@ TranslationZ
Body can move in world space Z axis.
@ All
All degrees of freedom are allowed.
@ Plane2D
Body can only move in X and Y axis and rotate around Z axis.
@ TranslationX
Body can move in world space X axis.
@ RotationZ
Body can rotate around world space Z axis.
constexpr EAllowedDOFs operator~(EAllowedDOFs inAllowedDOFs)
Bitwise NOT operator for EAllowedDOFs.
Definition AllowedDOFs.h:42
constexpr EAllowedDOFs operator|(EAllowedDOFs inLHS, EAllowedDOFs inRHS)
Bitwise OR operator for EAllowedDOFs.
Definition AllowedDOFs.h:24
constexpr EAllowedDOFs & operator^=(EAllowedDOFs &ioLHS, EAllowedDOFs inRHS)
Bitwise XOR assignment operator for EAllowedDOFs.
Definition AllowedDOFs.h:62
constexpr EAllowedDOFs & operator|=(EAllowedDOFs &ioLHS, EAllowedDOFs inRHS)
Bitwise OR assignment operator for EAllowedDOFs.
Definition AllowedDOFs.h:48
constexpr EAllowedDOFs operator&(EAllowedDOFs inLHS, EAllowedDOFs inRHS)
Bitwise AND operator for EAllowedDOFs.
Definition AllowedDOFs.h:30
std::uint8_t uint8
Definition Core.h:454
#define JPH_NAMESPACE_END
Definition Core.h:379
#define JPH_NAMESPACE_BEGIN
Definition Core.h:373