From 107570e6288d266825724010a6f0149eaaac40db Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 21 Sep 2016 12:01:43 +0200 Subject: many: remove compat/pi-constant.hpp With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission. --- tracker-pt/ftnoir_tracker_pt_settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-pt/ftnoir_tracker_pt_settings.h') diff --git a/tracker-pt/ftnoir_tracker_pt_settings.h b/tracker-pt/ftnoir_tracker_pt_settings.h index b3f9e402..e742fbbc 100644 --- a/tracker-pt/ftnoir_tracker_pt_settings.h +++ b/tracker-pt/ftnoir_tracker_pt_settings.h @@ -8,10 +8,11 @@ #pragma once -#include "compat/pi-constant.hpp" #include #include +#include + namespace pt_types { using f = double; @@ -19,7 +20,6 @@ namespace pt_types { { constants() = delete; static constexpr f eps = std::numeric_limits::epsilon(); - static constexpr f pi = OPENTRACK_PI; }; template using vec = cv::Vec; -- cgit v1.2.3