interpolate(towards:amount:)
Interpolates this value with other by the specified amount.
Declaration
@export(implementation) mutating func interpolate(towards other: Self, amount: Double)Discussion
This is equivalent to self = self + (other - self) * amount.