diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:23:04 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:23:04 +0100 |
commit | 5e6b80ba9fe18143b994a301ab0ba1ba54072b43 (patch) | |
tree | 2784b5bdb49dba729884af5d4fd80dd9e44776d1 /src/crepe/Particle.cpp | |
parent | 767f40a61952892d60d204ecaaffa07e7e396d28 (diff) |
Working color, fucked up git merge
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; |