From a63156fc2cddccf03c2e2959df50a2bcc0585f2a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 12 Oct 2014 16:08:53 +0200 Subject: fixup! comments only --- ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 5 +++-- ftnoir_tracker_rift/ftnoir_tracker_rift.h | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'ftnoir_tracker_rift') diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp index 4198a4b8..68a520ad 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp @@ -7,8 +7,7 @@ using namespace OVR; -Rift_Tracker::Rift_Tracker() : - should_quit(false), old_yaw(0), hmd(nullptr) +Rift_Tracker::Rift_Tracker() : old_yaw(0), hmd(nullptr) { } @@ -28,6 +27,8 @@ void Rift_Tracker::StartTracker(QFrame*) } else { + // XXX need change ITracker et al api to allow for failure reporting + // this qmessagebox doesn't give any relevant details either -sh 20141012 QMessageBox::warning(0,"FaceTrackNoIR Error", "Unable to start Rift tracker",QMessageBox::Ok,QMessageBox::NoButton); } } diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h index 158229a6..b862555c 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h @@ -27,13 +27,8 @@ class Rift_Tracker : public ITracker public: Rift_Tracker(); ~Rift_Tracker() override; - void StartTracker(QFrame *) override; void GetHeadPoseData(double *data) override; - volatile bool should_quit; -protected: - void run(); // qthread override run method - private: double old_yaw; ovrHmd hmd; -- cgit v1.2.3