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