summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift
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_rift
parent83997336c88f75cc183eb7ccdb7ae002be9b0fac (diff)
remove return value from GiveHeadPoseData
Diffstat (limited to 'ftnoir_tracker_rift')
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp3
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
index 4816cea4..c3b313ca 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
@@ -68,7 +68,7 @@ void Rift_Tracker::StartTracker(QFrame*)
}
-bool Rift_Tracker::GiveHeadPoseData(double *data)
+void Rift_Tracker::GiveHeadPoseData(double *data)
{
if (pSFusion != NULL && pSensor != NULL) {
Quatf hmdOrient = pSFusion->GetOrientation();
@@ -113,7 +113,6 @@ bool Rift_Tracker::GiveHeadPoseData(double *data)
data[Roll] = newHeadPose[Roll] * 57.295781f;
}
}
- return pSensor != NULL;
}
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h
index 7a4533d3..33e6f5cd 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h
@@ -15,7 +15,7 @@ public:
virtual ~Rift_Tracker() virt_override;
void StartTracker(QFrame *) virt_override;
- bool GiveHeadPoseData(double *data) virt_override;
+ void GiveHeadPoseData(double *data) virt_override;
void loadSettings();
virtual int preferredHz() virt_override { return 250; }
volatile bool should_quit;