templated parameter on VertexConstant function
This commit is contained in:
parent
2eac2ef672
commit
d58ac7ca03
|
@ -58,7 +58,7 @@ public:
|
||||||
|
|
||||||
/** Assign to each vertex of the mesh a constant quality value. Useful for initialization.
|
/** 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);
|
tri::RequirePerVertexQuality(m);
|
||||||
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi) if(!(*vi).IsD())
|
for(VertexIterator vi=m.vert.begin();vi!=m.vert.end();++vi) if(!(*vi).IsD())
|
||||||
|
|
Loading…
Reference in New Issue