Added a RequireTriangularMesh
This commit is contained in:
parent
18c0ac1681
commit
2e18e0650a
|
@ -228,6 +228,7 @@ public:
|
|||
|
||||
static void ComputeFaceEdgeLengthDistribution( MeshType & m, Distribution<float> &h)
|
||||
{
|
||||
tri::RequireTriangularMesh(m);
|
||||
h.Clear();
|
||||
tri::UpdateFlags<MeshType>::FaceBorderFromNone(m);
|
||||
for(FaceIterator fi = m.face.begin(); fi != m.face.end(); ++fi)
|
||||
|
|
Loading…
Reference in New Issue