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