summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_rift')
-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;
}
}
}