]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Entity.cpp
test entities for world collision
[blank.git] / src / world / Entity.cpp
index 6b23cacf8cccfc1d11aa9f86479be1df3523d174..844f74bf5f7be7da0cb7d9545beb157bd9d1f1fe 100644 (file)
@@ -1,6 +1,5 @@
 #include "Entity.hpp"
 
-#include "../model/geometry.hpp"
 #include "../model/Shape.hpp"
 
 #include <cmath>
@@ -17,11 +16,14 @@ namespace blank {
 Entity::Entity() noexcept
 : shape(nullptr)
 , model()
+, name("anonymous")
+, bounds()
 , velocity(0, 0, 0)
 , position(0, 0, 0)
 , chunk(0, 0, 0)
 , angular_velocity(1.0f, 0.0f, 0.0f, 0.0f)
-, rotation(1.0f) {
+, rotation(1.0f)
+, world_collision(false) {
 
 }