Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
directiontables.h File Reference
#include "irrlichttypes.h"
#include "irr_v3d.h"
+ Include dependency graph for directiontables.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  Direction6D {
  D6D_ZP , D6D_YP , D6D_XP , D6D_ZN ,
  D6D_YN , D6D_XN , D6D_XN_YP , D6D_XP_YP ,
  D6D_YP_ZP , D6D_YP_ZN , D6D_XN_ZP , D6D_XP_ZP ,
  D6D_XN_ZN , D6D_XP_ZN , D6D_XN_YN , D6D_XP_YN ,
  D6D_YN_ZP , D6D_YN_ZN , D6D_XN_YP_ZP , D6D_XP_YP_ZP ,
  D6D_XN_YP_ZN , D6D_XP_YP_ZN , D6D_XN_YN_ZP , D6D_XP_YN_ZP ,
  D6D_XN_YN_ZN , D6D_XP_YN_ZN , D6D , D6D_BACK = D6D_ZP ,
  D6D_TOP = D6D_YP , D6D_RIGHT = D6D_XP , D6D_FRONT = D6D_ZN , D6D_BOTTOM = D6D_YN ,
  D6D_LEFT = D6D_XN
}
 Direction in the 6D format. More...
 
enum  DirectionWallmounted {
  DWM_YP , DWM_YN , DWM_XP , DWM_XN ,
  DWM_ZP , DWM_ZN , DWM_S1 , DWM_S2 ,
  DWM_COUNT
}
 Direction in the wallmounted format. More...
 

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 [DWM_COUNT]
 
const v3s16 wallmounted_dirs [DWM_COUNT]
 
const v3s16 facedir_dirs [32]
 
const v3s16 fourdir_dirs [4]
 

Enumeration Type Documentation

◆ Direction6D

Direction in the 6D format.

g_27dirs contains corresponding vectors. Here P means Positive, N stands for Negative.

Enumerator
D6D_ZP 
D6D_YP 
D6D_XP 
D6D_ZN 
D6D_YN 
D6D_XN 
D6D_XN_YP 
D6D_XP_YP 
D6D_YP_ZP 
D6D_YP_ZN 
D6D_XN_ZP 
D6D_XP_ZP 
D6D_XN_ZN 
D6D_XP_ZN 
D6D_XN_YN 
D6D_XP_YN 
D6D_YN_ZP 
D6D_YN_ZN 
D6D_XN_YP_ZP 
D6D_XP_YP_ZP 
D6D_XN_YP_ZN 
D6D_XP_YP_ZN 
D6D_XN_YN_ZP 
D6D_XP_YN_ZP 
D6D_XN_YN_ZN 
D6D_XP_YN_ZN 
D6D 
D6D_BACK 
D6D_TOP 
D6D_RIGHT 
D6D_FRONT 
D6D_BOTTOM 
D6D_LEFT 

◆ DirectionWallmounted

Direction in the wallmounted format.

P is Positive, N is Negative.

Enumerator
DWM_YP 
DWM_YN 
DWM_XP 
DWM_XN 
DWM_ZP 
DWM_ZN 
DWM_S1 
DWM_S2 
DWM_COUNT 

Variable Documentation

◆ facedir_dirs

const v3s16 facedir_dirs[32]
extern

Referenced by Game::nodePlacement().

◆ fourdir_dirs

const v3s16 fourdir_dirs[4]
extern

◆ g_26dirs

◆ g_27dirs

const v3s16 g_27dirs[27]
extern

◆ g_6dirs

◆ g_7dirs

const v3s16 g_7dirs[7]
extern

◆ wallmounted_dirs

const v3s16 wallmounted_dirs[DWM_COUNT]
extern

◆ wallmounted_to_facedir

const u8 wallmounted_to_facedir[DWM_COUNT]
extern