diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-26 23:55:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-27 00:12:24 +0200 |
commit | 3d20e3159a634ec52fe496ffbbf8cfab7063d7e9 (patch) | |
tree | 479811e51f7299950d9e51469928dcc51b6d3c1d /ftnoir_protocol_ft | |
parent | 63e5d03cd8ccdb0c21d0b7e96bb08e656f1f99ca (diff) |
ft2: multiply right axis for "ezca mode"
Issue: #70
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp index 5c365697..107735e2 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp @@ -49,8 +49,8 @@ FTNoIR_Protocol::~FTNoIR_Protocol() } void FTNoIR_Protocol::sendHeadposeToGame(const double* headpose) { - float yaw = getRadsFromDegrees(headpose[Yaw]) * (s.useDummyExe ? 2.0 : 1.0); - float pitch = getRadsFromDegrees(headpose[Pitch]); + float yaw = getRadsFromDegrees(headpose[Yaw]); + float pitch = getRadsFromDegrees(headpose[Pitch]) * (s.useDummyExe ? 2.0 : 1.0); float roll = getRadsFromDegrees(headpose[Roll]); float tx = headpose[TX] * 10.f; float ty = headpose[TY] * 10.f; |