summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-07-06 17:00:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-07-06 17:00:32 +0200
commitf822e5e1217fd0a44e17e7a0d39e115095270cc0 (patch)
tree6068baa63fe03f7f63a11b77188b027a81305a33 /facetracknoir/tracker.h
parentfec421b3a47055e1d819c7fb34aabae040aade03 (diff)
Use double precision consistently
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h4
1 files 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 {