diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-16 11:58:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-16 11:58:02 +0100 |
commit | 8cd2a4ee13a086759740dde22d03ab281fa55886 (patch) | |
tree | bc5f7ffab761ee5769aeb99b5fec27ce43be4c2a /tracker-tobii-eyex/tobii-settings.hpp | |
parent | d37bed91649d2acdd9a548cd52730a87d0a28d6d (diff) |
tracker/tobii: flush, but still broken
Needs the spline class to allow initializing itself from a function. Even if the
passed control points are correct, it still looks like shit. Presently they
aren't correct though. Need to work on linear approximation.
Diffstat (limited to 'tracker-tobii-eyex/tobii-settings.hpp')
-rw-r--r-- | tracker-tobii-eyex/tobii-settings.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tracker-tobii-eyex/tobii-settings.hpp b/tracker-tobii-eyex/tobii-settings.hpp index 4346a156..5c09b201 100644 --- a/tracker-tobii-eyex/tobii-settings.hpp +++ b/tracker-tobii-eyex/tobii-settings.hpp @@ -24,8 +24,7 @@ class rel_settings final : public QObject, public opts struct part { - int nparts; - double len, norm; + double len; functor f; }; @@ -33,7 +32,7 @@ class rel_settings final : public QObject, public opts public: using s = slider_value; - value<slider_value> speed, dz_len, expt_slope, expt_len, expt_norm, log_slope, log_len, log_norm; + value<slider_value> speed, dz_len, expt_slope, expt_len, expt_norm, log_len; spline acc_mode_spline; rel_settings(); double gain(double value); |