diff --git a/apps/sample/trimesh_base/trimesh_base.cpp b/apps/sample/trimesh_base/trimesh_base.cpp index 4626a8bb..7b767c96 100644 --- a/apps/sample/trimesh_base/trimesh_base.cpp +++ b/apps/sample/trimesh_base/trimesh_base.cpp @@ -16,14 +16,7 @@ class AEdge; // dummy prototype never used class AVertex : public vcg::VertexSimp2< AVertex, AEdge, AFace, vcg::vert::Coord3f>{}; class AFace : public vcg::FaceSimp2< AVertex, AEdge, AFace, vcg::face::VertexRef,vcg::face::Color4b,vcg::face::Normal3f> {}; -class AMesh : public vcg::tri::TriMesh< std::vector, std::vector > -{ -public: - AMesh() - :vcg::tri::TriMesh< std::vector, std::vector >() - { - } -}; +class AMesh : public vcg::tri::TriMesh< std::vector, std::vector > {}; class CFace; class CVertex; @@ -31,14 +24,7 @@ class CEdge; // dummy prototype never used class CVertex : public vcg::VertexSimp2< CVertex, CEdge, CFace, vcg::vert::Coord3f,vcg::vert::Normal3f>{}; class CFace : public vcg::FaceSimp2< CVertex, CEdge, CFace, vcg::face::VertexRef, vcg::face::Normal3f> {}; -class CMesh : public vcg::tri::TriMesh< std::vector, std::vector > -{ -public: - CMesh() - :vcg::tri::TriMesh< std::vector, std::vector >() - { - } -}; +class CMesh : public vcg::tri::TriMesh< std::vector, std::vector > {}; int main(int , char **) {