templates some functions on ScalarType instead of float

This commit is contained in:
nico 2017-04-03 10:58:41 +02:00
parent bb0e2950e2
commit 788292d06c
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public:
return area/ScalarType(2.0);
}
static void ComputePerVertexQualityDistribution( MeshType & m, Distribution<float> &h, bool selectionOnly = false) // V1.0
static void ComputePerVertexQualityDistribution( MeshType & m, Distribution<ScalarType> &h, bool selectionOnly = false) // V1.0
{
tri::RequirePerVertexQuality(m);
for(VertexIterator vi = m.vert.begin(); vi != m.vert.end(); ++vi)