advent_of_code_2024::day_8

Function sequence_from_antenna

source
fn sequence_from_antenna(
    (r, c): (usize, usize),
    (dr, dc): (isize, isize),
    (height, width): &(usize, usize),
) -> Vec<(usize, usize)>
Expand description

Extrapolate from a point along a delta whilst it’s within the bounds of the antenna map