修正内存泄漏,提供增量加载.
This commit is contained in:
2
dist/CameraUpdate.js
vendored
2
dist/CameraUpdate.js
vendored
@@ -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);
|
||||
//变换到相机坐标系
|
||||
|
||||
Reference in New Issue
Block a user