summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-20 08:18:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-20 08:18:26 +0200
commitc493d41232c9b880486678645a01bcb43ed0d999 (patch)
treee1ff77831de6339a670bfe428e0959bf0ff4c669 /opentrack-logic
parent1a95ca4dc340c246636aba1d1d8c8a7d7cd86e24 (diff)
logic/tracker: doesn't make sense to apply camera offset to rotation
Diffstat (limited to 'opentrack-logic')
-rw-r--r--opentrack-logic/tracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-logic/tracker.cpp b/opentrack-logic/tracker.cpp
index 39e70005..41b5c624 100644
--- a/opentrack-logic/tracker.cpp
+++ b/opentrack-logic/tracker.cpp
@@ -145,9 +145,9 @@ void Tracker::logic()
}
euler_t t(value(0), value(1), value(2));
- r = cam * r;
+ //r = cam * r;
- t_compensate(cam, t, t, true);
+ t_compensate(cam, t, t, false);
bool can_center = false;
const bool nan = is_nan(r, t);