mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
@@ -12,8 +12,6 @@ namespace Slic3r {
|
||||
class Polygon : public MultiPoint {
|
||||
public:
|
||||
Point* last_point() const;
|
||||
SV* to_SV_ref();
|
||||
SV* to_SV_clone_ref() const;
|
||||
Lines lines() const;
|
||||
Polyline* split_at(const Point* point);
|
||||
Polyline* split_at_index(int index);
|
||||
@@ -24,6 +22,11 @@ class Polygon : public MultiPoint {
|
||||
bool make_counter_clockwise();
|
||||
bool make_clockwise();
|
||||
bool is_valid() const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV* to_SV_ref();
|
||||
SV* to_SV_clone_ref() const;
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef std::vector<Polygon> Polygons;
|
||||
|
||||
Reference in New Issue
Block a user