Versions in this module Expand all Collapse all v0 v0.10.0 Sep 4, 2018 v0.9.0 Apr 27, 2018 v0.8.3 Feb 13, 2018 v0.8.2 Oct 31, 2017 v0.8.1 Oct 21, 2017 v0.8.0 Sep 14, 2017 v0.7.1 Sep 30, 2016 v0.6.5 Sep 5, 2016 v0.6.3 Aug 26, 2016 Changes in this version + const XNeg + const XPos + const YNeg + const YPos + const ZNeg + const ZPos + var CircleForm = &Form + func ZLabel(zoom uint, merge uint64) (key string) + func ZMerge(a, b uint32) (m uint64) + func ZSplit(m uint64) (a, b uint32) + type Form struct + A float64 + B float64 + M float64 + N1 float64 + N2 float64 + N3 float64 + func NewForm() *Form + func (f *Form) At2D(angle float64) (x, y float64) + func (f *Form) At3D(lat, lon float64) (x, y, z float64) + func (f *Form) Radius(angle float64) (r float64) + func (f *Form) Set(fm *Form) + func (f *Form) SetValues(m, n1, n2, n3, a, b float64) + type Land interface + Fill func(tile Tile) + Fill3D func(tile Tile) + NewTile func(zoom, tx, ty int) Tile + Size func(zoom int) int + TileSize func() int + func NewLand(tileSize int, seed int64) Land + type Noise interface + Gen2D func(x, y float64) float64 + Gen3D func(x, y, z float64) float64 + type RegionData [][]int + func Regions(size, numRegions int, seed int64) RegionData + type SimplexNoise struct + F float64 + G float64 + L float64 + N Noise + O int + func NewSimplexNoise(seed int64) *SimplexNoise + func (sn *SimplexNoise) Gen2D(x, y float64) float64 + type Tile interface + Origin func() (ox, oy int) + Set func(zoom, ox, oy int) Tile + SetFace func(face int) Tile + Size func() (x, y int) + Topo func() [][]float64 + Zoom func() int