Skip to main content

sphere_in_frustum

Function sphere_in_frustum 

pub fn sphere_in_frustum(
    planes: &[[f32; 4]; 6],
    center: [f32; 3],
    radius: f32,
) -> bool
Expand description

Returns true if a sphere (center, radius) intersects or lies inside all 6 normalized frustum planes.