Function rs_pbrt::core::reflection::cos_2_theta
source · pub fn cos_2_theta(w: &Vector3f) -> FloatExpand description
Utility function to calculate the square cosine via spherical coordinates.
pub fn cos_2_theta(w: &Vector3f) -> FloatUtility function to calculate the square cosine via spherical coordinates.