diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-09 06:32:26 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-09 06:32:26 +0100 |
commit | 518c6e31dd19dd5a72d90adc021fbc512a082d6e (patch) | |
tree | 8c6cbfdb910dcefc0cd402c24e56256c9c05d1b9 /ftnoir_tracker_pt | |
parent | 75c6790f74739f7a8e20554ea4cf8ddbdc381b90 (diff) |
fix typos
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 2 |
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 6248b225..a76fdb78 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)); |