aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-20 15:27:15 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-20 15:27:15 +0100
commitfd09501a1f010126bda5816f17e6e21e204e79cb (patch)
treeca4abe045971e79d96b54f6d8c8e298dd43ae223 /src
parente5b57f6a0aadf4f5ca597e4ffa3e557eec87b54b (diff)
make format
Diffstat (limited to 'src')
-rw-r--r--src/example/rendering_particle.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 0a2f946..c8db499 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -64,11 +64,14 @@ public:
},
"test TEST");
- game_object.add_component<Text>(vec2{1, 1}, vec2{0, 1}, "Ariel",
- Text::Data{
- .text_color = Color::BLACK,
- },
- "TEST test").world_space = true;
+ game_object
+ .add_component<Text>(vec2{1, 1}, vec2{0, 1}, "Ariel",
+ Text::Data{
+ .text_color = Color::BLACK,
+ },
+ "TEST test")
+ .world_space
+ = true;
}
string get_name() const { return "TestScene"; };