]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Body.hpp
fix double deletes on app exit
[blobs.git] / src / world / Body.hpp
index 3db5e37e362b3de7352dac22ee6a4a848dac5652..5ac4fa1ddcfab52bf305b07825a03becff283612 100644 (file)
@@ -2,7 +2,7 @@
 #define BLOBS_WORLD_BODY_HPP_
 
 #include "Orbit.hpp"
-#include "../graphics/glm.hpp"
+#include "../math/glm.hpp"
 
 #include <vector>
 
@@ -86,8 +86,8 @@ public:
 
        void Tick(double dt);
        void Cache() noexcept;
+       void CheckCollision() noexcept;
 
-       // body takes over ownership of given pointer
        void AddCreature(creature::Creature *);
        void RemoveCreature(creature::Creature *);
        std::vector<creature::Creature *> &Creatures() noexcept { return creatures; }