Skip to content
Permalink
Browse files

Lua_api.txt: Revert changes to NoiseParams format example

  • Loading branch information...
srifqi authored and paramat committed Oct 23, 2017
1 parent a1e1a19 commit 63c26413b6acc27d15c88d4f6f5312e2020e4b48
Showing with 5 additions and 5 deletions.
  1. +5 −5 doc/lua_api.txt
@@ -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,

0 comments on commit 63c2641

Please sign in to comment.
You can’t perform that action at this time.