[][src]Trait valora::prelude::NoiseSrc

pub trait NoiseSrc<P> {
    fn noise(&self, p: P) -> f32;
}

A trait for types which are sources of noise, samplable by type P.

Required methods

fn noise(&self, p: P) -> f32

Samples noise.

Loading content...

Implementors

impl<N> NoiseSrc<Point2D<f32, UnknownUnit>> for N where
    N: NoiseFn<[f64; 2]>, 
[src]

impl<N> NoiseSrc<Point3D<f32, UnknownUnit>> for N where
    N: NoiseFn<[f64; 3]>, 
[src]

Loading content...