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