1
0
forked from MTSR/mapserver
mapserver/coords/iterate_mapblock.go
2022-01-30 13:29:47 +01:00

14 lines
215 B
Go

package coords
type MapblockIterator func(x, y, z int)
func IterateMapblock(it MapblockIterator) {
for x := 0; x < 16; x++ {
for y := 0; y < 16; y++ {
for z := 0; z < 16; z++ {
it(x, y, z)
}
}
}
}