operator - method

AxisDirection operator -(
  1. AxisDirection direction
)

Counter rotates this direction, where AxisDirection.up is the origin.

Implementation

AxisDirection operator-(AxisDirection direction) =>
  AxisDirection.values[(index - direction.index) % 4];