17 AValueSmoother(
const T& current,
const T& smoothK = 0.5) noexcept
24 AValueSmoother() noexcept
31 T nextValue(T value)
noexcept
33 auto delta = glm::abs(mCurrent - value);
34 auto toAdd = (value - mCurrent) * mSmoothK;
35 if (delta < glm::abs(toAdd)) {
44 void setCurrent(T value)
noexcept
49 T getCurrent()
noexcept
54 void setK(T k)
noexcept