X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FShape.hpp;h=212e4393471b8335cabbe2df29a93be656f0a1c0;hb=37a1465a83e4ac4363ed0d8e0fa1ce5055dd2db4;hp=39dd50f3b93048ad2edfe999113cf4e8fa4b13d5;hpb=bc1cefd505bf1f34639b8839cb337b08310ceb8e;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: