summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker_types.cpp
diff options
context:
space:
mode:
authormm0zct <the_cartographer@hotmail.com>2013-06-29 19:26:59 +0100
committermm0zct <the_cartographer@hotmail.com>2013-06-29 19:26:59 +0100
commit5368b98cd09f61a1e3344efed9ad90ac9989726e (patch)
tree9dcf4c45582087a5bbac2d0c00cb61f0f90afde8 /facetracknoir/tracker_types.cpp
parent8ab86902935f402c4ab529741a0afa5baf972ca1 (diff)
Merged in fixes to hydra and rift code, along with a bug in the pitch inversion of FTNoIR itself.
Also added an include directory the Rift needs which was absent before.
Diffstat (limited to 'facetracknoir/tracker_types.cpp')
-rw-r--r--facetracknoir/tracker_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker_types.cpp b/facetracknoir/tracker_types.cpp
index 11adc985..89a06d7e 100644
--- a/facetracknoir/tracker_types.cpp
+++ b/facetracknoir/tracker_types.cpp
@@ -13,10 +13,10 @@ T6DOF operator-(const T6DOF& A, const T6DOF& B)
T6DOF C;
R_C.toEuler(C.axes[Yaw], C.axes[Pitch], C.axes[Roll]);
+ R_C.toEuler(C.axes[Yaw], C.axes[Pitch], C.axes[Roll]);
C.axes[Yaw] *= R2D;
C.axes[Pitch] *= R2D;
C.axes[Roll] *= R2D;
-
C.axes[TX] = A.axes[TX] - B.axes[TX];
C.axes[TY] = A.axes[TY] - B.axes[TY];
C.axes[TZ] = A.axes[TZ] - B.axes[TZ];