Function rs_pbrt::core::sampling::uniform_sample_cone
source · pub fn uniform_sample_cone(u: Point2f, cos_theta_max: Float) -> Vector3f
Expand description
Samples in a cone of directions about the (0, 0, 1) axis.