|
@@ -13,7 +13,9 @@ JPH_NAMESPACE_BEGIN
|
|
|
/// @param ioContactPointsOn1 The contact points on shape 1 relative to inCenterOfMass
|
|
|
/// @param ioContactPointsOn2 The contact points on shape 2 relative to inCenterOfMass
|
|
|
/// On output ioContactPointsOn1/2 are reduced to 4 or less points
|
|
|
+#ifdef JPH_DEBUG_RENDERER
|
|
|
/// @param inCenterOfMass Center of mass position of body 1
|
|
|
+#endif
|
|
|
void PruneContactPoints(Vec3Arg inPenetrationAxis, ContactPoints &ioContactPointsOn1, ContactPoints &ioContactPointsOn2
|
|
|
#ifdef JPH_DEBUG_RENDERER
|
|
|
, RVec3Arg inCenterOfMass
|
|
@@ -29,7 +31,9 @@ void PruneContactPoints(Vec3Arg inPenetrationAxis, ContactPoints &ioContactPoint
|
|
|
/// @param inShape2Face The supporting faces on shape 2 relative to inCenterOfMass
|
|
|
/// @param outContactPoints1 Returns the contact points between the two shapes for shape 1 relative to inCenterOfMass (any existing points in the output array are left as is)
|
|
|
/// @param outContactPoints2 Returns the contact points between the two shapes for shape 2 relative to inCenterOfMass (any existing points in the output array are left as is)
|
|
|
+#ifdef JPH_DEBUG_RENDERER
|
|
|
/// @param inCenterOfMass Center of mass position of body 1
|
|
|
+#endif
|
|
|
void ManifoldBetweenTwoFaces(Vec3Arg inContactPoint1, Vec3Arg inContactPoint2, Vec3Arg inPenetrationAxis, float inSpeculativeContactDistanceSq, const ConvexShape::SupportingFace &inShape1Face, const ConvexShape::SupportingFace &inShape2Face, ContactPoints &outContactPoints1, ContactPoints &outContactPoints2
|
|
|
#ifdef JPH_DEBUG_RENDERER
|
|
|
, RVec3Arg inCenterOfMass
|