mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
add the logic to reduce slicing time between shared-mesh objects
also reduce the storage size Change-Id: I61d6e0997979ec0ce701cc580fa6640a21b6260f
This commit is contained in:
parent
9245b4f36a
commit
fdd9582e3e
12 changed files with 446 additions and 125 deletions
|
@ -152,10 +152,14 @@ public:
|
|||
|
||||
const TriangleMeshStats& stats() const { return m_stats; }
|
||||
|
||||
void set_init_shift(const Vec3d &offset) { m_init_shift = offset; }
|
||||
Vec3d get_init_shift() const { return m_init_shift; }
|
||||
|
||||
indexed_triangle_set its;
|
||||
|
||||
private:
|
||||
TriangleMeshStats m_stats;
|
||||
Vec3d m_init_shift {0.0, 0.0, 0.0};
|
||||
};
|
||||
|
||||
// Index of face indices incident with a vertex index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue