Exemple #1
0
        public VoxelInfo(Index setIndex, Chunk setChunk)
        {
            this.index = setIndex;

            this.chunk = setChunk;
        }
Exemple #2
0
        public VoxelInfo(int setX, int setY, int setZ, int setXa, int setYa, int setZa, Chunk setChunk)
        {
            this.index.x = setX;
            this.index.y = setY;
            this.index.z = setZ;

            this.adjacentIndex.x = setXa;
            this.adjacentIndex.y = setYa;
            this.adjacentIndex.z = setZa;

            this.chunk = setChunk;
        }