diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-06 21:42:40 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-06 21:42:40 +0100 |
commit | 3ce4865390924d13c525938c5c60c73650564a50 (patch) | |
tree | 973a886ba303ef5f379fb0dbc0f49c23ff8268c1 /src | |
parent | 5401b4a6ea1055e27820fd1155c7093d63491214 (diff) | |
download | YAGE-3ce4865390924d13c525938c5c60c73650564a50.tar.gz YAGE-3ce4865390924d13c525938c5c60c73650564a50.zip |
ParticleBody now passes gravity test
Diffstat (limited to 'src')
-rw-r--r-- | src/particlebody.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/particlebody.cpp b/src/particlebody.cpp index 09e0a1c0..e120d3c5 100644 --- a/src/particlebody.cpp +++ b/src/particlebody.cpp @@ -37,8 +37,6 @@ void ParticleBody::update() { else acceleration_ = Vector2d(force_.x() / mass_, force_.y() / mass_); - std::cout << acceleration_ << "\n"; - Vector2d avg_acceleration = (acceleration_ + last_acceleration) / 2.0; // update the velocity of the body |