diff options
Diffstat (limited to 'src/components/Position.hpp')
-rw-r--r-- | src/components/Position.hpp | 2 |
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) |