Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly
authordvere <dvere@users.noreply.github.com>
Tue, 25 Nov 2014 02:44:38 +0000 (12:44 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Tue, 25 Nov 2014 02:44:47 +0000 (12:44 +1000)
commit9878e8de4fdf232ebb77b396766c339786c01218
tree11df41f167ed3157c86db8b91fd808aba430cfd9
parenta1db83e93f21c99b8799a7338df16ca65453a424
Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly

According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
builtin/common/misc_helpers.lua