mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -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
|
@ -18,11 +18,9 @@ class TriangleMesh
|
|||
TriangleMesh();
|
||||
TriangleMesh(const TriangleMesh &other);
|
||||
~TriangleMesh();
|
||||
SV* to_SV();
|
||||
void ReadSTLFile(char* input_file);
|
||||
void write_ascii(char* output_file);
|
||||
void write_binary(char* output_file);
|
||||
void ReadFromPerl(SV* vertices, SV* facets);
|
||||
void repair();
|
||||
void WriteOBJFile(char* output_file);
|
||||
void scale(float factor);
|
||||
|
@ -35,6 +33,11 @@ class TriangleMesh
|
|||
void merge(const TriangleMesh* mesh);
|
||||
stl_file stl;
|
||||
bool repaired;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV* to_SV();
|
||||
void ReadFromPerl(SV* vertices, SV* facets);
|
||||
#endif
|
||||
};
|
||||
|
||||
enum FacetEdgeType { feNone, feTop, feBottom };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue