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

pub fn uniform_sample_cone(u: Point2f, cos_theta_max: Float) -> Vector3f

Samples in a cone of directions about the (0, 0, 1) axis.