My Project
Static Public Attributes | List of all members
ParaEngine::BlockFacing Class Reference

Static Public Attributes

static int32 oppositeSide [6] = { 1, 0, 3, 2, 5, 4 }
 Converts a side to the opposite side. More...
 
static int32 offsetsXForSide [6] = { 0, 0, 0, 0, -1, 1 }
 gives the offset required for this axis to get the block at that side.
 
static int32 offsetsYForSide [6] = { -1, 1, 0, 0, 0, 0 }
 gives the offset required for this axis to get the block at that side.
 
static int32 offsetsZForSide [6] = { 0, 0, -1, 1, 0, 0 }
 gives the offset required for this axis to get the block at that side.
 

Member Data Documentation

§ oppositeSide

int32 ParaEngine::BlockFacing::oppositeSide = { 1, 0, 3, 2, 5, 4 }
static

Converts a side to the opposite side.

This is the same as XOR'ing it with 1.


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