Function rs_pbrt::core::reflection::cos_theta

source ·
pub fn cos_theta(w: &Vector3f) -> Float
Expand description

Utility function to calculate cosine via spherical coordinates.