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

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

Utility function to calculate the tangent via spherical coordinates.