pub fn cell_coord(pos: i32) -> i32
Compute cell coordinate from world position (floor division).
Uses div_euclid to correctly handle all negative values including i32::MIN.
div_euclid
i32::MIN