summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h
index 047aedda..513c9b2c 100644
--- a/tracker-pt/ftnoir_tracker_pt.h
+++ b/tracker-pt/ftnoir_tracker_pt.h
@@ -33,8 +33,6 @@ class TrackerDialog_PT;
// Constantly processes the tracking chain in a separate thread
class Tracker_PT : public QThread, public ITracker
{
- static constexpr f pi = constants::pi;
-
Q_OBJECT
friend class camera_dialog;
friend class TrackerDialog_PT;
@@ -80,8 +78,8 @@ private:
volatile unsigned char commands;
volatile bool ever_success;
- static constexpr f rad2deg = f(180/OPENTRACK_PI);
- //static constexpr float deg2rad = float(OPENTRACK_PI/180);
+ static constexpr f rad2deg = f(180/M_PI);
+ //static constexpr float deg2rad = float(M_PI/180);
};
class TrackerDll : public Metadata