moveToWithSlowdown
fn
float moveToWithSlowdown(float from, float to, float delta, float slowdown) @trusted @safe nothrow @nogcMoves from toward to by delta each step, decelerating as it approaches using slowdown. A slowdown value around 0.1 gives a natural deceleration feel.
fn
Vec2 moveToWithSlowdown(Vec2 from, Vec2 to, Vec2 delta, float slowdown) @trusted @safe nothrow @nogcMoves from toward to per component by delta, decelerating as it approaches using slowdown. A slowdown value around 0.1 gives a natural deceleration feel.