Commit a15339d6 authored by Oliver Bock's avatar Oliver Bock
Browse files

Improve initial pointing symmetry

parent ed4adf76
......@@ -287,8 +287,8 @@ void PulsarAnimationWidget::paintGL()
{
glRotatef(130, 0.0, 1.0, 0.0);
glPushMatrix();
{
glRotatef(90, 1.0, 0.0, 0.0);
{
glRotatef(90, 1.0, 0.0, 0.0);
glRotatef(180, 1.0, 1.0, 0.0);
// create texture coordinates and enable texturing
......@@ -296,9 +296,9 @@ void PulsarAnimationWidget::paintGL()
glBindTexture(GL_TEXTURE_2D, m_beamTexture);
glEnable(GL_TEXTURE_2D);
gluSphere(m_quadricPulsar, m_pulsarRadius, 32, 32);
}
glPopMatrix();
gluSphere(m_quadricPulsar, m_pulsarRadius, 32, 32);
}
glPopMatrix();
}
glPopMatrix();
......@@ -309,7 +309,7 @@ void PulsarAnimationWidget::paintGL()
3.0,
-3.0);
glRotatef(-30, 0.0, 1.0, 0.0);
glRotatef(-45, 0.0, 1.0, 0.0);
glRotatef(90, 1.0, 0.0, 0.0);
glPushMatrix();
......
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