Type Alias Rect

Source
pub type Rect = Rectangle;

Aliased Type§

pub struct Rect {
    pub c: Point3<f32>,
    pub u: [Vector3<f32>; 2],
    pub e: [f32; 2],
}

Fields§

§c: Point3<f32>

The center of the rectangle.

§u: [Vector3<f32>; 2]

The directions of the rectangle. Must be normalized.

§e: [f32; 2]

Half the lengths of each side of the rectangle.