aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ParticleSystem.h
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-10 09:30:49 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-10 09:30:49 +0200
commit016070d47f2fff8cfdd49cc0bdf65c14ef922c94 (patch)
tree398daf00fcba5e4edc7dfc5807d55f940af4a58c /src/crepe/ParticleSystem.h
parentd001c4ba95a72f13c942f1a24eb98fe1584d93a4 (diff)
renamed particel to particle and example uses ecs for poc
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r--src/crepe/ParticleSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/ParticleSystem.h b/src/crepe/ParticleSystem.h
index fd6d110..7b14f71 100644
--- a/src/crepe/ParticleSystem.h
+++ b/src/crepe/ParticleSystem.h
@@ -9,7 +9,7 @@ namespace crepe {
class ParticleSystem {
public:
ParticleSystem();
- void update(float deltaTime, std::vector<ParticleEmitter>& emitters);
+ void update(float deltaTime, std::vector<std::reference_wrapper<ParticleEmitter>>& emitters);
private:
void emitParticle(ParticleEmitter &emitter); //emits a new particle