[][src]Function tray_rust::bxdf::sin_theta_sqr

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

Compute the value of (sine theta)^2 for a vector in shading space