Jolt Physics
A multi core friendly Game Physics Engine
|
#include <CompoundShapeVisitors.h>
Public Member Functions | |
JPH_INLINE | GetIntersectingSubShapesVisitor (const BoxType &inBox, uint *outSubShapeIndices, int inMaxSubShapeIndices) |
JPH_INLINE bool | ShouldAbort () const |
Returns true when collision detection should abort because the buffer is full. | |
JPH_INLINE UVec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
Tests the box vs 4 bounding boxes, returns true for the ones that intersect. | |
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
Records a hit. | |
JPH_INLINE int | GetNumResults () const |
Get the number of indices that were found. | |
|
inline |
|
inline |
Get the number of indices that were found.
|
inline |
Returns true when collision detection should abort because the buffer is full.
|
inline |
Tests the box vs 4 bounding boxes, returns true for the ones that intersect.
|
inline |
Records a hit.