aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Particle.cpp')
-rw-r--r--src/crepe/Particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/Particle.cpp b/src/crepe/Particle.cpp
index ab55f37..1c3c138 100644
--- a/src/crepe/Particle.cpp
+++ b/src/crepe/Particle.cpp
@@ -2,7 +2,7 @@
using namespace crepe;
-void Particle::reset(uint32_t lifespan, Vector2 position, Vector2 velocity,
+void Particle::reset(uint32_t lifespan, const Vector2& position,const Vector2& velocity,
double angle) {
// Initialize the particle state
this->time_in_life = 0;