diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-31 20:04:04 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-31 20:04:04 +0200 |
commit | 7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45 (patch) | |
tree | b06cf63fb0c8d01f03c1fb84faa936197029e03f /src/mapnode.h | |
parent | 831003156c77c811e7f1fcb65811d1d099587442 (diff) | |
parent | 303351de6d2cb54af27198207ba6c8cef49ecf1a (diff) | |
download | hax-minetest-server-7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45.tar.gz hax-minetest-server-7ece67727dcc1ff7a6634e4b911eeb82ed3eaf45.zip |
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to '')
-rw-r--r-- | src/mapnode.h | 3 |
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); |