aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crepe/system/InputSystem.cpp2
-rw-r--r--src/crepe/system/InputSystem.h2
-rw-r--r--src/example/rendering_particle.cpp24
3 files changed, 16 insertions, 12 deletions
diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp
index a366d34..91c9c64 100644
--- a/src/crepe/system/InputSystem.cpp
+++ b/src/crepe/system/InputSystem.cpp
@@ -1,8 +1,8 @@
#include "../api/Button.h"
+#include "../api/Config.h"
#include "../facade/SDLContext.h"
#include "../manager/ComponentManager.h"
#include "../manager/EventManager.h"
-#include "../api/Config.h"
#include "InputSystem.h"
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h
index 21a3dfb..be62367 100644
--- a/src/crepe/system/InputSystem.h
+++ b/src/crepe/system/InputSystem.h
@@ -1,8 +1,8 @@
#pragma once
-#include "../facade/EventData.h"
#include "../api/Event.h"
#include "../api/Metadata.h"
+#include "../facade/EventData.h"
#include "../types.h"
#include "System.h"
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 9093fd5..8be781a 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -62,18 +62,22 @@ public:
}
);
- game_object.add_component<Text>(vec2{1, 1}, vec2{0, -1}, "ComicSansMS",
- Text::Data{
- .text_color = Color::RED,
- },
- "test TEST");
+ game_object.add_component<Text>(
+ vec2 {1, 1}, vec2 {0, -1}, "ComicSansMS",
+ Text::Data {
+ .text_color = Color::RED,
+ },
+ "test TEST"
+ );
game_object
- .add_component<Text>(vec2{1, 1}, vec2{0, 1}, "Ariel",
- Text::Data{
- .text_color = Color::BLACK,
- },
- "TEST test")
+ .add_component<Text>(
+ vec2 {1, 1}, vec2 {0, 1}, "Ariel",
+ Text::Data {
+ .text_color = Color::BLACK,
+ },
+ "TEST test"
+ )
.world_space
= true;
}