Added a simpler CompactEveryVector to allocate to compact face edge and vertices...

This commit is contained in:
Paolo Cignoni 2013-03-13 00:15:13 +00:00
parent 888b89f834
commit 8f45cb352e
1 changed files with 7 additions and 0 deletions

View File

@ -645,6 +645,13 @@ namespace tri {
}
}
static void CompactEveryVector( MeshType &m)
{
CompactVertexVector(m);
CompactEdgeVector(m);
CompactFaceVector(m);
}
/*!
\brief Compact vector of vertices removing deleted elements.