From 8746f6bf6a85965ca4d41c9dc2ad90e53690da70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Tue, 13 Feb 2018 11:49:13 +0100 Subject: [PATCH] Turn off time-related debug messages --- periodic_updates.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/periodic_updates.cpp b/periodic_updates.cpp index e29fc40..853f725 100644 --- a/periodic_updates.cpp +++ b/periodic_updates.cpp @@ -26,13 +26,6 @@ void periodic_update() { auto now = std::chrono::steady_clock::now(); _ball->update_pos(ellapsed_double(_last_time, now)); - fprintf(stderr, "dt = %lf, tot = %lf; center: %.2lf, %.2lf, %.2lf\n", - ellapsed_double(_last_time, now), - ellapsed_double(_init_clocks, now), - _ball->getCenter().x, - _ball->getCenter().y, - _ball->getCenter().z); - _last_time = now; glutPostRedisplay(); }