Constant voxelize::PY_ROTATION

source ยท
pub const PY_ROTATION: u32 = 0;
Expand description

Base class to extract voxel data from a single u32

Bit lineup as such (from right to left):

  • 1 - 16 bits: ID (0x0000FFFF)
  • 17 - 20 bit: rotation (0x000F0000)
  • 21 - 24 bit: y rotation (0x00F00000)
  • 25 - 32 bit: stage (0x0F000000)