diff options
author | kwolekr <kwolekr@minetest.net> | 2015-05-17 03:38:39 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-05-17 04:04:17 -0400 |
commit | 4c9a8a91c4988b3567a38af622a3eb0d0ec19f6b (patch) | |
tree | 1be726a192c20df25e44ff799102199a29ff6744 /src/mapblock.cpp | |
parent | c0edb8e313590efcf473e02ab46dd967774386d0 (diff) | |
download | minetest-4c9a8a91c4988b3567a38af622a3eb0d0ec19f6b.tar.gz minetest-4c9a8a91c4988b3567a38af622a3eb0d0ec19f6b.tar.bz2 minetest-4c9a8a91c4988b3567a38af622a3eb0d0ec19f6b.zip |
SAPI/Noise: Add PerlinNoiseMap:getMapSlice() function
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap.
Retrieving smaller slices of noise from the computation result as needed
optimizes memory usage while maintaining a reasonable amount of CPU overhead.
Diffstat (limited to 'src/mapblock.cpp')
0 files changed, 0 insertions, 0 deletions