]> git.localhorst.tv Git - blank.git/blobdiff - src/geometry.hpp
don't add obstructed blocks to meshes
[blank.git] / src / geometry.hpp
index d74e08e6b6fc8c29a5bc104ce381d6f0632e6289..9a9690b245cd59c0fff0c14baa6c74800120b054 100644 (file)
@@ -32,6 +32,8 @@ bool Intersection(
        float *dist = nullptr,
        glm::vec3 *normal = nullptr);
 
+bool CullTest(const AABB &box, const glm::mat4 &MVP);
+
 }
 
 #endif