diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 10:52:02 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 10:52:02 +0100 |
commit | 05a33d4793520fa84a93bc79882ef29d39cd08e5 (patch) | |
tree | 03ee36f1127e3b3c6e32734fb497db20dfe68c7a /src | |
parent | f261bee32778790068d0e37ae84885dd844b3402 (diff) |
`make format`
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/api/LoopManager.h | 1 | ||||
-rw-r--r-- | src/test/InputTest.cpp | 5 | ||||
-rw-r--r-- | src/test/LoopManagerTest.cpp | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h index 2915315..40e6b38 100644 --- a/src/crepe/api/LoopManager.h +++ b/src/crepe/api/LoopManager.h @@ -12,7 +12,6 @@ #include "../manager/SceneManager.h" #include "../system/System.h" - namespace crepe { /** * \brief Main game loop manager diff --git a/src/test/InputTest.cpp b/src/test/InputTest.cpp index 7e22d37..8b40cea 100644 --- a/src/test/InputTest.cpp +++ b/src/test/InputTest.cpp @@ -35,8 +35,9 @@ public: protected: void SetUp() override { GameObject obj = mgr.new_object("camera", "camera", vec2{0, 0}, 0, 1); - auto & camera = obj.add_component<Camera>( - ivec2{500, 500}, vec2{500, 500}, Camera::Data{.bg_color = Color::WHITE, .zoom = 1.0f}); + auto & camera + = obj.add_component<Camera>(ivec2{500, 500}, vec2{500, 500}, + Camera::Data{.bg_color = Color::WHITE, .zoom = 1.0f}); render.update(); //mediator.event_manager = event_manager; //mediator.component_manager = mgr; diff --git a/src/test/LoopManagerTest.cpp b/src/test/LoopManagerTest.cpp index 1584fd5..df132ae 100644 --- a/src/test/LoopManagerTest.cpp +++ b/src/test/LoopManagerTest.cpp @@ -76,4 +76,3 @@ TEST_F(DISABLED_LoopManagerTest, ShutDown) { // Wait for the loop thread to finish loop_thread.join(); } - |