summaryrefslogtreecommitdiffhomepage
path: root/logic/tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:00:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-18 17:05:12 +0200
commitac3878aaada9886de097aee7b0041468590f50d1 (patch)
tree237bf2dc5ee23bffbb87bed39caf1a22e0a7a09d /logic/tracker.cpp
parentcf01be8027ad17087a984c2058141c0db4c790c4 (diff)
logic/tracker: decomposed unscaled rotation isn't used anywhere
Diffstat (limited to 'logic/tracker.cpp')
-rw-r--r--logic/tracker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 4229fa81..db0deee4 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -182,10 +182,12 @@ void Tracker::logic()
scaled_rotation.center_roll,
scaled_rotation.center_pitch,
scaled_rotation.center_yaw);
+#if 0
euler::tait_bryan_to_matrices(rmat_to_euler(real_rotation.rotation),
real_rotation.center_roll,
real_rotation.center_pitch,
real_rotation.center_yaw);
+#endif
real_rotation.rot_center = real_rotation.rotation.t();
scaled_rotation.rot_center = scaled_rotation.rotation.t();
}