diff options
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h index 2cf63771..6a889f13 100644 --- a/tracker-pt/ftnoir_tracker_pt.h +++ b/tracker-pt/ftnoir_tracker_pt.h @@ -54,9 +54,9 @@ private: }; void set_command(Command command); void reset_command(Command command); - + bool get_focal_length(float &ret); - + volatile int commands; QMutex camera_mtx; @@ -70,11 +70,11 @@ private: settings_pt s; Timer time; cv::Mat frame; - + volatile bool ever_success; - static constexpr double rad2deg = 180.0/3.14159265; - static constexpr double deg2rad = 3.14159265/180.0; + static constexpr float rad2deg = float(180/3.14159265); + //static constexpr float deg2rad = float(3.14159265/180); }; class TrackerDll : public Metadata |