Commit edec5a4f authored by Oliver Bock's avatar Oliver Bock

Increase length of axes (magnetic axis is supposed to stick out of cone)

parent 226fbcc3
...@@ -333,19 +333,19 @@ void PulsarAnimationWidget::paintGL() ...@@ -333,19 +333,19 @@ void PulsarAnimationWidget::paintGL()
glColor3f(1.0f, 1.0f, 1.0f); glColor3f(1.0f, 1.0f, 1.0f);
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, -4.0); glTranslatef(0.0, 0.0, -4.5);
gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 8.0, 32, 1); gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 9.0, 32, 1);
} }
glPopMatrix(); glPopMatrix();
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, -4.0); glTranslatef(0.0, 0.0, -4.5);
gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8); gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8);
} }
glPopMatrix(); glPopMatrix();
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, 4.0); glTranslatef(0.0, 0.0, 4.5);
gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8); gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
} }
glPopMatrix(); glPopMatrix();
...@@ -376,19 +376,19 @@ void PulsarAnimationWidget::paintGL() ...@@ -376,19 +376,19 @@ void PulsarAnimationWidget::paintGL()
glColor3f(1.0f, 1.0f, 0.0f); glColor3f(1.0f, 1.0f, 0.0f);
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, -4.0); glTranslatef(0.0, 0.0, -4.5);
gluCylinder(m_quadricPulsarMagneticAxis, 0.020, 0.020, 8.0, 32, 1); gluCylinder(m_quadricPulsarMagneticAxis, 0.020, 0.020, 9.0, 32, 1);
} }
glPopMatrix(); glPopMatrix();
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, -4.0); glTranslatef(0.0, 0.0, -4.5);
gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8); gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8);
} }
glPopMatrix(); glPopMatrix();
glPushMatrix(); glPushMatrix();
{ {
glTranslatef(0.0, 0.0, 4.0); glTranslatef(0.0, 0.0, 4.5);
gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8); gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
} }
glPopMatrix(); glPopMatrix();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment