From 5a6216689a440953a18323fa228ceed3555f75c9 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Tue, 14 Jan 2025 01:05:07 +0300 Subject: [PATCH] fix headers --- bin/layers/opengl_panel/opengl_panel.cpp | 4 ++-- bin/layers/opengl_panel/opengl_panel.hpp | 2 +- bin/layers/test_panel/test_panel.hpp | 2 +- bin/layers/test_panel_2/test_panel_2.hpp | 2 +- bin/layers/utils.hpp | 2 -- bin/main.cpp | 2 +- src/application/application.cpp | 2 +- src/event/event.hpp | 2 +- src/glfw/context/context.hpp | 2 +- src/glfw/glfw.hpp | 2 +- src/opengl/buffer/buffer.hpp | 2 +- src/opengl/shader_program/shader_program.hpp | 2 +- src/utils/math.hpp | 2 +- src/utils/opengl.hpp | 0 src/utils/time.hpp | 2 +- src/utils/using.hpp | 2 +- 16 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 src/utils/opengl.hpp diff --git a/bin/layers/opengl_panel/opengl_panel.cpp b/bin/layers/opengl_panel/opengl_panel.cpp index 07b6b72..7c5900e 100755 --- a/bin/layers/opengl_panel/opengl_panel.cpp +++ b/bin/layers/opengl_panel/opengl_panel.cpp @@ -7,8 +7,8 @@ namespace sandbox { hack::log()("create cube"); - const std::filesystem::path vsp { "/mnt/raid/projects/vertex_engine/bin/layers/opengl_panel/shaders/vertes.shader" }; - const std::filesystem::path fsp { "/mnt/raid/projects/vertex_engine/bin/layers/opengl_panel/shaders/frag.shader" }; + const std::filesystem::path vsp { "/mnt/raid/projects/vertex_engine/vertex_engine/bin/layers/opengl_panel/shaders/vertes.shader" }; + const std::filesystem::path fsp { "/mnt/raid/projects/vertex_engine/vertex_engine/bin/layers/opengl_panel/shaders/frag.shader" }; add_shader(GL_VERTEX_SHADER, vsp); add_shader(GL_FRAGMENT_SHADER, fsp); shader_program::link(); diff --git a/bin/layers/opengl_panel/opengl_panel.hpp b/bin/layers/opengl_panel/opengl_panel.hpp index da2b875..3d38c47 100755 --- a/bin/layers/opengl_panel/opengl_panel.hpp +++ b/bin/layers/opengl_panel/opengl_panel.hpp @@ -1,6 +1,6 @@ #pragma once -#include "VE.hpp" +#include "VE.hpp" // IWYU pragma: keep namespace sandbox { diff --git a/bin/layers/test_panel/test_panel.hpp b/bin/layers/test_panel/test_panel.hpp index 6225435..052e275 100755 --- a/bin/layers/test_panel/test_panel.hpp +++ b/bin/layers/test_panel/test_panel.hpp @@ -1,6 +1,6 @@ #pragma once -#include "VE.hpp" +#include "VE.hpp" // IWYU pragma: keep namespace sandbox { diff --git a/bin/layers/test_panel_2/test_panel_2.hpp b/bin/layers/test_panel_2/test_panel_2.hpp index acff4e1..138df05 100755 --- a/bin/layers/test_panel_2/test_panel_2.hpp +++ b/bin/layers/test_panel_2/test_panel_2.hpp @@ -1,6 +1,6 @@ #pragma once -#include "VE.hpp" +#include "VE.hpp" // IWYU pragma: keep namespace sandbox { diff --git a/bin/layers/utils.hpp b/bin/layers/utils.hpp index 86ce546..e008ed5 100644 --- a/bin/layers/utils.hpp +++ b/bin/layers/utils.hpp @@ -1,7 +1,5 @@ #pragma once -#include - namespace sandbox { enum class test_event diff --git a/bin/main.cpp b/bin/main.cpp index 3e4766d..83c5b20 100755 --- a/bin/main.cpp +++ b/bin/main.cpp @@ -23,7 +23,7 @@ namespace VE { inline application& create() { - static sandbox::test_app e{ "sandbox" }; + static sandbox::test_app e{ "vertex_engine_sandbox" }; e.push_layer( new sandbox::test_panel{}, diff --git a/src/application/application.cpp b/src/application/application.cpp index 9103e3a..2831cf4 100755 --- a/src/application/application.cpp +++ b/src/application/application.cpp @@ -1,6 +1,6 @@ #include "application.hpp" -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep namespace VE { diff --git a/src/event/event.hpp b/src/event/event.hpp index 067f791..8035aed 100755 --- a/src/event/event.hpp +++ b/src/event/event.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep namespace VE { diff --git a/src/glfw/context/context.hpp b/src/glfw/context/context.hpp index 2ea952e..0281434 100755 --- a/src/glfw/context/context.hpp +++ b/src/glfw/context/context.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep namespace VE { diff --git a/src/glfw/glfw.hpp b/src/glfw/glfw.hpp index a8113ae..e86591c 100755 --- a/src/glfw/glfw.hpp +++ b/src/glfw/glfw.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep #include "context/context.hpp" #include "event/event.hpp" diff --git a/src/opengl/buffer/buffer.hpp b/src/opengl/buffer/buffer.hpp index 17f9d21..14d3cb0 100644 --- a/src/opengl/buffer/buffer.hpp +++ b/src/opengl/buffer/buffer.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep namespace VE { diff --git a/src/opengl/shader_program/shader_program.hpp b/src/opengl/shader_program/shader_program.hpp index 2d869ae..9744233 100644 --- a/src/opengl/shader_program/shader_program.hpp +++ b/src/opengl/shader_program/shader_program.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils/utils.hpp" +#include "utils/utils.hpp" // IWYU pragma: keep namespace VE { diff --git a/src/utils/math.hpp b/src/utils/math.hpp index 38ad75a..873acfa 100644 --- a/src/utils/math.hpp +++ b/src/utils/math.hpp @@ -1,6 +1,6 @@ #pragma once -#include "glm/gtc/type_ptr.hpp" +#include "glm/gtc/type_ptr.hpp" // IWYU pragma: keep namespace mt { diff --git a/src/utils/opengl.hpp b/src/utils/opengl.hpp deleted file mode 100644 index e69de29..0000000 diff --git a/src/utils/time.hpp b/src/utils/time.hpp index 774f980..bb38621 100644 --- a/src/utils/time.hpp +++ b/src/utils/time.hpp @@ -1,6 +1,6 @@ #pragma once -#include "using.hpp" +#include "using.hpp" // IWYU pragma: keep namespace VE::time { diff --git a/src/utils/using.hpp b/src/utils/using.hpp index a76e559..f8be6a8 100644 --- a/src/utils/using.hpp +++ b/src/utils/using.hpp @@ -1,6 +1,6 @@ #pragma once -#include "include.hpp" +#include "include.hpp" // IWYU pragma: keep namespace VE {