aboutsummaryrefslogtreecommitdiff
path: root/src/example/rendering_particle.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 13:58:58 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-19 13:58:58 +0100
commitb5c4879189a8ff55434c8c04c14163dfda83de65 (patch)
tree17595782d04038818f7ed4f6bb2199949ebd30a0 /src/example/rendering_particle.cpp
parentebe2fcfce52d9a303c5fa19d79554e20ac7f0bac (diff)
parent794efc4ef7a44b190a4d9ecc2dd84a66c62ab005 (diff)
Merge branch 'master' into niels/UI
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r--src/example/rendering_particle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 9cf25d7..07cfae2 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -39,6 +39,8 @@ public:
.angle_offset = 0,
.position_offset = {0, 1},
});
+ auto & emitter
+ = game_object.add_component<ParticleEmitter>(test_sprite, ParticleEmitter::Data{});
Sprite & test_sprite1
= game_object.add_component<Sprite>(img, Sprite::Data{