mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-27 14:36:34 +01:00
Ported from the playground branch. Various documentation and optimization.
This commit is contained in:
1 parent
a5b7f14dfa
commit
620c6c7378
38 files changed
+586
-92
No files matched your search
@@ -772,7 +772,7 @@ ModelInstance::transform_mesh(TriangleMesh* mesh, bool dont_translate) const
|
||||
void
|
||||
ModelInstance::transform_polygon(Polygon* polygon) const
|
||||
{
|
||||
polygon->rotate(this->rotation, Point(0,0)); // rotate around polygon origin
|
||||
polygon->rotate(this->rotation); // rotate around polygon origin
|
||||
polygon->scale(this->scaling_factor); // scale around polygon origin
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user