dlangui v0.10.0 (2022-11-08T19:06:33Z)
Home
Dub
Repo
VisibilityCheckChunk
dminer
core
chunk
Undocumented in source.
struct
VisibilityCheckChunk
version(FAST_VISIBILITY_PATH)
struct
VisibilityCheckChunk {
SmallChunk
*
chunk
;
ulong
[
6
]
maskFrom
;
ulong
[
6
]
maskTo
;
Vector3d
pos
;
ubyte
visitedFromDirMask
;
ubyte
spreadToDirMask
;
void
setMask
(ulong mask, Dir fromDir);
void
traceFrom
(Dir fromDir);
void
tracePaths
();
}
struct
VisibilityCheckChunk
Members
Functions
setMask
void
setMask
(ulong mask, Dir fromDir)
Undocumented in source. Be warned that the author may not have intended to support it.
traceFrom
void
traceFrom
(Dir fromDir)
Undocumented in source. Be warned that the author may not have intended to support it.
tracePaths
void
tracePaths
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
chunk
SmallChunk
*
chunk
;
Undocumented in source.
maskFrom
ulong
[
6
]
maskFrom
;
Undocumented in source.
maskTo
ulong
[
6
]
maskTo
;
Undocumented in source.
pos
Vector3d
pos
;
Undocumented in source.
spreadToDirMask
ubyte
spreadToDirMask
;
Undocumented in source.
visitedFromDirMask
ubyte
visitedFromDirMask
;
Undocumented in source.
Meta
Source
See Implementation
dminer
core
chunk
enums
SpreadMask
functions
calcSpreadMask
dirMaskToSpreadMask
flipBitsLeft
flipBitsRight
generateDirMaskSource
spreadXPlane
spreadYPlane
spreadZPlane
testDirMaskToSpreadMask
testPlanes
xPlaneFromYplanes
xPlaneFromZplanes
yPlaneFromXplanes
yPlaneFromZplanes
zPlaneFromXplanes
zPlaneFromYplanes
interfaces
CellVisitor
ChunkVisitor
structs
AllPlanes
ChunkStack
Planes
SmallChunk
VisibilityCheckChunk
VisibilityCheckIterator
variables
CHUNKS_BITS_X
CHUNKS_BITS_Z
CHUNKS_X
CHUNKS_X_MASK
CHUNKS_Z
CHUNKS_Z_MASK
CHUNK_DY