diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-16 20:08:52 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-16 20:08:52 +0200 |
commit | 45b4350fc3d98d3c7fc93c3303489d8d6376c3d0 (patch) | |
tree | e4341a481132cef3844d4fa2cfca8a8cc15abb45 | |
parent | 86b19c4afbdb1a0ce39fa4bef97a398872e2ac6a (diff) | |
download | biomed-45b4350fc3d98d3c7fc93c3303489d8d6376c3d0.tar.gz biomed-45b4350fc3d98d3c7fc93c3303489d8d6376c3d0.tar.bz2 biomed-45b4350fc3d98d3c7fc93c3303489d8d6376c3d0.zip |
halfChunkSize is not needed any more
-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 |