Skip to main content

Crate lazy_diamond_square

Crate lazy_diamond_square 

Source

Structs§

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.
Parameters
This is an enumeration with possible parameters for creating 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.