This function performs a linear interpolation between two angles and returns the result.
Returns the result of the linear interpolation.