Sophie

Sophie

distrib > Arklinux > devel > x86_64 > by-pkgid > 394b34802b21a7d11a7e4f0b864d6fe7 > files > 1

kdeartwork-4.6.80-1ark.src.rpm

--- kdeartwork-4.6.80/kscreensaver/kdesavers/rotation.cpp.ark	2011-06-11 20:37:17.105845098 +0200
+++ kdeartwork-4.6.80/kscreensaver/kdesavers/rotation.cpp	2011-06-11 20:41:07.915839495 +0200
@@ -354,7 +354,7 @@ void RotationGLWidget::paintGL(void)
    glPushMatrix();
    // calculate the transform which rotates the unit z vector onto omega
    glLoadMatrixd(
-      Transform<double,3>(
+      Transform<double,3,Affine>(
          Quaternion<double>()
          .setFromTwoVectors(Vector3d::UnitZ(), m_saver.omega())
          .toRotationMatrix())
@@ -371,7 +371,7 @@ void RotationGLWidget::paintGL(void)
    // create transformation/rotation matrix from the body and its unit axes
    glPushMatrix();
    glLoadMatrixd(
-      Transform<double,3>(m_saver.e().front())
+      Transform<double,3,Affine>(m_saver.e().front())
       .data());
 
    // draw the body unit axis
--- kdeartwork-4.6.80/kscreensaver/kdesavers/SolarWinds.cpp.ark	2011-06-11 20:42:53.275836911 +0200
+++ kdeartwork-4.6.80/kscreensaver/kdesavers/SolarWinds.cpp	2011-06-11 20:43:02.409170025 +0200
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <time.h>
 #include <qtimer.h>
+#include <GL/glu.h>
 #include "SolarWinds.h"
 #include "SolarWinds.moc"