[−][src]Function tray_rust::linalg::spherical_dir
pub fn spherical_dir(sin_theta: f32, cos_theta: f32, phi: f32) -> Vector
Compute the direction specified by theta
and phi
in the spherical coordinate system
pub fn spherical_dir(sin_theta: f32, cos_theta: f32, phi: f32) -> Vector
Compute the direction specified by theta
and phi
in the spherical coordinate system