From: Daniel Karbach Date: Tue, 22 Dec 2015 09:46:15 +0000 (+0100) Subject: initialize entity fields X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=1a8d4d31ef0a094ef6488127c5f873040151cb57;p=blank.git initialize entity fields oops --- diff --git a/src/world/world.cpp b/src/world/world.cpp index 0daadfc..b9d9db7 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -46,6 +46,9 @@ Entity::Entity() noexcept , bounds() , radius(0.0f) , state() +, model_transform(1.0f) +, view_transform(1.0f) +, speed(0.0f) , heading(0.0f, 0.0f, -1.0f) , max_vel(5.0f) , max_force(25.0f)