mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Turn ExtrusionLoop into a collection of polylines. Includes some changes to the Polygon API to avoid returning newly allocatd objects
This commit is contained in:
parent
c72dc13d7e
commit
d2d885fc53
11 changed files with 107 additions and 72 deletions
|
|
@ -33,7 +33,7 @@ template <class T>
|
|||
class Clone {
|
||||
T* val;
|
||||
public:
|
||||
Clone() {}
|
||||
Clone() : val() {}
|
||||
Clone(T* t) : val(new T(*t)) {}
|
||||
Clone(const T& t) : val(new T(t)) {}
|
||||
operator T*() const {return val; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue