Clean useless code.
This commit is contained in:
parent
d74b87b91e
commit
4ca2f23a10
|
@ -30,10 +30,6 @@ class MyVertex;
|
||||||
class MyVertex : public VertexSimp2< MyVertex, MyEdge, MyFace, vert::Coord3f, vert::BitFlags, vert::Normal3f >{};
|
class MyVertex : public VertexSimp2< MyVertex, MyEdge, MyFace, vert::Coord3f, vert::BitFlags, vert::Normal3f >{};
|
||||||
class MyFace : public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef,face::FFAdj, face::Mark, face::BitFlags, face::Normal3f > {};
|
class MyFace : public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef,face::FFAdj, face::Mark, face::BitFlags, face::Normal3f > {};
|
||||||
|
|
||||||
|
|
||||||
//class MyVertex:public Vertex<float,MyEdge,MyFace>{};
|
|
||||||
//class MyFace : public FaceAFFM<MyVertex,MyEdge,MyFace>{};
|
|
||||||
|
|
||||||
class MyMesh : public tri::TriMesh< std::vector<MyVertex>, std::vector<MyFace > >{};
|
class MyMesh : public tri::TriMesh< std::vector<MyVertex>, std::vector<MyFace > >{};
|
||||||
|
|
||||||
int main(int argc,char ** argv){
|
int main(int argc,char ** argv){
|
||||||
|
@ -48,10 +44,11 @@ int main(int argc,char ** argv){
|
||||||
" 1) Trivial Ear \n"
|
" 1) Trivial Ear \n"
|
||||||
" 2) Leipa Ear \n"
|
" 2) Leipa Ear \n"
|
||||||
" 3) Selfintersection Ear \n"
|
" 3) Selfintersection Ear \n"
|
||||||
" 4) Real Leipa \n"
|
" 4) Minimumweight \n"
|
||||||
);
|
);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int algorithm = atoi(argv[1]);
|
int algorithm = atoi(argv[1]);
|
||||||
if(algorithm < 0 && algorithm > 4)
|
if(algorithm < 0 && algorithm > 4)
|
||||||
{
|
{
|
||||||
|
@ -89,8 +86,6 @@ int main(int argc,char ** argv){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//vcg::tri::UpdateTopology<MyMesh>::FaceFace(m);
|
|
||||||
|
|
||||||
vcg::tri::io::ExporterPLY<MyMesh>::Save(m,argv[3],false);
|
vcg::tri::io::ExporterPLY<MyMesh>::Save(m,argv[3],false);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,4 @@ INCLUDEPATH += . ..\..\..\
|
||||||
CONFIG += console stl
|
CONFIG += console stl
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
SOURCES += trimesh_hole.cpp ..\..\..\wrap\ply\plylib.cpp
|
SOURCES += trimesh_hole.cpp ..\..\..\wrap\ply\plylib.cpp
|
||||||
HEADERS += ..\..\..\vcg\wrap\ply\plylib.h
|
HEADERS += ..\..\..\wrap\ply\plylib.h
|
Loading…
Reference in New Issue