From cf6c5668f1d41a0fe02f97351a522ccfb3f245d4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 9 Oct 2022 12:22:14 +0200 Subject: a --- draw/floor-mesh.cpp | 4 ++-- draw/floor-mesh.hpp | 4 ++-- draw/wall-mesh.cpp | 4 ++-- draw/wall-mesh.hpp | 4 ++-- draw/wireframe-box.cpp | 4 ++-- draw/wireframe-box.hpp | 4 ++-- draw/wireframe-mesh.cpp | 4 ++-- draw/wireframe-mesh.hpp | 4 ++-- draw/wireframe-quad.cpp | 4 ++-- draw/wireframe-quad.hpp | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) (limited to 'draw') diff --git a/draw/floor-mesh.cpp b/draw/floor-mesh.cpp index 3698bc6e..da8fe7f2 100644 --- a/draw/floor-mesh.cpp +++ b/draw/floor-mesh.cpp @@ -5,7 +5,7 @@ #include "tile-atlas.hpp" #include -namespace Magnum::Examples { +namespace floormat { constexpr auto quad_index_count = 6; @@ -75,4 +75,4 @@ std::array, TILE_COUNT> floor_mesh::make_position_array() return array; } -} // namespace Magnum::Examples +} // namespace floormat diff --git a/draw/floor-mesh.hpp b/draw/floor-mesh.hpp index fed5867c..f81a7593 100644 --- a/draw/floor-mesh.hpp +++ b/draw/floor-mesh.hpp @@ -8,7 +8,7 @@ #include #include -namespace Magnum::Examples { +namespace floormat { struct tile_shader; struct chunk; @@ -36,4 +36,4 @@ private: static void set_tile(quad_data& data, tile& x); }; -} // namespace Magnum::Examples +} // namespace floormat diff --git a/draw/wall-mesh.cpp b/draw/wall-mesh.cpp index d698b508..acd4ac75 100644 --- a/draw/wall-mesh.cpp +++ b/draw/wall-mesh.cpp @@ -5,7 +5,7 @@ #include #include -namespace Magnum::Examples { +namespace floormat { constexpr auto quad_index_count = 6; @@ -90,4 +90,4 @@ std::array, wall_mesh::COUNT> wall_mesh::make_position_ar return array; } -} // namespace Magnum::Examples +} // namespace floormat diff --git a/draw/wall-mesh.hpp b/draw/wall-mesh.hpp index 4a4e9615..364f3831 100644 --- a/draw/wall-mesh.hpp +++ b/draw/wall-mesh.hpp @@ -8,7 +8,7 @@ #include #include -namespace Magnum::Examples { +namespace floormat { struct tile_shader; struct chunk; @@ -40,4 +40,4 @@ private: static std::array, COUNT> make_position_array(); }; -} // namespace Magnum::Examples +} // namespace floormat diff --git a/draw/wireframe-box.cpp b/draw/wireframe-box.cpp index c5e4d9ac..49606bd8 100644 --- a/draw/wireframe-box.cpp +++ b/draw/wireframe-box.cpp @@ -3,7 +3,7 @@ #include #include -namespace Magnum::Examples::wireframe { +namespace floormat::wireframe { box::box(Vector3 center, Vector3 size, float line_width) : center{center}, size{size}, line_width{line_width} @@ -50,4 +50,4 @@ box::index_array box::make_index_array() }}; } -} // namespace Magnum::Examples::wireframe +} // namespace floormat::wireframe diff --git a/draw/wireframe-box.hpp b/draw/wireframe-box.hpp index b5cc1688..998ad92c 100644 --- a/draw/wireframe-box.hpp +++ b/draw/wireframe-box.hpp @@ -2,7 +2,7 @@ #include #include -namespace Magnum::Examples::wireframe { +namespace floormat::wireframe { struct box final { @@ -24,4 +24,4 @@ private: float line_width = 2; }; -} // namespace Magnum::Examples::wireframe +} // namespace floormat::wireframe diff --git a/draw/wireframe-mesh.cpp b/draw/wireframe-mesh.cpp index 35103055..32aa72aa 100644 --- a/draw/wireframe-mesh.cpp +++ b/draw/wireframe-mesh.cpp @@ -9,7 +9,7 @@ #include #include -namespace Magnum::Examples::wireframe +namespace floormat::wireframe { GL::RectangleTexture mesh_base::make_constant_texture() @@ -48,4 +48,4 @@ void mesh_base::draw(tile_shader& shader) } -} // namespace Magnum::Examples::wireframe +} // namespace floormat::wireframe diff --git a/draw/wireframe-mesh.hpp b/draw/wireframe-mesh.hpp index f9c5e369..3c0deb37 100644 --- a/draw/wireframe-mesh.hpp +++ b/draw/wireframe-mesh.hpp @@ -9,7 +9,7 @@ #include #include "Magnum/GL/RectangleTexture.h" -namespace Magnum::Examples { +namespace floormat { struct tile_shader; @@ -60,4 +60,4 @@ template void wireframe_mesh::draw(tile_shader& shader, mesh_base::draw(shader); } -} // namespace Magnum::Examples +} // namespace floormat diff --git a/draw/wireframe-quad.cpp b/draw/wireframe-quad.cpp index e167a074..56aa0845 100644 --- a/draw/wireframe-quad.cpp +++ b/draw/wireframe-quad.cpp @@ -2,7 +2,7 @@ #include #include -namespace Magnum::Examples::wireframe { +namespace floormat::wireframe { quad::vertex_array quad::make_vertex_array() const { @@ -22,4 +22,4 @@ void quad::on_draw() const GL::Renderer::setLineWidth(line_width); } -} // namespace Magnum::Examples::wireframe +} // namespace floormat::wireframe diff --git a/draw/wireframe-quad.hpp b/draw/wireframe-quad.hpp index 28ab651a..c2679781 100644 --- a/draw/wireframe-quad.hpp +++ b/draw/wireframe-quad.hpp @@ -4,7 +4,7 @@ #include #include -namespace Magnum::Examples::wireframe { +namespace floormat::wireframe { struct quad final { @@ -25,4 +25,4 @@ private: float line_width; }; -} // namespace Magnum::Examples::wireframe +} // namespace floormat::wireframe -- cgit v1.2.3