towardsLinear

fun towardsLinear(other: Rotation, horizontalFactor: Float, verticalFactor: Float): Rotation

Calculates a new rotation that is closer to the other rotation by a limiting factor of horizontalFactor and verticalFactor, which should be between 0 and 180 degrees.