[][src]Function tray_rust::bxdf::cos_theta

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

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