diff options
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r-- | qfunctionconfigurator/functionconfig.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index bd8be140..f7930cb2 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -22,8 +22,10 @@ private: QList<QPointF> input; std::vector<float> data; }; - - static constexpr long MEMOIZE_PRECISION = 25; + + static constexpr int value_count = 9001; + + int precision() const; void reload(); float getValueInternal(int x); @@ -32,7 +34,7 @@ private: volatile bool activep; int max_x; int max_y; - + State cur, saved; public: int maxInput() const { return max_x; } |