From b7d931e7dc679ef86e81446629500495ce26d5a4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sat, 14 Oct 2006 00:15:21 +0000 Subject: [PATCH] Removed the class name Pivot before the methods of the class (gcc tolerated this!) --- vcg/complex/trimesh/create/ball_pivoting.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vcg/complex/trimesh/create/ball_pivoting.h b/vcg/complex/trimesh/create/ball_pivoting.h index 7096d641..c5978204 100644 --- a/vcg/complex/trimesh/create/ball_pivoting.h +++ b/vcg/complex/trimesh/create/ball_pivoting.h @@ -533,7 +533,7 @@ class Pivot { } - void Pivot::cluster(int v) { + void cluster(int v) { /* clean up too close points */ std::vector targets; std::vector dists; @@ -550,13 +550,13 @@ class Pivot { } - void Pivot::trovamiunnome(typename std::list::iterator e) { + void trovamiunnome(typename std::list::iterator e) { if(glue((*e).previous, e)) return; glue(e, (*e).next); } //glue toghether a and b (where a.next = b - bool Pivot::glue(typename std::list::iterator a, typename std::list::iterator b) { + bool glue(typename std::list::iterator a, typename std::list::iterator b) { if((*a).v0 != (*b).v1) return false; typename std::list::iterator previous = (*a).previous; @@ -570,7 +570,7 @@ class Pivot { return true; } - void Pivot::detach(int v) { + void detach(int v) { assert(nb[v] > 0); if(--nb[v] == 0) { mesh.vert[v].SetV();