web3dlink 2.1.1 → 2.1.2

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/web3dlink.js CHANGED
@@ -804,8 +804,8 @@ function flyTo(e) {
804
804
  field: "pitch",
805
805
  value: e.pitch,
806
806
  defaultValue: 0,
807
- min: -180,
808
- max: 180
807
+ min: -90,
808
+ max: 90
809
809
  })), t.push(...validateOptionalNumber({
810
810
  normalized: n,
811
811
  field: "yaw",
@@ -835,8 +835,8 @@ function focusToID(e) {
835
835
  normalized: n,
836
836
  field: "pitch",
837
837
  value: e.pitch,
838
- min: -180,
839
- max: 180
838
+ min: -90,
839
+ max: 90
840
840
  })), t.push(...validateOptionalNumber({
841
841
  normalized: n,
842
842
  field: "yaw",
@@ -869,8 +869,8 @@ function focusToPoint(e) {
869
869
  field: "pitch",
870
870
  value: e.pitch,
871
871
  defaultValue: 0,
872
- min: -180,
873
- max: 180
872
+ min: -90,
873
+ max: 90
874
874
  })), t.push(...validateOptionalNumber({
875
875
  normalized: n,
876
876
  field: "yaw",
@@ -942,8 +942,8 @@ function aroundMode(e = {}) {
942
942
  field: "pitch",
943
943
  value: e.pitch,
944
944
  defaultValue: 0,
945
- min: -180,
946
- max: 180
945
+ min: -90,
946
+ max: 90
947
947
  })), t.push(...validateOptionalNumber({
948
948
  normalized: n,
949
949
  field: "yaw",
@@ -1017,8 +1017,8 @@ function firstPersonMode(e = {}) {
1017
1017
  field: "pitch",
1018
1018
  value: e.pitch,
1019
1019
  defaultValue: 0,
1020
- min: -180,
1021
- max: 180
1020
+ min: -90,
1021
+ max: 90
1022
1022
  })), t.push(...validateOptionalNumber({
1023
1023
  normalized: n,
1024
1024
  field: "yaw",
@@ -1538,8 +1538,8 @@ function validateCaptureConfig(e, t) {
1538
1538
  field: "pitch",
1539
1539
  value: e.pitch,
1540
1540
  defaultValue: 0,
1541
- min: -180,
1542
- max: 180
1541
+ min: -90,
1542
+ max: 90
1543
1543
  })), t.push(...validateOptionalNumber({
1544
1544
  normalized: e,
1545
1545
  field: "yaw",
@@ -1991,8 +1991,8 @@ function cameraFollow(e) {
1991
1991
  field: "pitch",
1992
1992
  value: e.pitch,
1993
1993
  defaultValue: 0,
1994
- min: -180,
1995
- max: 180
1994
+ min: -90,
1995
+ max: 90
1996
1996
  })), {
1997
1997
  errors: t,
1998
1998
  normalized: n