Struct perlin_noise::PerlinNoise
[−]
[src]
pub struct PerlinNoise { /* fields omitted */ }
Perlin Noise generator that outputs 1/2/3D Perlin noise
Methods
impl PerlinNoise
[src]
pub fn new() -> PerlinNoise
[src]
pub fn get3d(&self, args: [f64; 3]) -> f64
[src]
Perlin Noise in 3D
pub fn get2d(&self, args: [f64; 2]) -> f64
[src]
Perlin Noise in 2D
pub fn get(&self, x: f64) -> f64
[src]
Perlin Noise in 1D
Trait Implementations
impl Clone for PerlinNoise
[src]
fn clone(&self) -> PerlinNoise
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more