Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/myinit.h')
-rw-r--r--xs/src/myinit.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/xs/src/myinit.h b/xs/src/myinit.h
index c3c8c6ff3..f98d94020 100644
--- a/xs/src/myinit.h
+++ b/xs/src/myinit.h
@@ -20,21 +20,6 @@ extern "C" {
#include "perlglue.hpp"
#endif
-#define EPSILON 1e-4
-#define SCALING_FACTOR 0.000001
-#define PI 3.141592653589793238
-#define scale_(val) (val / SCALING_FACTOR)
-#define unscale(val) (val * SCALING_FACTOR)
-#define SCALED_EPSILON scale_(EPSILON)
-typedef long coord_t;
-typedef double coordf_t;
-
-namespace Slic3r {}
-using namespace Slic3r;
-
-/* Implementation of CONFESS("foo"): */
-#define CONFESS(...) confess_at(__FILE__, __LINE__, __func__, __VA_ARGS__)
-void confess_at(const char *file, int line, const char *func, const char *pat, ...);
-/* End implementation of CONFESS("foo"): */
+#include "libslic3r/libslic3r.h"
#endif