[−][src]Function pbrt::core::reflection::cos_theta
pub fn cos_theta(w: &Vector3f) -> Float
Utility function to calculate cosine via spherical coordinates.
pub fn cos_theta(w: &Vector3f) -> Float
Utility function to calculate cosine via spherical coordinates.