viral-viewer-2 6.5.3 → 6.5.4
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/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -23270,7 +23270,7 @@ class O2 {
|
|
|
23270
23270
|
worldToClient(e) {
|
|
23271
23271
|
if (this.camera) {
|
|
23272
23272
|
let t = new G(e.x, e.y, e.z);
|
|
23273
|
-
this.camera.updateMatrixWorld(!0);
|
|
23273
|
+
this.camera.updateMatrixWorld(!0), this.camera.updateProjectionMatrix();
|
|
23274
23274
|
let i = t.project(this.camera);
|
|
23275
23275
|
return i.x = (i.x + 1) * this.targetElement.offsetWidth / 2, i.y = -(i.y - 1) * this.targetElement.offsetHeight / 2, i.z = 0, i;
|
|
23276
23276
|
}
|