voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
Batch.cube
voxelman
graphics
batch
Batch
Creates a batch with a centered cube with 3 radiuses (not dimensions).
Batch
cube
(Vector!(T, 3) halfSize, Color4ub color, bool fill)
struct
Batch
static
Batch
cube
(
T
)
(
Vector
!(
T
, 3)
halfSize
,
Color4ub
color
,
bool
fill
)
Batch
cube
(Vector!(T, 3) halfSize, Color4ub color, bool fill, Vector!(T, 3) offset)
Meta
Source
See Implementation
voxelman
graphics
batch
Batch
functions
put3dGrid
putCube
putCubeFace
putLine
putLineVolumetric
putPoint
putSolidMesh
reset
static functions
cube
cube32
variables
lineBuffer
pointBuffer
triBuffer
Creates a batch with a centered cube with 3 radiuses (not dimensions).