diff options
Diffstat (limited to 'src/world.hpp')
-rw-r--r-- | src/world.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/world.hpp b/src/world.hpp index 0c1275e..2d11706 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -128,8 +128,10 @@ private: std::vector<std::shared_ptr<SolidLayer>> solidLayers; std::vector<std::shared_ptr<Layer>> drawLayers; - std::vector<std::pair<glm::vec2, glm::vec2>> - getIntersectingPlanes(glm::vec2 origin, glm::vec2 dir); + std::vector<glm::vec3> + getIntersectingPlanes(glm::vec3 origin, Physics &phys); + + bool isSolid(glm::vec3 pos); protected: // RENDER |