]> git.localhorst.tv Git - blank.git/blobdiff - src/model/Shape.hpp
collect collisions for each entity
[blank.git] / src / model / Shape.hpp
index 39dd50f3b93048ad2edfe999113cf4e8fa4b13d5..212e4393471b8335cabbe2df29a93be656f0a1c0 100644 (file)
@@ -79,7 +79,9 @@ struct Shape {
        virtual bool Intersects(
                const glm::mat4 &M,
                const AABB &box,
-               const glm::mat4 &box_M
+               const glm::mat4 &box_M,
+               float &depth,
+               glm::vec3 &normal
        ) const noexcept = 0;
 
 protected: