#include <CompoundShapeVisitors.h>
◆ CastRayVisitor()
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CastRayVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Test ray against 4 bounding boxes and returns the distance where the ray enters the bounding box.
◆ VisitShape()
JPH_INLINE void CompoundShape::CastRayVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the ray against a single subshape.
◆ mHit
◆ mInvDirection
◆ mRay
const RayCast& CompoundShape::CastRayVisitor::mRay |
◆ mReturnValue
bool CompoundShape::CastRayVisitor::mReturnValue = false |
◆ mSubShapeBits
uint CompoundShape::CastRayVisitor::mSubShapeBits |
◆ mSubShapeIDCreator
The documentation for this struct was generated from the following file: