- canPass
ulong canPass(ulong mask, Dir dir, Dir to, ubyte dirMask)
Undocumented in source. Be warned that the author may not have intended to support it.
- compact
void compact()
- fillCanPassFrom
void fillCanPassFrom(Dir dirFrom)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCanPassFromFlags
ubyte getCanPassFromFlags(Dir dirFrom)
returns DirMask of available pass direction for specified FROM direction
- getCell
cell_t getCell(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCellNoCheck
cell_t getCellNoCheck(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMesh
Mesh getMesh(World world)
get mesh for chunk (generate if not exists)
- getSideCanPassFromMask
ulong getSideCanPassFromMask(Dir dir)
to this chunk for nearby chunk
- getSideCanPassToMask
ulong getSideCanPassToMask(Dir dir)
get can pass mask for direction
- release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
- release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
- setCell
void setCell(int x, int y, int z, cell_t value)
Undocumented in source. Be warned that the author may not have intended to support it.
- visitVisibleFaces
void visitVisibleFaces(World world, CellVisitor visitor)
Undocumented in source. Be warned that the author may not have intended to support it.
- alloc
SmallChunk* alloc(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- alloc
SmallChunk* alloc(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcIndex
int calcIndex(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
- slicePlane0
ulong slicePlane0(ulong[8] planes)
Undocumented in source. Be warned that the author may not have intended to support it.
- slicePlane7
ulong slicePlane7(ulong[8] planes)
Undocumented in source. Be warned that the author may not have intended to support it.
- spreadFlags
void spreadFlags(ulong src, ulong[8] planes, ulong[8] dst, int start, int end, ubyte spreadMask)
Undocumented in source. Be warned that the author may not have intended to support it.
8x8x8 chunk