lerpComputes the linear interpolation between two values.
firstThe initial value.
secondThe final value.
fractionThe interpolation fraction. A value of 0 returns the initial value, a value of 1 returns the final value, while any other value returns the relative position on the line joining the two values.
interpolatedThe interpolated value.