summaryrefslogtreecommitdiffhomepage
path: root/draw/box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'draw/box.cpp')
-rw-r--r--draw/box.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/draw/box.cpp b/draw/box.cpp
index 18d6f861..2d44a3fd 100644
--- a/draw/box.cpp
+++ b/draw/box.cpp
@@ -1,6 +1,5 @@
#include "box.hpp"
-#include <array>
-#include <Magnum/Math/Vector3.h>
+#include "wireframe.hpp"
#include <Magnum/GL/Renderer.h>
namespace floormat::wireframe {
@@ -29,7 +28,7 @@ box::vertex_array box::make_vertex_array() const
void box::on_draw() const
{
- GL::Renderer::setLineWidth(line_width);
+ mesh_base::set_line_width(line_width);
}
box::index_array box::make_index_array()