Chunk.opIndex

Gets a block in the chunk.

  1. Block* opIndex(BlockPosition position)
  2. Block* opIndex(ubyte x, size_t y, ubyte z)
    class Chunk
    opIndex
    (
    ubyte x
    ,
    size_t y
    ,
    ubyte z
    )
  3. Section opIndex(size_t y)

Parameters

x ubyte

x coordinates in range 0..16

y size_t

y coordinate in range 0..HEIGHT

z ubyte

z coordinate in range 0..16

Meta