mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
update doc-comments
This commit is contained in:
parent
b5c1050f43
commit
40612dd7da
2 changed files with 10 additions and 0 deletions
|
|
@ -149,6 +149,13 @@ public:
|
|||
uint bpd
|
||||
) = 0;
|
||||
|
||||
/// @brief Generate a list of structures placements. Structures may be
|
||||
/// placed to nearest N chunks also (position of out area), where N is
|
||||
/// wide-structs-chunks-radius
|
||||
/// @param offset position of the area
|
||||
/// @param size size of the area (blocks)
|
||||
/// @param seed world seed
|
||||
/// @param chunkHeight chunk height to use as heights multiplier
|
||||
virtual std::vector<Placement> placeStructuresWide(
|
||||
const glm::ivec2& offset,
|
||||
const glm::ivec2& size,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,10 @@
|
|||
|
||||
static debug::Logger logger("world-generator");
|
||||
|
||||
/// @brief Max number of biome parameters
|
||||
static inline constexpr uint MAX_PARAMETERS = 4;
|
||||
|
||||
/// @brief Initial + wide_structs + biomes + heightmaps + complete
|
||||
static inline constexpr uint BASIC_PROTOTYPE_LAYERS = 5;
|
||||
|
||||
WorldGenerator::WorldGenerator(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue