*** empty log message ***

This commit is contained in:
Federico Ponchio 2006-10-14 12:04:42 +00:00
parent 568dbaf75f
commit d3aedf18ce
1 changed files with 5 additions and 2 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, char **argv)
exit(0); exit(0);
} }
float radius = 1.0f; float radius = 0.0f;
float clustering = 0.05; float clustering = 0.05;
int i = 3; int i = 3;
while(i<argc) while(i<argc)
@ -66,6 +66,8 @@ int main(int argc, char **argv)
} }
++i; ++i;
} }
if(radius == 0)
printf("Autodetecting ball radius...\n");
MyMesh m; MyMesh m;
@ -81,6 +83,7 @@ int main(int argc, char **argv)
int t0=clock(); int t0=clock();
// Initialization // Initialization
tri::Pivot<MyMesh> pivot(m, radius, clustering); tri::Pivot<MyMesh> pivot(m, radius, clustering);
printf("Ball radius: %f\nClustering points withing %f radii\n", pivot.radius, clustering);
int t1=clock(); int t1=clock();
// the main processing // the main processing