summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-18 13:41:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-18 13:41:02 +0200
commitcf01be8027ad17087a984c2058141c0db4c790c4 (patch)
tree42622843a4dc928492336750f72882e21cae0162
parent3f0d1f20401f4d117f48e02233abd10b22535fdf (diff)
logic/tracker: fix accumulative tracker camera mode center
-rw-r--r--logic/tracker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 92c9bcbf..4229fa81 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -172,6 +172,9 @@ void Tracker::logic()
scaled_rotation.rotation = rmat::eye();
real_rotation.rotation = rmat::eye();
+ scaled_rotation.center_roll = rmat::eye();
+ scaled_rotation.center_yaw = rmat::eye();
+ scaled_rotation.center_pitch = rmat::eye();
}
else
{