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

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

Uniformly sample rays in a full sphere. Choose a direction.