#aa-bb #tree #top #built #euclid #fart #axis-aligned

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 #euclid

Download history 3/week @ 2024-02-03 13/week @ 2024-02-10 15/week @ 2024-02-17 24/week @ 2024-02-24 3/week @ 2024-03-02 9/week @ 2024-03-09 2/week @ 2024-03-16 4/week @ 2024-03-23 45/week @ 2024-03-30 12/week @ 2024-04-06

64 downloads per month
Used in 2 crates

MIT/Apache

16KB
245 lines

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.


lib.rs:

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.

Dependencies

~635KB
~14K SLoC