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

pub fn cos_d_phi(wa: &Vector3f, wb: &Vector3f) -> Float

Utility function to calculate the cosine of the angle between two vectors in the shading coordinate system.