[][src]Function rust_3d::rectangle

pub fn rectangle<P>(
    center: &P,
    width: Positive,
    height: Positive
) -> PointCloud2D<P> where
    P: IsBuildable2D

Creates a 2D rectangle from given center width and height