From 132fe0e7592ed010c4d18fb3774e560152a8508c Mon Sep 17 00:00:00 2001 From: Florian Burgener <florian.burgener@etu.hesge.ch> Date: Mon, 20 Dec 2021 13:12:18 +0100 Subject: [PATCH] Performance update --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index f4beb6d..50af256 100644 --- a/main.c +++ b/main.c @@ -37,7 +37,7 @@ const int32_t SIMULATION_MAXIMUM_SPEED_IN_DAYS = 500; // Time that elapses by default in the planetary system per second, in seconds. const int32_t DEFAULT_SIMULATION_SPEED_IN_SECONDS = DEFAULT_SIMULATION_SPEED_IN_DAYS * ONE_DAY_IN_SECONDS; // Maximum time that elapses in the planetary system at each call of the planetary_system_update function, this value must be small enough for the planetary system to work. -const int32_t PLANETARY_SYSTEM_INTERVAL = 100; +const int32_t PLANETARY_SYSTEM_INTERVAL = 1000; #define GLUT_KEY_ESCAPE 27 #define GLUT_KEY_T 116 -- GitLab