diff options
Diffstat (limited to 'src/example/rendering_particle.cpp')
-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{ |