Struct noise::Checkerboard [] [src]

pub struct Checkerboard {
    pub size: usize,
    // some fields omitted
}

Noise module that outputs a checkerboard pattern.

This noise module can take one input, size, and outputs 2size-sized blocks of alternating values. The values of these blocks alternate between -1.0 and 1.0.

This noise module is not very useful by itself, but it can be used for debugging purposes.

Fields

Controls the size of the block in 2size.

Methods

impl Checkerboard
[src]

Trait Implementations

impl Clone for Checkerboard
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Checkerboard
[src]

impl Debug for Checkerboard
[src]

Formats the value using the given formatter.

impl<T: Float> NoiseModule<Point2<T>> for Checkerboard
[src]

impl<T: Float> NoiseModule<Point3<T>> for Checkerboard
[src]

impl<T: Float> NoiseModule<Point4<T>> for Checkerboard
[src]