My Project
|
helper functions for directions More...
#include <BlockDirection.h>
Public Types | |
enum | Side { left, right, front, back, top, bottom, none } |
Static Public Member Functions | |
static Int32x3 | GetOffsetBySide (Side side) |
static Side | GetBlockSide (int v) |
static Side | GetOpSide (Side side) |
Static Public Attributes | |
static const int | s_oppositeDirection [none+1] = { Side::right, Side::left, Side::back, Side::front, Side::bottom, Side::top, Side::none } |
helper functions for directions