Add two more repair actions and add volume to stats

This commit is contained in:
Alessandro Ranellucci 2013-07-13 19:00:38 +02:00
parent b709acf10f
commit 00683195c8
3 changed files with 9 additions and 1 deletions

View file

@ -88,6 +88,12 @@ TriangleMesh::Repair() {
// normal_values
stl_fix_normal_values(&stl);
// always calculate the volume and reverse all normals if volume is negative
stl_calculate_volume(&stl);
// neighbors
stl_verify_neighbors(&stl);
}
void