#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CollectTransformedShapesVisitor (const AABox &inBox, const CompoundShape *inShape, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale, const SubShapeIDCreator &inSubShapeIDCreator, TransformedShapeCollector &ioCollector, const ShapeFilter &inShapeFilter) |
|
JPH_INLINE bool | ShouldAbort () const |
| Returns true when collision detection should abort because it's not possible to find a better hit.
|
|
JPH_INLINE UVec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
| Tests 4 bounding boxes against the query box, returns true for the ones that collide.
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Collect the transformed sub shapes for a single subshape.
|
|
◆ CollectTransformedShapesVisitor()
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CollectTransformedShapesVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Tests 4 bounding boxes against the query box, returns true for the ones that collide.
◆ VisitShape()
JPH_INLINE void CompoundShape::CollectTransformedShapesVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Collect the transformed sub shapes for a single subshape.
◆ mBox
AABox CompoundShape::CollectTransformedShapesVisitor::mBox |
◆ mCollector
◆ mLocalBox
OrientedBox CompoundShape::CollectTransformedShapesVisitor::mLocalBox |
◆ mPositionCOM
Vec3 CompoundShape::CollectTransformedShapesVisitor::mPositionCOM |
◆ mRotation
Quat CompoundShape::CollectTransformedShapesVisitor::mRotation |
◆ mScale
Vec3 CompoundShape::CollectTransformedShapesVisitor::mScale |
◆ mShapeFilter
const ShapeFilter& CompoundShape::CollectTransformedShapesVisitor::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CollectTransformedShapesVisitor::mSubShapeBits |
◆ mSubShapeIDCreator
The documentation for this struct was generated from the following file: