Function rs_pbrt::core::sampling::uniform_sample_hemisphere
source · pub fn uniform_sample_hemisphere(u: &Point2f) -> Vector3f
Expand description
Uniformly sample rays in a hemisphere. Choose a direction.