isRotationCounterClockwise method

bool isRotationCounterClockwise(
  1. Rotation rotation
)
override

Returns true if the given rotation represents a counter-clockwise movement from the 0° axis, or false otherwise.

Implementation

bool isRotationCounterClockwise(Rotation rotation) => rotation.degrees >= 0;