From 9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 21:54:28 +0200 Subject: `clang-format` --- src/crepe/Particle.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/crepe/Particle.h') 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 -- cgit v1.2.3