From 2bea824153d19b3dbf6164187291a9c90e759b05 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Mon, 22 Sep 2014 02:37:44 +0200 Subject: [PATCH] mtwebmapper: simplified pyramid tile updater a bit. --- cmd/mtwebmapper/tilesupdater.go | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/cmd/mtwebmapper/tilesupdater.go b/cmd/mtwebmapper/tilesupdater.go index 9abfd79..8a60609 100644 --- a/cmd/mtwebmapper/tilesupdater.go +++ b/cmd/mtwebmapper/tilesupdater.go @@ -56,15 +56,6 @@ func (c xz) parent() xzm { Mask: 1 << (zr<<1 | xr)} } -func (c xzm) numChanges() (n int) { - for i := uint16(0); i < 4; i++ { - if c.Mask&(1<