diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 19:14:34 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 19:14:34 +0100 |
commit | 289ecc3a3829e9b3acff0b1778f75bc526173977 (patch) | |
tree | ef5d548c20eb7315b6f9f9cdf5b94e57a775825e /src/crepe/Particle.cpp | |
parent | d836022aeb120b483c8ddf54cabe0f4325e68803 (diff) |
changed double to float
Diffstat (limited to 'src/crepe/Particle.cpp')
-rw-r--r-- | src/crepe/Particle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/Particle.cpp b/src/crepe/Particle.cpp index 485a0d4..ce000a1 100644 --- a/src/crepe/Particle.cpp +++ b/src/crepe/Particle.cpp @@ -2,8 +2,8 @@ using namespace crepe; -void Particle::reset(uint32_t lifespan, const vec2 & position, const vec2 & velocity, - double angle) { +void Particle::reset(unsigned int lifespan, const vec2 & position, const vec2 & velocity, + float angle) { // Initialize the particle state this->time_in_life = 0; this->lifespan = lifespan; |