Added IsEmpty member to base mesh
This commit is contained in:
parent
e8d745dd10
commit
6292a8a0af
|
@ -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;}
|
||||
|
|
Loading…
Reference in New Issue