summaryrefslogtreecommitdiff
path: root/src/util/directiontables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/directiontables.cpp')
-rw-r--r--src/util/directiontables.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/directiontables.cpp b/src/util/directiontables.cpp
index d6c154842..587b0caf7 100644
--- a/src/util/directiontables.cpp
+++ b/src/util/directiontables.cpp
@@ -30,6 +30,17 @@ const v3s16 g_6dirs[6] =
v3s16(-1, 0, 0) // left
};
+const v3s16 g_7dirs[7] =
+{
+ v3s16(0,0,1), // back
+ v3s16(0,1,0), // top
+ v3s16(1,0,0), // right
+ v3s16(0,0,-1), // front
+ v3s16(0,-1,0), // bottom
+ v3s16(-1,0,0), // left
+ v3s16(0,0,0), // self
+};
+
const v3s16 g_26dirs[26] =
{
// +right, +top, +back