暴露相机控制变量.

This commit is contained in:
ChenX
2018-06-06 17:44:54 +08:00
parent 29a6dd0fff
commit fcf2a1eb73
7 changed files with 10 additions and 7 deletions

2
dist/Viewer.js vendored
View File

@@ -35,7 +35,7 @@ var Viewer = /** @class */ (function () {
this.initRender(canvasContainer);
this.OnSize();
this.StartRender();
new _1.CameraControls(this);
this.m_CameraCtrl = new _1.CameraControls(this);
window.addEventListener("resize", function () {
_this.OnSize();
});