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

pub fn uniform_sample_hemisphere(u: &Point2f) -> Vector3f

Uniformly sample rays in a hemisphere. Choose a direction.