diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:35:08 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:35:08 +0100 |
commit | a0c8c09c8c363b239d72bd16303395fb8c23b948 (patch) | |
tree | d6c5f15c00b3762848ac1427cd3e0d48e9779dec /src/crepe/Particle.cpp | |
parent | 8850ba096b6b4ae2dc3a813620dd35433b3c6c55 (diff) | |
parent | be1e97bc7a494963ab1567492fafcda99e36f683 (diff) |
Merge branch 'master' into niels/RenderingParticle
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 ab55f37..582edf4 100644 --- a/src/crepe/Particle.cpp +++ b/src/crepe/Particle.cpp @@ -2,8 +2,8 @@ using namespace crepe; -void Particle::reset(uint32_t lifespan, Vector2 position, Vector2 velocity, - double angle) { +void Particle::reset(uint32_t lifespan, const Vector2 & position, + const Vector2 & velocity, double angle) { // Initialize the particle state this->time_in_life = 0; this->lifespan = lifespan; |