diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-12-20 23:25:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-12-20 23:27:20 +0100 |
commit | 15f66b14de5e1bf3ecff0450040c8e1ddb77116a (patch) | |
tree | 3b297162fe542d8857e16c1189c4101084d7728a /opentrack/tracker.h | |
parent | d3f6ebf7eb69bc9e7508192e1aba58869589409e (diff) |
apply r/t compensation before mapping translation values
Suggested-by: @FlyingCircus-
Issue: #106
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r-- | opentrack/tracker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h index 58eb69dd..ace9fa3c 100644 --- a/opentrack/tracker.h +++ b/opentrack/tracker.h @@ -37,7 +37,7 @@ private: dmat<3, 3> r_b; double t_b[3]; - double map(double pos, bool invertp, Mapping& axis); + double map(double pos, Mapping& axis); void logic(); void t_compensate(const dmat<3, 3>& rmat, const double* ypr, double* output, bool rz); |