1
0
forked from MTSR/mapserver
mapserver/coords/mapblockcoords.go

19 lines
259 B
Go
Raw Normal View History

2019-01-09 12:52:51 +03:00
package coords
type MapBlockCoords struct {
X,Y,Z int
}
func NewMapBlockCoords(x,y,z int) MapBlockCoords {
return MapBlockCoords{X:x, Y:y, Z:z}
}
2019-01-09 13:11:45 +03:00
2019-01-10 17:21:34 +03:00
type MapBlockRange struct {
pos1, pos2 MapBlockCoords
}
2019-01-09 13:11:45 +03:00
const (
MaxCoord = 2047
MinCoord = -2047
)