From cc1454da7139afa3a4a87e5f3e46aa0fbfb69dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Sami=20G=C3=BCrp=C4=B1nar?= Date: Tue, 23 Apr 2024 13:52:02 +0300 Subject: [PATCH] refactor(world): renamed --- src/main.cpp | 2 +- src/world/states.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 22673e5..e055dc4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,7 +10,7 @@ int main(int argc, char** argv) { Skybox skyBox{}; World world{}; - world.setState(states::cube); + world.setState(state::cube); cae.run(world, skyBox); diff --git a/src/world/states.hpp b/src/world/states.hpp index a02ecff..1f0a772 100644 --- a/src/world/states.hpp +++ b/src/world/states.hpp @@ -3,7 +3,7 @@ #include #include "glm/glm.hpp" -namespace states { +namespace state { static std::vector cube = { {0.0f, -1.0f, 0.0f},