Function chunkBlockIndexToOffset

  • Converts a chunk block index to an offset from the minimum corner of the chunk.

    Parameters

    • index: number

      The chunk block index.

    Returns Vector3

    The offset from the minimum corner of the chunk.