x_ite 9.4.0 → 9.4.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.
Files changed (48) hide show
  1. package/README.md +29 -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 +110 -110
  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 +712 -686
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.min.mjs +1 -1
  46. package/dist/x_ite.mjs +712 -686
  47. package/dist/x_ite.zip +0 -0
  48. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /* X_ITE v9.4.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v9.4.2 */(() => { // 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.0")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Components/Core/X3DSensorNode");
54
+ const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Rendering/TraverseType");
57
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Base/X3DConstants");
60
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Math/Numbers/Matrix4");
252
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Utility/ObjectCache");
366
+ const ObjectCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Math/Numbers/Vector3");
815
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Math/Geometry/Box3");
818
+ const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Math/Geometry/Line3");
821
+ const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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
 
@@ -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
 
@@ -1073,19 +1073,19 @@ Object .assign (Object .setPrototypeOf (LinePickSensor .prototype, Picking_X3DPi
1073
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
 
@@ -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.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
1169
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("x_ite/Base/X3DCast");
1500
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("standard/Math/Numbers/Rotation4");
1503
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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.0")] .require ("lib/ammojs/AmmoClass");
1506
+ const AmmoClass_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.4.2")] .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,26 @@ 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
+ for (let i = 0, length = coord .getSize (); i < length; ++ i)
1802
1802
  {
1803
1803
  if (i < compoundShapes .length)
1804
1804
  {
1805
- var
1805
+ const
1806
1806
  compoundShape = compoundShapes [i],
1807
1807
  point = coord .get1Point (i, compoundShape .point);
1808
1808
 
@@ -1814,10 +1814,10 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1814
1814
  }
1815
1815
  else
1816
1816
  {
1817
- var
1817
+ const
1818
1818
  compoundShape = new (AmmoClass_default()).btCompoundShape (),
1819
1819
  sphereShape = new (AmmoClass_default()).btSphereShape (0),
1820
- point = coord .get1Point (i, new (Vector3_default()) (0, 0, 0));
1820
+ point = coord .get1Point (i, new (Vector3_default()) ());
1821
1821
 
1822
1822
  compoundShape .point = point;
1823
1823
 
@@ -1844,14 +1844,14 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1844
1844
  })(),
1845
1845
  process: (() =>
1846
1846
  {
1847
- var
1847
+ const
1848
1848
  pickingBBox = new (Box3_default()) (),
1849
1849
  targetBBox = new (Box3_default()) (),
1850
- pickingCenter = new (Vector3_default()) (0, 0, 0),
1851
- targetCenter = new (Vector3_default()) (0, 0, 0),
1850
+ pickingCenter = new (Vector3_default()) (),
1851
+ targetCenter = new (Vector3_default()) (),
1852
1852
  transform = new (AmmoClass_default()).btTransform (),
1853
1853
  localScaling = new (AmmoClass_default()).btVector3 (),
1854
- translation = new (Vector3_default()) (0, 0, 0),
1854
+ translation = new (Vector3_default()) (),
1855
1855
  rotation = new (Rotation4_default()) (),
1856
1856
  scale = new (Vector3_default()) (1, 1, 1),
1857
1857
  pickedPoint = new (Fields_default()).MFVec3f ();
@@ -1860,7 +1860,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1860
1860
  {
1861
1861
  if (this .pickingGeometryNode)
1862
1862
  {
1863
- var
1863
+ const
1864
1864
  modelMatrices = this .getModelMatrices (),
1865
1865
  targets = this .getTargets ();
1866
1866
 
@@ -1870,15 +1870,15 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1870
1870
  {
1871
1871
  // Intersect bboxes.
1872
1872
 
1873
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1873
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1874
1874
  {
1875
- var modelMatrix = modelMatrices [m];
1875
+ const modelMatrix = modelMatrices [m];
1876
1876
 
1877
1877
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
1878
1878
 
1879
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
1879
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
1880
1880
  {
1881
- var target = targets [t];
1881
+ const target = targets [t];
1882
1882
 
1883
1883
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
1884
1884
 
@@ -1895,7 +1895,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1895
1895
 
1896
1896
  // Send events.
1897
1897
 
1898
- var
1898
+ const
1899
1899
  pickedGeometries = this .getPickedGeometries (),
1900
1900
  active = !! pickedGeometries .length;
1901
1901
 
@@ -1913,13 +1913,13 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1913
1913
  {
1914
1914
  // Intersect geometry.
1915
1915
 
1916
- var
1916
+ const
1917
1917
  picker = this .picker,
1918
1918
  compoundShapes = this .compoundShapes;
1919
1919
 
1920
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1920
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
1921
1921
  {
1922
- var modelMatrix = modelMatrices [m];
1922
+ const modelMatrix = modelMatrices [m];
1923
1923
 
1924
1924
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
1925
1925
 
@@ -1928,15 +1928,15 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1928
1928
  picker .getTransform (translation, rotation, transform);
1929
1929
  localScaling .setValue (scale .x, scale .y, scale .z);
1930
1930
 
1931
- for (var c = 0, cLength = compoundShapes .length; c < cLength; ++ c)
1931
+ for (let c = 0, cLength = compoundShapes .length; c < cLength; ++ c)
1932
1932
  {
1933
- var compoundShape = compoundShapes [c];
1933
+ const compoundShape = compoundShapes [c];
1934
1934
 
1935
1935
  picker .setChildShape1Components (transform, localScaling, compoundShape);
1936
1936
 
1937
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
1937
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
1938
1938
  {
1939
- var
1939
+ const
1940
1940
  target = targets [t],
1941
1941
  targetShape = this .getPickShape (target .geometryNode);
1942
1942
 
@@ -1959,7 +1959,7 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1959
1959
 
1960
1960
  // Send events.
1961
1961
 
1962
- var
1962
+ const
1963
1963
  pickedGeometries = this .getPickedGeometries (),
1964
1964
  active = !! pickedGeometries .length;
1965
1965
 
@@ -1971,15 +1971,15 @@ Object .assign (Object .setPrototypeOf (PointPickSensor .prototype, Picking_X3DP
1971
1971
  if (! this ._pickedGeometry .equals (pickedGeometries))
1972
1972
  this ._pickedGeometry = pickedGeometries;
1973
1973
 
1974
- var pickedTargets = this .getPickedTargets ();
1974
+ const pickedTargets = this .getPickedTargets ();
1975
1975
 
1976
1976
  pickedPoint .length = 0;
1977
1977
 
1978
- for (var t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1978
+ for (let t = 0, tLength = pickedTargets .length; t < tLength; ++ t)
1979
1979
  {
1980
- var pp = pickedTargets [t] .pickedPoint;
1980
+ const pp = pickedTargets [t] .pickedPoint;
1981
1981
 
1982
- for (var p = 0, pLength = pp .length; p < pLength; ++ p)
1982
+ for (let p = 0, pLength = pp .length; p < pLength; ++ p)
1983
1983
  pickedPoint .push (pp [p]);
1984
1984
  }
1985
1985
 
@@ -2127,11 +2127,11 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2127
2127
 
2128
2128
  try
2129
2129
  {
2130
- var
2130
+ const
2131
2131
  node = this ._pickingGeometry .getValue () .getInnerNode (),
2132
2132
  type = node .getType ();
2133
2133
 
2134
- for (var t = type .length - 1; t >= 0; -- t)
2134
+ for (let t = type .length - 1; t >= 0; -- t)
2135
2135
  {
2136
2136
  switch (type [t])
2137
2137
  {
@@ -2153,17 +2153,17 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2153
2153
  },
2154
2154
  process: (() =>
2155
2155
  {
2156
- var
2156
+ const
2157
2157
  pickingBBox = new (Box3_default()) (),
2158
2158
  targetBBox = new (Box3_default()) (),
2159
- pickingCenter = new (Vector3_default()) (0, 0, 0),
2160
- targetCenter = new (Vector3_default()) (0, 0, 0);
2159
+ pickingCenter = new (Vector3_default()) (),
2160
+ targetCenter = new (Vector3_default()) ();
2161
2161
 
2162
2162
  return function ()
2163
2163
  {
2164
2164
  if (this .pickingGeometryNode)
2165
2165
  {
2166
- var
2166
+ const
2167
2167
  modelMatrices = this .getModelMatrices (),
2168
2168
  targets = this .getTargets ();
2169
2169
 
@@ -2173,15 +2173,15 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2173
2173
  {
2174
2174
  // Intersect bboxes.
2175
2175
 
2176
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2176
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2177
2177
  {
2178
- var modelMatrix = modelMatrices [m];
2178
+ const modelMatrix = modelMatrices [m];
2179
2179
 
2180
2180
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
2181
2181
 
2182
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2182
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2183
2183
  {
2184
- var target = targets [t];
2184
+ const target = targets [t];
2185
2185
 
2186
2186
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
2187
2187
 
@@ -2198,7 +2198,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2198
2198
 
2199
2199
  // Send events.
2200
2200
 
2201
- var
2201
+ const
2202
2202
  pickedGeometries = this .getPickedGeometries (),
2203
2203
  active = !! pickedGeometries .length;
2204
2204
 
@@ -2216,11 +2216,11 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2216
2216
  {
2217
2217
  // Intersect geometry.
2218
2218
 
2219
- var picker = this .picker;
2219
+ const picker = this .picker;
2220
2220
 
2221
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2221
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2222
2222
  {
2223
- var
2223
+ const
2224
2224
  modelMatrix = modelMatrices [m],
2225
2225
  pickingShape = this .getPickShape (this .pickingGeometryNode);
2226
2226
 
@@ -2228,9 +2228,9 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2228
2228
 
2229
2229
  picker .setChildShape1 (modelMatrix, pickingShape .getCompoundShape ());
2230
2230
 
2231
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2231
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2232
2232
  {
2233
- var
2233
+ const
2234
2234
  target = targets [t],
2235
2235
  targetShape = this .getPickShape (target .geometryNode);
2236
2236
 
@@ -2251,7 +2251,7 @@ Object .assign (Object .setPrototypeOf (PrimitivePickSensor .prototype, Picking_
2251
2251
 
2252
2252
  // Send events.
2253
2253
 
2254
- var
2254
+ const
2255
2255
  pickedGeometries = this .getPickedGeometries (),
2256
2256
  active = !! pickedGeometries .length;
2257
2257
 
@@ -2404,17 +2404,17 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2404
2404
  },
2405
2405
  process: (() =>
2406
2406
  {
2407
- var
2407
+ const
2408
2408
  pickingBBox = new (Box3_default()) (),
2409
2409
  targetBBox = new (Box3_default()) (),
2410
- pickingCenter = new (Vector3_default()) (0, 0, 0),
2411
- targetCenter = new (Vector3_default()) (0, 0, 0);
2410
+ pickingCenter = new (Vector3_default()) (),
2411
+ targetCenter = new (Vector3_default()) ();
2412
2412
 
2413
2413
  return function ()
2414
2414
  {
2415
2415
  if (this .pickingGeometryNode)
2416
2416
  {
2417
- var
2417
+ const
2418
2418
  modelMatrices = this .getModelMatrices (),
2419
2419
  targets = this .getTargets ();
2420
2420
 
@@ -2424,15 +2424,15 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2424
2424
  {
2425
2425
  // Intersect bboxes.
2426
2426
 
2427
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2427
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2428
2428
  {
2429
- var modelMatrix = modelMatrices [m];
2429
+ const modelMatrix = modelMatrices [m];
2430
2430
 
2431
2431
  pickingBBox .assign (this .pickingGeometryNode .getBBox ()) .multRight (modelMatrix);
2432
2432
 
2433
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2433
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2434
2434
  {
2435
- var target = targets [t];
2435
+ const target = targets [t];
2436
2436
 
2437
2437
  targetBBox .assign (target .geometryNode .getBBox ()) .multRight (target .modelMatrix);
2438
2438
 
@@ -2449,7 +2449,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2449
2449
 
2450
2450
  // Send events.
2451
2451
 
2452
- var
2452
+ const
2453
2453
  pickedGeometries = this .getPickedGeometries (),
2454
2454
  active = !! pickedGeometries .length;
2455
2455
 
@@ -2467,11 +2467,11 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2467
2467
  {
2468
2468
  // Intersect geometry.
2469
2469
 
2470
- var picker = this .picker;
2470
+ const picker = this .picker;
2471
2471
 
2472
- for (var m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2472
+ for (let m = 0, mLength = modelMatrices .length; m < mLength; ++ m)
2473
2473
  {
2474
- var
2474
+ const
2475
2475
  modelMatrix = modelMatrices [m],
2476
2476
  pickingShape = this .getPickShape (this .pickingGeometryNode);
2477
2477
 
@@ -2479,9 +2479,9 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2479
2479
 
2480
2480
  picker .setChildShape1 (modelMatrix, pickingShape .getCompoundShape ());
2481
2481
 
2482
- for (var t = 0, tLength = targets .size; t < tLength; ++ t)
2482
+ for (let t = 0, tLength = targets .size; t < tLength; ++ t)
2483
2483
  {
2484
- var
2484
+ const
2485
2485
  target = targets [t],
2486
2486
  targetShape = this .getPickShape (target .geometryNode);
2487
2487
 
@@ -2502,7 +2502,7 @@ Object .assign (Object .setPrototypeOf (VolumePickSensor .prototype, Picking_X3D
2502
2502
 
2503
2503
  // Send events.
2504
2504
 
2505
- var
2505
+ const
2506
2506
  pickedGeometries = this .getPickedGeometries (),
2507
2507
  active = !! pickedGeometries .length;
2508
2508