function needsTurn(orientation, startDirection) {
  return !{
    t: /top/,
    r: /right/,
    b: /bottom/,
    l: /left/,
    h: /./,
    v: /./
  }[startDirection].test(orientation);
}
@typedef {import('../util/Types').Point} Point
@typedef {import('../util/Types').Rect} Rect