Skip to main content

box2d

Function box2d 

Source
pub fn box2d(dims: (usize, usize)) -> Result<Kernel2D>
Expand description

Build a normalized 2D box PSF.

dims is (height, width).

ยงErrors

Returns an error when either dimension is 0.