From b7e95f2eab800b9d18fdd64e34624e2dd0b91d03 Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Thu, 26 Apr 2018 01:56:06 -0300 Subject: [PATCH] remove unecessary check --- src/bounce/quickhull/qh_hull.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/bounce/quickhull/qh_hull.cpp b/src/bounce/quickhull/qh_hull.cpp index f29880f..24a24f7 100644 --- a/src/bounce/quickhull/qh_hull.cpp +++ b/src/bounce/quickhull/qh_hull.cpp @@ -731,15 +731,10 @@ void qhHull::MergeFaces() { for (u32 i = 0; i < m_newFaceCount; ++i) { - qhFace* f = m_newFaces[i]; - - if (f->state == qhFace::e_deleted) - { - continue; - } + qhFace* face = m_newFaces[i]; // Merge the faces while there is no face left to merge. - while (MergeFace(f)); + while (MergeFace(face)); } }