mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 17:12:56 +00:00
Return objects by reference instead of always cloning
This commit is contained in:
@@ -8,8 +8,11 @@ namespace Slic3r {
|
||||
|
||||
class Polyline : public MultiPoint {
|
||||
public:
|
||||
Point* last_point();
|
||||
const Point* last_point() const;
|
||||
Lines lines();
|
||||
SV* to_SV_ref() const;
|
||||
SV* to_SV_clone_ref() const;
|
||||
};
|
||||
|
||||
typedef std::vector<Polyline> Polylines;
|
||||
|
||||
Reference in New Issue
Block a user