From ed4adf767b3d9b9ee806262031013fd200fd119c Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Thu, 7 Sep 2017 15:14:56 +0200
Subject: [PATCH] Fix arrow head/stick logitudinal alignment

---
 src/pulsaranimationwidget.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp
index 63786b6..2345c9b 100644
--- a/src/pulsaranimationwidget.cpp
+++ b/src/pulsaranimationwidget.cpp
@@ -322,7 +322,7 @@ void PulsarAnimationWidget::paintGL()
             glPushMatrix();
             {
                 glTranslatef(0.0, 0.0, -2.0);
-                gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 4.0, 32, 1);
+                gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 3.5, 32, 1);
             }
             glPopMatrix();
             glPushMatrix();
@@ -333,14 +333,14 @@ void PulsarAnimationWidget::paintGL()
             glPopMatrix();
             glPushMatrix();
             {
-                glTranslatef(0.0, 0.0, 2.0);
+                glTranslatef(0.0, 0.0, 1.0);
                 gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
             }
             glPopMatrix();
 
             glPushMatrix();
             {
-                glTranslatef(0.0, 0.0, 2.0f - 0.75f);
+                glTranslatef(0.0, 0.0, 1.25f);
                 glBegin(GL_TRIANGLE_FAN);
                 {
                     // Pinnacle of cone is shared vertex for fan, moved up z-axis
-- 
GitLab