+ /// check if this ray hits an entity
+ bool Intersection(
+ const Ray &,
+ const glm::mat4 &M,
+ EntityCollision &);
+
+ /// check if given entity intersects with the world
+ bool Intersection(const Entity &e, std::vector<WorldCollision> &);
+ void Resolve(Entity &e, std::vector<WorldCollision> &);
+
+ BlockTypeRegistry &BlockTypes() noexcept { return block_type; }
+ ChunkLoader &Loader() noexcept { return chunks; }