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()
glColor3f(1.0f, 1.0f, 1.0f);
glPushMatrix();
{
glTranslatef(0.0, 0.0, -4.0);
gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 8.0, 32, 1);
glTranslatef(0.0, 0.0, -4.5);
gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 9.0, 32, 1);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, -4.0);
glTranslatef(0.0, 0.0, -4.5);
gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, 4.0);
glTranslatef(0.0, 0.0, 4.5);
gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
}
glPopMatrix();
......@@ -376,19 +376,19 @@ void PulsarAnimationWidget::paintGL()
glColor3f(1.0f, 1.0f, 0.0f);
glPushMatrix();
{
glTranslatef(0.0, 0.0, -4.0);
gluCylinder(m_quadricPulsarMagneticAxis, 0.020, 0.020, 8.0, 32, 1);
glTranslatef(0.0, 0.0, -4.5);
gluCylinder(m_quadricPulsarMagneticAxis, 0.020, 0.020, 9.0, 32, 1);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, -4.0);
glTranslatef(0.0, 0.0, -4.5);
gluDisk(m_quadricPulsarSpinAxisTop1, 0, 0.020, 32, 8);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, 4.0);
glTranslatef(0.0, 0.0, 4.5);
gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
}
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