Bugfix: movement between objects in sequential printing mode was going too far away. #2013 #2007

This commit is contained in:
Alessandro Ranellucci
2014-05-26 15:19:13 +02:00
parent 8290a006ed
commit 3d25b9030c
5 changed files with 28 additions and 4 deletions

View File

@@ -190,6 +190,12 @@ Point::projection_onto(const Line &line) const
}
}
Point
Point::negative() const
{
return Point(-this->x, -this->y);
}
Point
operator+(const Point& point1, const Point& point2)
{