Import std.math.scalar
MoveTowards
function
Public Function MoveTowards<T>(current: T, target: T, maxDelta: T): T
Current moved toward target by maxDelta, or to target when it's no further: a negative
maxDelta moves it away.
Report an issue with this page or with FutureBlitz on GitHub.