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