Commit 9ae59e9c authored by Oliver Bock's avatar Oliver Bock
Browse files

Alas! Needed to add Earth's inclination angle as a workaround for the source!

parent b41c9409
......@@ -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);
......
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