summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-07-28 12:32:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-07-28 12:32:52 +0200
commit83f757afdbaa6cf6f8ab7792e2543ae78ac6ecc9 (patch)
treea4648ed50b3c1ac35303991577fb06278d364acc
parentb3b44a7f8e6c1365a0c917517501866ac3c5f684 (diff)
rift: fix typo (XXX still unknown the unit of position)
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
index ba035467..031eff32 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
@@ -60,11 +60,11 @@ void Rift_Tracker::GetHeadPoseData(double *data)
if (s.bEnableRoll)
data[Roll] = roll * 57.295781f;
if (s.bEnableX)
- data[TX] = pose.Position.x * 1e-2;
+ data[TX] = pose.Position.x * 1e-3;
if (s.bEnableY)
- data[TY] = pose.Position.y * 1e-2;
+ data[TY] = pose.Position.y * 1e-3;
if (s.bEnableX)
- data[TZ] = pose.Position.z * 1e-2;
+ data[TZ] = pose.Position.z * 1e-3;
}
}
}