[][src]Function tray_rust::bxdf::cos_phi

pub fn cos_phi(v: &Vector) -> f32

Compute the value of cosine phi for a vector in shading space