code cleaning

This commit is contained in:
Luigi Malomo 2021-11-17 14:51:54 +01:00
parent ba3e4370bb
commit 9af7eb8158
1 changed files with 6 additions and 19 deletions

View File

@ -138,12 +138,6 @@ public:
/*! \brief class for computing approximate geodesic distances on a mesh /*! \brief class for computing approximate geodesic distances on a mesh
require VF Adjacency relation require VF Adjacency relation
@ -593,15 +587,8 @@ It is just a simple wrapper of the basic Compute()
tri::RequirePerVertexMark(m); tri::RequirePerVertexMark(m);
tri::RequirePerVertexQuality(m); tri::RequirePerVertexQuality(m);
// typename MeshType::template PerVertexAttributeHandle<VertexPointer> sourceHandle
// = tri::Allocator<MeshType>::template GetPerVertexAttribute<VertexPointer>(m, sourcesAttributeName());
// typename MeshType::template PerVertexAttributeHandle<VertexPointer> parentHandle
// = tri::Allocator<MeshType>::template GetPerVertexAttribute<VertexPointer> (m, parentsAttributeName());
std::vector<DIJKDist> Heap; std::vector<DIJKDist> Heap;
tri::UnMarkAll(m); tri::UnMarkAll(m);
tri::UnMarkAll(m);
for(size_t i=0;i<seedVec.size();++i) for(size_t i=0;i<seedVec.size();++i)
{ {