* Increment the direction by 90 degrees. * @param dir Direction to rotate. * @return Rotated direction, possibly >= DIR2_END. */
| 101 | * @return Rotated direction, possibly >= DIR2_END. |
| 102 | */ |
| 103 | static inline Direction2 increment90(Direction2 dir) |
| 104 | { |
| 105 | return increment45(dir, 2); |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Increment the direction by 45 degrees. |
no test coverage detected