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

Utility function to calculate cosine via spherical coordinates.