mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Ported from the playground branch. Various documentation and optimization.
This commit is contained in:
parent
a5b7f14dfa
commit
620c6c7378
38 changed files with 586 additions and 92 deletions
|
@ -1,7 +1,7 @@
|
|||
// Optimize the extrusion simulator to the bones.
|
||||
#pragma GCC optimize ("O3")
|
||||
#undef SLIC3R_DEBUG
|
||||
#define NDEBUG
|
||||
//#pragma GCC optimize ("O3")
|
||||
//#undef SLIC3R_DEBUG
|
||||
//#define NDEBUG
|
||||
|
||||
#include <cmath>
|
||||
#include <cassert>
|
||||
|
@ -640,7 +640,7 @@ struct Cell
|
|||
// Height of the covered part in excess to the expected layer height.
|
||||
float excess_height;
|
||||
|
||||
bool operator<(const Cell &c2) {
|
||||
bool operator<(const Cell &c2) const {
|
||||
return this->excess_height < c2.excess_height;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue