Small modifications
This commit is contained in:
parent
5b3509c920
commit
4eceb7e7c6
|
@ -79,8 +79,6 @@ void ConcaveVsConvexAlgorithm::testCollision(const CollisionShapeInfo& shape1Inf
|
||||||
|
|
||||||
// Call the convex vs triangle callback for each triangle of the concave shape
|
// Call the convex vs triangle callback for each triangle of the concave shape
|
||||||
concaveShape->testAllTriangles(mConvexVsTriangleCallback, aabb);
|
concaveShape->testAllTriangles(mConvexVsTriangleCallback, aabb);
|
||||||
|
|
||||||
// TODO : Handle return value here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test collision between a triangle and the convex mesh shape
|
// Test collision between a triangle and the convex mesh shape
|
||||||
|
|
|
@ -431,6 +431,4 @@ void EPAAlgorithm::computePenetrationDepthAndContactPoints(const Simplex& simple
|
||||||
normal, penetrationDepth, pALocal, pBLocal);
|
normal, penetrationDepth, pALocal, pBLocal);
|
||||||
|
|
||||||
narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo);
|
narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,6 +77,4 @@ void SphereVsSphereAlgorithm::testCollision(const CollisionShapeInfo& shape1Info
|
||||||
// Notify about the new contact
|
// Notify about the new contact
|
||||||
narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo);
|
narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user