| 91 | } |
| 92 | |
| 93 | static double dist(const DVector2& a, const DVector2& b) |
| 94 | { |
| 95 | // We only need to know if it's 1 or higher, so this is enough. |
| 96 | return fabs(a.X - b.X) + fabs(a.Y - b.Y); |
| 97 | } |
| 98 | |
| 99 | |
| 100 | using cmp = bool(*)(double, double); |
no test coverage detected