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

Fixed source position, inclination and iota (face rotation)

parent 117adb5f
......@@ -322,13 +322,15 @@ void PulsarAnimationWidget::paintGL()
{
glTranslatef(3.0,
3.0,
0.0);
-3.0);
glRotatef(-30, 0.0, 1.0, 0.0);
glRotatef(90, 1.0, 0.0, 0.0);
glPushMatrix();
{
glRotatef(m_pulsarSpinAxisInclination, 0.0, 0.0, 1.0);
glRotatef(m_pulsarRotationAngle, 0.0, 1.0, 0.0);
glRotatef(90, 1.0, 0.0, 0.0);
glRotatef(m_pulsarSpinAxisInclination, 1.0, 0.0, 0.0);
glRotatef(-45, 1.0, 0.0, 0.0);
// draw spin axis
if(m_showRotationAxes) {
......
Supports Markdown
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