diff options
author | bubnikv <bubnikv@gmail.com> | 2016-11-28 19:34:52 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-11-28 19:34:52 +0300 |
commit | 8b0784f26c363ed1a6fc592035288cbbbd2d9002 (patch) | |
tree | 2a1e8efcca9d873b8ee8374cf18bceaff40a9665 /xs/src/libslic3r/Point.cpp | |
parent | 695c92fb00a1e2a47c8fc2e43d099c660c00b23f (diff) |
Added a free "cross product" function to Pointf (thinking the Pointf is
really a vector in this case).
Made the == operator inline.
Diffstat (limited to 'xs/src/libslic3r/Point.cpp')
-rw-r--r-- | xs/src/libslic3r/Point.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xs/src/libslic3r/Point.cpp b/xs/src/libslic3r/Point.cpp index 8b71746e0..2ee5dabdd 100644 --- a/xs/src/libslic3r/Point.cpp +++ b/xs/src/libslic3r/Point.cpp @@ -12,12 +12,6 @@ Point::Point(double x, double y) this->y = lrint(y); } -bool -Point::operator==(const Point& rhs) const -{ - return this->coincides_with(rhs); -} - std::string Point::wkt() const { |