Mapnode: Replace rotateAlongYAxis with improved version
authorparamat <mat.gregory@virginmedia.com>
Fri, 2 Oct 2015 00:07:57 +0000 (01:07 +0100)
committerparamat <mat.gregory@virginmedia.com>
Fri, 2 Oct 2015 05:03:36 +0000 (06:03 +0100)
commit8aaae7db05917dbbedebbd1b5616db976dfc2e8e
treebf39d114556ef25e477ab4305cbc4c2bd95039f9
parent0bf1984d2c9fb3a9dc73303551c18906c3c9482b
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
src/mapnode.cpp
src/mapnode.h
src/mg_schematic.cpp