Commit 57b7c9b8 authored by Oliver Bock's avatar Oliver Bock

Make sure line of sight end caps are visible when overlapped by other axes

parent d8dbfd12
......@@ -258,19 +258,19 @@ void PulsarAnimationWidget::paintGL()
glColor3f(0.33f, 0.33f, 1.0f);
glPushMatrix();
{
glTranslatef(0.0, 0.0, -5.0);
gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 10.0, 32, 1);
glTranslatef(0.0, 0.0, -5.01);
gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 10.02, 32, 1);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, -5.0);
glTranslatef(0.0, 0.0, -5.01);
gluDisk(m_quadricLineOfSightTop1, 0, 0.025, 32, 8);
}
glPopMatrix();
glPushMatrix();
{
glTranslatef(0.0, 0.0, 5.0);
glTranslatef(0.0, 0.0, 5.01);
gluDisk(m_quadricLineOfSightTop2, 0, 0.025, 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