diff --git a/src/definition/Scenery.h b/src/definition/Scenery.h index 9fde57a..678363b 100644 --- a/src/definition/Scenery.h +++ b/src/definition/Scenery.h @@ -38,7 +38,7 @@ class DEFINITIONSHARED_EXPORT Scenery : public DefinitionNode { static constexpr double SUN_DISTANCE = 149597870.0; static constexpr double SUN_DISTANCE_SCALED = SUN_DISTANCE * KM_TO_UNIT; - static constexpr double SUN_RADIUS = 6.955e5; + static constexpr double SUN_RADIUS = 695700.0; static constexpr double SUN_RADIUS_SCALED = SUN_RADIUS * KM_TO_UNIT; static constexpr double ATMOSPHERE_WIDTH = 61.0; diff --git a/src/interface/commandline/tests.cpp b/src/interface/commandline/tests.cpp index 51280e7..0f820e7 100644 --- a/src/interface/commandline/tests.cpp +++ b/src/interface/commandline/tests.cpp @@ -437,8 +437,6 @@ static void testCelestialBodies() { scenery.getAtmosphere()->setDayTime(23); startTestRender(&renderer, "celestial_bodies_moon_night"); - scenery.getCamera()->setFov(0.2); - scenery.getAtmosphere()->setDayTime(6); scenery.getCamera()->setTarget(scenery.getAtmosphere()->childSun()->getLocation()); startTestRender(&renderer, "celestial_bodies_sun_horizon"); @@ -448,7 +446,6 @@ static void testCelestialBodies() { startTestRender(&renderer, "celestial_bodies_sun_rising"); scenery.getAtmosphere()->setDayTime(11); - scenery.getCamera()->setFov(0.1); scenery.getAtmosphere()->childSun()->propPhi()->setValue( scenery.getAtmosphere()->childMoon()->propPhi()->getValue());