Commit 794716ec authored by Oliver Bock's avatar Oliver Bock

Let beam cones start in pulsar center

parent 7947d743
......@@ -312,7 +312,7 @@ void PulsarAnimationWidget::paintGL()
glPopMatrix();
}
glTranslatef(0.0, 0.0, -4.0);
glTranslatef(0.0, 0.0, -3.0);
glMaterialfv(GL_FRONT, GL_AMBIENT, coneAmbient);
glMaterialfv(GL_FRONT, GL_DIFFUSE, coneDiffuse);
......@@ -329,7 +329,7 @@ void PulsarAnimationWidget::paintGL()
glRotatef(m_pulsarRotationAngle - 90.0, 0.0, 0.0, 1.0);
glRotatef(m_pulsarMagneticAxisInclination, 1.0, 0.0, 0.0);
glTranslatef(0.0, 0.0, -4.0);
glTranslatef(0.0, 0.0, -3.0);
glMaterialfv(GL_FRONT, GL_AMBIENT, coneAmbient);
glMaterialfv(GL_FRONT, GL_DIFFUSE, coneDiffuse);
......
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