From d3aedf18ce7d85d1e7f44ce005cbb06142dedd3c Mon Sep 17 00:00:00 2001 From: ponchio Date: Sat, 14 Oct 2006 12:04:42 +0000 Subject: [PATCH] *** empty log message *** --- .../sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp b/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp index aca59827..ac978dcf 100644 --- a/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp +++ b/apps/sample/trimesh_ball_pivoting/trimesh_ball_pivoting.cpp @@ -50,7 +50,7 @@ int main(int argc, char **argv) exit(0); } - float radius = 1.0f; + float radius = 0.0f; float clustering = 0.05; int i = 3; while(i::Open(m,argv[1])!=0) @@ -81,6 +83,7 @@ int main(int argc, char **argv) int t0=clock(); // Initialization tri::Pivot pivot(m, radius, clustering); + printf("Ball radius: %f\nClustering points withing %f radii\n", pivot.radius, clustering); int t1=clock(); // the main processing