diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 21:54:28 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 21:54:28 +0200 |
commit | 9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (patch) | |
tree | 97a2fc5ce1ec1345bd6f44889682ea9a2ffafd76 /src/crepe/ParticleSystem.h | |
parent | 080ad535e6fc6666b919b1a21b6986aaf9b678eb (diff) |
`clang-format`
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r-- | src/crepe/ParticleSystem.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/crepe/ParticleSystem.h b/src/crepe/ParticleSystem.h index 313e1dd..071eec4 100644 --- a/src/crepe/ParticleSystem.h +++ b/src/crepe/ParticleSystem.h @@ -1,19 +1,19 @@ #pragma once -#include <vector> #include "api/ParticleEmitter.h" - +#include <vector> namespace crepe { class ParticleSystem { public: - ParticleSystem(); - void update(); + ParticleSystem(); + void update(); + private: - void emitParticle(ParticleEmitter &emitter); //emits a new particle + void emit_particle(ParticleEmitter & emitter); //emits a new particle - float m_elapsedTime; //elapsed time since the last emission + float m_elapsed_time; //elapsed time since the last emission }; -} +} // namespace crepe |