summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-14 22:43:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-14 22:43:50 +0200
commit4c1b69ee6c4297d9e1b3ef2f68e3602f0479c702 (patch)
tree454caa49c45a697918167dead2655391e4875806 /ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
parent26e9257cc97e7496912254c945943bdc69d14007 (diff)
drop EZCA mode, pitch already up to 180
Diffstat (limited to 'ftnoir_protocol_ft/ftnoir_protocol_ft.cpp')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
index 107735e2..ae23be3c 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
@@ -50,7 +50,7 @@ FTNoIR_Protocol::~FTNoIR_Protocol()
void FTNoIR_Protocol::sendHeadposeToGame(const double* headpose) {
float yaw = getRadsFromDegrees(headpose[Yaw]);
- float pitch = getRadsFromDegrees(headpose[Pitch]) * (s.useDummyExe ? 2.0 : 1.0);
+ float pitch = getRadsFromDegrees(headpose[Pitch]);
float roll = getRadsFromDegrees(headpose[Roll]);
float tx = headpose[TX] * 10.f;
float ty = headpose[TY] * 10.f;