Skip to content

DallasC/bam3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bam3d

This library provides 3d collision detection primitives, bounding volumes and collision detection algorithms using glam.

If you need 2d collision detection check out bam2d

Features

The library provides:

  • a generic ray: Ray
  • a plane type: Plane
  • a view frustum: Frustum
  • axis-aligned bounding boxes: Aabb3
  • oriented bounding boxes: Obb3
  • additional bounding volumes: Sphere, Cylinder
  • collision primitives: Sphere, Circle, Rectangle, Cuboid, Particle, Convex Polygon, Convex Polyhedra
  • a dynamic bounding volume tree (DBVT)
  • broad phase collision detection: Sweep and Prune
  • discrete narrow phase collision detection: GJK (including EPA for manifold computation)
  • continuous narrow phase collision detection: GJK
  • convex shape distance computation: GJK

Examples

Right now the docs are probably are all there is. I'll hopefully be able to add some examples soontm.

Cedits

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.

About

Rust 3d collision detection using glam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages