cut_mesh(): new parameter to optionally not triangulate the caps.

This commit is contained in:
Vojtech Bubnik 2021-05-19 13:52:47 +02:00
parent 66cf7ea9d3
commit e952aded78
2 changed files with 33 additions and 28 deletions

View file

@ -76,7 +76,8 @@ void cut_mesh(
const indexed_triangle_set &mesh,
float z,
indexed_triangle_set *upper,
indexed_triangle_set *lower);
indexed_triangle_set *lower,
bool triangulate_caps = true);
}