voxelman v0.6.1 (2016-01-09T15:39:38Z)
Dub
Repo
Block
voxelman
core
block
Undocumented in source.
struct
Block {
BlockType
id
;
string
name
;
ubyte
[
3
]
color
;
bool
isVisible
;
ubyte
[]
mesh
(ubyte bx, ubyte by, ubyte bz, ubyte sides, ubyte sidesnum);
bool
function
(
Side
side
)
isSideTransparent
;
ubyte
[]
function
(
const
Block
block
,
ubyte
bx
,
ubyte
by
,
ubyte
bz
,
ubyte
sides
,
ubyte
sidesnum
)
getMesh
;
}
Members
Functions
mesh
ubyte
[]
mesh
(ubyte bx, ubyte by, ubyte bz, ubyte sides, ubyte sidesnum)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
color
ubyte
[
3
]
color
;
Undocumented in source.
getMesh
ubyte
[]
function
(
const
Block
block
,
ubyte
bx
,
ubyte
by
,
ubyte
bz
,
ubyte
sides
,
ubyte
sidesnum
)
getMesh
;
Undocumented in source.
id
BlockType
id
;
Undocumented in source.
isSideTransparent
bool
function
(
Side
side
)
isSideTransparent
;
Undocumented in source.
isVisible
bool
isVisible
;
Undocumented in source.
name
string
name
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
core
block
enums
Side
functions
sideFromNormal
structs
Block
variables
oppSide
sideOffsets