1 #ifndef BLANK_WORLD_ENTITYCOLLISION_HPP_
2 #define BLANK_WORLD_ENTITYCOLLISION_HPP_
9 struct EntityCollision {
17 : entity(nullptr), depth(0.0f), normal(0.0f) { }
18 EntityCollision(Entity *e, float d, const glm::vec3 &n)
19 : entity(e), depth(d), normal(n) { }
21 /// check if an actual collision
22 operator bool() const noexcept { return entity; }