mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
SLA slices preview - wip 2
This commit is contained in:
parent
a4e204012d
commit
b153c8cb20
4 changed files with 49 additions and 14 deletions
|
@ -93,7 +93,7 @@ public:
|
|||
// to the z coordinate of the object coordinate system.
|
||||
struct SliceRecord {
|
||||
using Key = long long;
|
||||
inline static float scale_back(Key h) { return float(scale_(h)); }
|
||||
inline static float scale_back(Key h) { return float(h * SCALING_FACTOR); }
|
||||
|
||||
using Idx = size_t;
|
||||
static const Idx NONE = Idx(-1); // this will be the max limit of size_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue