voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
SideIntersectionTable
voxelman
world
block
shape
Undocumented in source.
struct
SideIntersectionTable {
bool
[]
table
;
size_t
numTypes
;
bool
get
(ShapeSideMask current, ShapeSideMask other);
void
set
(ShapeSideMask current, ShapeSideMask other);
void
reset
(ShapeSideMask current, ShapeSideMask other);
}
Members
Functions
get
bool
get
(ShapeSideMask current, ShapeSideMask other)
Returns true if current shape side is visible
reset
void
reset
(ShapeSideMask current, ShapeSideMask other)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void
set
(ShapeSideMask current, ShapeSideMask other)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
numTypes
size_t
numTypes
;
Undocumented in source.
table
bool
[]
table
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
world
block
shape
enums
ShapeSideMask
functions
sideIntersectionTable
slopeShapeFromMeta
manifest constants
NUM_SIDE_MASKS
structs
BlockShape
ShapeSide
SideIntersectionTable
variables
blockSideCorners
emptyShape
emptyShapeSides
fullShape
fullShapeSides
unknownShape
waterShape
waterShapeSides