]> git.localhorst.tv Git - blank.git/blobdiff - src/geometry/primitive.hpp
geometry stuff
[blank.git] / src / geometry / primitive.hpp
index 7da1096b38ddd528546748d232289a7e30fefa3a..cdeae86e5c68b21303b7c27c775d9ff657df8924 100644 (file)
@@ -40,6 +40,8 @@ bool Intersection(
        float *dist = nullptr,
        glm::vec3 *normal = nullptr) noexcept;
 
+/// matrices may translate and rotate, but must not scale/shear/etc
+/// (basically the first three columns must have unit length)
 bool Intersection(
        const AABB &a_box,
        const glm::mat4 &a_m,