diff options
author | kwolekr <kwolekr@minetest.net> | 2016-05-20 03:37:31 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-05-27 23:23:58 -0400 |
commit | 0df5c01a8ce927c33ae9b67f459365505b980c33 (patch) | |
tree | 17d4e39a61afc9a37257c969b23630e99b8c89f1 /src/mapgen_v5.h | |
parent | c5968049bbf73ceff08a2b1d35bb34192fa3f315 (diff) | |
download | minetest-0df5c01a8ce927c33ae9b67f459365505b980c33.tar.gz minetest-0df5c01a8ce927c33ae9b67f459365505b980c33.tar.bz2 minetest-0df5c01a8ce927c33ae9b67f459365505b980c33.zip |
Mapgen: Remove calculateNoise from most mapgens
This commit moves noise calculation to the functions where the noise is
actually required, increasing the separation of concerns and level of
interdependency for each mapgen method. Valleys Mapgen is left unmodified.
Diffstat (limited to 'src/mapgen_v5.h')
-rw-r--r-- | src/mapgen_v5.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapgen_v5.h b/src/mapgen_v5.h index 99836b23e..dd5ca0a31 100644 --- a/src/mapgen_v5.h +++ b/src/mapgen_v5.h @@ -69,7 +69,6 @@ public: virtual void makeChunk(BlockMakeData *data); int getSpawnLevelAtPoint(v2s16 p); - void calculateNoise(); int generateBaseTerrain(); }; |