Commit 21db0b15 authored by Oliver Bock's avatar Oliver Bock

Set camera's up-vector statically to y-axis

* Seems to fix pan/tilt control
* Tilt probably needs some fine tuning in boundary check/handling
parent 1fb916f0
......@@ -117,7 +117,7 @@ void PulsarAnimationWidget::paintGL()
gluLookAt(m_cameraPosX, m_cameraPosY, m_cameraPosZ,
0.0, 0.0, 0.0,
0.0, 2.0, -5.0);
0.0, 1.0, 0.0);
// TODO: should be located elsewhere
static GLfloat no_mat[] = { 0.0, 0.0, 0.0, 1.0 };
......
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