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

Always show normal

parent e3e65355
No related branches found
No related tags found
No related merge requests found
......@@ -332,8 +332,7 @@ void PulsarAnimationWidget::paintGL()
glRotatef(m_pulsarSpinAxisInclination, 1.0, 0.0, 0.0);
glRotatef(-45, 1.0, 0.0, 0.0);
// draw spin axis
if(m_showRotationAxes) {
// draw source plane normal
glColor3f(1.0f, 0.0f, 0.0f);
glPushMatrix();
{
......@@ -378,7 +377,6 @@ void PulsarAnimationWidget::paintGL()
glEnd();
}
glPopMatrix();
}
// draw disc
glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, translucent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment