dminer.core.chunk

Undocumented in source.

Members

Enums

SpreadMask
enum SpreadMask
Undocumented in source.

Functions

calcSpreadMask
ubyte calcSpreadMask(Vector3d dest, Vector3d origin)

mask for available spread direction for chunk dest visited from camera chunk position origin

dirMaskToSpreadMask
ubyte dirMaskToSpreadMask(Dir dir, ubyte dirMask)
Undocumented in source. Be warned that the author may not have intended to support it.
flipBitsLeft
ulong flipBitsLeft(ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.
flipBitsRight
ulong flipBitsRight(ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.
generateDirMaskSource
string generateDirMaskSource()
Undocumented in source. Be warned that the author may not have intended to support it.
spreadXPlane
ulong spreadXPlane(ulong mask, ulong canPassMask, ubyte spreadToDirMask)
Undocumented in source. Be warned that the author may not have intended to support it.
spreadYPlane
ulong spreadYPlane(ulong mask, ulong canPassMask, ubyte spreadToDirMask)
Undocumented in source. Be warned that the author may not have intended to support it.
spreadZPlane
ulong spreadZPlane(ulong mask, ulong canPassMask, ubyte spreadToDirMask)
Undocumented in source. Be warned that the author may not have intended to support it.
testDirMaskToSpreadMask
void testDirMaskToSpreadMask()
Undocumented in source. Be warned that the author may not have intended to support it.
testPlanes
void testPlanes()
Undocumented in source. Be warned that the author may not have intended to support it.
xPlaneFromYplanes
ulong xPlaneFromYplanes(ulong[8] planes, int x)
Undocumented in source. Be warned that the author may not have intended to support it.
xPlaneFromZplanes
ulong xPlaneFromZplanes(ulong[8] planes, int x)
Undocumented in source. Be warned that the author may not have intended to support it.
yPlaneFromXplanes
ulong yPlaneFromXplanes(ulong[8] planes, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
yPlaneFromZplanes
ulong yPlaneFromZplanes(ulong[8] planes, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
zPlaneFromXplanes
ulong zPlaneFromXplanes(ulong[8] planes, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
zPlaneFromYplanes
ulong zPlaneFromYplanes(ulong[8] planes, int z)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

CellVisitor
interface CellVisitor
Undocumented in source.
ChunkVisitor
interface ChunkVisitor
Undocumented in source.

Structs

AllPlanes
struct AllPlanes
Undocumented in source.
ChunkStack
struct ChunkStack
Undocumented in source.
Planes
struct Planes(immutable Dir dir)
Undocumented in source.
SmallChunk
struct SmallChunk

8x8x8 chunk

VisibilityCheckChunk
struct VisibilityCheckChunk
Undocumented in source.
VisibilityCheckChunk
struct VisibilityCheckChunk
Undocumented in source.
VisibilityCheckIterator
struct VisibilityCheckIterator

Diamond iterator for visibility check

Variables

CHUNKS_BITS_X
int CHUNKS_BITS_X;
Undocumented in source.
CHUNKS_BITS_Z
int CHUNKS_BITS_Z;
Undocumented in source.
CHUNKS_X
int CHUNKS_X;
Undocumented in source.
CHUNKS_X_MASK
int CHUNKS_X_MASK;
Undocumented in source.
CHUNKS_Z
int CHUNKS_Z;
Undocumented in source.
CHUNKS_Z_MASK
int CHUNKS_Z_MASK;
Undocumented in source.
CHUNK_DY
int CHUNK_DY;
Undocumented in source.

Meta