From 067f2e713d3f64fab4657e828e7fc718c64de8a5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 9 Jun 2016 08:42:29 +0000 Subject: [PATCH] Cleaning up sample prog --- .../polygonmesh_quadsimpl.cpp | 42 ++----------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/apps/sample/polygonmesh_quadsimpl/polygonmesh_quadsimpl.cpp b/apps/sample/polygonmesh_quadsimpl/polygonmesh_quadsimpl.cpp index 500018f9..e6adc455 100644 --- a/apps/sample/polygonmesh_quadsimpl/polygonmesh_quadsimpl.cpp +++ b/apps/sample/polygonmesh_quadsimpl/polygonmesh_quadsimpl.cpp @@ -8,7 +8,7 @@ * \ * * All rights reserved. * * * - * This program is free software; you can redistribute it and/or modify * + * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * @@ -21,50 +21,16 @@ * * ****************************************************************************/ -#include -#include #include -/*include the base definition for the vertex */ -#include - -/*include the base definition for the face */ -#include - -/*include the base definition for the edge */ -#include - -/*include the base definition for the trimesh*/ #include -/*include the algorithms for updating: */ -#include /* topology */ -#include /* bounding box */ -#include /* normal */ - -/*include the algorithms for mesh fixing */ #include -/*include the importer from disk*/ #include - #include - -/* include the support for polygon meshes (function to convert from/to trimesh)*/ #include - -/* include the support for polygon meshes (the component for the face )*/ -#include - -/* include the support for half edges */ -#include - #include - -#include - -#include - #include using namespace vcg; @@ -82,9 +48,9 @@ struct CUsedTypes: public vcg::UsedTypes< vcg::Use::AsVertexType, vcg:: // Mesh of triangles class CVertex : public Vertex< CUsedTypes, - vertex::BitFlags, - vertex::Coord3f, - vertex::Normal3f, + vertex::BitFlags, + vertex::Coord3f, + vertex::Normal3f, vertex::VFAdj, vertex::Mark, vcg::vertex::Curvaturef,