1
0
forked from MTSR/mapserver
mapserver/coords/mapblockcoords.go
Thomas Rudin bc223722af gofmt
2019-01-13 16:37:03 +01:00

19 lines
261 B
Go

package coords
type MapBlockCoords struct {
X, Y, Z int
}
func NewMapBlockCoords(x, y, z int) MapBlockCoords {
return MapBlockCoords{X: x, Y: y, Z: z}
}
type MapBlockRange struct {
pos1, pos2 MapBlockCoords
}
const (
MaxCoord = 2047
MinCoord = -2047
)