Skip to main content

sdf_sphere

Function sdf_sphere 

Source
pub fn sdf_sphere(p: Vec3, center: Vec3, radius: f32) -> f32
Expand description

Signed distance from point to sphere.