mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
admesh refactoring: Move the hashing structure out of stl_file
This commit is contained in:
parent
025f86ca3f
commit
40b27e8332
6 changed files with 459 additions and 611 deletions
|
@ -50,8 +50,6 @@ void stl_open(stl_file *stl, const char *file)
|
|||
void stl_initialize(stl_file *stl)
|
||||
{
|
||||
stl->fp = nullptr;
|
||||
stl->tail = nullptr;
|
||||
stl->M = 0;
|
||||
stl->error = 0;
|
||||
stl->facet_start.clear();
|
||||
stl->neighbors_start.clear();
|
||||
|
@ -64,8 +62,6 @@ void stl_initialize(stl_file *stl)
|
|||
void stl_close(stl_file *stl)
|
||||
{
|
||||
assert(stl->fp == nullptr);
|
||||
assert(stl->heads.empty());
|
||||
assert(stl->tail == nullptr);
|
||||
stl_initialize(stl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue