diff --git a/vcg/complex/algorithms/convex_hull.h b/vcg/complex/algorithms/convex_hull.h index eee7eef3..0de186a8 100644 --- a/vcg/complex/algorithms/convex_hull.h +++ b/vcg/complex/algorithms/convex_hull.h @@ -26,7 +26,7 @@ #include #include #include - +#include #include namespace vcg @@ -58,7 +58,7 @@ private: // Initialize the convex hull with the biggest tetraedron created using the vertices of the input mesh static void InitConvexHull(InputMesh& mesh, CHMesh& convexHull) { - typename CHMesh:: template PerVertexAttributeHandle indexInputVertex = Allocator::template GetPerVertexAttribute(convexHull, std::string("indexInput")); + typename CHMesh:: template PerVertexAttributeHandle indexInputVertex = Allocator::template GetPerVertexAttribute(convexHull, std::string("indexInput")); InputVertexPointer v[3]; //Find the 6 points with min/max coordinate values InputVertexIterator vi = mesh.vert.begin(); @@ -172,7 +172,7 @@ public: vcg::tri::RequireFFAdjacency(convexHull); vcg::tri::RequirePerFaceNormal(convexHull); vcg::tri::Allocator::CompactVertexVector(mesh); - typename CHMesh:: template PerVertexAttributeHandle indexInputVertex = Allocator::template GetPerVertexAttribute(convexHull, std::string("indexInput")); + typename CHMesh:: template PerVertexAttributeHandle indexInputVertex = Allocator::template GetPerVertexAttribute(convexHull, std::string("indexInput")); if (mesh.vert.size() < 4) return false; vcg::tri::UpdateFlags::VertexClearV(mesh);