lythreeframe 1.1.13 → 1.1.14
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 +3 -3
- package/dist/bundle.esm.js +3 -3
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -1554,9 +1554,9 @@ class Viewport {
|
|
|
1554
1554
|
this.app.onCameraChangedDelegate.add(() => {
|
|
1555
1555
|
this.setupPostProcess();
|
|
1556
1556
|
});
|
|
1557
|
-
this.setupPostProcess();
|
|
1558
1557
|
}
|
|
1559
1558
|
init() {
|
|
1559
|
+
this.setupPostProcess();
|
|
1560
1560
|
}
|
|
1561
1561
|
setupPostProcess() {
|
|
1562
1562
|
if (this.postProcessParam.toneMapping) {
|
|
@@ -2071,6 +2071,8 @@ class Controller {
|
|
|
2071
2071
|
this._pawn = new Orbital(this);
|
|
2072
2072
|
this.pawn.possess();
|
|
2073
2073
|
this.raycaster = new webgpu.Raycaster();
|
|
2074
|
+
}
|
|
2075
|
+
init() {
|
|
2074
2076
|
if (this.viewPort.canvas) {
|
|
2075
2077
|
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2076
2078
|
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
@@ -2079,8 +2081,6 @@ class Controller {
|
|
|
2079
2081
|
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2080
2082
|
}
|
|
2081
2083
|
}
|
|
2082
|
-
init() {
|
|
2083
|
-
}
|
|
2084
2084
|
tick(deltaTime) {
|
|
2085
2085
|
this.pawn.tick(deltaTime);
|
|
2086
2086
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -1552,9 +1552,9 @@ class Viewport {
|
|
|
1552
1552
|
this.app.onCameraChangedDelegate.add(() => {
|
|
1553
1553
|
this.setupPostProcess();
|
|
1554
1554
|
});
|
|
1555
|
-
this.setupPostProcess();
|
|
1556
1555
|
}
|
|
1557
1556
|
init() {
|
|
1557
|
+
this.setupPostProcess();
|
|
1558
1558
|
}
|
|
1559
1559
|
setupPostProcess() {
|
|
1560
1560
|
if (this.postProcessParam.toneMapping) {
|
|
@@ -2069,6 +2069,8 @@ class Controller {
|
|
|
2069
2069
|
this._pawn = new Orbital(this);
|
|
2070
2070
|
this.pawn.possess();
|
|
2071
2071
|
this.raycaster = new Raycaster();
|
|
2072
|
+
}
|
|
2073
|
+
init() {
|
|
2072
2074
|
if (this.viewPort.canvas) {
|
|
2073
2075
|
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2074
2076
|
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
@@ -2077,8 +2079,6 @@ class Controller {
|
|
|
2077
2079
|
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2078
2080
|
}
|
|
2079
2081
|
}
|
|
2080
|
-
init() {
|
|
2081
|
-
}
|
|
2082
2082
|
tick(deltaTime) {
|
|
2083
2083
|
this.pawn.tick(deltaTime);
|
|
2084
2084
|
}
|