x_ite 9.4.1 → 9.4.3

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.
Files changed (48) hide show
  1. package/README.md +30 -0
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +14 -14
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +25 -25
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +22 -26
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +75 -149
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +23 -23
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +10 -12
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +42 -44
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +40 -44
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +51 -53
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +124 -122
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +56 -56
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +38 -38
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +44 -44
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjection.js +19 -19
  35. package/dist/assets/components/TextureProjection.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +34 -35
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +21 -23
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +8 -8
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.js +693 -679
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.min.mjs +1 -1
  46. package/dist/x_ite.mjs +693 -679
  47. package/dist/x_ite.zip +0 -0
  48. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /* X_ITE v9.4.1 */(() => { // webpackBootstrap
1
+ /* X_ITE v9.4.3 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Base/FieldDefinitionArray");
52
52
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
54
- const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Components/Core/X3DSensorNode");
54
+ const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Components/Core/X3DSensorNode");
55
55
  var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
57
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Rendering/TraverseType");
57
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Rendering/TraverseType");
58
58
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
60
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Base/X3DConstants");
60
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Base/X3DConstants");
61
61
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
62
62
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
63
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Namespace");
64
64
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
65
65
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Picking/MatchCriterion.js
66
66
  /*******************************************************************************
@@ -249,7 +249,7 @@ const SortOrder_default_ = SortOrder;
249
249
  Namespace_default().add ("SortOrder", "x_ite/Browser/Picking/SortOrder", SortOrder_default_);
250
250
  /* harmony default export */ const Picking_SortOrder = (SortOrder_default_);
251
251
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
252
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Math/Numbers/Matrix4");
252
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Math/Numbers/Matrix4");
253
253
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
254
254
  ;// CONCATENATED MODULE: ./src/standard/Math/Algorithms/QuickSort.js
255
255
  /*******************************************************************************
@@ -363,7 +363,7 @@ const QuickSort_default_ = QuickSort;
363
363
  Namespace_default().add ("QuickSort", "standard/Math/Algorithms/QuickSort", QuickSort_default_);
364
364
  /* harmony default export */ const Algorithms_QuickSort = (QuickSort_default_);
365
365
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/ObjectCache\")"
366
- const ObjectCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Utility/ObjectCache");
366
+ const ObjectCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Utility/ObjectCache");
367
367
  var ObjectCache_default = /*#__PURE__*/__webpack_require__.n(ObjectCache_namespaceObject);
368
368
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Picking/X3DPickSensorNode.js
369
369
  /*******************************************************************************
@@ -812,13 +812,13 @@ const X3DPickSensorNode_default_ = X3DPickSensorNode;
812
812
  Namespace_default().add ("X3DPickSensorNode", "x_ite/Components/Picking/X3DPickSensorNode", X3DPickSensorNode_default_);
813
813
  /* harmony default export */ const Picking_X3DPickSensorNode = (X3DPickSensorNode_default_);
814
814
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
815
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Math/Numbers/Vector3");
815
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Math/Numbers/Vector3");
816
816
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
817
817
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
818
- const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Math/Geometry/Box3");
818
+ const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Math/Geometry/Box3");
819
819
  var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
820
820
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
821
- const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Math/Geometry/Line3");
821
+ const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Math/Geometry/Line3");
822
822
  var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
823
823
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Picking/LinePickSensor.js
824
824
  /*******************************************************************************
@@ -904,11 +904,11 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
904
904
 
905
905
  try
906
906
  {
907
- var
907
+ const
908
908
  node = this ._pickingGeometry .getValue () .getInnerNode (),
909
909
  type = node .getType ();
910
910
 
911
- for (var t = type .length - 1; t >= 0; -- t)
911
+ for (let t = type .length - 1; t >= 0; -- t)
912
912
  {
913
913
  switch (type [t])
914
914
  {
@@ -928,20 +928,20 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
928
928
  },
929
929
  process: (() =>
930
930
  {
931
- var
931
+ const
932
932
  pickingBBox = new (Box3_default()) (),
933
933
  targetBBox = new (Box3_default()) (),
934
- pickingCenter = new (Vector3_default()) (0, 0, 0),
935
- targetCenter = new (Vector3_default()) (0, 0, 0),
934
+ pickingCenter = new (Vector3_default()) (),
935
+ targetCenter = new (Vector3_default()) (),
936
936
  matrix = new (Matrix4_default()) (),
937
- point1 = new (Vector3_default()) (0, 0, 0),
938
- point2 = new (Vector3_default()) (0, 0, 0),
937
+ point1 = new (Vector3_default()) (),
938
+ point2 = new (Vector3_default()) (),
939
939
  line = new (Line3_default()) ((Vector3_default()).Zero, (Vector3_default()).zAxis),
940
- a = new (Vector3_default()) (0, 0, 0),
941
- b = new (Vector3_default()) (0, 0, 0),
940
+ a = new (Vector3_default()) (),
941
+ b = new (Vector3_default()) (),
942
942
  clipPlanes = [ ],
943
943
  intersections = [ ],
944
- texCoord = new (Vector3_default()) (0, 0, 0),
944
+ texCoord = new (Vector3_default()) (),
945
945
  pickedTextureCoordinate = new (Fields_default()).MFVec3f (),
946
946
  pickedNormal = new (Fields_default()).MFVec3f (),
947
947
  pickedPoint = new (Fields_default()).MFVec3f ();
@@ -950,7 +950,7 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
950
950
  {
951
951
  if (this .pickingGeometryNode)
952
952
  {
953
- var
953
+ const
954
954
  modelMatrices = this .getModelMatrices (),
955
955
  targets = this .getTargets ();
956
956
 
@@ -960,15 +960,15 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
960
960
  {
961
961
  // Intersect bboxes.
962
962
 
963
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
963
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
964
964
  {
965
- var modelMatrix = modelMatrices [m];
965
+ const modelMatrix = modelMatrices [m];
966
966
 
967
967
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
968
968
 
969
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
969
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
970
970
  {
971
- var target = targets [t];
971
+ const target = targets [t];
972
972
 
973
973
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
974
974
 
@@ -985,7 +985,7 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
985
985
 
986
986
  // Send events.
987
987
 
988
- var
988
+ const
989
989
  pickedGeometries = this .getPickedGeometries (),
990
990
  active = !! pickedGeometries .length;
991
991
 
@@ -994,7 +994,7 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
994
994
  if (active !== this ._isActive .getValue ())
995
995
  this ._isActive = active;
996
996
 
997
- if (! this ._pickedGeometry .equals (pickedGeometries))
997
+ if (!this ._pickedGeometry .equals (pickedGeometries))
998
998
  this ._pickedGeometry = pickedGeometries;
999
999
 
1000
1000
  break;
@@ -1003,15 +1003,15 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1003
1003
  {
1004
1004
  // Intersect geometry.
1005
1005
 
1006
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1006
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1007
1007
  {
1008
- var modelMatrix = modelMatrices [m];
1008
+ const modelMatrix = modelMatrices [m];
1009
1009
 
1010
1010
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
1011
1011
 
1012
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
1012
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
1013
1013
  {
1014
- var
1014
+ const
1015
1015
  target = targets [t],
1016
1016
  geometryNode = target .geometryNode,
1017
1017
  vertices = this .pickingGeometryNode .getVertices ();
@@ -1019,7 +1019,7 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1019
1019
  targetBBox .assign (geometryNode .getBBox ()) .multRight (target .modelMatrix);
1020
1020
  matrix .assign (target .modelMatrix) .inverse () .multLeft (modelMatrix);
1021
1021
 
1022
- for (var v = 0, vLength = vertices .length; v < vLength; v += 8)
1022
+ for (let v = 0, vLength = vertices .length; v < vLength; v += 8)
1023
1023
  {
1024
1024
  matrix .multVecMatrix (point1 .set (vertices [v + 0], vertices [v + 1], vertices [v + 2]));
1025
1025
  matrix .multVecMatrix (point2 .set (vertices [v + 4], vertices [v + 5], vertices [v + 6]));
@@ -1029,16 +1029,16 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1029
1029
 
1030
1030
  if (geometryNode .intersectsLine (line, target .modelMatrix, clipPlanes, intersections))
1031
1031
  {
1032
- for (var i = 0, iLength = intersections .length; i < iLength; ++ i)
1032
+ for (let i = 0, iLength = intersections .length; i < iLength; ++ i)
1033
1033
  {
1034
1034
  // Test if intersection.point is between point1 and point2.
1035
1035
 
1036
- var intersection = intersections [i];
1036
+ const intersection = intersections [i];
1037
1037
 
1038
1038
  a .assign (intersection .point) .subtract (point1);
1039
1039
  b .assign (intersection .point) .subtract (point2);
1040
1040
 
1041
- var
1041
+ const
1042
1042
  c = a .add (b) .magnitude (),
1043
1043
  s = point1 .distance (point2);
1044
1044
 
@@ -1061,7 +1061,7 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1061
1061
 
1062
1062
  // Send events.
1063
1063
 
1064
- var
1064
+ const
1065
1065
  pickedGeometries = this .getPickedGeometries (),
1066
1066
  active = !! pickedGeometries .length;
1067
1067
 
@@ -1070,22 +1070,22 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1070
1070
  if (active !== this ._isActive .getValue ())
1071
1071
  this ._isActive = active;
1072
1072
 
1073
- if (! this ._pickedGeometry .equals (pickedGeometries))
1073
+ if (!this ._pickedGeometry .equals (pickedGeometries))
1074
1074
  this ._pickedGeometry = pickedGeometries;
1075
1075
 
1076
- var pickedTargets = this .getPickedTargets ();
1076
+ const pickedTargets = this .getPickedTargets ();
1077
1077
 
1078
1078
  pickedTextureCoordinate .length = 0;
1079
1079
  pickedNormal .length = 0;
1080
1080
  pickedPoint .length = 0;
1081
1081
 
1082
- for (var t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1082
+ for (let t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1083
1083
  {
1084
- var pickedIntersections = pickedTargets [t] .intersections;
1084
+ const pickedIntersections = pickedTargets [t] .intersections;
1085
1085
 
1086
- for (var i = 0, iLength = pickedIntersections .length; i < iLength; ++ i)
1086
+ for (let i = 0, iLength = pickedIntersections .length; i < iLength; ++ i)
1087
1087
  {
1088
- var
1088
+ const
1089
1089
  intersection = pickedIntersections [i],
1090
1090
  t = intersection .texCoord;
1091
1091
 
@@ -1097,13 +1097,13 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1097
1097
  }
1098
1098
  }
1099
1099
 
1100
- if (! this ._pickedTextureCoordinate .equals (pickedTextureCoordinate))
1100
+ if (!this ._pickedTextureCoordinate .equals (pickedTextureCoordinate))
1101
1101
  this ._pickedTextureCoordinate = pickedTextureCoordinate;
1102
1102
 
1103
- if (! this ._pickedNormal .equals (pickedNormal))
1103
+ if (!this ._pickedNormal .equals (pickedNormal))
1104
1104
  this ._pickedNormal = pickedNormal;
1105
1105
 
1106
- if (! this ._pickedPoint .equals (pickedPoint))
1106
+ if (!this ._pickedPoint .equals (pickedPoint))
1107
1107
  this ._pickedPoint = pickedPoint;
1108
1108
 
1109
1109
  break;
@@ -1166,7 +1166,7 @@ const LinePickSensor_default_ = LinePickSensor;
1166
1166
  Namespace_default().add ("LinePickSensor", "x_ite/Components/Picking/LinePickSensor", LinePickSensor_default_);
1167
1167
  /* harmony default export */ const Picking_LinePickSensor = (LinePickSensor_default_);
1168
1168
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
1169
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
1169
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
1170
1170
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
1171
1171
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Picking/X3DPickableObject.js
1172
1172
  /*******************************************************************************
@@ -1497,13 +1497,13 @@ const PickableGroup_default_ = PickableGroup;
1497
1497
  Namespace_default().add ("PickableGroup", "x_ite/Components/Picking/PickableGroup", PickableGroup_default_);
1498
1498
  /* harmony default export */ const Picking_PickableGroup = (PickableGroup_default_);
1499
1499
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
1500
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("x_ite/Base/X3DCast");
1500
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("x_ite/Base/X3DCast");
1501
1501
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
1502
1502
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
1503
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("standard/Math/Numbers/Rotation4");
1503
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("standard/Math/Numbers/Rotation4");
1504
1504
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
1505
1505
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/ammojs/AmmoClass\")"
1506
- const AmmoClass_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.1")] .require ("lib/ammojs/AmmoClass");
1506
+ const AmmoClass_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.3")] .require ("lib/ammojs/AmmoClass");
1507
1507
  var AmmoClass_default = /*#__PURE__*/__webpack_require__.n(AmmoClass_namespaceObject);
1508
1508
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Picking/VolumePicker.js
1509
1509
  /*******************************************************************************
@@ -1601,7 +1601,7 @@ Object .assign (VolumePicker .prototype,
1601
1601
  setChildShape: (() =>
1602
1602
  {
1603
1603
  const
1604
- translation = new (Vector3_default()) (0, 0, 0),
1604
+ translation = new (Vector3_default()) (),
1605
1605
  rotation = new (Rotation4_default()) (),
1606
1606
  scale = new (Vector3_default()) (1, 1, 1),
1607
1607
  s = new (AmmoClass_default()).btVector3 (0, 0, 0);
@@ -1783,26 +1783,28 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1783
1783
  },
1784
1784
  set_geometry__: (() =>
1785
1785
  {
1786
- var
1786
+ const
1787
1787
  defaultScale = new (AmmoClass_default()).btVector3 (1, 1, 1),
1788
1788
  o = new (AmmoClass_default()).btVector3 (),
1789
1789
  t = new (AmmoClass_default()).btTransform ();
1790
1790
 
1791
1791
  return function ()
1792
1792
  {
1793
- var compoundShapes = this .compoundShapes;
1793
+ const compoundShapes = this .compoundShapes;
1794
1794
 
1795
1795
  if (this .pickingGeometryNode)
1796
1796
  {
1797
- var coord = this .pickingGeometryNode .getCoord ();
1797
+ const coord = this .pickingGeometryNode .getCoord ();
1798
1798
 
1799
1799
  if (coord)
1800
1800
  {
1801
- for (var i = 0, length = coord .getSize (); i < length; ++ i)
1801
+ const length = coord .getSize ();
1802
+
1803
+ for (let i = 0; i < length; ++ i)
1802
1804
  {
1803
1805
  if (i < compoundShapes .length)
1804
1806
  {
1805
- var
1807
+ const
1806
1808
  compoundShape = compoundShapes [i],
1807
1809
  point = coord .get1Point (i, compoundShape .point);
1808
1810
 
@@ -1814,10 +1816,10 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1814
1816
  }
1815
1817
  else
1816
1818
  {
1817
- var
1819
+ const
1818
1820
  compoundShape = new (AmmoClass_default()).btCompoundShape (),
1819
1821
  sphereShape = new (AmmoClass_default()).btSphereShape (0),
1820
- point = coord .get1Point (i, new (Vector3_default()) (0, 0, 0));
1822
+ point = coord .get1Point (i, new (Vector3_default()) ());
1821
1823
 
1822
1824
  compoundShape .point = point;
1823
1825
 
@@ -1844,14 +1846,14 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1844
1846
  })(),
1845
1847
  process: (() =>
1846
1848
  {
1847
- var
1849
+ const
1848
1850
  pickingBBox = new (Box3_default()) (),
1849
1851
  targetBBox = new (Box3_default()) (),
1850
- pickingCenter = new (Vector3_default()) (0, 0, 0),
1851
- targetCenter = new (Vector3_default()) (0, 0, 0),
1852
+ pickingCenter = new (Vector3_default()) (),
1853
+ targetCenter = new (Vector3_default()) (),
1852
1854
  transform = new (AmmoClass_default()).btTransform (),
1853
1855
  localScaling = new (AmmoClass_default()).btVector3 (),
1854
- translation = new (Vector3_default()) (0, 0, 0),
1856
+ translation = new (Vector3_default()) (),
1855
1857
  rotation = new (Rotation4_default()) (),
1856
1858
  scale = new (Vector3_default()) (1, 1, 1),
1857
1859
  pickedPoint = new (Fields_default()).MFVec3f ();
@@ -1860,7 +1862,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1860
1862
  {
1861
1863
  if (this .pickingGeometryNode)
1862
1864
  {
1863
- var
1865
+ const
1864
1866
  modelMatrices = this .getModelMatrices (),
1865
1867
  targets = this .getTargets ();
1866
1868
 
@@ -1870,15 +1872,15 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1870
1872
  {
1871
1873
  // Intersect bboxes.
1872
1874
 
1873
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1875
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1874
1876
  {
1875
- var modelMatrix = modelMatrices [m];
1877
+ const modelMatrix = modelMatrices [m];
1876
1878
 
1877
1879
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
1878
1880
 
1879
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
1881
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
1880
1882
  {
1881
- var target = targets [t];
1883
+ const target = targets [t];
1882
1884
 
1883
1885
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
1884
1886
 
@@ -1895,7 +1897,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1895
1897
 
1896
1898
  // Send events.
1897
1899
 
1898
- var
1900
+ const
1899
1901
  pickedGeometries = this .getPickedGeometries (),
1900
1902
  active = !! pickedGeometries .length;
1901
1903
 
@@ -1904,7 +1906,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1904
1906
  if (active !== this ._isActive .getValue ())
1905
1907
  this ._isActive = active;
1906
1908
 
1907
- if (! this ._pickedGeometry .equals (pickedGeometries))
1909
+ if (!this ._pickedGeometry .equals (pickedGeometries))
1908
1910
  this ._pickedGeometry = pickedGeometries;
1909
1911
 
1910
1912
  break;
@@ -1913,13 +1915,13 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1913
1915
  {
1914
1916
  // Intersect geometry.
1915
1917
 
1916
- var
1918
+ const
1917
1919
  picker = this .picker,
1918
1920
  compoundShapes = this .compoundShapes;
1919
1921
 
1920
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1922
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1921
1923
  {
1922
- var modelMatrix = modelMatrices [m];
1924
+ const modelMatrix = modelMatrices [m];
1923
1925
 
1924
1926
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
1925
1927
 
@@ -1928,15 +1930,15 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1928
1930
  picker .getTransform (translation, rotation, transform);
1929
1931
  localScaling .setValue (scale .x, scale .y, scale .z);
1930
1932
 
1931
- for (var c = 0, cLength = compoundShapes .length; c < cLength; ++ c)
1933
+ for (let c = 0, cLength = compoundShapes .length; c < cLength; ++ c)
1932
1934
  {
1933
- var compoundShape = compoundShapes [c];
1935
+ const compoundShape = compoundShapes [c];
1934
1936
 
1935
1937
  picker .setChildShape1Components (transform, localScaling, compoundShape);
1936
1938
 
1937
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
1939
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
1938
1940
  {
1939
- var
1941
+ const
1940
1942
  target = targets [t],
1941
1943
  targetShape = this .getPickShape (target .geometryNode);
1942
1944
 
@@ -1959,7 +1961,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1959
1961
 
1960
1962
  // Send events.
1961
1963
 
1962
- var
1964
+ const
1963
1965
  pickedGeometries = this .getPickedGeometries (),
1964
1966
  active = !! pickedGeometries .length;
1965
1967
 
@@ -1968,22 +1970,22 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1968
1970
  if (active !== this ._isActive .getValue ())
1969
1971
  this ._isActive = active;
1970
1972
 
1971
- if (! this ._pickedGeometry .equals (pickedGeometries))
1973
+ if (!this ._pickedGeometry .equals (pickedGeometries))
1972
1974
  this ._pickedGeometry = pickedGeometries;
1973
1975
 
1974
- var pickedTargets = this .getPickedTargets ();
1976
+ const pickedTargets = this .getPickedTargets ();
1975
1977
 
1976
1978
  pickedPoint .length = 0;
1977
1979
 
1978
- for (var t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1980
+ for (let t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1979
1981
  {
1980
- var pp = pickedTargets [t] .pickedPoint;
1982
+ const pp = pickedTargets [t] .pickedPoint;
1981
1983
 
1982
- for (var p = 0, pLength = pp .length; p < pLength; ++ p)
1984
+ for (let p = 0, pLength = pp .length; p < pLength; ++ p)
1983
1985
  pickedPoint .push (pp [p]);
1984
1986
  }
1985
1987
 
1986
- if (! this ._pickedPoint .equals (pickedPoint))
1988
+ if (!this ._pickedPoint .equals (pickedPoint))
1987
1989
  this ._pickedPoint = pickedPoint;
1988
1990
 
1989
1991
  break;
@@ -2127,11 +2129,11 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2127
2129
 
2128
2130
  try
2129
2131
  {
2130
- var
2132
+ const
2131
2133
  node = this ._pickingGeometry .getValue () .getInnerNode (),
2132
2134
  type = node .getType ();
2133
2135
 
2134
- for (var t = type .length - 1; t >= 0; -- t)
2136
+ for (let t = type .length - 1; t >= 0; -- t)
2135
2137
  {
2136
2138
  switch (type [t])
2137
2139
  {
@@ -2153,17 +2155,17 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2153
2155
  },
2154
2156
  process: (() =>
2155
2157
  {
2156
- var
2158
+ const
2157
2159
  pickingBBox = new (Box3_default()) (),
2158
2160
  targetBBox = new (Box3_default()) (),
2159
- pickingCenter = new (Vector3_default()) (0, 0, 0),
2160
- targetCenter = new (Vector3_default()) (0, 0, 0);
2161
+ pickingCenter = new (Vector3_default()) (),
2162
+ targetCenter = new (Vector3_default()) ();
2161
2163
 
2162
2164
  return function ()
2163
2165
  {
2164
2166
  if (this .pickingGeometryNode)
2165
2167
  {
2166
- var
2168
+ const
2167
2169
  modelMatrices = this .getModelMatrices (),
2168
2170
  targets = this .getTargets ();
2169
2171
 
@@ -2173,15 +2175,15 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2173
2175
  {
2174
2176
  // Intersect bboxes.
2175
2177
 
2176
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2178
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2177
2179
  {
2178
- var modelMatrix = modelMatrices [m];
2180
+ const modelMatrix = modelMatrices [m];
2179
2181
 
2180
2182
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
2181
2183
 
2182
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2184
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2183
2185
  {
2184
- var target = targets [t];
2186
+ const target = targets [t];
2185
2187
 
2186
2188
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
2187
2189
 
@@ -2198,7 +2200,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2198
2200
 
2199
2201
  // Send events.
2200
2202
 
2201
- var
2203
+ const
2202
2204
  pickedGeometries = this .getPickedGeometries (),
2203
2205
  active = !! pickedGeometries .length;
2204
2206
 
@@ -2207,7 +2209,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2207
2209
  if (active !== this ._isActive .getValue ())
2208
2210
  this ._isActive = active;
2209
2211
 
2210
- if (! this ._pickedGeometry .equals (pickedGeometries))
2212
+ if (!this ._pickedGeometry .equals (pickedGeometries))
2211
2213
  this ._pickedGeometry = pickedGeometries;
2212
2214
 
2213
2215
  break;
@@ -2216,11 +2218,11 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2216
2218
  {
2217
2219
  // Intersect geometry.
2218
2220
 
2219
- var picker = this .picker;
2221
+ const picker = this .picker;
2220
2222
 
2221
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2223
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2222
2224
  {
2223
- var
2225
+ const
2224
2226
  modelMatrix = modelMatrices [m],
2225
2227
  pickingShape = this .getPickShape (this .pickingGeometryNode);
2226
2228
 
@@ -2228,9 +2230,9 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2228
2230
 
2229
2231
  picker .setChildShape1 (modelMatrix, pickingShape .getCompoundShape ());
2230
2232
 
2231
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2233
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2232
2234
  {
2233
- var
2235
+ const
2234
2236
  target = targets [t],
2235
2237
  targetShape = this .getPickShape (target .geometryNode);
2236
2238
 
@@ -2251,7 +2253,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2251
2253
 
2252
2254
  // Send events.
2253
2255
 
2254
- var
2256
+ const
2255
2257
  pickedGeometries = this .getPickedGeometries (),
2256
2258
  active = !! pickedGeometries .length;
2257
2259
 
@@ -2260,7 +2262,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2260
2262
  if (active !== this ._isActive .getValue ())
2261
2263
  this ._isActive = active;
2262
2264
 
2263
- if (! this ._pickedGeometry .equals (pickedGeometries))
2265
+ if (!this ._pickedGeometry .equals (pickedGeometries))
2264
2266
  this ._pickedGeometry = pickedGeometries;
2265
2267
 
2266
2268
  break;
@@ -2404,17 +2406,17 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2404
2406
  },
2405
2407
  process: (() =>
2406
2408
  {
2407
- var
2409
+ const
2408
2410
  pickingBBox = new (Box3_default()) (),
2409
2411
  targetBBox = new (Box3_default()) (),
2410
- pickingCenter = new (Vector3_default()) (0, 0, 0),
2411
- targetCenter = new (Vector3_default()) (0, 0, 0);
2412
+ pickingCenter = new (Vector3_default()) (),
2413
+ targetCenter = new (Vector3_default()) ();
2412
2414
 
2413
2415
  return function ()
2414
2416
  {
2415
2417
  if (this .pickingGeometryNode)
2416
2418
  {
2417
- var
2419
+ const
2418
2420
  modelMatrices = this .getModelMatrices (),
2419
2421
  targets = this .getTargets ();
2420
2422
 
@@ -2424,15 +2426,15 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2424
2426
  {
2425
2427
  // Intersect bboxes.
2426
2428
 
2427
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2429
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2428
2430
  {
2429
- var modelMatrix = modelMatrices [m];
2431
+ const modelMatrix = modelMatrices [m];
2430
2432
 
2431
2433
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
2432
2434
 
2433
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2435
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2434
2436
  {
2435
- var target = targets [t];
2437
+ const target = targets [t];
2436
2438
 
2437
2439
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
2438
2440
 
@@ -2449,7 +2451,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2449
2451
 
2450
2452
  // Send events.
2451
2453
 
2452
- var
2454
+ const
2453
2455
  pickedGeometries = this .getPickedGeometries (),
2454
2456
  active = !! pickedGeometries .length;
2455
2457
 
@@ -2458,7 +2460,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2458
2460
  if (active !== this ._isActive .getValue ())
2459
2461
  this ._isActive = active;
2460
2462
 
2461
- if (! this ._pickedGeometry .equals (pickedGeometries))
2463
+ if (!this ._pickedGeometry .equals (pickedGeometries))
2462
2464
  this ._pickedGeometry = pickedGeometries;
2463
2465
 
2464
2466
  break;
@@ -2467,11 +2469,11 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2467
2469
  {
2468
2470
  // Intersect geometry.
2469
2471
 
2470
- var picker = this .picker;
2472
+ const picker = this .picker;
2471
2473
 
2472
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2474
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2473
2475
  {
2474
- var
2476
+ const
2475
2477
  modelMatrix = modelMatrices [m],
2476
2478
  pickingShape = this .getPickShape (this .pickingGeometryNode);
2477
2479
 
@@ -2479,9 +2481,9 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2479
2481
 
2480
2482
  picker .setChildShape1 (modelMatrix, pickingShape .getCompoundShape ());
2481
2483
 
2482
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2484
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2483
2485
  {
2484
- var
2486
+ const
2485
2487
  target = targets [t],
2486
2488
  targetShape = this .getPickShape (target .geometryNode);
2487
2489
 
@@ -2502,7 +2504,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2502
2504
 
2503
2505
  // Send events.
2504
2506
 
2505
- var
2507
+ const
2506
2508
  pickedGeometries = this .getPickedGeometries (),
2507
2509
  active = !! pickedGeometries .length;
2508
2510
 
@@ -2511,7 +2513,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2511
2513
  if (active !== this ._isActive .getValue ())
2512
2514
  this ._isActive = active;
2513
2515
 
2514
- if (! this ._pickedGeometry .equals (pickedGeometries))
2516
+ if (!this ._pickedGeometry .equals (pickedGeometries))
2515
2517
  this ._pickedGeometry = pickedGeometries;
2516
2518
 
2517
2519
  break;