templates some functions on ScalarType instead of float
This commit is contained in:
parent
bb0e2950e2
commit
788292d06c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue