From 29c1820bbdc3e8d3c323b75a766a0fce40e7d11b Mon Sep 17 00:00:00 2001 From: Oliver Bock Date: Wed, 21 Jul 2010 17:50:36 +0200 Subject: [PATCH] Show line of sight of observer to be incident on pulsar (not as an axis) --- src/pulsaranimationwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp index 1e47fc9..2b37aa0 100644 --- a/src/pulsaranimationwidget.cpp +++ b/src/pulsaranimationwidget.cpp @@ -258,13 +258,13 @@ void PulsarAnimationWidget::paintGL() glColor3f(0.33f, 0.33f, 1.0f); glPushMatrix(); { - glTranslatef(0.0, 0.0, -5.01); - gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 10.02, 32, 1); + glTranslatef(0.0, 0.0, 1.0); + gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 4.01, 32, 1); } glPopMatrix(); glPushMatrix(); { - glTranslatef(0.0, 0.0, -5.01); + glTranslatef(0.0, 0.0, 0.99); gluDisk(m_quadricLineOfSightTop1, 0, 0.025, 32, 8); } glPopMatrix(); -- GitLab