Trait nalgebra::UniformSphereSample [] [src]

pub trait UniformSphereSample: Sized {
    fn sample<F: FnMut(Self)>(F);
}

Trait of vectors able to sample a unit sphere.

The number of sample must be sufficient to approximate a sphere using a support mapping function.

Required Methods

Iterate through the samples.

Implementors