diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-18 11:32:41 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-18 11:32:41 +0100 |
commit | 3f176dace320b9bb72675cf9b6fd77fe6d35c539 (patch) | |
tree | 8eeabdd5d2a3741af092713faab2c255a7d3c1f4 /src/example/rendering_particle.cpp | |
parent | ea5e62b4ca8fbe214605abdab486bf6dcc1cc540 (diff) |
make format
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r-- | src/example/rendering_particle.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index 1c8072e..0fe24df 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -36,13 +36,14 @@ public: .angle_offset = 0, .position_offset = {0, 0}, }); - auto & emitter = game_object.add_component<ParticleEmitter>(test_sprite, ParticleEmitter::Data{}); + auto & emitter + = game_object.add_component<ParticleEmitter>(test_sprite, ParticleEmitter::Data{}); auto & cam = game_object.add_component<Camera>(ivec2{1280, 720}, vec2{400, 400}, Camera::Data{ .bg_color = Color::WHITE, }); - cam.data.postion_offset = {1000,1000}; + cam.data.postion_offset = {1000, 1000}; } string get_name() const { return "TestScene"; }; |