projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
effectManager created
[physics.git]
/
src
/
Entities
/
Polygon.cpp
diff --git
a/src/Entities/Polygon.cpp
b/src/Entities/Polygon.cpp
index
6b272bd
..
dc25174
100644
(file)
--- a/
src/Entities/Polygon.cpp
+++ b/
src/Entities/Polygon.cpp
@@
-2,7
+2,7
@@
#include "../Vector2.h"
/// ***** Public Class Methods *****
#include "../Vector2.h"
/// ***** Public Class Methods *****
-Polygon::Polygon(
Vector2
pos, vector<Vector2> points)
+Polygon::Polygon(
const Vector2&
pos, vector<Vector2> points)
: PhysicsEntity(pos), points(points)
{
CreateBindingBox();
: PhysicsEntity(pos), points(points)
{
CreateBindingBox();
@@
-18,7
+18,7
@@
void Polygon::draw() const
}
/// ***** Private Class Methods *****
}
/// ***** Private Class Methods *****
-void CreateBindingBox()
+void
Polygon::
CreateBindingBox()
{
// TODO
}
{
// TODO
}