]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/PrimitiveMesh.hpp
faster chunk culling test
[blank.git] / src / graphics / PrimitiveMesh.hpp
index 1aa3cce58acf417e6605fe82f99c2d473845ed1c..013bf37bde34175c57b0d13c773fa11334eb3cda 100644 (file)
@@ -10,6 +10,8 @@
 
 namespace blank {
 
+struct AABB;
+
 class PrimitiveMesh {
 
 public:
@@ -52,6 +54,11 @@ public:
                        const glm::vec2 &pivot = glm::vec2(0.0f)
                );
 
+               void OutlineBox(
+                       const AABB &,
+                       const glm::vec4 &color = glm::vec4(0.0f)
+               );
+
        };
 
        using VAO = VertexArray<ATTRIB_COUNT>;