mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-19 22:29:09 -07:00
Finished porting convex_hull() to XS and removed dependency on Math::ConvexHull::MonotoneChain
This commit is contained in:
@@ -30,7 +30,13 @@ Point::rotate(double angle, Point* center)
|
||||
bool
|
||||
Point::coincides_with(const Point* point) const
|
||||
{
|
||||
return this->x == point->x && this->y == point->y;
|
||||
return this->coincides_with(*point);
|
||||
}
|
||||
|
||||
bool
|
||||
Point::coincides_with(const Point &point) const
|
||||
{
|
||||
return this->x == point.x && this->y == point.y;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user