Function advent_of_code_2021::day_17::is_hit [−][src]
fn is_hit(
(pos_x, pos_y): (isize, isize),
(dx, dy): (isize, isize),
((x1, x2), (y1, y2)): ((isize, isize), (isize, isize))
) -> boolExpand description
Determine if a given trajectory hits the target by recursively stepping through the co-ordinates it covers.
