Aabb

Type Alias Aabb 

Source
pub type Aabb = Aabb;
Expand description

An axis-aligned bounding box.

Aliased Type§

#[repr(C)]
pub struct Aabb { pub mins: OPoint<f32, Const<2>>, pub maxs: OPoint<f32, Const<2>>, }

Fields§

§mins: OPoint<f32, Const<2>>

The point with minimum coordinates (bottom-left-back corner).

Each component (x, y, z) should be less than or equal to the corresponding component in maxs.

§maxs: OPoint<f32, Const<2>>

The point with maximum coordinates (top-right-front corner).

Each component (x, y, z) should be greater than or equal to the corresponding component in mins.