velocity(target:initialVelocity:time:)
Calculates the velocity of the spring at a given time given a target amount of change.
Declaration
func velocity<V>(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmeticCalculates the velocity of the spring at a given time given a target amount of change.
func velocity<V>(target: V, initialVelocity: V = .zero, time: TimeInterval) -> V where V : VectorArithmetic