aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:56:17 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:56:17 +0100
commit76f6c4d3e36b653aec79438ae4053ea24560236c (patch)
tree459d4319f9811012daadd581d7b48abc4bd1977c /src/example
parent2882e217aa5354a6befdddaa2de886f66ff40879 (diff)
make format
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering_particle.cpp24
1 files changed, 14 insertions, 10 deletions
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;
}