From 9147e33c548fba3cf9baf267fc46517cabbbb487 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 24 Jan 2015 15:16:06 +0100 Subject: pt: make translation consistent with model position Issue: #106 --- ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index fdd59b6d..fc5e5b99 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -165,7 +165,7 @@ void Tracker::data(THeadPoseData *data) Affine X_GH = X_CM * X_MH; Matx33f R = X_GH.R * X_MH.R.t(); - Vec3f t = X_GH.t - X_MH.t; + Vec3f t = X_GH.t; // translate rotation matrix from opengl (G) to roll-pitch-yaw (E) frame // -z -> x, y -> z, x -> -y -- cgit v1.2.3