修改代码。

This commit is contained in:
tengge1 2019-04-04 22:13:27 +08:00
parent 6041adc58a
commit b324e9a7a9

View File

@ -72,17 +72,19 @@ SphereTileCreator.prototype.canFork = function () {
return true;
}
var frustum = this._frustum;
return false;
if (tile.z >= 5) {
return false;
}
// var frustum = this._frustum;
if (tile._aabb.containsPoint(this._center)) {
return true;
} else {
return false;
}
// if (tile.z >= 5) {
// return false;
// }
// if (tile._aabb.containsPoint(this._center)) {
// return true;
// } else {
// return false;
// }
// MathUtils._lonlatToXYZ(tile._center, xyz);