remove unecessary check

This commit is contained in:
Irlan 2018-04-26 01:56:06 -03:00
parent f882c8c68e
commit b7e95f2eab

View File

@ -731,15 +731,10 @@ void qhHull::MergeFaces()
{ {
for (u32 i = 0; i < m_newFaceCount; ++i) for (u32 i = 0; i < m_newFaceCount; ++i)
{ {
qhFace* f = m_newFaces[i]; qhFace* face = m_newFaces[i];
if (f->state == qhFace::e_deleted)
{
continue;
}
// Merge the faces while there is no face left to merge. // Merge the faces while there is no face left to merge.
while (MergeFace(f)); while (MergeFace(face));
} }
} }