diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp index 1e7481899993e8fb9e8d7d5e6af7504fe6fbee15..c715051b94d4a7f853341b9845bb80c514e82c85 100644 --- a/src/pulsaranimationwidget.cpp +++ b/src/pulsaranimationwidget.cpp @@ -329,23 +329,22 @@ void PulsarAnimationWidget::paintGL() // draw spin axis if(m_showRotationAxes) { - glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); - glColor3f(1.0f, 1.0f, 1.0f); + glColor3f(1.0f, 0.0f, 0.0f); glPushMatrix(); { - glTranslatef(0.0, 0.0, -4.5); - gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 9.0, 32, 1); + glTranslatef(0.0, 0.0, -2.0); + gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 4.0, 32, 1); } glPopMatrix(); glPushMatrix(); { - glTranslatef(0.0, 0.0, -4.5); + glTranslatef(0.0, 0.0, -2.0); gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8); } glPopMatrix(); glPushMatrix(); { - glTranslatef(0.0, 0.0, 4.5); + glTranslatef(0.0, 0.0, 2.0); gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8); } glPopMatrix();