absolute movement
authorMjolnir <thomas.pietrzak@inria.fr>
Mon, 7 Sep 2015 12:51:38 +0000 (14:51 +0200)
committerMjolnir <thomas.pietrzak@inria.fr>
Mon, 7 Sep 2015 12:51:38 +0000 (14:51 +0200)
Test/mainwindow.cpp

index aff38fc427f25c04ff04107915dc1349e355c417..e839829fc196c9e90d0f256ced43aad7d9813d8c 100644 (file)
@@ -114,6 +114,9 @@ void MainWindow::translateScreen()
             screen->translation(LivingScreen::RIGHT, distance);
         else
             screen->translation(LivingScreen::LEFT, -distance);
+
+        int n = screen->getPosition();
+        qDebug() << "Position: " << n;
     }
 }