|
group2 0.1.0
CSE 125 Group 2
|
BVH builder and swept-AABB-vs-triangle-mesh collision. More...
Namespaces | |
| namespace | physics |
| Pure physics math — no ECS types, no registry. | |
Functions | |
| void | physics::buildTriMeshBVH (WorldTriMesh &mesh) |
| Build the BVH for a WorldTriMesh. | |
| HitResult | physics::sweepAABBvsTriMesh (glm::vec3 halfExtents, glm::vec3 start, glm::vec3 end, const WorldTriMesh &mesh) |
| Sweep an AABB against a triangle mesh using BVH-accelerated SAT tests. | |
| void | physics::depenetrateAABBvsTriMesh (glm::vec3 &pos, glm::vec3 &vel, glm::vec3 halfExtents, const WorldTriMesh &mesh, float pushback=0.03125f) |
| Push an AABB out of a triangle mesh using per-triangle SAT MTV. | |
BVH builder and swept-AABB-vs-triangle-mesh collision.