From 3ce4865390924d13c525938c5c60c73650564a50 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 6 Aug 2017 21:42:40 +0100 Subject: ParticleBody now passes gravity test --- src/particlebody.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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 -- cgit