diff options
-rw-r--r-- | mapwidget.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mapwidget.go b/mapwidget.go index 4b033cf..48ae051 100644 --- a/mapwidget.go +++ b/mapwidget.go @@ -11,10 +11,9 @@ import ( ) const ( - zoom = 2 - tileSize = zoom * mcmap.ChunkSizeXZ - halfChunkSize = mcmap.ChunkSizeXZ / 2 - cacheSize = 4 + zoom = 2 + tileSize = zoom * mcmap.ChunkSizeXZ + cacheSize = 4 ) type tileCmd int |