renamed a few more members and changed some switch statements
[physics.git] / src / Entities / Particle.cpp
index d84ce75..c978d38 100644 (file)
@@ -50,5 +50,5 @@ void Particle::update(float time_step)
         m_lifeTime -= time_step;
         m_isDead = m_lifeTime <= 0;
     }
-    position += velocity * time_step;
+    m_position += m_velocity * time_step;
 }