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