From 45b4350fc3d98d3c7fc93c3303489d8d6376c3d0 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Fri, 16 Aug 2013 20:08:52 +0200 Subject: halfChunkSize is not needed any more --- mapwidget.go | 7 +++---- 1 file 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 -- cgit v1.2.3-70-g09d2