From d58ac7ca0321edf40eddf8d20be1b2ea0cbe3289 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Tue, 12 May 2015 09:05:52 +0000 Subject: [PATCH] templated parameter on VertexConstant function --- vcg/complex/algorithms/update/quality.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/quality.h b/vcg/complex/algorithms/update/quality.h index 515b5245..27aadf25 100644 --- a/vcg/complex/algorithms/update/quality.h +++ b/vcg/complex/algorithms/update/quality.h @@ -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())