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