]> git.sesse.net Git - nageru/commit
Whenever the speed changes, ease into it over the next 200 ms.
authorSteinar H. Gunderson <steinar+nageru@gunderson.no>
Wed, 11 Mar 2020 20:30:15 +0000 (21:30 +0100)
committerSteinar H. Gunderson <steinar+nageru@gunderson.no>
Sat, 14 Mar 2020 22:44:17 +0000 (23:44 +0100)
commit10343a951dc058a6706c0c2158bbc06544ee1cd9
tree2056af689415a113bbd3d41fc7b0b5af01c83bf8
parent8919e39eca6caa673bb7cde70dbd34fd1e484010
Whenever the speed changes, ease into it over the next 200 ms.

This causes a slight delay compared to the operator's wishes,
but that should hardly be visible, and it allows for somewhat
better behavior when we get very abrupt changes from the controller
(or the lock button suddenly is pressed) -- it's essentially
more of an interpolation. Even more importantly, it will allow us
to make a little trick to increase performance in the next patch
that would be somewhat more jerky without it.
futatabi/player.cpp