#bounding-box #built #fart #euclid #overlapping #collision-detection #axis-aligned-tree

fart-aabb

Axis-aligned bounding box (AABB) tree built on top of the euclid crate

2 unstable releases

0.4.0 Dec 19, 2019
0.3.0 Mar 21, 2019

#5 in #fart

21 downloads per month
Used in 2 crates

MIT/Apache

16KB
245 lines

Two dimensional axis-aligned bounding boxes (AABB) and AABB trees.

Used for fast-but-imprecise collision detection of shapes in a scene. Once candidates for collision are quickly found using an AABB tree, can determine if they precisely collide with a more expensive algorithm.


fart-aabb

2-dimensional axis-aligned bounding boxes (AABBs) and AABB trees built on top of euclid for fart. Provides fast-but-imprecise hit detection and intersection. The AABB trees can map from a bounding box to some other value, and let you iterate over all overlapping AABBs.

Dependencies

~640KB
~15K SLoC