pub fn spherical_to_cartesian(r: f64, theta: f64, phi: f64) -> (f64, f64, f64)
Converts spherical coordinates (r, theta, phi) to Cartesian (x, y, z).