mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Incorporating performance optimizations from libnest2d
This commit is contained in:
parent
230c681482
commit
5446b9f1e5
28 changed files with 2565 additions and 818 deletions
|
@ -201,8 +201,9 @@ public:
|
|||
double rotation; // Rotation around the Z axis, in radians around mesh center point
|
||||
double scaling_factor;
|
||||
Pointf offset; // in unscaled coordinates
|
||||
double offset_z = 0;
|
||||
|
||||
ModelObject* get_object() const { return this->object; };
|
||||
ModelObject* get_object() const { return this->object; }
|
||||
|
||||
// To be called on an external mesh
|
||||
void transform_mesh(TriangleMesh* mesh, bool dont_translate = false) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue