From 28f3e120f093ea8a2d644e98b7a86b8bc1153028 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 28 Jun 2012 17:21:20 +0000 Subject: [PATCH] Corrected naming for the unreference vertices function now the func that just count the unref vert is called CountUnreferencedVertex --- vcg/complex/algorithms/clean.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vcg/complex/algorithms/clean.h b/vcg/complex/algorithms/clean.h index 53134d6e..aa99602f 100644 --- a/vcg/complex/algorithms/clean.h +++ b/vcg/complex/algorithms/clean.h @@ -328,6 +328,12 @@ private: } return total; } + static int CountUnreferencedVertex( MeshType& m) + { + return RemoveUnreferencedVertex(m,false); + } + + /** This function removes that are not referenced by any face. The function updates the vn counter. @param m The mesh @return The number of removed vertices