Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextureSet ¶
type TextureSet interface { // noise HeightMapFrequency() float64 HeightMapOctaves() int64 HeatMapFrequency() float64 HeatMapOctaves() int64 MoistureMapFrequency() float64 MoistureMapOctaves() int64 CloudMapFrequency() float64 CloudMapOctaves() int64 // tiles Init(tile *Tile) HeightColor(tile *Tile) *Color HeatColor(tile *Tile) *Color MoistureColor(tile *Tile) *Color BiomeColor(tile *Tile) *Color BumpColor(tile *Tile) *Color CloudColor(tile *Tile) *Color SpecularColor(tile *Tile) *Color }
type Tile ¶
type Tile struct { Index int X int Y int HeightValue float64 HeatValue float64 MoistureValue float64 CloudValue float64 Top func() *Tile Bottom func() *Tile Left func() *Tile Right func() *Tile TextureSet TextureSet }
func (*Tile) BiomeColor ¶
func (*Tile) CloudColor ¶
func (*Tile) HeightColor ¶
func (*Tile) MoistureColor ¶
func (*Tile) SpecularColor ¶
Click to show internal directories.
Click to hide internal directories.