42 void AddHit(
bool inBackFacing,
const SubShapeID &inSubShapeID2,
float inFraction,
Vec3Arg inContactPointA,
Vec3Arg inContactPointB,
Vec3Arg inContactNormal);
43 void AddHitWithActiveEdgeDetection(
Vec3Arg inV0,
Vec3Arg inV1,
Vec3Arg inV2,
bool inBackFacing,
Vec3Arg inTriangleNormal,
uint8 inActiveEdges,
const SubShapeID &inSubShapeID2,
float inFraction,
Vec3Arg inContactPointA,
Vec3Arg inContactPointB,
Vec3Arg inContactNormal);
std::uint8_t uint8
Definition Core.h:501
#define JPH_EXPORT
Definition Core.h:275
#define JPH_NAMESPACE_END
Definition Core.h:425
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
const Vec3 Vec3Arg
Definition MathTypes.h:19
const Mat44 & Mat44Arg
Definition MathTypes.h:29
JPH_NAMESPACE_BEGIN JPH_INLINE float RayCylinder(Vec3Arg inRayOrigin, Vec3Arg inRayDirection, float inCylinderRadius)
Definition RayCylinder.h:17
CollisionCollector< ShapeCastResult, CollisionCollectorTraitsCastShape > CastShapeCollector
Definition Shape.h:45
const Mat44 & mCenterOfMassTransform2
Definition CastSphereVsTriangles.h:36
SubShapeIDCreator mSubShapeIDCreator1
Definition CastSphereVsTriangles.h:38
Vec3 mDirection
Direction and length of movement of sphere.
Definition CastSphereVsTriangles.h:33
CastShapeCollector & mCollector
Definition CastSphereVsTriangles.h:39
Vec3 mStart
Starting location of the sphere.
Definition CastSphereVsTriangles.h:32
Vec3 mScale
Definition CastSphereVsTriangles.h:37
float mRadius
Scaled radius of sphere.
Definition CastSphereVsTriangles.h:34
void Cast(Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2, uint8 inActiveEdges, const SubShapeID &inSubShapeID2)
Definition CastSphereVsTriangles.cpp:118
CastSphereVsTriangles(const ShapeCast &inShapeCast, const ShapeCastSettings &inShapeCastSettings, Vec3Arg inScale, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, CastShapeCollector &ioCollector)
Definition CastSphereVsTriangles.cpp:19
const ShapeCastSettings & mShapeCastSettings
Definition CastSphereVsTriangles.h:35
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
Settings to be passed with a shape cast.
Definition ShapeCast.h:92
Definition SubShapeID.h:108
A sub shape id contains a path to an element (usually a triangle or other primitive type) of a compou...
Definition SubShapeID.h:23
Definition ShapeCast.h:69