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