Struct noise::Cylinders
[−]
[src]
pub struct Cylinders { pub frequency: f64, }
Noise function that outputs concentric cylinders.
This noise function outputs concentric cylinders centered on the origin. The cylinders are oriented along the z axis similar to the concentric rings of a tree. Each cylinder extends infinitely along the z axis.
Fields
frequency: f64
Frequency of the concentric objects.
Methods
impl Cylinders
[src]
const DEFAULT_FREQUENCY: f64
DEFAULT_FREQUENCY: f64 = 1.0
fn new() -> Self
[src]
fn set_frequency(self, frequency: f64) -> Self
[src]
Trait Implementations
impl Clone for Cylinders
[src]
fn clone(&self) -> Cylinders
[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