From ab23b322e575474856620c4bb92bb95aed2f3e69 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Apr 2013 18:56:31 +0200 Subject: Axis inversion was broken since refactor. How embarassing! --- facetracknoir/facetracknoir.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'facetracknoir/facetracknoir.h') diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h index a9fc75b5..180db87b 100644 --- a/facetracknoir/facetracknoir.h +++ b/facetracknoir/facetracknoir.h @@ -212,7 +212,24 @@ private: void showCurveConfiguration(); void setInvertAxis( Axis axis, int invert ); - + void setInvertYaw(int invert) { + setInvertAxis(RX, invert); + } + void setInvertPitch(int invert) { + setInvertAxis(RY, invert); + } + void setInvertRoll(int invert) { + setInvertAxis(RZ, invert); + } + void setInvertX(int invert) { + setInvertAxis(TX, invert); + } + void setInvertY(int invert) { + setInvertAxis(TY, invert); + } + void setInvertZ(int invert) { + setInvertAxis(TZ, invert); + } void showHeadPose(); void startTracker(); -- cgit v1.2.3