pub fn clip_map(map: &mut RawMap, timer: &mut Timer<'_>)