diff options
Diffstat (limited to 'src/utility.cpp')
-rw-r--r-- | src/utility.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utility.cpp b/src/utility.cpp index ed0c179e8..ae4fe435f 100644 --- a/src/utility.cpp +++ b/src/utility.cpp @@ -61,6 +61,17 @@ u32 TimeTaker::getTime() return dtime; } +const v3s16 g_6dirs[6] = +{ + // +right, +top, +back + 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 +}; + const v3s16 g_26dirs[26] = { // +right, +top, +back |