diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-23 11:40:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-23 11:40:50 +0100 |
commit | 0eb3a597d068635f12214e8b1f5d9647c35a7707 (patch) | |
tree | e1a1106c97923d884af95fd2dec92bcef31d0f91 /spline-widget | |
parent | b30e1244a3367bc796aa6e82ef057e210844b29b (diff) |
spline-widget: add more buckets for Accela interpolation
The rotation gain wasn't accurate enough with the previous
value.
Diffstat (limited to 'spline-widget')
-rw-r--r-- | spline-widget/spline.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp index b79263ec..37789c00 100644 --- a/spline-widget/spline.hpp +++ b/spline-widget/spline.hpp @@ -56,7 +56,7 @@ class OPENTRACK_SPLINE_EXPORT spline final std::vector<float> data; using interp_data_t = decltype(data); - static constexpr int value_count = 2048; + static constexpr int value_count = 4096; MyMutex _mutex; QPointF last_input_value; |