summaryrefslogtreecommitdiffhomepage
path: root/logic
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 /logic
parent288d9d1024e08b203e06a01cb23b0e971c78c260 (diff)
matrix -> euler: prevent gimbal lock multiple solutions harder
Diffstat (limited to 'logic')
-rw-r--r--logic/tracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/tracker.h b/logic/tracker.h
index 4295822e..754a836c 100644
--- a/logic/tracker.h
+++ b/logic/tracker.h
@@ -99,7 +99,7 @@ private:
static constexpr double d2r = M_PI / 180.;
// note: float exponent base is 2
- static constexpr double c_mult = 4;
+ static constexpr double c_mult = 16;
static constexpr double c_div = 1./c_mult;
public:
Tracker(Mappings& m, SelectedLibraries& libs, TrackLogger& logger);