fn rotate_for_units(ori: u8, units: &Vec2<Vec2<i32>>) -> u8