| 396 | } |
| 397 | |
| 398 | static inline bool cross_negative(direction a, direction b) { |
| 399 | if (a >= R) a = direction(a - 3); |
| 400 | if (b >= R) b = direction(b - 3); |
| 401 | return ((3 + b - a) % 3) == 2; |
| 402 | } |
| 403 | |
| 404 | static inline direction cross(direction a, direction b) { |
| 405 | if (a == b) meep::abort("bug - cross expects different directions"); |
no test coverage detected