From f1df7c20129a1f1cc47c47e5731efd10f8e49aeb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Oct 2022 16:37:58 +0200 Subject: rename in draw/ --- draw/wireframe-box.hpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 draw/wireframe-box.hpp (limited to 'draw/wireframe-box.hpp') diff --git a/draw/wireframe-box.hpp b/draw/wireframe-box.hpp deleted file mode 100644 index b187dc83..00000000 --- a/draw/wireframe-box.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once -#include -#include -#include -#include - -namespace floormat::wireframe { - -struct box final -{ - box(Vector3 center, Vector3 size, float line_width); - - static constexpr std::size_t num_vertices = 8, num_indexes = 12*2; - static constexpr GL::MeshPrimitive primitive = GL::MeshPrimitive::Lines; - - using vertex_array = std::array; - using index_array = std::array; - - vertex_array make_vertex_array() const; - static index_array make_index_array(); - void on_draw() const; - -private: - Vector3 center; - Vector3 size; - float line_width = 2; -}; - -} // namespace floormat::wireframe -- cgit v1.2.3