aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Position.hpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-10-09 02:40:20 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-10-09 02:40:20 -0400
commitf8b062e3fe43ece368c99d1083a929de92b7cff2 (patch)
treead6d5d85a0190165f100e505f259a8b4d5aa4915 /src/components/Position.hpp
parenta422f32613441b5313e4a3bb0fab61f8cb87914c (diff)
Started more advanced collision detetction
Diffstat (limited to 'src/components/Position.hpp')
-rw-r--r--src/components/Position.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Position.hpp b/src/components/Position.hpp
index bfa4b41..1c649b4 100644
--- a/src/components/Position.hpp
+++ b/src/components/Position.hpp
@@ -26,7 +26,7 @@ struct Position : Component<Position>
public:
float x, y, z;
- Position(float _x = 0, float _y = 0, float _z = 0) :
+ Position(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f) :
x(_x), y(_y), z(_z) {}
Position FromLua(sol::object ref)