calculateRotation
Common
fun PointerEvent.calculateRotation(): Float
Returns the rotation, in degrees, of the pointers between the PointerInputChange.previousPosition and PointerInputChange.position states. Only the pointers that are down in both previous and current states are considered.
Example Usage: