summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 17:13:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 17:13:39 +0200
commitfd3a1fc78a7e0ebd178ea0567ca8eec0d25ac53f (patch)
treecd1825cea2c494858dbb8d6abd2e3fc59b854797 /facetracknoir/tracker.h
parente77e01d40232e129902d0f9fade49bf81ef082ae (diff)
Replace 'game zero' with settings zero-pose in the curves dialog
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 b1cae27f..0cd7c269 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -123,12 +123,14 @@ public:
}
headPos = 0.0f;
invert = 1;
+ zero = 0;
}
float headPos; // Current position (from faceTracker, radials or meters)
float invert; // Invert measured value (= 1.0f or -1.0f)
FunctionConfig* curvePtr; // Function to translate input -> output
FunctionConfig* curvePtrAlt;
bool altp;
+ float zero;
};
class Tracker : public QThread {
@@ -152,8 +154,6 @@ public:
void getHeadPose(double *data); // Return the current headpose data
void getOutputHeadPose(double *data); // Return the current (processed) headpose data
- float getDegreesFromRads ( float rads ) { return (rads * 57.295781f); }
- float getRadsFromDegrees ( float degrees ) { return (degrees * 0.017453f); }
volatile bool should_quit;
// following are now protected by hTrackMutex
volatile bool do_center; // Center head-position, using the shortkey