SpringInterpolatable
public protocol SpringInterpolatable : Equatable
-
Declaration
Swift
associatedtype ValueType : SpringInterpolatable -
Declaration
Swift
associatedtype VelocityType : VelocityProviding -
Declaration
Swift
var scaledIntegral: Self { get } -
Declaration
Swift
static func updateValue(spring: Spring, value: ValueType, target: ValueType, velocity: VelocityType, dt: TimeInterval) -> (value: ValueType, velocity: VelocityType)
SpringInterpolatable Protocol Reference