Function aoc::year2021::day13::fold_vertical

source ยท
fn fold_vertical(y: i32, p: Point) -> Point
Expand description

Fold point at y coordinate, doing nothing if the point is above the fold line.