block_geometry property

Pointer<ma_uint8> block_geometry
getter/setter pair

Indexed by 3D coordinate. Contains the geometry type for the block. Also contains a 2-bit rotation for how the whole block is rotated. Also includes a 2-bit vheight value when using shared vheight values. See the separate vheight documentation. Encode with STBVOX_MAKE_GEOMETRY(geom, rot, vheight)

Implementation

external ffi.Pointer<ffi.UnsignedChar> block_geometry;