1
0
forked from MTSR/mapserver
mapserver/mapblockparser/iterate.go

12 lines
183 B
Go
Raw Normal View History

2019-02-08 13:23:04 +03:00
package mapblockparser
2019-02-08 18:02:24 +03:00
func IterateMapblock(cb func(x, y, z int)) {
for x := 0; x < 16; x++ {
for y := 0; y < 16; y++ {
for z := 0; z < 16; z++ {
cb(x, y, z)
}
}
}
2019-02-08 13:23:04 +03:00
}