Module site2

Source

Re-exports§

pub use self::genstat::GenStatPlotKind;
pub use self::genstat::GenStatSiteKind;
pub use self::genstat::SitesGenMeta;
pub use self::plot::Plot;
pub use self::plot::PlotKind;
pub use self::plot::foreach_plot;
pub use self::util::Dir;

Modules§

gen 🔒
genstat
Data structures and functions for tracking site generation statistics.
plot
tile 🔒
util

Structs§

Painter
PrimitiveRef
Site

Enums§

Fill
Primitive
TileKind

Traits§

Structure

Functions§

aabr_tiles
aabr_with_z
Extend a 2d AABR to a 3d AABB
reseed 🔒
Seed a new RNG from an old RNG, thereby making the old RNG indepedent of changing use of the new RNG. The practical effect of this is to reduce the extent to which changes to child generation algorithm produce a ‘butterfly effect’ on their parent generators, meaning that generators will be less likely to produce entirely different outcomes if some detail of a generation algorithm changes slightly. This is generally good and makes worldgen code easier to maintain and less liable to breaking changes.
temp_at_wpos 🔒
test_site
wpos_is_hazard 🔒