LinearInterpolation
LinearInterpolation.swift:2protocol LinearInterpolation
Requirements
Instance members
func lerp(to: Self, weight: any BinaryFloatingPoint
) -> Self Linearly interpolate from self to the given value considering the weight. ‘0’ would return ‘self’ ‘1’ would return the ‘to’ value