diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp index e333037e0ebc44a37c89cc2b30dbf34ef42118bf..993020f09806db605e7354e5d4d29e925454bcd1 100644 --- a/src/pulsaranimationwidget.cpp +++ b/src/pulsaranimationwidget.cpp @@ -357,6 +357,10 @@ void PulsarAnimationWidget::paintGL() // draw source glPushMatrix(); { + // The second rotation isn't right: + // -> should be around x-axis (not z) and not mess up source iota from below! + // -> does the x-axis not rotate with its object (around the first y-rotation)? + // -> putting them in their own matrix doesn't help either glRotatef(-31.384, 0.0, 0.0, 1.0); glRotatef(45.093, 0.0, 1.0, 0.0); @@ -364,7 +368,7 @@ void PulsarAnimationWidget::paintGL() glPushMatrix(); { - glRotatef(m_sourceInclination, 0.0, 0.0, 1.0); + glRotatef(m_sourceInclination+23.5, 0.0, 0.0, 1.0); glRotatef(180, 0.0, 1.0, 0.0); glRotatef(m_sourceIota, 0.0, 1.0, 0.0);