projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
renamed a few more members and changed some switch statements
[physics.git]
/
src
/
Entities
/
Particle.cpp
diff --git
a/src/Entities/Particle.cpp
b/src/Entities/Particle.cpp
index
d84ce75
..
c978d38
100644
(file)
--- a/
src/Entities/Particle.cpp
+++ b/
src/Entities/Particle.cpp
@@
-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;
}