diff options
-rw-r--r-- | facetracknoir/tracker_types.cpp | 6 |
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;
}
|