From f822e5e1217fd0a44e17e7a0d39e115095270cc0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 6 Jul 2013 17:00:32 +0200 Subject: Use double precision consistently --- facetracknoir/tracker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index 5500993c..de894cf5 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -96,12 +96,12 @@ public: altp = iniFile.value(secondary).toBool(); iniFile.endGroup(); } - float headPos; // Current position (from faceTracker, radials or meters) + double headPos; // Current position (from faceTracker, radials or meters) float invert; // Invert measured value (= 1.0f or -1.0f) FunctionConfig curve; // Function to translate input -> output FunctionConfig curveAlt; bool altp; - float zero; + double zero; }; class Tracker : public QThread { -- cgit v1.2.3