TriangleSelector: backend is aware of divided triangles

This commit is contained in:
Lukas Matena 2020-07-15 10:28:20 +02:00
parent 0756a7e4b3
commit 3b91d11ddf
5 changed files with 33 additions and 13 deletions

View file

@ -31,6 +31,8 @@ public:
float radius_sqr, // squared radius of the cursor
FacetSupportType new_state); // enforcer or blocker?
// Get facets currently in the given state.
indexed_triangle_set get_facets(FacetSupportType state) const;
// Set facet of the mesh to a given state. Only works for original triangles.
void set_facet(int facet_idx, FacetSupportType state);