This library provides 3d collision detection primitives, bounding volumes and collision detection algorithms using glam.
If you need 2d collision detection check out bam2d
The library provides:
Ray
Plane
Frustum
Aabb3
Obb3
Sphere
, Cylinder
Sphere
, Circle
, Rectangle
, Cuboid
, Particle
, Convex Polygon
, Convex Polyhedra
DBVT
)Sweep and Prune
GJK
(including EPA
for manifold computation)GJK
GJK
Right now the docs are probably are all there is. I'll hopefully be able to add some examples soontm.
This started as a port of the excellent cgmath based collision library. If you or your dependency tree already use cgmath then it could be an excellent option.