Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Black = New(color.Black)
View Source
var Blue = New(color.Blue)
View Source
var Empty = T{}
voxel.Empty is an empty color voxel
View Source
var Green = New(color.Green)
View Source
var Red = New(color.Red)
View Source
var White = New(color.White)
Functions ¶
This section is empty.
Types ¶
type Vertex ¶
type Vertex struct { X byte `vtx:"position,uint8,3"` Y byte `vtx:"skip"` Z byte `vtx:"skip"` N byte `vtx:"normal_id,uint8,1"` R byte `vtx:"color_0,uint8,3,normalize"` G byte `vtx:"skip"` B byte `vtx:"skip"` O byte `vtx:"occlusion,uint8,1,normalize"` }
voxel.Vertex represents a single RGB-colored voxel
Click to show internal directories.
Click to hide internal directories.