From 18882a4d2603488bdfb5a519a8bedf300b154940 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Wed, 26 Jun 2013 21:04:06 -0400 Subject: Add Lua PerlinNoiseMap:get#dMap_flat API --- doc/lua_api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 84769f8d8..62abb2e3e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1529,6 +1529,15 @@ methods: - get2d(pos) -> 2d noise value at pos={x=,y=} - get3d(pos) -> 3d noise value at pos={x=,y=,z=} +PerlinNoiseMap: A fast, bulk perlin noise generator +- Can be created via PerlinNoiseMap(noiseparams, size) +- Also minetest.get_perlin_map(noiseparams, size) +methods: +- get2dMap(pos) -> X 2d array of 2d noise values starting at pos={x=,y=} +- get3dMap(pos) -> XX 3d array of 3d noise values starting at pos={x=,y=,z=} +- get2dMap_flat(pos) -> Flat element array of 2d noise values starting at pos={x=,y=} +- get3dMap_flat(pos) -> Same as get2dMap_flat, but 3d noise + VoxelManip: An interface to the MapVoxelManipulator for Lua - Can be created via VoxelManip() - Also minetest.get_voxel_manip() -- cgit v1.2.3