Enum anl::InterpType
[−]
[src]
pub enum InterpType { None, Linear, Cubic, Quintic, }
Aside from being able to assignt he type of noise generated, the user can also assign the type of interpolation used. This parameter only applies to the variants of Value
, Gradval
and Gradient
.
Variants
None
No interpolation at all is performed
Linear
Lattice values are linearly interpolated.
Cubic
Lattice values are performed using cubic interpolation.
Quintic
Lattice values are interpolated using quintic interpolation. This results in the highest quality of noise.
Trait Implementations
impl Clone for InterpType
[src]
fn clone(&self) -> InterpType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more