updateRotation

fun updateRotation(rotation: Int, width: Int = viewportWidth, height: Int = viewportHeight)