My Project
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ParaEngine::BlockDirection Class Reference

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 }
 

Detailed Description

helper functions for directions


The documentation for this class was generated from the following files: