diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-05-09 23:44:15 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-05-10 02:21:53 +0100 |
commit | 3f89bf4d7f241cebc118cccf2ac147ee6454216e (patch) | |
tree | 426fd686ff885e1a8674afe9608a73384c138933 /doc | |
parent | 53e9587861fdf8c588f7e51eca522215167250b4 (diff) | |
download | minetest-3f89bf4d7f241cebc118cccf2ac147ee6454216e.tar.gz minetest-3f89bf4d7f241cebc118cccf2ac147ee6454216e.tar.bz2 minetest-3f89bf4d7f241cebc118cccf2ac147ee6454216e.zip |
Lua_api.txt: Fix documentation for facedir rotation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index a4592286a..e9ace5c87 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -554,9 +554,9 @@ node definition: ^ The rotation of the node is stored in param2. Furnaces and chests are rotated this way. Can be made by using minetest.dir_to_facedir(). Values range 0 - 23 - facedir modulo 4 = axisdir + facedir / 4 = axis direction: 0 = y+ 1 = z+ 2 = z- 3 = x+ 4 = x- 5 = y- - facedir's two less significant bits are rotation around the axis + facedir modulo 4 = rotation around that axis paramtype2 == "leveled" paramtype2 == "degrotate" ^ The rotation of this node is stored in param2. Plants are rotated this way. |