Skip to main content

gpu_aabb_overlap

Function gpu_aabb_overlap 

Source
pub fn gpu_aabb_overlap(
    a_min: [f32; 3],
    a_max: [f32; 3],
    b_min: [f32; 3],
    b_max: [f32; 3],
) -> bool
Expand description

Test whether two axis-aligned bounding boxes overlap.

Returns true when the boxes touch or interpenetrate on all three axes.