fn to_cell_pos(wpos: Vec2<f32>) -> Vec2<f32>
Expand description

Transforms a world position to cell coordinates. Where (0.0, 0.0) in cell coordinates is the center of the weather cell located at (0, 0) in the grid.