#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CollidePointVisitor (Vec3Arg inPoint, const CompoundShape *inShape, const SubShapeIDCreator &inSubShapeIDCreator, CollidePointCollector &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. More...
|
|
JPH_INLINE UVec4 | TestBounds (Vec4Arg inBoundsMinX, Vec4Arg inBoundsMinY, Vec4Arg inBoundsMinZ, Vec4Arg inBoundsMaxX, Vec4Arg inBoundsMaxY, Vec4Arg inBoundsMaxZ) const |
| Test if point overlaps with 4 boxes, returns true for the ones that do. More...
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Test the point against a single subshape. More...
|
|
◆ CollidePointVisitor()
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CollidePointVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Test if point overlaps with 4 boxes, returns true for the ones that do.
◆ VisitShape()
JPH_INLINE void CompoundShape::CollidePointVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the point against a single subshape.
◆ mCollector
◆ mPoint
Vec3 CompoundShape::CollidePointVisitor::mPoint |
◆ mShapeFilter
const ShapeFilter& CompoundShape::CollidePointVisitor::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CollidePointVisitor::mSubShapeBits |
◆ mSubShapeIDCreator
The documentation for this struct was generated from the following file: