euclidean static method
dynamic
euclidean(
- dynamic dx,
- dynamic dy
Euclidean distance. @param {number} dx - Difference in x. @param {number} dy - Difference in y. @return {number} sqrt(dx * dx + dy * dy)
Implementation
static euclidean(dx, dy) {
return sqrt(dx * dx + dy * dy);
}