Function nalgebra::sample_sphere [] [src]

pub fn sample_sphere<V: UniformSphereSample, F: FnMut(V)>(f: F)

Samples the unit sphere living on the dimension as the samples types.

The number of sampling point is implementation-specific. It is always uniform.