diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-15 21:30:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-15 21:30:52 +0100 |
commit | 2dd09018985cb714ea5e8a9bb7a110fb68625f2c (patch) | |
tree | 06bba86e107cc432bdcac6d4cd53a2b776c35ccb /proto-sc | |
parent | 9727f22f082fa1cef327f5213caf67efef06100f (diff) |
proto/simconnect: fix X position wrong sign
Reported-by: @mrsanchos Alexander Orokhovatskiy
Diffstat (limited to 'proto-sc')
-rw-r--r-- | proto-sc/ftnoir_protocol_sc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-sc/ftnoir_protocol_sc.cpp b/proto-sc/ftnoir_protocol_sc.cpp index d60ab3fe..c8df0443 100644 --- a/proto-sc/ftnoir_protocol_sc.cpp +++ b/proto-sc/ftnoir_protocol_sc.cpp @@ -65,7 +65,7 @@ void simconnect::pose( const double *headpose ) { virtSCRotZ = float(headpose[Roll]); // cm to meters - virtSCPosX = float(headpose[TX]/100); + virtSCPosX = float(-headpose[TX]/100); virtSCPosY = float(headpose[TY]/100); virtSCPosZ = float(-headpose[TZ]/100); } |