diff --git a/src/collision/narrowphase/ConcaveVsConvexAlgorithm.cpp b/src/collision/narrowphase/ConcaveVsConvexAlgorithm.cpp index 27c66daa..e1a83147 100644 --- a/src/collision/narrowphase/ConcaveVsConvexAlgorithm.cpp +++ b/src/collision/narrowphase/ConcaveVsConvexAlgorithm.cpp @@ -79,8 +79,6 @@ void ConcaveVsConvexAlgorithm::testCollision(const CollisionShapeInfo& shape1Inf // Call the convex vs triangle callback for each triangle of the concave shape concaveShape->testAllTriangles(mConvexVsTriangleCallback, aabb); - - // TODO : Handle return value here } // Test collision between a triangle and the convex mesh shape diff --git a/src/collision/narrowphase/EPA/EPAAlgorithm.cpp b/src/collision/narrowphase/EPA/EPAAlgorithm.cpp index be05ac95..7b56949d 100644 --- a/src/collision/narrowphase/EPA/EPAAlgorithm.cpp +++ b/src/collision/narrowphase/EPA/EPAAlgorithm.cpp @@ -431,6 +431,4 @@ void EPAAlgorithm::computePenetrationDepthAndContactPoints(const Simplex& simple normal, penetrationDepth, pALocal, pBLocal); narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo); - - return; } diff --git a/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp b/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp index 5ed530a8..d469fc79 100644 --- a/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp +++ b/src/collision/narrowphase/SphereVsSphereAlgorithm.cpp @@ -77,6 +77,4 @@ void SphereVsSphereAlgorithm::testCollision(const CollisionShapeInfo& shape1Info // Notify about the new contact narrowPhaseCallback->notifyContact(shape1Info.overlappingPair, contactInfo); } - - return; }