diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-25 18:56:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-25 18:56:31 +0200 |
commit | ab23b322e575474856620c4bb92bb95aed2f3e69 (patch) | |
tree | 35c9d4c223e10be9c8c8b928f3ac87b66eac2815 /facetracknoir | |
parent | 4580abddc3f40aa07da5d7fd8239b4d0e6c852f2 (diff) |
Axis inversion was broken since refactor. How embarassing!
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.h | 19 |
1 files changed, 18 insertions, 1 deletions
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();
|