summaryrefslogtreecommitdiff
path: root/src/util/directiontables.cpp
diff options
context:
space:
mode:
authorVitaliy <silverunicorn2011@yandex.ru>2017-10-15 10:34:14 +0300
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-10-15 09:34:14 +0200
commit75320e7e88ab5088a46c9e42c1e789cbdacb13b0 (patch)
treeda71a3134f8b42bdabf25ef1df14c5e1a77a439e /src/util/directiontables.cpp
parent6bab695479d42ac2b051b8a35639c32b22efbf8d (diff)
downloadminetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.tar.gz
minetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.tar.bz2
minetest-75320e7e88ab5088a46c9e42c1e789cbdacb13b0.zip
Real global textures (#6105)
* Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
Diffstat (limited to 'src/util/directiontables.cpp')
-rw-r--r--src/util/directiontables.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/directiontables.cpp b/src/util/directiontables.cpp
index 587b0caf7..d700355bc 100644
--- a/src/util/directiontables.cpp
+++ b/src/util/directiontables.cpp
@@ -110,3 +110,11 @@ const v3s16 g_27dirs[27] =
v3s16(0,0,0),
};
+constexpr u8 wallmounted_to_facedir[6] = {
+ 20,
+ 0,
+ 16 + 1,
+ 12 + 3,
+ 8,
+ 4 + 2
+};