MCPcopy Create free account
hub / github.com/cuberite/cuberite / GenHeightMap

Method GenHeightMap

src/Generating/HeiGen.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91// cHeiGenFlat:
92
93void cHeiGenFlat::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap)
94{
95 for (size_t i = 0; i < ARRAYCOUNT(a_HeightMap); i++)
96 {
97 a_HeightMap[i] = m_Height;
98 }
99}
100
101
102

Callers 3

DoGenerateMethod · 0.45
GenFinishMethod · 0.45
CreateLakeImageMethod · 0.45

Calls 1

GenBiomesMethod · 0.80

Tested by

no test coverage detected