aoc::year2019::day10

Function 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.