Contents

interpolated(towards:amount:)

Returns this value interpolated with other by the specified amount.

Declaration

func interpolated(towards other: Self, amount: Double) -> Self

Discussion

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

See Also

Manipulating values