#include <CompoundShapeVisitors.h>
|
JPH_INLINE | CollideCompoundVsShapeVisitor (const CompoundShape *inShape1, const Shape *inShape2, Vec3Arg inScale1, Vec3Arg inScale2, Mat44Arg inCenterOfMassTransform1, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, const CollideShapeSettings &inCollideShapeSettings, CollideShapeCollector &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 |
| Tests the bounds of shape 2 vs 4 bounding boxes, returns true for the ones that intersect. More...
|
|
JPH_INLINE void | VisitShape (const SubShape &inSubShape, uint32 inSubShapeIndex) |
| Test the shape against a single subshape. More...
|
|
◆ CollideCompoundVsShapeVisitor()
JPH_INLINE CompoundShape::CollideCompoundVsShapeVisitor::CollideCompoundVsShapeVisitor |
( |
const CompoundShape * |
inShape1, |
|
|
const Shape * |
inShape2, |
|
|
Vec3Arg |
inScale1, |
|
|
Vec3Arg |
inScale2, |
|
|
Mat44Arg |
inCenterOfMassTransform1, |
|
|
Mat44Arg |
inCenterOfMassTransform2, |
|
|
const SubShapeIDCreator & |
inSubShapeIDCreator1, |
|
|
const SubShapeIDCreator & |
inSubShapeIDCreator2, |
|
|
const CollideShapeSettings & |
inCollideShapeSettings, |
|
|
CollideShapeCollector & |
ioCollector, |
|
|
const ShapeFilter & |
inShapeFilter |
|
) |
| |
|
inline |
◆ ShouldAbort()
JPH_INLINE bool CompoundShape::CollideCompoundVsShapeVisitor::ShouldAbort |
( |
| ) |
const |
|
inline |
Returns true when collision detection should abort because it's not possible to find a better hit.
◆ TestBounds()
Tests the bounds of shape 2 vs 4 bounding boxes, returns true for the ones that intersect.
◆ VisitShape()
JPH_INLINE void CompoundShape::CollideCompoundVsShapeVisitor::VisitShape |
( |
const SubShape & |
inSubShape, |
|
|
uint32 |
inSubShapeIndex |
|
) |
| |
|
inline |
Test the shape against a single subshape.
◆ mBoundsOf2InSpaceOf1
AABox CompoundShape::CollideCompoundVsShapeVisitor::mBoundsOf2InSpaceOf1 |
◆ mCollector
◆ mCollideShapeSettings
◆ mScale1
Vec3 CompoundShape::CollideCompoundVsShapeVisitor::mScale1 |
◆ mScale2
Vec3 CompoundShape::CollideCompoundVsShapeVisitor::mScale2 |
◆ mShape2
const Shape* CompoundShape::CollideCompoundVsShapeVisitor::mShape2 |
◆ mShapeFilter
const ShapeFilter& CompoundShape::CollideCompoundVsShapeVisitor::mShapeFilter |
◆ mSubShapeBits
uint CompoundShape::CollideCompoundVsShapeVisitor::mSubShapeBits |
◆ mSubShapeIDCreator1
◆ mSubShapeIDCreator2
◆ mTransform1
Mat44 CompoundShape::CollideCompoundVsShapeVisitor::mTransform1 |
◆ mTransform2
Mat44 CompoundShape::CollideCompoundVsShapeVisitor::mTransform2 |
The documentation for this struct was generated from the following file: