]> git.localhorst.tv Git - blank.git/blobdiff - src/model/geometry.hpp
box/box intersection test
[blank.git] / src / model / geometry.hpp
index d6e3d2847782e2b1d882e49d7e5cf3fa7e77386a..f4498f5fa743ec734edc84aa90a87eb1d55757ab 100644 (file)
@@ -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;
 
 }