#define BLOBS_WORLD_BODY_HPP_
#include "Orbit.hpp"
-#include "../graphics/glm.hpp"
+#include "../math/glm.hpp"
#include <vector>
public:
bool HasSimulation() const noexcept { return sim; }
+ Simulation &GetSimulation() noexcept { return *sim; }
const Simulation &GetSimulation() const noexcept { return *sim; }
void SetSimulation(Simulation &) noexcept;
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; }