distanceTo method
Distance to another position in normalized space
Implementation
double distanceTo(NmGalaxyPoint other) {
final dx = x - other.x;
final dy = y - other.y;
return math.sqrt(dx * dx + dy * dy);
}
Distance to another position in normalized space
double distanceTo(NmGalaxyPoint other) {
final dx = x - other.x;
final dy = y - other.y;
return math.sqrt(dx * dx + dy * dy);
}