diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:08:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:08:53 +0200 |
commit | a63156fc2cddccf03c2e2959df50a2bcc0585f2a (patch) | |
tree | d83edbcbf1d4e74f772f1279bd45bafa3b6ee499 /ftnoir_tracker_rift | |
parent | 1a75017a4c7d11b997c604359600d92e7df108b3 (diff) |
fixup! comments only
Diffstat (limited to 'ftnoir_tracker_rift')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 5 | ||||
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.h | 5 |
2 files changed, 3 insertions, 7 deletions
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; |