[][src]Function pbrt::core::reflection::abs_cos_theta

pub fn abs_cos_theta(w: &Vector3f) -> Float

Utility function to calculate the absolute value of the cosine via spherical coordinates.