[][src]Function tray_rust::mc::uniform_cone_pdf

pub fn uniform_cone_pdf(cos_theta: f32) -> f32

Return the PDF for uniformly sampling a cone with some max solid angle