Add two more repair actions and add volume to stats

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

No files matched your search

+6
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