diff options
author | paramat <mat.gregory@virginmedia.com> | 2015-10-02 01:07:57 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2015-10-02 06:03:36 +0100 |
commit | 8aaae7db05917dbbedebbd1b5616db976dfc2e8e (patch) | |
tree | bf39d114556ef25e477ab4305cbc4c2bd95039f9 /src/script/lua_api/l_noise.h | |
parent | 0bf1984d2c9fb3a9dc73303551c18906c3c9482b (diff) | |
download | minetest-8aaae7db05917dbbedebbd1b5616db976dfc2e8e.tar.gz minetest-8aaae7db05917dbbedebbd1b5616db976dfc2e8e.tar.bz2 minetest-8aaae7db05917dbbedebbd1b5616db976dfc2e8e.zip |
Mapnode: Replace rotateAlongYAxis with improved version
Get facedir by using lowest 5 bits of param2 and limiting to 23
More robust, frees up higher param2 bits for other uses
Change lookup table and table index to u8
Diffstat (limited to 'src/script/lua_api/l_noise.h')
0 files changed, 0 insertions, 0 deletions