修正内存泄漏,提供增量加载.

This commit is contained in:
ChenX
2018-07-02 12:07:16 +08:00
parent fcf2a1eb73
commit c1e9aac48b
12 changed files with 46 additions and 28 deletions

View File

@@ -112,7 +112,7 @@ var CameraUpdate = /** @class */ (function () {
this.Update();
};
CameraUpdate.prototype.ZoomExtensBox3 = function (box3) {
if (!box3)
if (!box3 || box3.isEmpty())
return;
this.Camera.updateMatrixWorld(false);
//变换到相机坐标系