[][src]Function pbrt::core::reflection::tan_2_theta

pub fn tan_2_theta(w: &Vector3f) -> Float

Utility function to calculate the square tangent via spherical coordinates.