Skip to main content

sphere_sphere_signed_distance

Function sphere_sphere_signed_distance 

Source
pub fn sphere_sphere_signed_distance(a: &CuSphere, b: &CuSphere) -> Length
Expand description

Computes the exact signed surface-to-surface distance between two spheres.

Negative values indicate penetration depth.