[][src]Function pbrt::core::sampling::cosine_hemisphere_pdf

pub fn cosine_hemisphere_pdf(cos_theta: Float) -> Float

Returns a weight of cos_theta / PI.