Skip to main content

sphere_to_aabb

Function sphere_to_aabb 

Source
pub fn sphere_to_aabb(s: &Sphere, b: &Aabb3) -> f64
Expand description

Distance from sphere to AABB surface. Negative means overlap.