mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
parent
e2cb40766b
commit
6e22a82e7d
20 changed files with 133 additions and 87 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue