summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 06:15:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 06:15:04 +0200
commit5dd1e7b611901d65ac6e251144c84af2b4376d5b (patch)
treed56b21fc3ff6386705e1a63c0fa7173bb141b938 /facetracknoir
parentcdce0cbc574f7d44b823d9974f7438cfaccf04ac (diff)
Deal with more fallout from refactor
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/tracker_types.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/facetracknoir/tracker_types.cpp b/facetracknoir/tracker_types.cpp
index 82109952..eedd94f9 100644
--- a/facetracknoir/tracker_types.cpp
+++ b/facetracknoir/tracker_types.cpp
@@ -17,9 +17,9 @@ T6DOF operator-(const T6DOF& A, const T6DOF& B)
C.axes[RY] *= R2D;
C.axes[RZ] *= 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];
+ 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];
//C.frame_number?
return C;
}