Function rs_pbrt::core::geometry::spherical_theta
source · pub fn spherical_theta(v: &Vector3f) -> Float
Expand description
Conversion of a direction to spherical angles. Note that spherical_theta() assumes that the vector v has been normalized before being passed in.