X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FShape.hpp;h=212e4393471b8335cabbe2df29a93be656f0a1c0;hb=32909aa3224ec0ed5656721178eb6ad31cd047df;hp=39dd50f3b93048ad2edfe999113cf4e8fa4b13d5;hpb=419e33e565bffbaf0416ed4a5f80e9c81f62a479;p=blank.git diff --git a/src/model/Shape.hpp b/src/model/Shape.hpp index 39dd50f..212e439 100644 --- a/src/model/Shape.hpp +++ b/src/model/Shape.hpp @@ -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: