diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-20 08:18:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-20 08:18:26 +0200 |
commit | c493d41232c9b880486678645a01bcb43ed0d999 (patch) | |
tree | e1ff77831de6339a670bfe428e0959bf0ff4c669 /opentrack-logic/tracker.cpp | |
parent | 1a95ca4dc340c246636aba1d1d8c8a7d7cd86e24 (diff) |
logic/tracker: doesn't make sense to apply camera offset to rotation
Diffstat (limited to 'opentrack-logic/tracker.cpp')
-rw-r--r-- | opentrack-logic/tracker.cpp | 4 |
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); |