Skip to main content

spherical_to_cartesian

Function spherical_to_cartesian 

Source
pub fn spherical_to_cartesian(r: f64, theta: f64, phi: f64) -> (f64, f64, f64)
Expand description

Converts spherical coordinates (r, theta, phi) to Cartesian (x, y, z).