From 8f45cb352ed8d0a1dc6d2a6b1e35631384962872 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 13 Mar 2013 00:15:13 +0000 Subject: [PATCH] Added a simpler CompactEveryVector to allocate to compact face edge and vertices... --- vcg/complex/allocate.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vcg/complex/allocate.h b/vcg/complex/allocate.h index c9500de6..0fc427eb 100644 --- a/vcg/complex/allocate.h +++ b/vcg/complex/allocate.h @@ -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.