Crate lazy_diamond_square

Source

Structs§

Builder
For more flexible customization of HeightMap parameters. The names of the methods correspond to the names of the fields to be set.
HeightMap
This structure is the main structure in this crate.

Enums§

InitBy
This is an enumeration with possible options for initializing a height map of an instance of the HeightMap structure.

Constants§

MAX_SIZE
The constant with the value of the maximum map size. If when calling HeightMap::new you specify the size parameter greater than this constant, it will change to equal to this constant.
MIN_SIZE
The constant with the value of the minimum map size. If you specify the size parameter less than this constant when calling HeightMap::new, it will be changed to equal to this constant.