mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
WIP: Refactoring of PrintRegions. It nearly compiles!
This commit is contained in:
parent
68b0d92183
commit
740773db85
8 changed files with 479 additions and 1206 deletions
|
@ -842,6 +842,12 @@ int its_merge_vertices(indexed_triangle_set &its, bool shrink_to_fit)
|
|||
return num_erased;
|
||||
}
|
||||
|
||||
void its_flip_triangles(indexed_triangle_set &its)
|
||||
{
|
||||
for (stl_triangle_vertex_indices &face : its.indices)
|
||||
std::swap(face(1), face(2));
|
||||
}
|
||||
|
||||
int its_remove_degenerate_faces(indexed_triangle_set &its, bool shrink_to_fit)
|
||||
{
|
||||
int last = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue