summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-31 20:04:04 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-31 20:04:04 +0200
commit7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45 (patch)
treeb06cf63fb0c8d01f03c1fb84faa936197029e03f /src/mapnode.h
parent831003156c77c811e7f1fcb65811d1d099587442 (diff)
parent303351de6d2cb54af27198207ba6c8cef49ecf1a (diff)
downloadminetest-7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45.tar.gz
minetest-7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45.tar.bz2
minetest-7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45.zip
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 3cca985bc..1fb84e1c9 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -391,6 +391,9 @@ inline v3s16 unpackDir(u8 b)
facedir: CPT_FACEDIR_SIMPLE param1 value
dir: The face for which stuff is wanted
return value: The face from which the stuff is actually found
+
+ NOTE: Currently this uses 2 bits for Z-,X-,Z+,X+, should there be Y+
+ and Y- too?
*/
v3s16 facedir_rotate(u8 facedir, v3s16 dir);