summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-03 11:51:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-03 12:00:00 +0200
commite30583e65948eb7b638f6311e0325f9fa5e71572 (patch)
treecdd8b728cce693cc3b6d99433aa5d881a33c907b /logic
parent8918cc6943ac27946b9d503276074d34364dcca0 (diff)
logic/simple-mat: fix tait-bryan pitch axis swappage
Broke experimental camera centering option.
Diffstat (limited to 'logic')
-rw-r--r--logic/simple-mat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/simple-mat.cpp b/logic/simple-mat.cpp
index f9ed8613..24a2d69e 100644
--- a/logic/simple-mat.cpp
+++ b/logic/simple-mat.cpp
@@ -74,7 +74,7 @@ void OPENTRACK_LOGIC_EXPORT tait_bryan_to_matrices(const euler_t& input,
}
{
- const double theta = -input(1);
+ const double theta = input(1);
const double sin_theta = sin(theta);
const double cos_theta = cos(theta);