summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-09 07:08:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-09 07:08:50 +0100
commit97f257e575e5de5557afdb0e1cd7a2c7492f56d2 (patch)
tree3e16a75dca1f446683bcca1c4ae23a3d4ac3fe4d /ftnoir_tracker_pt
parent6e8543ca2888dfcc5f211375a5b44bb63ddb8442 (diff)
Revert "fix typos"
This reverts commit e74f029bf790342b1d3e0f11e5edf98c16946b08.
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
index a76fdb78..6248b225 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
@@ -175,7 +175,7 @@ void Tracker::data(THeadPoseData *data)
// extract rotation angles
float alpha, beta, gamma;
- beta = atan( -R(2,0) / (sqrt(R(2,1)*R(2,1) + R(2,2)*R(2,2))) );
+ beta = atan( -R(2,0) / sqrt(R(2,1)*R(2,1) + R(2,2)*R(2,2)) );
alpha = atan( R(1,0) / R(0,0));
gamma = atan( R(2,1) / R(2,2));