mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Ported from the playground branch. Various documentation and optimization.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user