operator + method
Rotates this direction, where AxisDirection.up is the origin.
Implementation
AxisDirection operator+(AxisDirection direction) =>
AxisDirection.values[(index + direction.index) % 4];
Rotates this direction, where AxisDirection.up is the origin.
AxisDirection operator+(AxisDirection direction) =>
AxisDirection.values[(index + direction.index) % 4];