Expand description
GPU collision detection extensions (CPU mock backend).
Provides additional broadphase and narrowphase utilities that complement
gpu_collision_detection:
GpuBroadphaseGrid: uniform-grid broadphaseGpuContactManifold: contact point storage- Free functions: AABB overlap, sphere overlap, point containment, ray-AABB / ray-sphere intersection, GJK distance estimate.
Structs§
- GpuBroadphase
Grid - A uniform-grid broadphase accelerator.
- GpuContact
Manifold - Contact manifold between two rigid bodies.
Functions§
- gpu_
aabb_ overlap - Test whether two axis-aligned bounding boxes overlap.
- gpu_
gjk_ distance - Estimate the minimum distance between two convex hulls using a simplified GJK approach (brute-force vertex-pair minimum for the mock GPU backend).
- gpu_
point_ in_ aabb - Test whether point
pis inside (or on the boundary of) the AABB. - gpu_
ray_ aabb_ intersect - Intersect a ray with an AABB using the slab method.
- gpu_
ray_ sphere_ intersect - Intersect a ray with a sphere.
- gpu_
sphere_ sphere_ overlap - Test whether two spheres overlap (or touch).