summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080/ftnoir_tracker_rift_080.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-12 01:45:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-12 01:50:00 +0200
commite50e44a55d871f1d4bcafc20377291324d931286 (patch)
treec47e5bce515d551d4c0809518c786ca0558f62f4 /tracker-rift-080/ftnoir_tracker_rift_080.cpp
parent288d9d1024e08b203e06a01cb23b0e971c78c260 (diff)
matrix -> euler: prevent gimbal lock multiple solutions harder
Diffstat (limited to 'tracker-rift-080/ftnoir_tracker_rift_080.cpp')
-rw-r--r--tracker-rift-080/ftnoir_tracker_rift_080.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
index 98edcb4f..4218511d 100644
--- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
@@ -76,7 +76,7 @@ void rift_tracker_080::data(double *data)
ovrTrackingState ss = ovr_GetTrackingState(hmd, 0, false);
if (ss.StatusFlags & ovrStatus_OrientationTracked)
{
- static constexpr float c_mult = 8;
+ static constexpr float c_mult = 16;
static constexpr float c_div = 1/c_mult;
Vector3f axis;