From 5cf4bcf2593b39e936d557ea5b202df5ee6ec568 Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Tue, 12 Sep 2017 11:57:38 +0200 Subject: [PATCH] Beautified --- src/pulsaranimationwidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp index a417f7a..a58e9b7 100644 --- a/src/pulsaranimationwidget.cpp +++ b/src/pulsaranimationwidget.cpp @@ -347,9 +347,7 @@ void PulsarAnimationWidget::paintGL() glRotatef(-23.384, 0.0, 0.0, 1.0); glRotatef(41.093, 0.0, 1.0, 0.0); - glTranslatef(0.0, - 0.0, - 5.0); + glTranslatef(0.0, 0.0, m_earthRadius + 2.0); glRotatef(m_sourceInclination, 0.0, 1.0, 0.0); glRotatef(180, 0.0, 1.0, 0.0); -- GitLab