diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-22 17:09:40 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-22 17:09:40 +0100 |
commit | aed904bdc2ddaf669940d922611229a171a1f220 (patch) | |
tree | 4067c75308b43f62bdcbd69af8d3c9a4e60abdc3 /src/example | |
parent | 8513b2dad0ec43678f17cca0510db4d1a938279a (diff) |
make format
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/rendering_particle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index 6a91c19..fad174e 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -32,13 +32,13 @@ int main(int argc, char * argv[]) { Color color(255, 255, 255, 255); Sprite & test_sprite = game_object.add_component<Sprite>( - make_shared<Texture>("asset/spritesheet/spritesheet_test.png"), color, FlipSettings{true, true}); + make_shared<Texture>("asset/spritesheet/spritesheet_test.png"), color, + FlipSettings{true, true}); test_sprite.order_in_layer = 5; test_sprite.width = 1000; test_sprite.height = 500; - game_object.add_component<Animator>(test_sprite, 4,1,0).active = true; - + game_object.add_component<Animator>(test_sprite, 4, 1, 0).active = true; /* auto & test = game_object.add_component<ParticleEmitter>(ParticleEmitter::Data{ |