From 8cb2ec7e177453c3fa990d1ab6461416bbf4ea9b Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Fri, 8 Sep 2017 07:38:57 +0200 Subject: [PATCH] Remove wrong assert --- src/collision/narrowphase/SAT/SATAlgorithm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/collision/narrowphase/SAT/SATAlgorithm.cpp b/src/collision/narrowphase/SAT/SATAlgorithm.cpp index 7a11fbf7..2f345738 100644 --- a/src/collision/narrowphase/SAT/SATAlgorithm.cpp +++ b/src/collision/narrowphase/SAT/SATAlgorithm.cpp @@ -845,7 +845,6 @@ bool SATAlgorithm::computePolyhedronVsPolyhedronFaceContactPoints(bool isMinPene // Clip the reference faces with the adjacent planes of the reference face std::vector clipPolygonVertices = clipPolygonWithPlanes(polygonVertices, planesPoints, planesNormals); - assert(clipPolygonVertices.size() > 0); // We only keep the clipped points that are below the reference face const Vector3 referenceFaceVertex = referencePolyhedron->getVertexPosition(referencePolyhedron->getHalfEdge(firstEdgeIndex).vertexIndex);