lythreeframe 1.0.48 → 1.0.49
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 +6 -7
- package/dist/bundle.esm.js +6 -7
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -2016,14 +2016,13 @@ class Controller {
|
|
|
2016
2016
|
this._pawn = new Orbital(this);
|
|
2017
2017
|
this.pawn.possess();
|
|
2018
2018
|
this.raycaster = new webgpu.Raycaster();
|
|
2019
|
-
if (
|
|
2020
|
-
|
|
2019
|
+
if (this.viewPort.canvas) {
|
|
2020
|
+
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2021
|
+
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
2022
|
+
this.viewPort.canvas.addEventListener("pointerleave", this.onPointerLeave);
|
|
2023
|
+
this.viewPort.canvas.addEventListener("pointerup", this.onPointerUp);
|
|
2024
|
+
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2021
2025
|
}
|
|
2022
|
-
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2023
|
-
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
2024
|
-
this.viewPort.canvas.addEventListener("pointerleave", this.onPointerLeave);
|
|
2025
|
-
this.viewPort.canvas.addEventListener("pointerup", this.onPointerUp);
|
|
2026
|
-
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2027
2026
|
}
|
|
2028
2027
|
init() {
|
|
2029
2028
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2014,14 +2014,13 @@ class Controller {
|
|
|
2014
2014
|
this._pawn = new Orbital(this);
|
|
2015
2015
|
this.pawn.possess();
|
|
2016
2016
|
this.raycaster = new Raycaster();
|
|
2017
|
-
if (
|
|
2018
|
-
|
|
2017
|
+
if (this.viewPort.canvas) {
|
|
2018
|
+
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2019
|
+
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
2020
|
+
this.viewPort.canvas.addEventListener("pointerleave", this.onPointerLeave);
|
|
2021
|
+
this.viewPort.canvas.addEventListener("pointerup", this.onPointerUp);
|
|
2022
|
+
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2019
2023
|
}
|
|
2020
|
-
this.viewPort.canvas.addEventListener("pointermove", this.onPointerMove);
|
|
2021
|
-
this.viewPort.canvas.addEventListener("pointerenter", this.onPointerEnter);
|
|
2022
|
-
this.viewPort.canvas.addEventListener("pointerleave", this.onPointerLeave);
|
|
2023
|
-
this.viewPort.canvas.addEventListener("pointerup", this.onPointerUp);
|
|
2024
|
-
this.viewPort.canvas.addEventListener("pointerdown", this.onPointerDown);
|
|
2025
2024
|
}
|
|
2026
2025
|
init() {
|
|
2027
2026
|
}
|