Skip to main content

grid_u32_ceil

Function grid_u32_ceil 

Source
pub fn grid_u32_ceil(px: f32) -> u32
Expand description

A world-space extent in whole grid cells, rounded up so the cell count always fully encloses the extent, and clamped to at least one cell per axis.