diff options
author | jaroWMR <jarorutjes07@gmail.com> | 2024-10-10 09:30:49 +0200 |
---|---|---|
committer | jaroWMR <jarorutjes07@gmail.com> | 2024-10-10 09:30:49 +0200 |
commit | 016070d47f2fff8cfdd49cc0bdf65c14ef922c94 (patch) | |
tree | 398daf00fcba5e4edc7dfc5807d55f940af4a58c /src/crepe/ParticleSystem.h | |
parent | d001c4ba95a72f13c942f1a24eb98fe1584d93a4 (diff) |
renamed particel to particle and example uses ecs for poc
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r-- | src/crepe/ParticleSystem.h | 2 |
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 |