Commit 29c1820b authored by Oliver Bock's avatar Oliver Bock

Show line of sight of observer to be incident on pulsar (not as an axis)

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