summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-10 03:52:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-10 03:52:19 +0100
commitc298ec1126f1ec8fbf01e5619c5a4b0a30a222c2 (patch)
tree4db94016922083ae43ee720d1c98e33584bcd249 /ftnoir_tracker_hydra
parent83997336c88f75cc183eb7ccdb7ae002be9b0fac (diff)
remove return value from GiveHeadPoseData
Diffstat (limited to 'ftnoir_tracker_hydra')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp4
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
index 86ca8888..11a3e0fb 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
@@ -66,7 +66,7 @@ void Hydra_Tracker::StartTracker(QFrame*)
}
-bool Hydra_Tracker::GiveHeadPoseData(double *data)
+void Hydra_Tracker::GiveHeadPoseData(double *data)
{
sixenseSetActiveBase(0);
@@ -109,8 +109,6 @@ bool Hydra_Tracker::GiveHeadPoseData(double *data)
if (bEnableRoll) {
data[Roll] = newHeadPose[Roll] * 57.295781f;
}
-
- return true;
}
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
index 3daaf239..6e40b710 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
@@ -12,7 +12,7 @@ public:
~Hydra_Tracker();
void StartTracker(QFrame *) virt_override;
- bool GiveHeadPoseData(double *data) virt_override;
+ void GiveHeadPoseData(double *data) virt_override;
void loadSettings();
volatile bool should_quit;
protected: