From 80c8190573837bbf6f14b2cc61f084b2718def3c Mon Sep 17 00:00:00 2001 From: Tobias Leemann <tobias.leemann@fau.de> Date: Tue, 5 Dec 2017 10:54:21 +0100 Subject: [PATCH] [BUGFIX] fixed loop bug in EPA.cpp --- src/pe/collision/EPA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pe/collision/EPA.cpp b/src/pe/collision/EPA.cpp index b20d776dd..ed40e4153 100644 --- a/src/pe/collision/EPA.cpp +++ b/src/pe/collision/EPA.cpp @@ -826,7 +826,7 @@ inline bool EPA::searchTetrahedron(GeomPrimitive &geom1, GeomPrimitive &geom2, s } } - while(pointIndexToRemove != 0); + while(pointIndexToRemove != -1); //std::cerr << "Found Tet after " << loopCount << " searches." << std::endl; //Build final tetrahedron -- GitLab