templated parameter on VertexConstant function

This commit is contained in:
Nico Pietroni 2015-05-12 09:05:52 +00:00
parent 2eac2ef672
commit d58ac7ca03
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public:
/** Assign to each vertex of the mesh a constant quality value. Useful for initialization.
*/
static void VertexConstant(MeshType &m, float q)
static void VertexConstant(MeshType &m, ScalarType q)
{
tri::RequirePerVertexQuality(m);
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi) if(!(*vi).IsD())