x_ite 10.0.4 → 10.1.0

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 (53) hide show
  1. package/LICENSE.md +5 -5
  2. package/README.md +12 -9
  3. package/dist/LICENSE.md +5 -5
  4. package/dist/X3DUOM.xml +1 -0
  5. package/dist/assets/components/Annotation.js +13 -14
  6. package/dist/assets/components/Annotation.min.js +1 -1
  7. package/dist/assets/components/CADGeometry.js +14 -15
  8. package/dist/assets/components/CADGeometry.min.js +1 -1
  9. package/dist/assets/components/CubeMapTexturing.js +25 -26
  10. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  11. package/dist/assets/components/DIS.js +13 -14
  12. package/dist/assets/components/DIS.min.js +1 -1
  13. package/dist/assets/components/EventUtilities.js +9 -10
  14. package/dist/assets/components/EventUtilities.min.js +1 -1
  15. package/dist/assets/components/Geometry2D.js +18 -19
  16. package/dist/assets/components/Geometry2D.min.js +1 -1
  17. package/dist/assets/components/Geospatial.js +33 -34
  18. package/dist/assets/components/Geospatial.min.js +1 -1
  19. package/dist/assets/components/HAnim.js +23 -24
  20. package/dist/assets/components/HAnim.min.js +1 -1
  21. package/dist/assets/components/KeyDeviceSensor.js +8 -9
  22. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  23. package/dist/assets/components/Layout.js +61 -47
  24. package/dist/assets/components/Layout.min.js +1 -1
  25. package/dist/assets/components/NURBS.js +23 -24
  26. package/dist/assets/components/NURBS.min.js +1 -1
  27. package/dist/assets/components/ParticleSystems.js +26 -27
  28. package/dist/assets/components/ParticleSystems.min.js +1 -1
  29. package/dist/assets/components/Picking.js +18 -19
  30. package/dist/assets/components/Picking.min.js +1 -1
  31. package/dist/assets/components/RigidBodyPhysics.js +17 -18
  32. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  33. package/dist/assets/components/Scripting.js +38 -39
  34. package/dist/assets/components/Scripting.min.js +1 -1
  35. package/dist/assets/components/Text.js +275 -201
  36. package/dist/assets/components/Text.min.js +1 -1
  37. package/dist/assets/components/TextureProjection.js +15 -16
  38. package/dist/assets/components/TextureProjection.min.js +1 -1
  39. package/dist/assets/components/Texturing3D.js +27 -28
  40. package/dist/assets/components/Texturing3D.min.js +1 -1
  41. package/dist/assets/components/VolumeRendering.js +23 -23
  42. package/dist/assets/components/VolumeRendering.min.js +1 -1
  43. package/dist/assets/components/X_ITE.js +19 -20
  44. package/dist/assets/components/X_ITE.min.js +1 -1
  45. package/dist/assets/lib/draco_decoder_gltf.js +1 -1
  46. package/dist/example.html +1 -1
  47. package/dist/x_ite.css +1 -1
  48. package/dist/x_ite.js +252 -207
  49. package/dist/x_ite.min.js +1 -1
  50. package/dist/x_ite.min.mjs +1 -1
  51. package/dist/x_ite.mjs +252 -207
  52. package/dist/x_ite.zip +0 -0
  53. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
- /* X_ITE v10.0.4 */(() => { // webpackBootstrap
1
+ /* X_ITE v10.1.0 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
5
  /***/ 823:
6
6
  /***/ ((module) => {
7
7
 
8
- module.exports = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("lib/jquery");
8
+ module.exports = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("lib/jquery");
9
9
 
10
10
  /***/ })
11
11
 
@@ -66,27 +66,26 @@ module.exports = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("lib/jquery
66
66
  /******/ })();
67
67
  /******/
68
68
  /************************************************************************/
69
- var __webpack_exports__ = {};
70
69
 
71
70
  // UNUSED EXPORTS: default
72
71
 
73
72
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
74
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components");
73
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components");
75
74
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
76
75
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureProperties\")"
77
- const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Texturing/TextureProperties");
76
+ const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Texturing/TextureProperties");
78
77
  var TextureProperties_default = /*#__PURE__*/__webpack_require__.n(TextureProperties_namespaceObject);
79
78
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
80
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Vector3");
79
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector3");
81
80
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
82
81
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
83
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Matrix4");
82
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Matrix4");
84
83
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
85
84
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
86
- const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Geometry/ViewVolume");
85
+ const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Geometry/ViewVolume");
87
86
  var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
88
87
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
89
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Namespace");
88
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Namespace");
90
89
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
91
90
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/X3DLayoutContext.js
92
91
  /*******************************************************************************
@@ -227,19 +226,19 @@ const __default__ = X3DLayoutContext;
227
226
  Namespace_default().add ("X3DLayoutContext", "x_ite/Browser/Layout/X3DLayoutContext", __default__);
228
227
  /* harmony default export */ const Layout_X3DLayoutContext = (__default__);
229
228
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
230
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Fields");
229
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Fields");
231
230
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
232
231
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
233
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DFieldDefinition");
232
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
234
233
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
235
234
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
236
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/FieldDefinitionArray");
235
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
237
236
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
238
237
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
239
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Core/X3DChildNode");
238
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DChildNode");
240
239
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
241
240
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
242
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DConstants");
241
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DConstants");
243
242
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
244
243
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/X3DLayoutNode.js
245
244
  /*******************************************************************************
@@ -321,10 +320,10 @@ const X3DLayoutNode_default_ = X3DLayoutNode;
321
320
  Namespace_default().add ("X3DLayoutNode", "x_ite/Components/Layout/X3DLayoutNode", X3DLayoutNode_default_);
322
321
  /* harmony default export */ const Layout_X3DLayoutNode = (X3DLayoutNode_default_);
323
322
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
324
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Vector2");
323
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector2");
325
324
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
326
325
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
327
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Rotation4");
326
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Rotation4");
328
327
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
329
328
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/Layout.js
330
329
  /*******************************************************************************
@@ -973,13 +972,13 @@ const Layout_default_ = Layout;
973
972
  Namespace_default().add ("Layout", "x_ite/Components/Layout/Layout", Layout_default_);
974
973
  /* harmony default export */ const Layout_Layout = (Layout_default_);
975
974
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
976
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
975
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
977
976
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
978
977
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
979
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DCast");
978
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DCast");
980
979
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
981
980
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
982
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Rendering/TraverseType");
981
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Rendering/TraverseType");
983
982
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
984
983
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutGroup.js
985
984
  /*******************************************************************************
@@ -1174,10 +1173,10 @@ const LayoutGroup_default_ = LayoutGroup;
1174
1173
  Namespace_default().add ("LayoutGroup", "x_ite/Components/Layout/LayoutGroup", LayoutGroup_default_);
1175
1174
  /* harmony default export */ const Layout_LayoutGroup = (LayoutGroup_default_);
1176
1175
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
1177
- const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Layering/X3DLayerNode");
1176
+ const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
1178
1177
  var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
1179
1178
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/OrthoViewpoint\")"
1180
- const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Navigation/OrthoViewpoint");
1179
+ const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Navigation/OrthoViewpoint");
1181
1180
  var OrthoViewpoint_default = /*#__PURE__*/__webpack_require__.n(OrthoViewpoint_namespaceObject);
1182
1181
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutLayer.js
1183
1182
  /*******************************************************************************
@@ -1313,22 +1312,22 @@ const LayoutLayer_default_ = LayoutLayer;
1313
1312
  Namespace_default().add ("LayoutLayer", "x_ite/Components/Layout/LayoutLayer", LayoutLayer_default_);
1314
1313
  /* harmony default export */ const Layout_LayoutLayer = (LayoutLayer_default_);
1315
1314
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Text/X3DFontStyleNode\")"
1316
- const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Text/X3DFontStyleNode");
1315
+ const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Text/X3DFontStyleNode");
1317
1316
  var X3DFontStyleNode_default = /*#__PURE__*/__webpack_require__.n(X3DFontStyleNode_namespaceObject);
1318
1317
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/X3DTextGeometry\")"
1319
- const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Browser/Text/X3DTextGeometry");
1318
+ const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Browser/Text/X3DTextGeometry");
1320
1319
  var X3DTextGeometry_default = /*#__PURE__*/__webpack_require__.n(X3DTextGeometry_namespaceObject);
1321
1320
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/TextAlignment\")"
1322
- const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Browser/Text/TextAlignment");
1321
+ const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Browser/Text/TextAlignment");
1323
1322
  var TextAlignment_default = /*#__PURE__*/__webpack_require__.n(TextAlignment_namespaceObject);
1324
1323
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/PixelTexture\")"
1325
- const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Texturing/PixelTexture");
1324
+ const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Texturing/PixelTexture");
1326
1325
  var PixelTexture_default = /*#__PURE__*/__webpack_require__.n(PixelTexture_namespaceObject);
1327
1326
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
1328
- const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Geometry/Box3");
1327
+ const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Geometry/Box3");
1329
1328
  var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
1330
1329
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
1331
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Algorithm");
1330
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Algorithm");
1332
1331
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
1333
1332
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/ScreenText.js
1334
1333
  /* provided dependency */ var $ = __webpack_require__(823);
@@ -1497,6 +1496,7 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1497
1496
  minorAlignment = this .getMinorAlignment (),
1498
1497
  translations = this .getTranslations (),
1499
1498
  charSpacings = this .getCharSpacings (),
1499
+ scales = this .getScales (),
1500
1500
  size = fontStyle .getScale (), // in pixel
1501
1501
  sizeUnitsPerEm = size / font .unitsPerEm,
1502
1502
  texCoordArray = text .getTexCoords (),
@@ -1513,12 +1513,12 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1513
1513
 
1514
1514
  this .getBBox () .getExtents (min, max);
1515
1515
 
1516
- normalArray .push (0, 0, 1,
1517
- 0, 0, 1,
1518
- 0, 0, 1,
1519
- 0, 0, 1,
1520
- 0, 0, 1,
1521
- 0, 0, 1);
1516
+ normalArray .push (0, 0, 1,
1517
+ 0, 0, 1,
1518
+ 0, 0, 1,
1519
+ 0, 0, 1,
1520
+ 0, 0, 1,
1521
+ 0, 0, 1);
1522
1522
 
1523
1523
  vertexArray .push (min .x, min .y, 0, 1,
1524
1524
  max .x, min .y, 0, 1,
@@ -1568,8 +1568,9 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1568
1568
  {
1569
1569
  const
1570
1570
  line = glyphs [l],
1571
+ translation = translations [l],
1571
1572
  charSpacing = charSpacings [l],
1572
- translation = translations [l];
1573
+ scale = scales [l];
1573
1574
 
1574
1575
  let advanceWidth = 0;
1575
1576
 
@@ -1577,10 +1578,16 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1577
1578
  {
1578
1579
  const
1579
1580
  glyph = line [g],
1580
- x = minorAlignment .x + translation .x + advanceWidth + g * charSpacing - min .x,
1581
+ x = minorAlignment .x + translation .x + advanceWidth * scale + g * charSpacing - min .x,
1581
1582
  y = minorAlignment .y + translation .y - max .y;
1582
1583
 
1583
- this .drawGlyph (cx, font, glyph, x, y, size);
1584
+ cx .save ();
1585
+ cx .translate (x, -y);
1586
+ cx .scale (scale, 1);
1587
+
1588
+ this .drawGlyph (cx, font, glyph, size);
1589
+
1590
+ cx .restore ();
1584
1591
 
1585
1592
  // Calculate advanceWidth.
1586
1593
 
@@ -1604,13 +1611,14 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1604
1611
 
1605
1612
  for (let l = first, t = 0; l !== last; l += step)
1606
1613
  {
1607
- const line = glyphs [l];
1608
-
1609
1614
  const
1610
- numChars = line .length,
1611
- firstG = topToBottom ? 0 : numChars - 1,
1612
- lastG = topToBottom ? numChars : -1,
1613
- stepG = topToBottom ? 1 : -1;
1615
+ line = glyphs [l],
1616
+ numChars = line .length,
1617
+ firstG = topToBottom ? 0 : numChars - 1,
1618
+ lastG = topToBottom ? numChars : -1,
1619
+ stepG = topToBottom ? 1 : -1,
1620
+ charSpacing = charSpacings [l],
1621
+ scale = scales [l];
1614
1622
 
1615
1623
  for (let g = firstG; g !== lastG; g += stepG, ++ t)
1616
1624
  {
@@ -1618,9 +1626,15 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1618
1626
 
1619
1627
  const
1620
1628
  x = minorAlignment .x + translation .x - min .x,
1621
- y = minorAlignment .y + translation .y - max .y;
1629
+ y = minorAlignment .y + translation .y * scale - g * charSpacing - max .y;
1630
+
1631
+ cx .save ();
1632
+ cx .translate (x, -y);
1633
+ cx .scale (1, scale);
1634
+
1635
+ this .drawGlyph (cx, font, line [g], size);
1622
1636
 
1623
- this .drawGlyph (cx, font, line [g], x, y, size);
1637
+ cx .restore ();
1624
1638
  }
1625
1639
  }
1626
1640
  }
@@ -1639,14 +1653,14 @@ Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_
1639
1653
  this .textureNode .clear ();
1640
1654
  };
1641
1655
  })(),
1642
- drawGlyph (cx, font, glyph, x, y, size)
1656
+ drawGlyph (cx, font, glyph, size)
1643
1657
  {
1644
1658
  //console .log (glyph .name, x, y);
1645
1659
 
1646
1660
  // Get curves for the current glyph.
1647
1661
 
1648
1662
  const
1649
- path = glyph .getPath (x, -y, size),
1663
+ path = glyph .getPath (0, 0, size),
1650
1664
  commands = path .commands;
1651
1665
 
1652
1666
  cx .beginPath ();
@@ -1870,7 +1884,7 @@ const ScreenFontStyle_default_ = ScreenFontStyle;
1870
1884
  Namespace_default().add ("ScreenFontStyle", "x_ite/Components/Layout/ScreenFontStyle", ScreenFontStyle_default_);
1871
1885
  /* harmony default export */ const Layout_ScreenFontStyle = (ScreenFontStyle_default_);
1872
1886
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
1873
- const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Prototype/X3DProtoDeclaration");
1887
+ const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Prototype/X3DProtoDeclaration");
1874
1888
  var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
1875
1889
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/ScreenGroup.js
1876
1890
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v10.0.4 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-10.0.4")].require("lib/jquery")}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Texturing/TextureProperties");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Vector3");var l=i.n(a);const h=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Matrix4");var u=i.n(h);const c=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Geometry/ViewVolume");var d=i.n(c);const p=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Namespace");var y=i.n(p);const f=Symbol();function w(){}Object.assign(w.prototype,{getScreenTextureProperties(){return this[f]=new(r())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:(()=>{const e=new(l()),t=new(l()),i=new(u());return function(n,s,o,r){const a=n.getModelViewMatrix().get(),h=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(a.origin,u,e);const c=a.xAxis.normalize().multiply(e.x*o),p=a.yAxis.normalize().multiply(e.y*o),y=a.zAxis.normalize().multiply(e.x*o);i.set(c.x,c.y,c.z,0,p.x,p.y,p.z,0,y.x,y.y,y.z,0,a[12],a[13],a[14],1),r&&(d().projectPoint(l().Zero,i,h,u,t),t.x=Math.round(t.x),t.y=Math.round(t.y),d().unProjectPoint(t.x,t.y,t.z,i,h,u,t),t.z=0,i.translate(t)),s.assign(a).inverse().multLeft(i)}})()});const g=w;y().add("X3DLayoutContext","x_ite/Browser/Layout/X3DLayoutContext",g);const x=g,_=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Fields");var m=i.n(_);const b=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DFieldDefinition");var S=i.n(b);const X=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/FieldDefinitionArray");var M=i.n(X);const O=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Core/X3DChildNode");var v=i.n(O);const z=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DConstants");var T=i.n(z);function N(e){v().call(this,e),this.addType(T().X3DLayoutNode)}Object.setPrototypeOf(N.prototype,v().prototype),Object.defineProperties(N,{typeName:{value:"X3DLayoutNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0}});const F=N;y().add("X3DLayoutNode","x_ite/Components/Layout/X3DLayoutNode",F);const I=F,L=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Vector2");var E=i.n(L);const D=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Rotation4");var U=i.n(D);let C=0;const P=C++,B=C++,Y=C++,R=C++,j=C++,V=C++,A=C++,q=C++,G=C++,k=C++;function W(e){I.call(this,e),this.addType(T().Layout),this.alignX=B,this.alignY=B,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=G,this.scaleModeY=G,this.parent=null,this.rectangleCenter=new(E()),this.rectangleSize=new(E()),this.matrix=new(u())}Object.assign(Object.setPrototypeOf(W.prototype,I.prototype),{viewportPixel:new(E()),pixelSize:new(E()),translation:new(l()),offset:new(l()),scale:new(l())(1,1,1),currentTranslation:new(l()),currentRotation:new(U()),currentScale:new(l()),modelViewMatrix:new(u()),initialize(){I.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=P:"RIGHT"===this._align[0]?this.alignX=Y:this.alignX=B:this.alignX=B,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=j:this.alignY=B:this.alignY=B},set_offsetUnits__(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=G,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=G:this.scaleModeY=this.scaleModeX):(this.scaleModeX=G,this.scaleModeY=G)},getRectangleCenter(){return this.rectangleCenter},getRectangleSize(){return this.rectangleSize},getAlignX(){return this.alignX},getAlignY(){return this.alignY},getOffsetUnitX(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX(){return this.offsetX},getOffsetY(){return this.offsetY},getSizeUnitX(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getScaleModeX(){return this.parent?this.scaleModeX:this.scaleModeX===G?A:this.scaleModeX},getScaleModeY(){return this.parent?this.scaleModeY:this.scaleModeY===G?A:this.scaleModeY},transform(e,t){const i=this.parent=t.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=t.getViewpoint(),r=t.getNavigationInfo().getNearValue(),a=t.getViewVolume().getScissor(),l=o.getViewportSize(a,r),h=this.viewportPixel,u=this.pixelSize,c=i?i.getRectangleSize():l,d=this.rectangleSize,p=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),u.assign(l).divVec(h),this.getSizeUnitX()){case A:d.x=this.sizeX*c.x;break;case q:d.x=this.sizeX*u.x}switch(this.getSizeUnitY()){case A:d.y=this.sizeY*c.y;break;case q:d.y=this.sizeY*u.y}const y=this.translation.set(0,0,0);switch(this.getAlignX()){case P:y.x=-(c.x-d.x)/2;break;case B:this.getSizeUnitX()===q&&1&h.x&&(y.x=-u.x/2);break;case Y:y.x=(c.x-d.x)/2}switch(this.getAlignY()){case R:y.y=-(c.y-d.y)/2;break;case B:this.getSizeUnitX()===q&&1&h.y&&(y.y=-u.y/2);break;case j:y.y=(c.y-d.y)/2}const f=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:f.x=this.offsetX*c.x;break;case q:f.x=this.offsetX*l.x/h.x}switch(this.getOffsetUnitY()){case A:f.y=this.offsetY*c.y;break;case q:f.y=this.offsetY*l.y/h.y}const w=this.scale.set(1,1,1),g=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(t.getModelViewMatrix().get().get(g,x,_),this.getScaleModeX()){case G:w.x=_.x;break;case A:w.x=d.x;break;case k:break;case q:w.x=l.x/h.x}switch(this.getScaleModeY()){case G:w.y=_.y;break;case A:w.y=d.y;break;case k:break;case q:w.y=l.y/h.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?d.x>d.y?(w.x=d.x,w.y=w.x):(w.y=d.y,w.x=w.y):w.x=w.y:this.getScaleModeY()===k&&(w.y=w.x),p.assign(y.add(f)),s.set(g,x),s.translate(y),s.scale(w),s}}),Object.defineProperties(W,{typeName:{value:"Layout",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layout",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(S())(T().inputOutput,"metadata",new(m().SFNode)),new(S())(T().inputOutput,"align",new(m().MFString)("CENTER","CENTER")),new(S())(T().inputOutput,"offsetUnits",new(m().MFString)("WORLD","WORLD")),new(S())(T().inputOutput,"offset",new(m().MFFloat)(0,0)),new(S())(T().inputOutput,"sizeUnits",new(m().MFString)("WORLD","WORLD")),new(S())(T().inputOutput,"size",new(m().MFFloat)(1,1)),new(S())(T().inputOutput,"scaleMode",new(m().MFString)("NONE","NONE"))]),enumerable:!0}});const H=W;y().add("Layout","x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DCast");var $=i.n(J);const ee=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Rendering/TraverseType");var te=i.n(ee);function ie(e){Q().call(this,e),this.addType(T().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(u()),this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}Object.assign(Object.setPrototypeOf(ie.prototype,Q().prototype),{initialize(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__(){this.viewportNode=$()(T().X3DViewportNode,this._viewport)},set_layout__(){this.layoutNode=$()(T().X3DLayoutNode,this._layout)},getBBox(e,t){return Q().prototype.getBBox.call(this,e,t).multRight(this.getMatrix())},getMatrix(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout(){return this.layoutNode},traverse(e,t){if(e!==te().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=t.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(e,t)),i.pushMatrix(this.screenMatrix),t.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,e,t),t.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,e,t);this.viewportNode&&this.viewportNode.pop()}}}),Object.defineProperties(ie,{typeName:{value:"LayoutGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(S())(T().inputOutput,"metadata",new(m().SFNode)),new(S())(T().inputOutput,"layout",new(m().SFNode)),new(S())(T().inputOutput,"viewport",new(m().SFNode)),new(S())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(S())(T().inputOutput,"bboxDisplay",new(m().SFBool)),new(S())(T().initializeOnly,"bboxSize",new(m().SFVec3f)(-1,-1,-1)),new(S())(T().initializeOnly,"bboxCenter",new(m().SFVec3f)),new(S())(T().inputOnly,"addChildren",new(m().MFNode)),new(S())(T().inputOnly,"removeChildren",new(m().MFNode)),new(S())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const ne=ie;y().add("LayoutGroup","x_ite/Components/Layout/LayoutGroup",ne);const se=ne,oe=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Layering/X3DLayerNode");var re=i.n(oe);const ae=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Navigation/OrthoViewpoint");var le=i.n(ae);function he(e){re().call(this,e,new(le())(e),new se(e)),this.addType(T().LayoutLayer)}Object.assign(Object.setPrototypeOf(he.prototype,re().prototype),{initialize(){re().prototype.initialize.call(this);const e=this.getGroups()._children[0].getValue();this._layout.addFieldInterest(e._layout),this._addChildren.addFieldInterest(e._addChildren),this._removeChildren.addFieldInterest(e._removeChildren),this._children.addFieldInterest(e._children),e._layout=this._layout,e._children=this._children,e.setPrivate(!0),e.setup(),this.getGroups().setup()}}),Object.defineProperties(he,{typeName:{value:"LayoutLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(S())(T().inputOutput,"metadata",new(m().SFNode)),new(S())(T().inputOutput,"pickable",new(m().SFBool)(!0)),new(S())(T().inputOutput,"objectType",new(m().MFString)("ALL")),new(S())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(S())(T().inputOutput,"layout",new(m().SFNode)),new(S())(T().inputOutput,"viewport",new(m().SFNode)),new(S())(T().inputOnly,"addChildren",new(m().MFNode)),new(S())(T().inputOnly,"removeChildren",new(m().MFNode)),new(S())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const ue=he;y().add("LayoutLayer","x_ite/Components/Layout/LayoutLayer",ue);const ce=ue,de=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Text/X3DFontStyleNode");var pe=i.n(de);const ye=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Browser/Text/X3DTextGeometry");var fe=i.n(ye);const we=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Browser/Text/TextAlignment");var ge=i.n(we);const xe=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Texturing/PixelTexture");var _e=i.n(xe);const me=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Geometry/Box3");var be=i.n(me);const Se=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Algorithm");var Xe=i.n(Se),Me=i(823);function Oe(e,t){fe().call(this,e,t),e.setTransparent(!0),this.textureNode=new(_e())(e.getExecutionContext()),this.canvas=Me("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=t.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}Object.assign(Object.setPrototypeOf(Oe.prototype,fe().prototype),{modelViewMatrix:new(u()),isTransparent:()=>!0,getMatrix(){return this.matrix},update:(()=>{const e=new(l()),t=new(l())(1,1,0);return function(){fe().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(e,t),e.x-=1,e.y-=1,i.getMajorAlignment()){case ge().BEGIN:case ge().FIRST:e.x=Math.floor(e.x),t.x=e.x+n._textBounds.x;break;case ge().MIDDLE:e.x=Math.round(e.x),t.x=e.x+n._textBounds.x;break;case ge().END:t.x=Math.ceil(t.x),e.x=t.x-n._textBounds.x}switch(i.getMinorAlignment()){case ge().BEGIN:case ge().FIRST:t.y=Math.ceil(t.y),e.y=t.y-n._textBounds.y;break;case ge().MIDDLE:t.y=Math.round(t.y),e.y=t.y-n._textBounds.y;break;case ge().END:e.y=Math.floor(e.y),t.y=e.y+n._textBounds.y}n._origin.x=e.x,n._origin.y=t.y,this.getBBox().setExtents(e,t)}})(),build:(()=>{const e=new(l()),t=new(l())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),l=this.getCharSpacings(),h=i.getScale(),u=h/n.unitsPerEm,c=s.getTexCoords(),d=s.getNormals(),p=s.getVertices(),y=this.canvas[0],f=this.context;s.getMultiTexCoords().push(c),this.getBBox().getExtents(e,t),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),p.push(e.x,e.y,0,1,t.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,t.y,0,1);const w=s._textBounds.x,g=s._textBounds.y;y.width=Xe().nextPowerOfTwo(w),y.height=Xe().nextPowerOfTwo(g);const x=w/y.width,_=1-g/y.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),f.fillStyle="rgba(255,255,255,0)",f.fillRect(0,0,y.width,y.height),f.fillStyle="rgba(255,255,255,1)",f.save(),f.translate(0,y.height),f.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=l[i],d=a[i];let p=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+p+i*c-e.x,l=r.y+d.y-t.y;this.drawGlyph(f,n,o,a,l,h);let y=0;i+1<s.length&&(y=n.getKerningValue(o,s[i+1])),p+=(o.advanceWidth+y)*u}}else{const l=i._leftToRight.getValue(),u=i._topToBottom.getValue(),c=l?0:s._string.length-1,d=l?s._string.length:-1,p=l?1:-1;for(let i=c,s=0;i!==d;i+=p){const l=o[i],c=l.length,d=u?c:-1,p=u?1:-1;for(let i=u?0:c-1;i!==d;i+=p,++s){const o=a[s],u=r.x+o.x-e.x,c=r.y+o.y-t.y;this.drawGlyph(f,n,l[i],u,c,h)}}}f.restore();const m=f.getImageData(0,0,y.width,y.height);m?this.textureNode.setTextureData(y.width,y.height,!0,!0,new Uint8Array(m.data.buffer)):this.textureNode.clear()}})(),drawGlyph(e,t,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;e.beginPath();for(let t=0,i=a.length;t<i;++t){const i=a[t];switch(i.type){case"M":e.moveTo(i.x,i.y);continue;case"Z":e.closePath();continue;case"L":e.lineTo(i.x,i.y);continue;case"Q":e.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":e.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&e.fill(),r.stroke&&(e.lineWidth=r.strokeWidth,e.stroke())},getGlyphExtents(e,t,i,n,s){const o=e.unitsPerEm;n.set((t.xMin||0)/o,(t.yMin||0)/o,0),s.set((t.xMax||0)/o,(t.yMax||0)/o,0)},traverse:(()=>{const e=new(be());return function(t,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix,1,!0),e.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(e)}})(),display(e,t){u().prototype.multLeft.call(t.modelViewMatrix,this.matrix),t.textureNode=this.textureNode},transformLine:(()=>{const e=new(u());return function(t){return t.multLineMatrix(e.assign(this.matrix).inverse())}})(),transformMatrix(e){return e.multLeft(this.matrix)}});const ve=Oe;y().add("ScreenText","x_ite/Browser/Layout/ScreenText",ve);const ze=ve;function Te(e){pe().call(this,e),this.addType(T().ScreenFontStyle)}Object.assign(Object.setPrototypeOf(Te.prototype,pe().prototype),{initialize(){pe().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry(e){return new ze(e,this)},getScale(){return this._pointSize.getValue()*this.getBrowser().getPixelsPerPoint()}}),Object.defineProperties(Te,{typeName:{value:"ScreenFontStyle",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"fontStyle",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(S())(T().inputOutput,"metadata",new(m().SFNode)),new(S())(T().inputOutput,"language",new(m().SFString)),new(S())(T().inputOutput,"family",new(m().MFString)("SERIF")),new(S())(T().inputOutput,"style",new(m().SFString)("PLAIN")),new(S())(T().inputOutput,"pointSize",new(m().SFFloat)(12)),new(S())(T().inputOutput,"spacing",new(m().SFFloat)(1)),new(S())(T().inputOutput,"horizontal",new(m().SFBool)(!0)),new(S())(T().inputOutput,"leftToRight",new(m().SFBool)(!0)),new(S())(T().inputOutput,"topToBottom",new(m().SFBool)(!0)),new(S())(T().inputOutput,"justify",new(m().MFString)("BEGIN"))]),enumerable:!0}});const Ne=Te;y().add("ScreenFontStyle","x_ite/Components/Layout/ScreenFontStyle",Ne);const Fe=Ne,Ie=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Prototype/X3DProtoDeclaration");var Le=i.n(Ie);function Ee(e){Q().call(this,e),this.addType(T().ScreenGroup),e.getOuterNode()instanceof Le()?this.matrix=new(u()):this.matrix=new(u())(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}Object.assign(Object.setPrototypeOf(Ee.prototype,Q().prototype),{getBBox(e,t){return this.getSubBBox(e,t).multRight(this.matrix)},getMatrix(){return this.matrix},traverse(e,t){switch(e){case te().CAMERA:case te().PICKING:case te().SHADOW:break;default:{const e=this.getBrowser();e.getScreenScaleMatrix(t,this.matrix,e.getRenderingProperty("ContentScale"),!1);break}}const i=t.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,e,t),i.pop()}}),Object.defineProperties(Ee,{typeName:{value:"ScreenGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(S())(T().inputOutput,"metadata",new(m().SFNode)),new(S())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(S())(T().inputOutput,"bboxDisplay",new(m().SFBool)),new(S())(T().initializeOnly,"bboxSize",new(m().SFVec3f)(-1,-1,-1)),new(S())(T().initializeOnly,"bboxCenter",new(m().SFVec3f)),new(S())(T().inputOnly,"addChildren",new(m().MFNode)),new(S())(T().inputOnly,"removeChildren",new(m().MFNode)),new(S())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const De=Ee;y().add("ScreenGroup","x_ite/Components/Layout/ScreenGroup",De);const Ue=De;s().add({name:"Layout",concreteNodes:[K,se,ce,Fe,Ue],abstractNodes:[I],browserContext:x});const Ce=void 0;y().add("Layout","assets/components/Layout",Ce)})();
1
+ /* X_ITE v10.1.0 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-10.1.0")].require("lib/jquery")}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Texturing/TextureProperties");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector3");var l=i.n(a);const h=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Matrix4");var u=i.n(h);const c=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Geometry/ViewVolume");var d=i.n(c);const p=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var y=i.n(p);const f=Symbol();function g(){}Object.assign(g.prototype,{getScreenTextureProperties(){return this[f]=new(r())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:(()=>{const e=new(l()),t=new(l()),i=new(u());return function(n,s,o,r){const a=n.getModelViewMatrix().get(),h=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(a.origin,u,e);const c=a.xAxis.normalize().multiply(e.x*o),p=a.yAxis.normalize().multiply(e.y*o),y=a.zAxis.normalize().multiply(e.x*o);i.set(c.x,c.y,c.z,0,p.x,p.y,p.z,0,y.x,y.y,y.z,0,a[12],a[13],a[14],1),r&&(d().projectPoint(l().Zero,i,h,u,t),t.x=Math.round(t.x),t.y=Math.round(t.y),d().unProjectPoint(t.x,t.y,t.z,i,h,u,t),t.z=0,i.translate(t)),s.assign(a).inverse().multLeft(i)}})()});const w=g;y().add("X3DLayoutContext","x_ite/Browser/Layout/X3DLayoutContext",w);const x=w,_=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var m=i.n(_);const S=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var b=i.n(S);const X=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var M=i.n(X);const O=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DChildNode");var v=i.n(O);const z=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var T=i.n(z);function N(e){v().call(this,e),this.addType(T().X3DLayoutNode)}Object.setPrototypeOf(N.prototype,v().prototype),Object.defineProperties(N,{typeName:{value:"X3DLayoutNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0}});const F=N;y().add("X3DLayoutNode","x_ite/Components/Layout/X3DLayoutNode",F);const I=F,L=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector2");var E=i.n(L);const D=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Rotation4");var U=i.n(D);let C=0;const P=C++,B=C++,Y=C++,R=C++,j=C++,V=C++,A=C++,q=C++,G=C++,k=C++;function W(e){I.call(this,e),this.addType(T().Layout),this.alignX=B,this.alignY=B,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=G,this.scaleModeY=G,this.parent=null,this.rectangleCenter=new(E()),this.rectangleSize=new(E()),this.matrix=new(u())}Object.assign(Object.setPrototypeOf(W.prototype,I.prototype),{viewportPixel:new(E()),pixelSize:new(E()),translation:new(l()),offset:new(l()),scale:new(l())(1,1,1),currentTranslation:new(l()),currentRotation:new(U()),currentScale:new(l()),modelViewMatrix:new(u()),initialize(){I.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=P:"RIGHT"===this._align[0]?this.alignX=Y:this.alignX=B:this.alignX=B,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=j:this.alignY=B:this.alignY=B},set_offsetUnits__(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=G,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=G:this.scaleModeY=this.scaleModeX):(this.scaleModeX=G,this.scaleModeY=G)},getRectangleCenter(){return this.rectangleCenter},getRectangleSize(){return this.rectangleSize},getAlignX(){return this.alignX},getAlignY(){return this.alignY},getOffsetUnitX(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX(){return this.offsetX},getOffsetY(){return this.offsetY},getSizeUnitX(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getScaleModeX(){return this.parent?this.scaleModeX:this.scaleModeX===G?A:this.scaleModeX},getScaleModeY(){return this.parent?this.scaleModeY:this.scaleModeY===G?A:this.scaleModeY},transform(e,t){const i=this.parent=t.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=t.getViewpoint(),r=t.getNavigationInfo().getNearValue(),a=t.getViewVolume().getScissor(),l=o.getViewportSize(a,r),h=this.viewportPixel,u=this.pixelSize,c=i?i.getRectangleSize():l,d=this.rectangleSize,p=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),u.assign(l).divVec(h),this.getSizeUnitX()){case A:d.x=this.sizeX*c.x;break;case q:d.x=this.sizeX*u.x}switch(this.getSizeUnitY()){case A:d.y=this.sizeY*c.y;break;case q:d.y=this.sizeY*u.y}const y=this.translation.set(0,0,0);switch(this.getAlignX()){case P:y.x=-(c.x-d.x)/2;break;case B:this.getSizeUnitX()===q&&1&h.x&&(y.x=-u.x/2);break;case Y:y.x=(c.x-d.x)/2}switch(this.getAlignY()){case R:y.y=-(c.y-d.y)/2;break;case B:this.getSizeUnitX()===q&&1&h.y&&(y.y=-u.y/2);break;case j:y.y=(c.y-d.y)/2}const f=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:f.x=this.offsetX*c.x;break;case q:f.x=this.offsetX*l.x/h.x}switch(this.getOffsetUnitY()){case A:f.y=this.offsetY*c.y;break;case q:f.y=this.offsetY*l.y/h.y}const g=this.scale.set(1,1,1),w=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(t.getModelViewMatrix().get().get(w,x,_),this.getScaleModeX()){case G:g.x=_.x;break;case A:g.x=d.x;break;case k:break;case q:g.x=l.x/h.x}switch(this.getScaleModeY()){case G:g.y=_.y;break;case A:g.y=d.y;break;case k:break;case q:g.y=l.y/h.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?d.x>d.y?(g.x=d.x,g.y=g.x):(g.y=d.y,g.x=g.y):g.x=g.y:this.getScaleModeY()===k&&(g.y=g.x),p.assign(y.add(f)),s.set(w,x),s.translate(y),s.scale(g),s}}),Object.defineProperties(W,{typeName:{value:"Layout",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layout",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(b())(T().inputOutput,"metadata",new(m().SFNode)),new(b())(T().inputOutput,"align",new(m().MFString)("CENTER","CENTER")),new(b())(T().inputOutput,"offsetUnits",new(m().MFString)("WORLD","WORLD")),new(b())(T().inputOutput,"offset",new(m().MFFloat)(0,0)),new(b())(T().inputOutput,"sizeUnits",new(m().MFString)("WORLD","WORLD")),new(b())(T().inputOutput,"size",new(m().MFFloat)(1,1)),new(b())(T().inputOutput,"scaleMode",new(m().MFString)("NONE","NONE"))]),enumerable:!0}});const H=W;y().add("Layout","x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DCast");var $=i.n(J);const ee=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Rendering/TraverseType");var te=i.n(ee);function ie(e){Q().call(this,e),this.addType(T().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(u()),this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}Object.assign(Object.setPrototypeOf(ie.prototype,Q().prototype),{initialize(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__(){this.viewportNode=$()(T().X3DViewportNode,this._viewport)},set_layout__(){this.layoutNode=$()(T().X3DLayoutNode,this._layout)},getBBox(e,t){return Q().prototype.getBBox.call(this,e,t).multRight(this.getMatrix())},getMatrix(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout(){return this.layoutNode},traverse(e,t){if(e!==te().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=t.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(e,t)),i.pushMatrix(this.screenMatrix),t.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,e,t),t.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,e,t);this.viewportNode&&this.viewportNode.pop()}}}),Object.defineProperties(ie,{typeName:{value:"LayoutGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(b())(T().inputOutput,"metadata",new(m().SFNode)),new(b())(T().inputOutput,"layout",new(m().SFNode)),new(b())(T().inputOutput,"viewport",new(m().SFNode)),new(b())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(b())(T().inputOutput,"bboxDisplay",new(m().SFBool)),new(b())(T().initializeOnly,"bboxSize",new(m().SFVec3f)(-1,-1,-1)),new(b())(T().initializeOnly,"bboxCenter",new(m().SFVec3f)),new(b())(T().inputOnly,"addChildren",new(m().MFNode)),new(b())(T().inputOnly,"removeChildren",new(m().MFNode)),new(b())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const ne=ie;y().add("LayoutGroup","x_ite/Components/Layout/LayoutGroup",ne);const se=ne,oe=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Layering/X3DLayerNode");var re=i.n(oe);const ae=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Navigation/OrthoViewpoint");var le=i.n(ae);function he(e){re().call(this,e,new(le())(e),new se(e)),this.addType(T().LayoutLayer)}Object.assign(Object.setPrototypeOf(he.prototype,re().prototype),{initialize(){re().prototype.initialize.call(this);const e=this.getGroups()._children[0].getValue();this._layout.addFieldInterest(e._layout),this._addChildren.addFieldInterest(e._addChildren),this._removeChildren.addFieldInterest(e._removeChildren),this._children.addFieldInterest(e._children),e._layout=this._layout,e._children=this._children,e.setPrivate(!0),e.setup(),this.getGroups().setup()}}),Object.defineProperties(he,{typeName:{value:"LayoutLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(b())(T().inputOutput,"metadata",new(m().SFNode)),new(b())(T().inputOutput,"pickable",new(m().SFBool)(!0)),new(b())(T().inputOutput,"objectType",new(m().MFString)("ALL")),new(b())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(b())(T().inputOutput,"layout",new(m().SFNode)),new(b())(T().inputOutput,"viewport",new(m().SFNode)),new(b())(T().inputOnly,"addChildren",new(m().MFNode)),new(b())(T().inputOnly,"removeChildren",new(m().MFNode)),new(b())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const ue=he;y().add("LayoutLayer","x_ite/Components/Layout/LayoutLayer",ue);const ce=ue,de=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Text/X3DFontStyleNode");var pe=i.n(de);const ye=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Browser/Text/X3DTextGeometry");var fe=i.n(ye);const ge=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Browser/Text/TextAlignment");var we=i.n(ge);const xe=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Texturing/PixelTexture");var _e=i.n(xe);const me=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Geometry/Box3");var Se=i.n(me);const be=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Algorithm");var Xe=i.n(be),Me=i(823);function Oe(e,t){fe().call(this,e,t),e.setTransparent(!0),this.textureNode=new(_e())(e.getExecutionContext()),this.canvas=Me("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=t.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}Object.assign(Object.setPrototypeOf(Oe.prototype,fe().prototype),{modelViewMatrix:new(u()),isTransparent:()=>!0,getMatrix(){return this.matrix},update:(()=>{const e=new(l()),t=new(l())(1,1,0);return function(){fe().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(e,t),e.x-=1,e.y-=1,i.getMajorAlignment()){case we().BEGIN:case we().FIRST:e.x=Math.floor(e.x),t.x=e.x+n._textBounds.x;break;case we().MIDDLE:e.x=Math.round(e.x),t.x=e.x+n._textBounds.x;break;case we().END:t.x=Math.ceil(t.x),e.x=t.x-n._textBounds.x}switch(i.getMinorAlignment()){case we().BEGIN:case we().FIRST:t.y=Math.ceil(t.y),e.y=t.y-n._textBounds.y;break;case we().MIDDLE:t.y=Math.round(t.y),e.y=t.y-n._textBounds.y;break;case we().END:e.y=Math.floor(e.y),t.y=e.y+n._textBounds.y}n._origin.x=e.x,n._origin.y=t.y,this.getBBox().setExtents(e,t)}})(),build:(()=>{const e=new(l()),t=new(l())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),l=this.getCharSpacings(),h=this.getScales(),u=i.getScale(),c=u/n.unitsPerEm,d=s.getTexCoords(),p=s.getNormals(),y=s.getVertices(),f=this.canvas[0],g=this.context;s.getMultiTexCoords().push(d),this.getBBox().getExtents(e,t),p.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),y.push(e.x,e.y,0,1,t.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,t.y,0,1);const w=s._textBounds.x,x=s._textBounds.y;f.width=Xe().nextPowerOfTwo(w),f.height=Xe().nextPowerOfTwo(x);const _=w/f.width,m=1-x/f.height;if(d.push(0,m,0,1,_,m,0,1,_,1,0,1,0,m,0,1,_,1,0,1,0,1,0,1),g.fillStyle="rgba(255,255,255,0)",g.fillRect(0,0,f.width,f.height),g.fillStyle="rgba(255,255,255,1)",g.save(),g.translate(0,f.height),g.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],d=a[i],p=l[i],y=h[i];let f=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+f*y+i*p-e.x,l=r.y+d.y-t.y;g.save(),g.translate(a,-l),g.scale(y,1),this.drawGlyph(g,n,o,u),g.restore();let h=0;i+1<s.length&&(h=n.getKerningValue(o,s[i+1])),f+=(o.advanceWidth+h)*c}}else{const c=i._leftToRight.getValue(),d=i._topToBottom.getValue(),p=c?0:s._string.length-1,y=c?s._string.length:-1,f=c?1:-1;for(let i=p,s=0;i!==y;i+=f){const c=o[i],p=c.length,y=d?0:p-1,f=d?p:-1,w=d?1:-1,x=l[i],_=h[i];for(let i=y;i!==f;i+=w,++s){const o=a[s],l=r.x+o.x-e.x,h=r.y+o.y*_-i*x-t.y;g.save(),g.translate(l,-h),g.scale(1,_),this.drawGlyph(g,n,c[i],u),g.restore()}}}g.restore();const S=g.getImageData(0,0,f.width,f.height);S?this.textureNode.setTextureData(f.width,f.height,!0,!0,new Uint8Array(S.data.buffer)):this.textureNode.clear()}})(),drawGlyph(e,t,i,n){const s=i.getPath(0,0,n),o=s.commands;e.beginPath();for(let t=0,i=o.length;t<i;++t){const i=o[t];switch(i.type){case"M":e.moveTo(i.x,i.y);continue;case"Z":e.closePath();continue;case"L":e.lineTo(i.x,i.y);continue;case"Q":e.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":e.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}s.fill&&e.fill(),s.stroke&&(e.lineWidth=s.strokeWidth,e.stroke())},getGlyphExtents(e,t,i,n,s){const o=e.unitsPerEm;n.set((t.xMin||0)/o,(t.yMin||0)/o,0),s.set((t.xMax||0)/o,(t.yMax||0)/o,0)},traverse:(()=>{const e=new(Se());return function(t,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix,1,!0),e.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(e)}})(),display(e,t){u().prototype.multLeft.call(t.modelViewMatrix,this.matrix),t.textureNode=this.textureNode},transformLine:(()=>{const e=new(u());return function(t){return t.multLineMatrix(e.assign(this.matrix).inverse())}})(),transformMatrix(e){return e.multLeft(this.matrix)}});const ve=Oe;y().add("ScreenText","x_ite/Browser/Layout/ScreenText",ve);const ze=ve;function Te(e){pe().call(this,e),this.addType(T().ScreenFontStyle)}Object.assign(Object.setPrototypeOf(Te.prototype,pe().prototype),{initialize(){pe().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry(e){return new ze(e,this)},getScale(){return this._pointSize.getValue()*this.getBrowser().getPixelsPerPoint()}}),Object.defineProperties(Te,{typeName:{value:"ScreenFontStyle",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"fontStyle",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(b())(T().inputOutput,"metadata",new(m().SFNode)),new(b())(T().inputOutput,"language",new(m().SFString)),new(b())(T().inputOutput,"family",new(m().MFString)("SERIF")),new(b())(T().inputOutput,"style",new(m().SFString)("PLAIN")),new(b())(T().inputOutput,"pointSize",new(m().SFFloat)(12)),new(b())(T().inputOutput,"spacing",new(m().SFFloat)(1)),new(b())(T().inputOutput,"horizontal",new(m().SFBool)(!0)),new(b())(T().inputOutput,"leftToRight",new(m().SFBool)(!0)),new(b())(T().inputOutput,"topToBottom",new(m().SFBool)(!0)),new(b())(T().inputOutput,"justify",new(m().MFString)("BEGIN"))]),enumerable:!0}});const Ne=Te;y().add("ScreenFontStyle","x_ite/Components/Layout/ScreenFontStyle",Ne);const Fe=Ne,Ie=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Prototype/X3DProtoDeclaration");var Le=i.n(Ie);function Ee(e){Q().call(this,e),this.addType(T().ScreenGroup),e.getOuterNode()instanceof Le()?this.matrix=new(u()):this.matrix=new(u())(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}Object.assign(Object.setPrototypeOf(Ee.prototype,Q().prototype),{getBBox(e,t){return this.getSubBBox(e,t).multRight(this.matrix)},getMatrix(){return this.matrix},traverse(e,t){switch(e){case te().CAMERA:case te().PICKING:case te().SHADOW:break;default:{const e=this.getBrowser();e.getScreenScaleMatrix(t,this.matrix,e.getRenderingProperty("ContentScale"),!1);break}}const i=t.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,e,t),i.pop()}}),Object.defineProperties(Ee,{typeName:{value:"ScreenGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(M())([new(b())(T().inputOutput,"metadata",new(m().SFNode)),new(b())(T().inputOutput,"visible",new(m().SFBool)(!0)),new(b())(T().inputOutput,"bboxDisplay",new(m().SFBool)),new(b())(T().initializeOnly,"bboxSize",new(m().SFVec3f)(-1,-1,-1)),new(b())(T().initializeOnly,"bboxCenter",new(m().SFVec3f)),new(b())(T().inputOnly,"addChildren",new(m().MFNode)),new(b())(T().inputOnly,"removeChildren",new(m().MFNode)),new(b())(T().inputOutput,"children",new(m().MFNode))]),enumerable:!0}});const De=Ee;y().add("ScreenGroup","x_ite/Components/Layout/ScreenGroup",De);const Ue=De;s().add({name:"Layout",concreteNodes:[K,se,ce,Fe,Ue],abstractNodes:[I],browserContext:x});const Ce=void 0;y().add("Layout","assets/components/Layout",Ce)})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v10.0.4 */(() => { // webpackBootstrap
1
+ /* X_ITE v10.1.0 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -34,33 +34,32 @@
34
34
  /******/ })();
35
35
  /******/
36
36
  /************************************************************************/
37
- var __webpack_exports__ = {};
38
37
 
39
38
  // UNUSED EXPORTS: default
40
39
 
41
40
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components");
41
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components");
43
42
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
43
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Fields");
44
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Fields");
46
45
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
46
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DFieldDefinition");
47
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
49
48
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
49
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/FieldDefinitionArray");
50
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
52
51
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
52
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
54
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Core/X3DNode");
53
+ const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DNode");
55
54
  var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
56
55
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
57
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DConstants");
56
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DConstants");
58
57
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
59
58
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
60
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Base/X3DCast");
59
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DCast");
61
60
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
62
61
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
63
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Namespace");
62
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Namespace");
64
63
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
65
64
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/Contour2D.js
66
65
  /*******************************************************************************
@@ -317,7 +316,7 @@ const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
317
316
  Namespace_default().add ("X3DNurbsControlCurveNode", "x_ite/Components/NURBS/X3DNurbsControlCurveNode", X3DNurbsControlCurveNode_default_);
318
317
  /* harmony default export */ const NURBS_X3DNurbsControlCurveNode = (X3DNurbsControlCurveNode_default_);
319
318
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
320
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Vector3");
319
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector3");
321
320
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
322
321
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/ContourPolyline2D.js
323
322
  /*******************************************************************************
@@ -490,13 +489,13 @@ const ContourPolyline2D_default_ = ContourPolyline2D;
490
489
  Namespace_default().add ("ContourPolyline2D", "x_ite/Components/NURBS/ContourPolyline2D", ContourPolyline2D_default_);
491
490
  /* harmony default export */ const NURBS_ContourPolyline2D = (ContourPolyline2D_default_);
492
491
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
493
- const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
492
+ const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
494
493
  var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
495
494
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
496
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Vector2");
495
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector2");
497
496
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
498
497
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
499
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Vector4");
498
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector4");
500
499
  var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
501
500
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/NURBS/NURBS.js
502
501
  /*******************************************************************************
@@ -1061,7 +1060,7 @@ const X3DParametricGeometryNode_default_ = X3DParametricGeometryNode;
1061
1060
  Namespace_default().add ("X3DParametricGeometryNode", "x_ite/Components/NURBS/X3DParametricGeometryNode", X3DParametricGeometryNode_default_);
1062
1061
  /* harmony default export */ const NURBS_X3DParametricGeometryNode = (X3DParametricGeometryNode_default_);
1063
1062
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
1064
- const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
1063
+ const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
1065
1064
  var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
1066
1065
  ;// CONCATENATED MODULE: ./src/lib/nurbs/src/utils/is-ndarray.js
1067
1066
 
@@ -3133,13 +3132,13 @@ const NurbsCurve2D_default_ = NurbsCurve2D;
3133
3132
  Namespace_default().add ("NurbsCurve2D", "x_ite/Components/NURBS/NurbsCurve2D", NurbsCurve2D_default_);
3134
3133
  /* harmony default export */ const NURBS_NurbsCurve2D = (NurbsCurve2D_default_);
3135
3134
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
3136
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Core/X3DChildNode");
3135
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DChildNode");
3137
3136
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
3138
3137
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
3139
- const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
3138
+ const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
3140
3139
  var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
3141
3140
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
3142
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Numbers/Rotation4");
3141
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Rotation4");
3143
3142
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
3144
3143
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js
3145
3144
  /*******************************************************************************
@@ -3376,10 +3375,10 @@ const NurbsOrientationInterpolator_default_ = NurbsOrientationInterpolator;
3376
3375
  Namespace_default().add ("NurbsOrientationInterpolator", "x_ite/Components/NURBS/NurbsOrientationInterpolator", NurbsOrientationInterpolator_default_);
3377
3376
  /* harmony default export */ const NURBS_NurbsOrientationInterpolator = (NurbsOrientationInterpolator_default_);
3378
3377
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
3379
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Algorithm");
3378
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Algorithm");
3380
3379
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
3381
3380
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
3382
- const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Geometry/Triangle3");
3381
+ const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Geometry/Triangle3");
3383
3382
  var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
3384
3383
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js
3385
3384
  /*******************************************************************************
@@ -3893,7 +3892,7 @@ const NurbsPatchSurface_default_ = NurbsPatchSurface;
3893
3892
  Namespace_default().add ("NurbsPatchSurface", "x_ite/Components/NURBS/NurbsPatchSurface", NurbsPatchSurface_default_);
3894
3893
  /* harmony default export */ const NURBS_NurbsPatchSurface = (NurbsPatchSurface_default_);
3895
3894
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
3896
- const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
3895
+ const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
3897
3896
  var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
3898
3897
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsPositionInterpolator.js
3899
3898
  /*******************************************************************************
@@ -4118,7 +4117,7 @@ const NurbsPositionInterpolator_default_ = NurbsPositionInterpolator;
4118
4117
  Namespace_default().add ("NurbsPositionInterpolator", "x_ite/Components/NURBS/NurbsPositionInterpolator", NurbsPositionInterpolator_default_);
4119
4118
  /* harmony default export */ const NURBS_NurbsPositionInterpolator = (NurbsPositionInterpolator_default_);
4120
4119
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
4121
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
4120
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
4122
4121
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
4123
4122
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSet.js
4124
4123
  /*******************************************************************************
@@ -4312,7 +4311,7 @@ const NurbsSet_default_ = NurbsSet;
4312
4311
  Namespace_default().add ("NurbsSet", "x_ite/Components/NURBS/NurbsSet", NurbsSet_default_);
4313
4312
  /* harmony default export */ const NURBS_NurbsSet = (NurbsSet_default_);
4314
4313
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
4315
- const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("standard/Math/Geometry/Line3");
4314
+ const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Geometry/Line3");
4316
4315
  var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
4317
4316
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle2.js
4318
4317
  /*******************************************************************************
@@ -4592,7 +4591,7 @@ const NurbsSurfaceInterpolator_default_ = NurbsSurfaceInterpolator;
4592
4591
  Namespace_default().add ("NurbsSurfaceInterpolator", "x_ite/Components/NURBS/NurbsSurfaceInterpolator", NurbsSurfaceInterpolator_default_);
4593
4592
  /* harmony default export */ const NURBS_NurbsSurfaceInterpolator = (NurbsSurfaceInterpolator_default_);
4594
4593
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/Extrusion\")"
4595
- const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.4")] .require ("x_ite/Components/Geometry3D/Extrusion");
4594
+ const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Geometry3D/Extrusion");
4596
4595
  var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceObject);
4597
4596
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSweptSurface.js
4598
4597
  /*******************************************************************************