aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ParticleSystem.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
commit9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (patch)
tree97a2fc5ce1ec1345bd6f44889682ea9a2ffafd76 /src/crepe/ParticleSystem.h
parent080ad535e6fc6666b919b1a21b6986aaf9b678eb (diff)
`clang-format`
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r--src/crepe/ParticleSystem.h14
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