summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_udp/ftnoir_tracker_udp.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:45:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:45:07 +0200
commit351e844f6a3c5484acfcf4fb0154bcab6f1780a0 (patch)
treee2b1fcb041ae3b763120e3ffb134d529006b0cb2 /ftnoir_tracker_udp/ftnoir_tracker_udp.h
parent29cf8b9ddf89a42d72ca1c0fbdc9fa93f0c5d189 (diff)
Don't use axes as class/struct members. Use an array instead, and iterate over them where applicable.
Diffstat (limited to 'ftnoir_tracker_udp/ftnoir_tracker_udp.h')
-rw-r--r--ftnoir_tracker_udp/ftnoir_tracker_udp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.h b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
index d60b27a4..ccb42ac1 100644
--- a/ftnoir_tracker_udp/ftnoir_tracker_udp.h
+++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
@@ -16,7 +16,7 @@ public:
~FTNoIR_Tracker();
void StartTracker( QFrame *videoframe );
- bool GiveHeadPoseData(THeadPoseData *data);
+ bool GiveHeadPoseData(double *data);
void loadSettings();
volatile bool should_quit;
void WaitForExit() {
@@ -34,7 +34,7 @@ private:
QHostAddress destIP; // Destination IP-address
QHostAddress srcIP; // Source IP-address
- THeadPoseData newHeadPose; // Structure with new headpose
+ double newHeadPose[6]; // Structure with new headpose
float portAddress; // Port-number
bool bEnableRoll;