mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 17:20:18 +01:00
Added forgotten semikola in JS.
This commit is contained in:
parent
b71f8bd208
commit
f708a7c44b
@ -58,12 +58,12 @@ L.Control.AutoUpdate = L.Control.extend({
|
|||||||
last[xz.X + "#" + xz.Z] = xz;
|
last[xz.X + "#" + xz.Z] = xz;
|
||||||
}
|
}
|
||||||
for (var p = 7; p >= 0; p--) {
|
for (var p = 7; p >= 0; p--) {
|
||||||
var prev = pyramid[p+1]
|
var prev = pyramid[p+1];
|
||||||
var curr = new Object();
|
var curr = new Object();
|
||||||
pyramid[p] = curr;
|
pyramid[p] = curr;
|
||||||
for (var k in prev) {
|
for (var k in prev) {
|
||||||
if (prev.hasOwnProperty(k)) {
|
if (prev.hasOwnProperty(k)) {
|
||||||
var oxz = prev[k]
|
var oxz = prev[k];
|
||||||
var nxz = { X: oxz.X >> 1, Z: oxz.Z >> 1 };
|
var nxz = { X: oxz.X >> 1, Z: oxz.Z >> 1 };
|
||||||
curr[nxz.X + "#" + nxz.Z] = nxz;
|
curr[nxz.X + "#" + nxz.Z] = nxz;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user