admesh refactoring: Move the hashing structure out of stl_file

This commit is contained in:
bubnikv 2019-06-10 16:53:08 +02:00
parent 025f86ca3f
commit 40b27e8332
6 changed files with 459 additions and 611 deletions

View file

@ -459,8 +459,6 @@ bool stl_validate(stl_file *stl)
assert(stl->facet_start.size() == stl->stats.number_of_facets);
assert(stl->neighbors_start.size() == stl->stats.number_of_facets);
assert(stl->facet_start.size() == stl->neighbors_start.size());
assert(stl->heads.empty());
assert(stl->tail == nullptr);
assert(! stl->neighbors_start.empty());
assert((stl->v_indices.empty()) == (stl->v_shared.empty()));
assert(stl->stats.number_of_facets > 0);