forked from MTSR/mapserver
12 lines
183 B
Go
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)
|
|
}
|
|
}
|
|
}
|
|
}
|