summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp2
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
index 965e849b..7d567ca3 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
@@ -38,7 +38,7 @@ Rift_Tracker::~Rift_Tracker()
-void Rift_Tracker::StartTracker(QFrame* videoFrame)
+void Rift_Tracker::StartTracker(QFrame*)
{
loadSettings();
//
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h
index 970a64a2..6be18d0b 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h
@@ -1,9 +1,10 @@
+#pragma once
#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
#include "ui_ftnoir_rift_clientcontrols.h"
#include <QMessageBox>
#include <QSettings>
#include <QWaitCondition>
-#include <math.h>
+#include <cmath>
#include "facetracknoir/global-settings.h"
#include "OVR.h"
#include <memory>
@@ -13,7 +14,7 @@ public:
Rift_Tracker();
virtual ~Rift_Tracker();
- void StartTracker( QFrame *videoframe );
+ void StartTracker(QFrame *);
bool GiveHeadPoseData(double *data);
void loadSettings();
volatile bool should_quit;
@@ -48,7 +49,7 @@ public:
void showEvent ( QShowEvent * event );
void Initialize(QWidget *parent);
- void registerTracker(ITracker *tracker) {}
+ void registerTracker(ITracker *) {}
void unRegisterTracker() {}
private: