Type Alias Rectangle

Source
pub type Rectangle<F> = Cuboid<F, 2>;
Expand description

2D variant of the Cuboid

Aliased Type§

struct Rectangle<F> {
    pub min: [F; 2],
    pub max: [F; 2],
}

Fields§

§min: [F; 2]

Lower bounds of cuboid

§max: [F; 2]

Upper bounds of cuboid