Navigation Menu

Skip to content

Commit

Permalink
Lua_api.txt: Revert changes to NoiseParams format example
Browse files Browse the repository at this point in the history
  • Loading branch information
srifqi authored and paramat committed Oct 23, 2017
1 parent a1e1a19 commit 63c2641
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/lua_api.txt
Expand Up @@ -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:

np_terrain = {
offset = "0",
scale = "1",
spread = {x="500", y="500", z="500"},
offset = 0,
scale = 1,
spread = {x=500, y=500, z=500},
seed = 571347,
octaves = 5,
persist = "0.63",
lacunarity = "2.0",
persist = 0.63,
lacunarity = 2.0,
flags = "defaults, absvalue"
}
^ A single noise parameter table can be used to get 2D or 3D noise,
Expand Down

0 comments on commit 63c2641

Please sign in to comment.