pub fn cos_2_theta(w: &Vector3f) -> Float
Expand description

Utility function to calculate the square cosine via spherical coordinates.