Expand description
GPU-accelerated collision detection for self-intersection testing.
This module provides GPU-accelerated self-intersection detection using WGPU compute shaders. It uses AABB-based broad phase culling followed by exact triangle-triangle intersection tests using the Separating Axis Theorem (SAT).
Structs§
- Collision
Pipeline - Pipeline for GPU collision detection.
- GpuCollision
Params - Parameters for GPU collision detection.
- GpuCollision
Result - Result of GPU collision detection.
Functions§
- detect_
self_ intersections_ gpu - Detect self-intersections in a mesh on GPU.
- try_
detect_ self_ intersections_ gpu - Try to detect self-intersections on GPU, returning None if unavailable.