aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Particle.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:34:15 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 19:34:15 +0100
commite42d0877592aa1e88afbe0bc65822cd53a82205d (patch)
tree271d0529fc08bd37af193a85325a95ec57e34241 /src/crepe/Particle.h
parent608a8783d3bbe5845ff87861369fe1287fcbc792 (diff)
clang format and tidy
Diffstat (limited to 'src/crepe/Particle.h')
-rw-r--r--src/crepe/Particle.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/Particle.h b/src/crepe/Particle.h
index 88a015d..06431bb 100644
--- a/src/crepe/Particle.h
+++ b/src/crepe/Particle.h
@@ -15,6 +15,7 @@ namespace crepe {
*/
class Particle {
// TODO: add friend particleSsytem and rendersystem. Unit test will fail.
+
public:
//! Position of the particle in 2D space.
Vector2 position;
@@ -43,7 +44,8 @@ public:
* \param velocity The initial velocity of the particle.
* \param angle The angle of the particle's trajectory or orientation.
*/
- void reset(uint32_t lifespan, Vector2 position, Vector2 velocity, double angle);
+ void reset(uint32_t lifespan, Vector2 position, Vector2 velocity,
+ double angle);
/**
* \brief Updates the particle's state.
*
@@ -58,7 +60,6 @@ public:
* movement.
*/
void stop_movement();
-
};
} // namespace crepe