const correctneess mesh_to_matrix.h

This commit is contained in:
alemuntoni 2020-08-07 12:42:50 +02:00
parent f678fc8930
commit 96ad3c4f3a
1 changed files with 3 additions and 3 deletions

View File

@ -235,7 +235,7 @@ public:
}
template< class VecType >
static void PerVertexArea(MeshType &m, VecType &h)
static void PerVertexArea(const MeshType &m, VecType &h)
{
tri::RequireCompactness(m);
h.resize(m.vn);
@ -249,7 +249,7 @@ public:
}
template< class VecType >
static void PerFaceArea(MeshType &m, VecType &h)
static void PerFaceArea(const MeshType &m, VecType &h)
{
tri::RequireCompactness(m);
h.resize(m.fn);