Move Polygon class to Polygon.hpp

This commit is contained in:
Alessandro Ranellucci
2013-07-14 15:53:53 +02:00
parent 13e3a9129c
commit 28a4f1a61e
4 changed files with 91 additions and 58 deletions

View File

@@ -21,6 +21,8 @@ class Point
void rotate(double angle, Point* center);
};
typedef std::vector<Point> Points;
void
Point::rotate(double angle, Point* center)
{