载入中...
搜索中...
未找到
HexSphereGenerator.h
浏览该文件的文档.
Editable spherical hex map over an icosahedral hex topology.
Move-only, checked operation results for the common layer.
Definition HexCell.h:9
Result< void > generateSphereMap(HexSphereMap &map, const HexSphereGeneratorSettings &settings)
Regenerates every cell of map procedurally.
Definition HexSphereGenerator.cpp:124
Tunables of the spherical generator.
Definition HexSphereGenerator.h:23
float frequency
Continent field frequency; higher makes more, smaller land masses.
Definition HexSphereGenerator.h:33
std::int32_t landPercentage
Target share of cells that end up above the water line, in percent.
Definition HexSphereGenerator.h:27
std::int32_t waterLevel
Cells at or below this elevation are flooded.
Definition HexSphereGenerator.h:29
std::uint32_t seed
Deterministic seed; the same seed always yields the same planet.
Definition HexSphereGenerator.h:25