mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Avoid crossing perimeters: Further refactoring for clarity, code review.
This commit is contained in:
@@ -18,13 +18,6 @@ void MultiPoint::scale(double factor_x, double factor_y)
|
||||
}
|
||||
}
|
||||
|
||||
void MultiPoint::translate(double x, double y)
|
||||
{
|
||||
Vector v(x, y);
|
||||
for (Point &pt : points)
|
||||
pt += v;
|
||||
}
|
||||
|
||||
void MultiPoint::translate(const Point &v)
|
||||
{
|
||||
for (Point &pt : points)
|
||||
|
||||
Reference in New Issue
Block a user