summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/ui.cpp2
-rw-r--r--gui/ui.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/ui.cpp b/gui/ui.cpp
index 2feb806b..35c7dd26 100644
--- a/gui/ui.cpp
+++ b/gui/ui.cpp
@@ -375,7 +375,7 @@ void MainWindow::stopTracker()
void MainWindow::display_pose(const double *mapped, const double *raw)
{
- ui.pose_display->rotateBy(mapped[Yaw], mapped[Pitch], mapped[Roll],
+ ui.pose_display->rotateBy(mapped[Yaw], -mapped[Pitch], -mapped[Roll],
mapped[TX], mapped[TY], mapped[TZ]);
if (mapping_widget)
diff --git a/gui/ui.h b/gui/ui.h
index 7509e318..7415d3d4 100644
--- a/gui/ui.h
+++ b/gui/ui.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2015, Stanislaw Halik <sthalik@misaki.pl>
+/* Copyright (c) 2013-2016, Stanislaw Halik <sthalik@misaki.pl>
* Permission to use, copy, modify, and/or distribute this
* software for any purpose with or without fee is hereby granted,