Function aoc::year2021::day13::fold_horizontal

source ยท
fn fold_horizontal(x: i32, p: Point) -> Point
Expand description

Fold point at x coordinate, doing nothing if the point is to the left of the fold line.