[−][src]Function pbrt::core::geometry::spherical_theta
pub fn spherical_theta(v: &Vector3f) -> Float
Conversion of a direction to spherical angles. Note that spherical_theta() assumes that the vector v has been normalized before being passed in.