pub fn sdf_torus(
p: [f64; 3],
center: [f64; 3],
r_major: f64,
r_minor: f64,
) -> f64Expand description
Signed distance from point p to a torus (Y-axis aligned) centred at
center with major radius r_major and minor radius r_minor.