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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/Int128.hpp')
-rw-r--r--xs/src/libslic3r/Int128.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/xs/src/libslic3r/Int128.hpp b/xs/src/libslic3r/Int128.hpp
index 7bf0c87b4..d54b75342 100644
--- a/xs/src/libslic3r/Int128.hpp
+++ b/xs/src/libslic3r/Int128.hpp
@@ -48,7 +48,6 @@
#endif
#include <cassert>
-#include "Point.hpp"
#if ! defined(_MSC_VER) && defined(__SIZEOF_INT128__)
#define HAS_INTRINSIC_128_TYPE
@@ -288,20 +287,4 @@ public:
}
return sign_determinant_2x2(p1, q1, p2, q2) * invert;
}
-
- // Exact orientation predicate,
- // returns +1: CCW, 0: collinear, -1: CW.
- static int orient(const Slic3r::Point &p1, const Slic3r::Point &p2, const Slic3r::Point &p3)
- {
- Slic3r::Vector v1(p2 - p1);
- Slic3r::Vector v2(p3 - p1);
- return sign_determinant_2x2_filtered(v1.x, v1.y, v2.x, v2.y);
- }
-
- // Exact orientation predicate,
- // returns +1: CCW, 0: collinear, -1: CW.
- static int cross(const Slic3r::Point &v1, const Slic3r::Point &v2)
- {
- return sign_determinant_2x2_filtered(v1.x, v1.y, v2.x, v2.y);
- }
};