]> git.localhorst.tv Git - blank.git/blobdiff - src/world.hpp
remove unused (explicit) destructors
[blank.git] / src / world.hpp
index 58f7a25faeea7e8c8a622cf65d247a0bb022bf99..b7ed84bd5a71fbfa60415b70c9e84b74b72d8739 100644 (file)
@@ -2,6 +2,7 @@
 #define BLANK_WORLD_HPP_
 
 #include "model.hpp"
+#include "geometry.hpp"
 
 #include <vector>
 #include <GL/glew.h>
@@ -95,6 +96,8 @@ public:
        Block &BlockAt(const glm::vec3 &pos) { return blocks[ToIndex(pos)]; }
        const Block &BlockAt(const glm::vec3 &pos) const { return blocks[ToIndex(pos)]; }
 
+       bool Intersection(const Ray &, const glm::mat4 &M, int *blkid = nullptr, float *dist = nullptr) const;
+
        void Draw();
 
 private: