fn get_filtered_intersection( ints: impl Iterator<Item = (f32, Vec2)>, dir: Dir, curr_idx: f32, ) -> Option<(f32, Vec2)>