Contents

interpolate(towards:amount:)

Interpolates this value with other by the specified amount.

Declaration

mutating func interpolate(towards other: Self, amount: Double)

Discussion

This is equivalent to self = self + (other - self) * amount.

See Also

Manipulating values