mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Another Clipper optimization. When adding a set of paths
to Clipper, allocate the edges in a single continuous vector.
This commit is contained in:
parent
fa4df36963
commit
f24427cd76
2 changed files with 68 additions and 21 deletions
|
@ -291,6 +291,7 @@ public:
|
|||
bool PreserveCollinear() const {return m_PreserveCollinear;};
|
||||
void PreserveCollinear(bool value) {m_PreserveCollinear = value;};
|
||||
protected:
|
||||
bool AddPathInternal(const Path &pg, int highI, PolyType PolyTyp, bool Closed, TEdge* edges);
|
||||
TEdge* AddBoundsToLML(TEdge *e, bool IsClosed);
|
||||
virtual void Reset();
|
||||
TEdge* ProcessBound(TEdge* E, bool IsClockwise);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue