Function offsetToChunkBlockIndex

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

    Parameters

    • offset: Vector3

      The offset from the minimum corner of the chunk.

    Returns number

    The chunk block index.