chebyshev static method
dynamic
chebyshev(
- dynamic dx,
- dynamic dy
Chebyshev distance. @param {number} dx - Difference in x. @param {number} dy - Difference in y. @return {number} max(dx, dy)
Implementation
static chebyshev(dx, dy) {
return max<num>(dx, dy);
}