Expand description
Auto-generated module structure
Structs§
- AabbGpu
- Axis-aligned bounding box for GPU collision passes.
- Broadphase
GpuKernel - Broadphase collision detection kernel (CPU mock of a GPU dispatch).
- BvhNode
Gpu - A single BVH node in GPU-friendly flat representation.
- Collision
GpuPipeline - Combined broadphase + narrowphase collision pipeline.
- Collision
Kernel Stats - Statistics for a single collision kernel dispatch.
- Collision
Pair - A pair of primitive indices that may be in contact.
- Contact
Cache Entry - A single entry in the contact cache for warmstarting.
- Contact
Result - Contact information produced by the narrowphase kernel.
- GjkResult
- Result of a GJK distance query.
- GpuAabb
Tree - Flat AABB tree (BVH) built with parallel bottom-up Morton-code construction.
- GpuBroadphase
- GPU-accelerated broadphase using Sort-and-Sweep (SAP).
- GpuBvh
Builder - Builds a flat BVH from a list of AABBs using Morton-code sorting.
- GpuCollision
Pipeline - Full GPU collision pipeline: broadphase (SAP) + narrowphase (GJK) + persistent contact cache with warmstarting.
- GpuContact
Cache - Persistent contact cache for GPU broadphase/narrowphase warmstarting.
- GpuNarrowphase
- GPU narrowphase kernel performing parallel GJK distance queries.
- Manifold
Point - A single contact point in the manifold.
- Narrowphase
GpuKernel - Narrowphase collision detection kernel (CPU mock with simplified GJK/SAT).
- Persistent
Manifold Gpu - Persistent 4-point contact manifold with warm-start impulse data.
Functions§
- morton_
code - Compute a 30-bit Morton code for a normalised 3-D position
(x, y, z), where each component is in[0, 1].