Improve its_split for large number of parts

This commit is contained in:
tamasmeszaros committed 2021-06-08 10:34:32 +02:00
1 parent c4507842a0
commit b4d540ec4c
4 files changed
+148 -59

No files matched your search

@@ -325,7 +325,7 @@ FaceNeighborIndex its_create_neighbors_index_4(const indexed_triangle_set &its)
// Create an index of faces belonging to each vertex. The returned vector can
// be indexed with vertex indices and contains a list of face indices for each
// vertex.
static std::vector<std::vector<size_t>> create_vertex_faces_index(const indexed_triangle_set &its)
std::vector<std::vector<size_t>> create_vertex_faces_index(const indexed_triangle_set &its)
{
std::vector<std::vector<size_t>> index;