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.
Interpolates this value with other by the specified amount.
mutating func interpolate(towards other: Self, amount: Double)This is equivalent to self = self + (other - self) * amount.