Expand description
A simple 2D collision detection library supporting simple primitive shapes only,
and that is suitable for development on no_std
targets.
§Features
std
: (enabled by default) enable use of the standard library. Must be disabled forno_std
crates.aabb
: (enabled by default) Axis-Aligned Bounding Box (Aabb
) shapelibm
: Uselibm
for math. This is notably necessary for some features to work onno_std
Structs§
- Aabb
aabb
- Axis-Aligned Bounding Box
Traits§
- Collides
- Trait implemented by shapes that can be checked for collisions with shapes of type
S
- Penetration
- Trait implemented by shapes that can check for penetration into other shapes of type
S