@mml-io/3d-web-client-core 0.0.0-experimental-c5bc6e3-20240723 → 0.0.0-experimental-45912e3-20240802

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/build/index.js CHANGED
@@ -235,10 +235,6 @@ var CameraManager = class {
235
235
  this.distance = this.initialDistance;
236
236
  this.targetDistance = this.initialDistance;
237
237
  this.desiredDistance = this.initialDistance;
238
- this.phi = Math.PI / 2;
239
- this.targetPhi = this.phi;
240
- this.theta = Math.PI / 2;
241
- this.targetTheta = this.theta;
242
238
  this.target = new Vector32(0, 1.55, 0);
243
239
  this.hadTarget = false;
244
240
  this.finalTarget = new Vector32();
@@ -249,7 +245,9 @@ var CameraManager = class {
249
245
  this.activePointers = /* @__PURE__ */ new Map();
250
246
  this.targetElement.style.touchAction = "pinch-zoom";
251
247
  this.phi = initialPhi;
248
+ this.targetPhi = this.phi;
252
249
  this.theta = initialTheta;
250
+ this.targetTheta = this.theta;
253
251
  this.camera = new PerspectiveCamera(this.fov, window.innerWidth / window.innerHeight, 0.1, 400);
254
252
  this.camera.position.set(0, 1.4, -this.initialDistance);
255
253
  this.rayCaster = new Raycaster();