aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-02-18 02:53:33 +0000
committerGitHub <noreply@github.com>2019-02-18 02:53:33 +0000
commit6e7ba366fc58c437640c7d603d28668b52ba79c7 (patch)
tree5682f0e2539596f33bc9d4d4f20248ebf7bb0f47 /doc
parent187519407be5ca51db007d638857917ba53f1b6d (diff)
downloadminetest-6e7ba366fc58c437640c7d603d28668b52ba79c7.tar.gz
minetest-6e7ba366fc58c437640c7d603d28668b52ba79c7.tar.bz2
minetest-6e7ba366fc58c437640c7d603d28668b52ba79c7.zip
lua_api.txt, settingtypes.txt: Various improvements (#8252)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b506d43b2..2edd0d9de 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3967,7 +3967,7 @@ Environment access
* Return value: Table with all node positions with a node air above
* Area volume is limited to 4,096,000 nodes
* `minetest.get_perlin(noiseparams)`
-* `minetest.get_perlin(seeddiff, octaves, persistence, scale)`
+* `minetest.get_perlin(seeddiff, octaves, persistence, spread)`
* Return world-specific perlin noise (`int(worldseed)+seeddiff`)
* `minetest.get_voxel_manip([pos1, pos2])`
* Return voxel manipulator object.
@@ -5347,9 +5347,9 @@ It can be created via `PcgRandom(seed)` or `PcgRandom(seed, sequence)`.
-------------
A perlin noise generator.
-It can be created via `PerlinNoise(seed, octaves, persistence, scale)`
+It can be created via `PerlinNoise(seed, octaves, persistence, spread)`
or `PerlinNoise(noiseparams)`.
-Alternatively with `minetest.get_perlin(seeddiff, octaves, persistence, scale)`
+Alternatively with `minetest.get_perlin(seeddiff, octaves, persistence, spread)`
or `minetest.get_perlin(noiseparams)`.
### Methods