@lv-x-software-house/x_view 1.2.6-dev.48 → 1.2.6-dev.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/index.js CHANGED
@@ -16043,10 +16043,11 @@ function XViewScene({
16043
16043
  if (keysPressed["ArrowUp"]) sceneControls.dollyIn(zoomInFactor);
16044
16044
  if (keysPressed["ArrowDown"]) sceneControls.dollyOut(zoomOutFactor);
16045
16045
  } else {
16046
- if (keysPressed["ArrowLeft"]) sceneControls.panLeft(panSpeed, sceneCamera.matrix);
16047
- if (keysPressed["ArrowRight"]) sceneControls.panLeft(-panSpeed, sceneCamera.matrix);
16048
- if (keysPressed["ArrowUp"]) sceneControls.panUp(panSpeed, sceneCamera.matrix);
16049
- if (keysPressed["ArrowDown"]) sceneControls.panUp(-panSpeed, sceneCamera.matrix);
16046
+ const panStep = 10;
16047
+ if (keysPressed["ArrowLeft"]) sceneControls.pan(panStep, 0);
16048
+ if (keysPressed["ArrowRight"]) sceneControls.pan(-panStep, 0);
16049
+ if (keysPressed["ArrowUp"]) sceneControls.pan(0, panStep);
16050
+ if (keysPressed["ArrowDown"]) sceneControls.pan(0, -panStep);
16050
16051
  }
16051
16052
  }
16052
16053
  stateRef.current.controls.update();
package/dist/index.mjs CHANGED
@@ -16099,10 +16099,11 @@ function XViewScene({
16099
16099
  if (keysPressed["ArrowUp"]) sceneControls.dollyIn(zoomInFactor);
16100
16100
  if (keysPressed["ArrowDown"]) sceneControls.dollyOut(zoomOutFactor);
16101
16101
  } else {
16102
- if (keysPressed["ArrowLeft"]) sceneControls.panLeft(panSpeed, sceneCamera.matrix);
16103
- if (keysPressed["ArrowRight"]) sceneControls.panLeft(-panSpeed, sceneCamera.matrix);
16104
- if (keysPressed["ArrowUp"]) sceneControls.panUp(panSpeed, sceneCamera.matrix);
16105
- if (keysPressed["ArrowDown"]) sceneControls.panUp(-panSpeed, sceneCamera.matrix);
16102
+ const panStep = 10;
16103
+ if (keysPressed["ArrowLeft"]) sceneControls.pan(panStep, 0);
16104
+ if (keysPressed["ArrowRight"]) sceneControls.pan(-panStep, 0);
16105
+ if (keysPressed["ArrowUp"]) sceneControls.pan(0, panStep);
16106
+ if (keysPressed["ArrowDown"]) sceneControls.pan(0, -panStep);
16106
16107
  }
16107
16108
  }
16108
16109
  stateRef.current.controls.update();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv-x-software-house/x_view",
3
- "version": "1.2.6-dev.48",
3
+ "version": "1.2.6-dev.49",
4
4
  "description": "Pacote privado contendo os componentes e lógica de renderização 3D do X View.",
5
5
  "author": "iv.x - Engenharia de Software - ivxsoftwarehouse@gmail.com",
6
6
  "license": "UNLICENSED",