From cbb1a37f5a5466b2344f76f967a6b7a8b447741f Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 27 Jan 1999 04:46:45 +0000 Subject: [PATCH] Removed code to make sun appear larger at the horizon. --- Astro/solarsystem.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Astro/solarsystem.cxx b/Astro/solarsystem.cxx index 560391d7..1458ae34 100644 --- a/Astro/solarsystem.cxx +++ b/Astro/solarsystem.cxx @@ -183,11 +183,6 @@ void SolarSystem::rebuild() xglPushMatrix(); { double sun_size = 1400.0; - // daily variation sun gets larger near horizon - if ( sun_angle > 84.0 ) { - double sun_grow = 9.0 * fabs(94.0 - sun_angle); - sun_size += 0.5 * sun_size * cos( sun_grow * DEG_TO_RAD); - } xglTranslatef(x,y,z); xglColor3fv(amb); glutSolidSphere(sun_size, 10, 10); -- 2.39.5