Contents

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 : VectorArithmetic

See Also

Getting spring state