bd2a38ddd4bca94b59abb377289f3b3c7053cb2d
[physics.git] / src / Entities / Polygon.cpp
1 #include "Polygon.h"
2 #include "../Vector2.h"
3
4 /// ***** Public Class Methods *****
5 Polygon::Polygon(Vector2 pos, vector<Vector2> points)
6     : PhysicsEntity(pos), points(points)
7 {
8     CreateBindingBox();
9 }
10 Polygon::~Polygon()
11 {
12
13 }
14
15 void Polygon::draw() const
16 {
17     // TODO
18 }
19
20 /// ***** Private Class Methods *****
21 void Polygon::CreateBindingBox()
22 {
23     // TODO
24 }