X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fgeometry.hpp;h=f4498f5fa743ec734edc84aa90a87eb1d55757ab;hb=0580ff3941fe5f5ea25c96e737edba1541d9271f;hp=d6e3d2847782e2b1d882e49d7e5cf3fa7e77386a;hpb=b7d09e1e35ef90282c97509e0020b20db3c7ea9f;p=blank.git diff --git a/src/model/geometry.hpp b/src/model/geometry.hpp index d6e3d28..f4498f5 100644 --- a/src/model/geometry.hpp +++ b/src/model/geometry.hpp @@ -36,6 +36,12 @@ bool Intersection( float *dist = nullptr, glm::vec3 *normal = nullptr) noexcept; +bool Intersection( + const AABB &a_box, + const glm::mat4 &a_m, + const AABB &b_box, + const glm::mat4 &b_m) noexcept; + bool CullTest(const AABB &box, const glm::mat4 &MVP) noexcept; }