Added print of removed dup vert

This commit is contained in:
Paolo Cignoni 2006-01-11 15:43:18 +00:00
parent 35b967720e
commit ff862b77cd
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ int main(int argc,char **argv )
printf("Output mesh vn:%i fn:%i\n",ml.vn,ml.fn); printf("Output mesh vn:%i fn:%i\n",ml.vn,ml.fn);
tri::io::ExporterPLY<MyMesh>::Save(ml,"joined.ply"); tri::io::ExporterPLY<MyMesh>::Save(ml,"joined.ply");
tri::Clean<MyMesh>::RemoveDuplicateVertex(ml); int dv=tri::Clean<MyMesh>::RemoveDuplicateVertex(ml);
printf("Removed %i duplicated vertices\n",dv);
tri::io::ExporterPLY<MyMesh>::Save(ml,"joined_unif.ply"); tri::io::ExporterPLY<MyMesh>::Save(ml,"joined_unif.ply");
} }