Lua_api.txt: Revert changes to NoiseParams format example

This commit is contained in:
Muhammad Rifqi Priyo Susanto 2017-10-23 11:04:22 +07:00 committed by paramat
parent a1e1a19ac3
commit 63c26413b6

@ -1043,13 +1043,13 @@ Accumulates the absolute value of each noise gradient result.
Noise parameters format example for 2D or 3D perlin noise or perlin noise maps: Noise parameters format example for 2D or 3D perlin noise or perlin noise maps:
np_terrain = { np_terrain = {
offset = "0", offset = 0,
scale = "1", scale = 1,
spread = {x="500", y="500", z="500"}, spread = {x=500, y=500, z=500},
seed = 571347, seed = 571347,
octaves = 5, octaves = 5,
persist = "0.63", persist = 0.63,
lacunarity = "2.0", lacunarity = 2.0,
flags = "defaults, absvalue" flags = "defaults, absvalue"
} }
^ A single noise parameter table can be used to get 2D or 3D noise, ^ A single noise parameter table can be used to get 2D or 3D noise,