lythreeframe 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +4 -0
- package/dist/bundle.esm.js +4 -0
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -2065,11 +2065,15 @@ class ThreeJsApp {
|
|
|
2065
2065
|
get controllerClass() {
|
|
2066
2066
|
return Controller;
|
|
2067
2067
|
}
|
|
2068
|
+
get appParam() {
|
|
2069
|
+
return this._appParam;
|
|
2070
|
+
}
|
|
2068
2071
|
get onCameraChangedDelegate() {
|
|
2069
2072
|
return this._onCameraChangedDelegate;
|
|
2070
2073
|
}
|
|
2071
2074
|
constructor(elementId, appParam = DefaultAppParam) {
|
|
2072
2075
|
this._onCameraChangedDelegate = new Delegate();
|
|
2076
|
+
this._appParam = appParam;
|
|
2073
2077
|
this._clock = new three.Clock();
|
|
2074
2078
|
this._camera = CameraFactory.createCamera(appParam.cameraParam ? appParam.cameraParam : DefaultCameraParam);
|
|
2075
2079
|
this._world = new this.worldClass(this);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2063,11 +2063,15 @@ class ThreeJsApp {
|
|
|
2063
2063
|
get controllerClass() {
|
|
2064
2064
|
return Controller;
|
|
2065
2065
|
}
|
|
2066
|
+
get appParam() {
|
|
2067
|
+
return this._appParam;
|
|
2068
|
+
}
|
|
2066
2069
|
get onCameraChangedDelegate() {
|
|
2067
2070
|
return this._onCameraChangedDelegate;
|
|
2068
2071
|
}
|
|
2069
2072
|
constructor(elementId, appParam = DefaultAppParam) {
|
|
2070
2073
|
this._onCameraChangedDelegate = new Delegate();
|
|
2074
|
+
this._appParam = appParam;
|
|
2071
2075
|
this._clock = new Clock();
|
|
2072
2076
|
this._camera = CameraFactory.createCamera(appParam.cameraParam ? appParam.cameraParam : DefaultCameraParam);
|
|
2073
2077
|
this._world = new this.worldClass(this);
|