fn is_line_of_sight_blocked_right_slightly_up(
to: Coord,
is_rock: impl Fn(Coord) -> bool,
) -> boolExpand description
Works for line of sights from (0, 0) to (to.x, to.y), where to.y <= to.x (angles between 0 and 45°). Assumes (0, 0) and (to.x, to.y) are non-rock tiles.