Skip to main content

gpu_aabb_overlap

Function gpu_aabb_overlap 

Source
pub fn gpu_aabb_overlap(buffer: &GpuCollisionBuffer) -> Vec<(usize, usize)>
Expand description

AABB-AABB overlap test kernel (mock GPU dispatch).

Tests all pairs (i, j) with i < j in parallel and returns those that overlap.

ยงArguments

  • buffer - Collision buffer with the AABB list.