Type Definition kdtree_ray::AABB[][src]

type AABB = [Vector3<f32>; 2];

Axis-aligned bounding box is defined by two positions.

Note: The first position is expected to be the minimum bound and the second the maximum bound.

The animated GIF below shows a graphic example of an AABB that adapts its size to fit the rotating entity. The box constantly changes dimensions to snugly fit the entity contained inside.

Gif describing an AABB