My Project
BlockFacing.h
1 #pragma once
2 
3 namespace ParaEngine
4 {
5  class BlockFacing
6  {
7  public:
11  static int32 oppositeSide[6];
12 
16  static int32 offsetsXForSide[6];
17 
21  static int32 offsetsYForSide[6];
22 
26  static int32 offsetsZForSide[6];
27  };
28 }
static int32 offsetsXForSide[6]
gives the offset required for this axis to get the block at that side.
Definition: BlockFacing.h:16
different physics engine has different winding order.
Definition: EventBinding.h:32
static int32 oppositeSide[6]
Converts a side to the opposite side.
Definition: BlockFacing.h:11
static int32 offsetsZForSide[6]
gives the offset required for this axis to get the block at that side.
Definition: BlockFacing.h:26
static int32 offsetsYForSide[6]
gives the offset required for this axis to get the block at that side.
Definition: BlockFacing.h:21
Definition: BlockFacing.h:5