Function aoc::year2019::day10::distance

source ·
fn distance(point: Point) -> i32
Expand description

Euclidean distance squared. No need to take square root since we’re only interested in the relative distance.