isRotationCounterClockwise method
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;
Returns true if the given rotation
represents a counter-clockwise movement
from the 0° axis, or false otherwise.
bool isRotationCounterClockwise(Rotation rotation) => rotation.degrees >= 0;