mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Cleaner clone() implementation
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
%}
|
||||
|
||||
%name{Slic3r::ExPolygon::Collection} class ExPolygonCollection {
|
||||
%name{_clone} ExPolygonCollection(ExPolygonCollection& self);
|
||||
~ExPolygonCollection();
|
||||
ExPolygonCollection* clone()
|
||||
%code{% const char* CLASS = "Slic3r::ExPolygon::Collection"; RETVAL = new ExPolygonCollection(*THIS); %};
|
||||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
void rotate(double angle, Point* center);
|
||||
|
||||
Reference in New Issue
Block a user