From 729f141ef2ab9deef18abbcdd36af921b67b5a09 Mon Sep 17 00:00:00 2001 From: ponchio Date: Fri, 13 Oct 2006 14:06:58 +0000 Subject: [PATCH] *** empty log message *** --- .../trimesh_ball_pivoting/trimesh_ball_pivoting.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp b/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp index f586a992..aca59827 100644 --- a/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp +++ b/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp @@ -31,7 +31,7 @@ class MyEdge; // dummy prototype never used class MyFace; class MyVertex; -class MyVertex : public VertexSimp2< MyVertex, MyEdge, MyFace, vert::Coord3f, vert::Normal3f, vert::BitFlags >{}; +class MyVertex : public VertexSimp2< MyVertex, MyEdge, MyFace, vert::Coord3f, vert::Normal3f, vert::BitFlags, vert::Mark>{}; class MyFace : public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef, face::Normal3f, face::BitFlags > {}; class MyMesh : public vcg::tri::TriMesh< vector, vector > {}; @@ -52,15 +52,15 @@ int main(int argc, char **argv) float radius = 1.0f; float clustering = 0.05; - float crease = + int i = 3; while(i pivot(m, radius, clustering); + tri::Pivot pivot(m, radius, clustering); int t1=clock(); // the main processing