Added IsEmpty member to base mesh

This commit is contained in:
Paolo Cignoni 2014-02-18 20:16:03 +00:00
parent e8d745dd10
commit 6292a8a0af
1 changed files with 4 additions and 0 deletions

View File

@ -369,6 +369,10 @@ void Clear()
C()=Color4b::Gray;
}
bool IsEmpty()
{
return vert.empty() && edge.empty() && face.empty();
}
int & SimplexNumber(){ return fn;}
int & VertexNumber(){ return vn;}