Function aoc::year2023::day14::tilt

source ยท
fn tilt(
    rounded: &mut [i16],
    fixed: &[i16],
    roll: &[i16],
    direction: i16,
) -> Vec<i16>
Expand description

Very fast calculation of new state after tilting in the specified direction.