Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
directiontables.cpp File Reference
#include "directiontables.h"
+ Include dependency graph for directiontables.cpp:

Variables

const v3s16 g_6dirs [6]
 
const v3s16 g_7dirs [7]
 
const v3s16 g_26dirs [26]
 
const v3s16 g_27dirs [27]
 
const u8 wallmounted_to_facedir [8]
 
const v3s16 wallmounted_dirs [8]
 
const v3s16 facedir_dirs [32]
 
const v3s16 fourdir_dirs [4]
 

Variable Documentation

◆ facedir_dirs

const v3s16 facedir_dirs[32]

Referenced by Game::nodePlacement().

◆ fourdir_dirs

const v3s16 fourdir_dirs[4]
Initial value:
= {
v3s16(0, 0, 1),
v3s16(1, 0, 0),
v3s16(0, 0, -1),
v3s16(-1, 0, 0),
}
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13

◆ g_26dirs

◆ g_27dirs

const v3s16 g_27dirs[27]

◆ g_6dirs

◆ g_7dirs

const v3s16 g_7dirs[7]
Initial value:
=
{
v3s16(0,0,1),
v3s16(0,1,0),
v3s16(1,0,0),
v3s16(0,0,-1),
v3s16(0,-1,0),
v3s16(-1,0,0),
v3s16(0,0,0),
}

Referenced by ServerMap::addNodeAndUpdate().

◆ wallmounted_dirs

const v3s16 wallmounted_dirs[8]
Initial value:
= {
v3s16(0, 1, 0),
v3s16(0, -1, 0),
v3s16(1, 0, 0),
v3s16(-1, 0, 0),
v3s16(0, 0, 1),
v3s16(0, 0, -1),
}

◆ wallmounted_to_facedir

const u8 wallmounted_to_facedir[8]
Initial value:
= {
20,
0,
16 + 1,
12 + 3,
8,
4 + 2,
20 + 1,
0 + 1
}

Referenced by MapblockMeshGenerator::drawMeshNode(), and MapNode::getFaceDir().