Skip to main content

padded_dims

Function padded_dims 

Source
fn padded_dims(dims: [usize; 3], pad: [usize; 3]) -> [usize; 3]
Expand description

Padded grid: pad[a] voxels on both sides of axis a, plus one at the high end where that is odd.