@lv-x-software-house/x_view 1.2.6-dev.43 → 1.2.6-dev.45
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 +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18561,20 +18561,20 @@ function XViewScene({
|
|
|
18561
18561
|
const rotateAngle = Math.PI / 36;
|
|
18562
18562
|
const zoomScale = 1.1;
|
|
18563
18563
|
if (event.key === "ArrowLeft") {
|
|
18564
|
-
controls.
|
|
18564
|
+
controls._rotateLeft(rotateAngle);
|
|
18565
18565
|
} else if (event.key === "ArrowRight") {
|
|
18566
|
-
controls.
|
|
18566
|
+
controls._rotateLeft(-rotateAngle);
|
|
18567
18567
|
} else if (event.key === "ArrowUp") {
|
|
18568
18568
|
if (event.shiftKey) {
|
|
18569
|
-
controls.
|
|
18569
|
+
controls._dollyIn(zoomScale);
|
|
18570
18570
|
} else {
|
|
18571
|
-
controls.
|
|
18571
|
+
controls._rotateUp(rotateAngle);
|
|
18572
18572
|
}
|
|
18573
18573
|
} else if (event.key === "ArrowDown") {
|
|
18574
18574
|
if (event.shiftKey) {
|
|
18575
|
-
controls.
|
|
18575
|
+
controls._dollyOut(zoomScale);
|
|
18576
18576
|
} else {
|
|
18577
|
-
controls.
|
|
18577
|
+
controls._rotateUp(-rotateAngle);
|
|
18578
18578
|
}
|
|
18579
18579
|
}
|
|
18580
18580
|
controls.update();
|
package/dist/index.mjs
CHANGED
|
@@ -18617,20 +18617,20 @@ function XViewScene({
|
|
|
18617
18617
|
const rotateAngle = Math.PI / 36;
|
|
18618
18618
|
const zoomScale = 1.1;
|
|
18619
18619
|
if (event.key === "ArrowLeft") {
|
|
18620
|
-
controls.
|
|
18620
|
+
controls._rotateLeft(rotateAngle);
|
|
18621
18621
|
} else if (event.key === "ArrowRight") {
|
|
18622
|
-
controls.
|
|
18622
|
+
controls._rotateLeft(-rotateAngle);
|
|
18623
18623
|
} else if (event.key === "ArrowUp") {
|
|
18624
18624
|
if (event.shiftKey) {
|
|
18625
|
-
controls.
|
|
18625
|
+
controls._dollyIn(zoomScale);
|
|
18626
18626
|
} else {
|
|
18627
|
-
controls.
|
|
18627
|
+
controls._rotateUp(rotateAngle);
|
|
18628
18628
|
}
|
|
18629
18629
|
} else if (event.key === "ArrowDown") {
|
|
18630
18630
|
if (event.shiftKey) {
|
|
18631
|
-
controls.
|
|
18631
|
+
controls._dollyOut(zoomScale);
|
|
18632
18632
|
} else {
|
|
18633
|
-
controls.
|
|
18633
|
+
controls._rotateUp(-rotateAngle);
|
|
18634
18634
|
}
|
|
18635
18635
|
}
|
|
18636
18636
|
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.
|
|
3
|
+
"version": "1.2.6-dev.45",
|
|
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",
|