aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Particle.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/Particle.h
parent080ad535e6fc6666b919b1a21b6986aaf9b678eb (diff)
`clang-format`
Diffstat (limited to 'src/crepe/Particle.h')
-rw-r--r--src/crepe/Particle.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/crepe/Particle.h b/src/crepe/Particle.h
index 006986a..6f689bd 100644
--- a/src/crepe/Particle.h
+++ b/src/crepe/Particle.h
@@ -6,16 +6,15 @@ namespace crepe {
class Particle {
public:
+ Position position;
+ Position velocity;
+ float lifespan;
+ bool active;
- Position position;
- Position velocity;
- float lifespan;
- bool active;
-
- Particle();
- void reset(float lifespan, Position position, Position velocity);
- void update(float deltaTime);
- float timeInLife;
+ Particle();
+ void reset(float lifespan, Position position, Position velocity);
+ void update(float deltaTime);
+ float time_in_life;
};
-}
+} // namespace crepe