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

Utility function to calculate cosine via spherical coordinates.