Struct noise::Checkerboard [] [src]

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

Noise function that outputs a checkerboard pattern.

This noise function 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 function is not very useful by itself, but it can be used for debugging purposes.

Fields

Controls the size of the block in 2^(size).

Methods

impl Checkerboard
[src]

[src]

[src]

Trait Implementations

impl Clone for Checkerboard
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Checkerboard
[src]

impl Debug for Checkerboard
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Checkerboard
[src]

[src]

Returns the "default value" for a type. Read more

impl NoiseFn<Point2<f64>> for Checkerboard
[src]

[src]

impl NoiseFn<Point3<f64>> for Checkerboard
[src]

[src]

impl NoiseFn<Point4<f64>> for Checkerboard
[src]

[src]

Auto Trait Implementations

impl Send for Checkerboard

impl Sync for Checkerboard