[][src]Function tray_rust::bxdf::cos_theta_sqr

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

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