Skip to content
Snippets Groups Projects
Commit ed4adf76 authored by Oliver Bock's avatar Oliver Bock
Browse files

Fix arrow head/stick logitudinal alignment

parent 36bc56a1
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ void PulsarAnimationWidget::paintGL()
glPushMatrix();
{
glTranslatef(0.0, 0.0, -2.0);
gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 4.0, 32, 1);
gluCylinder(m_quadricPulsarSpinAxis, 0.020, 0.020, 3.5, 32, 1);
}
glPopMatrix();
glPushMatrix();
......@@ -333,14 +333,14 @@ void PulsarAnimationWidget::paintGL()
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, 2.0);
glTranslatef(0.0, 0.0, 1.0);
gluDisk(m_quadricPulsarSpinAxisTop2, 0, 0.020, 32, 8);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, 2.0f - 0.75f);
glTranslatef(0.0, 0.0, 1.25f);
glBegin(GL_TRIANGLE_FAN);
{
// Pinnacle of cone is shared vertex for fan, moved up z-axis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment