* Flips the X axis so 1 and 3 are swapped 0 and 2 will stay the same. * { 0, 3, 2, 1 } */
| 109 | * { 0, 3, 2, 1 } |
| 110 | */ |
| 111 | inline constexpr uint8_t directionFlipXAxis(const uint8_t direction) |
| 112 | { |
| 113 | return (direction * 3) % 4; |
| 114 | } |
| 115 | |
| 116 | static int32_t remapPositionToQuadrant(const PaintStruct& ps, uint8_t rotation) |
| 117 | { |
no outgoing calls
no test coverage detected