summaryrefslogtreecommitdiffhomepage
path: root/proto-flightgear
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:47:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 16:51:51 +0200
commite36f509d2459ca74c0dc7fe2e8ea2275b88f0649 (patch)
tree2f62ae2004ef9fb2dcaceb7ded7bd404e41bbd92 /proto-flightgear
parent4063f006285db0473046bde645f236c814460eb0 (diff)
api: expose raw data to protocols
Issue: #975
Diffstat (limited to 'proto-flightgear')
-rw-r--r--proto-flightgear/ftnoir_protocol_fg.cpp2
-rw-r--r--proto-flightgear/ftnoir_protocol_fg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-flightgear/ftnoir_protocol_fg.cpp b/proto-flightgear/ftnoir_protocol_fg.cpp
index 4c2156ac..d777d801 100644
--- a/proto-flightgear/ftnoir_protocol_fg.cpp
+++ b/proto-flightgear/ftnoir_protocol_fg.cpp
@@ -13,7 +13,7 @@
// For Todd and Arda Kutlu
-void flightgear::pose(const double* headpose) {
+void flightgear::pose(const double* headpose, const double*) {
FlightData.x = -headpose[TX] * 1e-2;
FlightData.y = headpose[TY] * 1e-2;
FlightData.z = headpose[TZ] * 1e-2;
diff --git a/proto-flightgear/ftnoir_protocol_fg.h b/proto-flightgear/ftnoir_protocol_fg.h
index 4b4efa29..3a08b546 100644
--- a/proto-flightgear/ftnoir_protocol_fg.h
+++ b/proto-flightgear/ftnoir_protocol_fg.h
@@ -44,7 +44,7 @@ class flightgear : TR, public IProtocol
Q_OBJECT
public:
- void pose(const double *headpose) override;
+ void pose(const double *headpose, const double*) override;
QString game_name() override { return tr("FlightGear"); }
module_status initialize() override;
private: