pub fn sdf_sphere(p: [f64; 3], center: [f64; 3], r: f64) -> f64
Signed distance from point p to a sphere at center with radius r.
p
center
r
Negative inside, positive outside, zero on the surface.