1
0
forked from MTSR/mapserver
mapserver/mapblockparser/iterate.go
2019-06-13 08:04:32 +02:00

12 lines
183 B
Go

package mapblockparser
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)
}
}
}
}