x_ite 8.6.10 → 8.6.12

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 (128) hide show
  1. package/Makefile +12 -12
  2. package/build/bin/version.pl +6 -0
  3. package/dist/assets/components/Annotation.js +13 -13
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +21 -45
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +25 -25
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +13 -13
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +9 -9
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +19 -19
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +40 -58
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +18 -18
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +48 -42
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +28 -34
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +140 -29
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +132 -22
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/RigidBodyPhysics.js +33 -77
  30. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  31. package/dist/assets/components/Scripting.js +28 -28
  32. package/dist/assets/components/Scripting.min.js +1 -1
  33. package/dist/assets/components/Text.js +24 -24
  34. package/dist/assets/components/Text.min.js +1 -1
  35. package/dist/assets/components/TextureProjector.js +14 -14
  36. package/dist/assets/components/TextureProjector.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +30 -30
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +19 -19
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +9 -9
  42. package/dist/assets/components/X_ITE.min.js +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +645 -786
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.zip +0 -0
  47. package/docs/_config.yml +1 -1
  48. package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
  49. package/docs/_posts/components/Lighting/DirectionalLight.md +4 -4
  50. package/docs/_posts/components/Lighting/EnvironmentLight.md +4 -4
  51. package/docs/_posts/components/Lighting/PointLight.md +4 -4
  52. package/docs/_posts/components/Lighting/SpotLight.md +4 -4
  53. package/docs/_posts/components/Rendering/IndexedLineSet.md +1 -1
  54. package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
  55. package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +1 -1
  56. package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +1 -1
  57. package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +1 -1
  58. package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +3 -3
  59. package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
  60. package/docs/_posts/getting-started.md +8 -3
  61. package/docs/_posts/reference/browser-services.md +1 -1
  62. package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +16 -99
  63. package/docs/_posts/what's-new.md +1 -1
  64. package/docs/laboratory/gltf-sample-viewer.html +4 -2
  65. package/package.json +3 -3
  66. package/src/assets/shaders/webgl1/include/Fragment.glsl.js +11 -4
  67. package/src/assets/shaders/webgl2/include/Fragment.glsl.js +11 -4
  68. package/src/lib/jquery.js +6 -1
  69. package/src/standard/Math/Algorithm.js +8 -1
  70. package/src/standard/Math/Geometry/Box3.js +2 -5
  71. package/src/standard/Utility/BitSet.js +33 -0
  72. package/src/x_ite/Base/X3DBaseNode.js +8 -0
  73. package/src/x_ite/Base/X3DObject.js +14 -1
  74. package/src/x_ite/Browser/Core/BrowserOptions.js +27 -29
  75. package/src/x_ite/Browser/Core/BrowserTimings.js +4 -12
  76. package/src/x_ite/Browser/Core/Context.js +1 -1
  77. package/src/x_ite/Browser/Core/X3DCoreContext.js +5 -0
  78. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
  79. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +20 -15
  80. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +3 -3
  81. package/src/x_ite/Browser/Rendering/GeometryContext.js +2 -0
  82. package/src/x_ite/Browser/Shape/AlphaMode.js +1 -1
  83. package/src/x_ite/Browser/VERSION.js +1 -1
  84. package/src/x_ite/Browser/X3DBrowser.js +4 -4
  85. package/src/x_ite/Browser/X3DBrowserContext.js +21 -12
  86. package/src/x_ite/Components/CADGeometry/CADFace.js +8 -32
  87. package/src/x_ite/Components/Core/X3DNode.js +1 -1
  88. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
  89. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +115 -139
  90. package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +1 -1
  91. package/src/x_ite/Components/Geometry3D/ElevationGrid.js +10 -31
  92. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +3 -6
  93. package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +7 -25
  94. package/src/x_ite/Components/Grouping/StaticGroup.js +19 -0
  95. package/src/x_ite/Components/Grouping/Switch.js +7 -25
  96. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -1
  97. package/src/x_ite/Components/Grouping/X3DGroupingNode.js +1 -1
  98. package/src/x_ite/Components/Layout/Layout.js +12 -10
  99. package/src/x_ite/Components/Layout/LayoutGroup.js +9 -5
  100. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +4 -10
  101. package/src/x_ite/Components/Navigation/LOD.js +7 -25
  102. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -11
  103. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +4 -3
  104. package/src/x_ite/Components/Rendering/IndexedLineSet.js +11 -33
  105. package/src/x_ite/Components/Rendering/LineSet.js +12 -37
  106. package/src/x_ite/Components/Rendering/PointSet.js +11 -24
  107. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +14 -39
  108. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +15 -8
  109. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +7 -29
  110. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +8 -30
  111. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -10
  112. package/src/x_ite/Components/Shape/Appearance.js +9 -5
  113. package/src/x_ite/Components/Shape/Material.js +1 -2
  114. package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -2
  115. package/src/x_ite/Components/Shape/Shape.js +0 -5
  116. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
  117. package/src/x_ite/Components/Shape/UnlitMaterial.js +1 -1
  118. package/src/x_ite/Components/Shape/X3DMaterialNode.js +24 -9
  119. package/src/x_ite/Components/Shape/X3DShapeNode.js +21 -18
  120. package/src/x_ite/Components/Texturing/ImageTexture.js +1 -1
  121. package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +2 -0
  122. package/src/x_ite/Fields/SFImage.js +9 -9
  123. package/src/x_ite/Fields/SFInt32.js +2 -2
  124. package/src/x_ite/Fields/SFNode.js +8 -0
  125. package/src/x_ite/Rendering/X3DRenderObject.js +0 -1
  126. package/src/x_ite/{X3DCanvas.js → X3DCanvasElement.js} +23 -4
  127. package/src/x_ite.js +4 -4
  128. package/x_ite.min.html +1 -1
package/Makefile CHANGED
@@ -22,18 +22,18 @@ html:
22
22
  cp src/x_ite.html x_ite.min.html
23
23
  perl -p0i -e 's|<!-- X_ITE START.*?X_ITE END -->|<script src="dist/x_ite.min.js"></script>|sg' x_ite.min.html
24
24
  perl -p0i -e 's|<!-- JQUERY -->|<script src="https://code.jquery.com/jquery-latest.js"></script>|sg' x_ite.min.html
25
- perl -p0i -e 's|<script type="module">|<script>|sg' x_ite.min.html
26
- perl -p0i -e 's|import\s+X3D\s.*?\n||sg' x_ite.min.html
27
- perl -p0i -e 's|window\s*.X3D.*?\n+||sg' x_ite.min.html
28
- perl -p0i -e 's|"x_ite.js"|"dist/x_ite.min.js"|sg' x_ite.min.html
29
- perl -p0i -e 's|\.\./x_ite.min.html|src/x_ite.html|sg' x_ite.min.html
30
- perl -p0i -e 's|class="links"|class="links min-links"|sg' x_ite.min.html
31
- perl -p0i -e 's|\>x_ite.min.html|>src/x_ite.html|sg' x_ite.min.html
32
- perl -p0i -e 's|\.\./dist/|dist/|sg' x_ite.min.html
33
- perl -p0i -e 's|"bookmarks.js"|"src/bookmarks.js"|sg' x_ite.min.html
34
- perl -p0i -e 's|"examples.js"|"src/examples.js"|sg' x_ite.min.html
35
- perl -p0i -e 's|"tests.js"|"src/tests.js"|sg' x_ite.min.html
36
- perl -p0i -e 's|"tests/|"src/tests/|sg' x_ite.min.html
25
+ perl -p0i -e 's|<script type="module">|<script>|sg' x_ite.min.html
26
+ perl -p0i -e 's|import\s+X3D\s.*?\n||sg' x_ite.min.html
27
+ perl -p0i -e 's|window\s*.X3D.*?\n+||sg' x_ite.min.html
28
+ perl -p0i -e 's|"x_ite.js"|"dist/x_ite.min.js"|sg' x_ite.min.html
29
+ perl -p0i -e 's|\.\./x_ite.min.html|src/x_ite.html|sg' x_ite.min.html
30
+ perl -p0i -e 's|id="links"|id="links" class="min-links"|sg' x_ite.min.html
31
+ perl -p0i -e 's|\>x_ite.min.html|>src/x_ite.html|sg' x_ite.min.html
32
+ perl -p0i -e 's|\.\./dist/|dist/|sg' x_ite.min.html
33
+ perl -p0i -e 's|"bookmarks.js"|"src/bookmarks.js"|sg' x_ite.min.html
34
+ perl -p0i -e 's|"examples.js"|"src/examples.js"|sg' x_ite.min.html
35
+ perl -p0i -e 's|"tests.js"|"src/tests.js"|sg' x_ite.min.html
36
+ perl -p0i -e 's|"tests/|"src/tests/|sg' x_ite.min.html
37
37
 
38
38
  .SILENT:zip
39
39
  zip:
@@ -90,6 +90,12 @@ sub docs
90
90
  close CONFIG;
91
91
  }
92
92
 
93
+ if (`git branch --show-current` ne "main\n")
94
+ {
95
+ say "Wrong branch, cannot release version!";
96
+ exit;
97
+ }
98
+
93
99
  say "Waiting for confirmation ...";
94
100
 
95
101
  my $result = system "zenity", "--question", "--text=Do you really want to publish X_ITE X3D v$VERSION now?", "--ok-label=Yes", "--cancel-label=No";
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.10 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.6.12 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,31 +39,31 @@ 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-8.6.10")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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/Layering/X3DLayerNode\")"
54
- const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Layering/X3DLayerNode");
54
+ const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Layering/X3DLayerNode");
55
55
  var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
57
- const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Navigation/Viewpoint");
57
+ const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Navigation/Viewpoint");
58
58
  var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
60
- const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Grouping/Group");
60
+ const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/Group");
61
61
  var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
62
62
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
63
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/X3DConstants");
63
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DConstants");
64
64
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
65
65
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
66
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Namespace");
66
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Namespace");
67
67
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
68
68
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
69
69
  /*******************************************************************************
@@ -165,7 +165,7 @@ const __default__ = AnnotationLayer;
165
165
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationLayer", __default__);
166
166
  /* harmony default export */ const Annotation_AnnotationLayer = (__default__);
167
167
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
168
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Core/X3DChildNode");
168
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DChildNode");
169
169
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
170
170
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
171
171
  /*******************************************************************************
@@ -262,7 +262,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
262
262
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
263
263
  /* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
264
264
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
265
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
265
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
266
266
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
267
267
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
268
268
  /*******************************************************************************
@@ -446,7 +446,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
446
446
  Namespace_default().set ("x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
447
447
  /* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
448
448
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
449
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Networking/X3DUrlObject");
449
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Networking/X3DUrlObject");
450
450
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
451
451
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
452
452
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.6.10 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)t.o(e,o)&&!t.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components");var e=t.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Fields");var i=t.n(o);const r=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DFieldDefinition");var a=t.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/FieldDefinitionArray");var p=t.n(u);const s=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Layering/X3DLayerNode");var c=t.n(s);const l=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Navigation/Viewpoint");var w=t.n(l);const d=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Grouping/Group");var y=t.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DConstants");var m=t.n(f);const S=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Namespace");var O=t.n(S);function g(t){c().call(this,t,new(w())(t),new(y())(t)),this.addType(m().AnnotationLayer)}g.prototype=Object.assign(Object.create(c().prototype),{constructor:g,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(m().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(m().inputOutput,"shownGroupID",new(i().MFString)),new(a())(m().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){c().prototype.initialize.call(this)}});const b=g;O().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Core/X3DChildNode");var N=t.n(X);function T(t){N().call(this,t),this.addType(m().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(m().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(m().inputOutput,"marker",new(i().SFNode)),new(a())(m().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){N().prototype.initialize.call(this)}});const A=T;O().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(D);function C(t){N().call(this,t),this.addType(m().X3DAnnotationNode)}C.prototype=Object.assign(Object.create(N().prototype),{constructor:C,initialize:function(){N().prototype.initialize.call(this)}});const x=C;O().set("x_ite/Components/Annotation/X3DAnnotationNode",x);const I=x;function E(t){_().call(this,t),I.call(this,t),this.addType(m().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),I.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(m().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(m().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(m().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(m().inputOnly,"addChildren",new(i().MFNode)),new(a())(m().inputOnly,"removeChildren",new(i().MFNode)),new(a())(m().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){_().prototype.initialize.call(this),I.prototype.initialize.call(this)},dispose:function(){I.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;O().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Networking/X3DUrlObject");var B=t.n(j);function q(t){I.call(this,t),B().call(this,t),this.addType(m().IconAnnotation)}q.prototype=Object.assign(Object.create(I.prototype),B().prototype,{constructor:q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString)),new(a())(m().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(m().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},dispose:function(){B().prototype.dispose.call(this),I.prototype.dispose.call(this)}});const G=q;O().set("x_ite/Components/Annotation/IconAnnotation",G);const L=G;function R(t){I.call(this,t),this.addType(m().TextAnnotation)}R.prototype=Object.assign(Object.create(I.prototype),{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(m().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const M=R;O().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(t){I.call(this,t),this.addType(m().URLAnnotation)}V.prototype=Object.assign(Object.create(I.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const U=V;O().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:L,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:I}});const H=void 0;O().set("assets/components/Annotation",H)})();
1
+ /* X_ITE v8.6.12 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)t.o(e,o)&&!t.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components");var e=t.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Fields");var i=t.n(o);const r=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DFieldDefinition");var a=t.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/FieldDefinitionArray");var p=t.n(u);const s=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Layering/X3DLayerNode");var c=t.n(s);const l=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Navigation/Viewpoint");var w=t.n(l);const d=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/Group");var y=t.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DConstants");var m=t.n(f);const S=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Namespace");var O=t.n(S);function g(t){c().call(this,t,new(w())(t),new(y())(t)),this.addType(m().AnnotationLayer)}g.prototype=Object.assign(Object.create(c().prototype),{constructor:g,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(m().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(m().inputOutput,"shownGroupID",new(i().MFString)),new(a())(m().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){c().prototype.initialize.call(this)}});const b=g;O().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Core/X3DChildNode");var N=t.n(X);function T(t){N().call(this,t),this.addType(m().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(m().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(m().inputOutput,"marker",new(i().SFNode)),new(a())(m().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){N().prototype.initialize.call(this)}});const A=T;O().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(D);function C(t){N().call(this,t),this.addType(m().X3DAnnotationNode)}C.prototype=Object.assign(Object.create(N().prototype),{constructor:C,initialize:function(){N().prototype.initialize.call(this)}});const x=C;O().set("x_ite/Components/Annotation/X3DAnnotationNode",x);const I=x;function E(t){_().call(this,t),I.call(this,t),this.addType(m().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),I.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(m().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(m().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(m().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(m().inputOnly,"addChildren",new(i().MFNode)),new(a())(m().inputOnly,"removeChildren",new(i().MFNode)),new(a())(m().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){_().prototype.initialize.call(this),I.prototype.initialize.call(this)},dispose:function(){I.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;O().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Networking/X3DUrlObject");var B=t.n(j);function q(t){I.call(this,t),B().call(this,t),this.addType(m().IconAnnotation)}q.prototype=Object.assign(Object.create(I.prototype),B().prototype,{constructor:q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString)),new(a())(m().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(m().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},dispose:function(){B().prototype.dispose.call(this),I.prototype.dispose.call(this)}});const G=q;O().set("x_ite/Components/Annotation/IconAnnotation",G);const L=G;function R(t){I.call(this,t),this.addType(m().TextAnnotation)}R.prototype=Object.assign(Object.create(I.prototype),{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(m().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const M=R;O().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(t){I.call(this,t),this.addType(m().URLAnnotation)}V.prototype=Object.assign(Object.create(I.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const U=V;O().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:L,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:I}});const H=void 0;O().set("assets/components/Annotation",H)})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.10 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.6.12 */(() => { // 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-8.6.10")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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/Grouping/X3DGroupingNode\")"
54
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
54
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
55
55
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
57
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Core/X3DChildNode");
57
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DChildNode");
58
58
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_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-8.6.10")] .require ("x_ite/Base/X3DConstants");
60
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.10")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Namespace");
64
64
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
65
65
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
66
66
  /*******************************************************************************
@@ -228,10 +228,10 @@ const CADAssembly_default_ = CADAssembly;
228
228
  Namespace_default().set ("x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
229
229
  /* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
230
230
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
231
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
231
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
232
232
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
233
233
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
234
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Rendering/TraverseType");
234
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TraverseType");
235
235
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
236
236
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
237
237
  /*******************************************************************************
@@ -338,14 +338,7 @@ CADFace .prototype = Object .assign (Object .create (CADGeometry_X3DProductStruc
338
338
  getBBox: function (bbox, shadows)
339
339
  {
340
340
  if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
341
- {
342
- const boundedObject = this .visibleNode;
343
-
344
- if (boundedObject)
345
- return boundedObject .getBBox (bbox, shadows);
346
-
347
- return bbox .set ();
348
- }
341
+ return this .visibleNode?.getBBox (bbox, shadows) ?? bbox .set ();
349
342
 
350
343
  return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
351
344
  },
@@ -409,11 +402,11 @@ CADFace .prototype = Object .assign (Object .create (CADGeometry_X3DProductStruc
409
402
  },
410
403
  set_cameraObject__: function ()
411
404
  {
412
- this .setCameraObject (!!(this .visibleNode && this .visibleNode .isCameraObject ()));
405
+ this .setCameraObject (!!this .visibleNode?.isCameraObject ());
413
406
  },
414
407
  set_transformSensors__: function ()
415
408
  {
416
- this .setPickableObject (!!(this .visibleNode && this .visibleNode .isPickableObject ()));
409
+ this .setPickableObject (!!this .visibleNode?.isPickableObject ());
417
410
  },
418
411
  set_visible__: function ()
419
412
  {
@@ -440,11 +433,7 @@ CADFace .prototype = Object .assign (Object .create (CADGeometry_X3DProductStruc
440
433
  case (TraverseType_default()).CAMERA:
441
434
  case (TraverseType_default()).SHADOW:
442
435
  {
443
- const visibleNode = this .visibleNode;
444
-
445
- if (visibleNode)
446
- visibleNode .traverse (type, renderObject);
447
-
436
+ this .visibleNode?.traverse (type, renderObject);
448
437
  return;
449
438
  }
450
439
  case (TraverseType_default()).PICKING:
@@ -455,34 +444,21 @@ CADFace .prototype = Object .assign (Object .create (CADGeometry_X3DProductStruc
455
444
 
456
445
  pickingHierarchy .push (this);
457
446
 
458
- const visibleNode = this .visibleNode;
459
-
460
- if (visibleNode)
461
- visibleNode .traverse (type, renderObject);
447
+ this .visibleNode?.traverse (type, renderObject);
462
448
 
463
449
  pickingHierarchy .pop ();
464
450
  return;
465
451
  }
466
452
  case (TraverseType_default()).COLLISION:
467
453
  {
468
- const visibleNode = this .visibleNode;
469
-
470
- if (visibleNode)
471
- visibleNode .traverse (type, renderObject);
454
+ this .visibleNode?.traverse (type, renderObject);
472
455
  return;
473
456
  }
474
457
  case (TraverseType_default()).DISPLAY:
475
458
  {
476
- const visibleNode = this .visibleNode;
477
-
478
- if (visibleNode)
479
- visibleNode .traverse (type, renderObject);
480
-
481
- const boundedObject = this .boundedObject;
482
-
483
- if (boundedObject)
484
- boundedObject .displayBBox (type, renderObject);
459
+ this .visibleNode?.traverse (type, renderObject);
485
460
 
461
+ this .boundedObject?.displayBBox (type, renderObject);
486
462
  return;
487
463
  }
488
464
  }
@@ -594,7 +570,7 @@ const CADLayer_default_ = CADLayer;
594
570
  Namespace_default().set ("x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
595
571
  /* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
596
572
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
597
- const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Grouping/X3DTransformNode");
573
+ const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DTransformNode");
598
574
  var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
599
575
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
600
576
  /*******************************************************************************
@@ -699,7 +675,7 @@ const CADPart_default_ = CADPart;
699
675
  Namespace_default().set ("x_ite/Components/CADGeometry/CADPart", CADPart_default_);
700
676
  /* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
701
677
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
702
- const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
678
+ const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
703
679
  var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
704
680
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
705
681
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.6.10 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(c);const w=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DConstants");var b=e.n(w);const h=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Namespace");var y=e.n(h);function _(e){p().call(this,e),this.addType(b().X3DProductStructureChildNode)}_.prototype=Object.assign(Object.create(p().prototype),{constructor:_});const m=_;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",m);const O=m;function f(e){d().call(this,e),O.call(this,e),this.addType(b().CADAssembly)}f.prototype=Object.assign(Object.create(d().prototype),{constructor:f,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const S=f;y().set("x_ite/Components/CADGeometry/CADAssembly",S);const C=S,N=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){O.call(this,e),D().call(this,e),this.addType(b().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(O.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},initialize:function(){O.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){if(this._bboxSize.getValue().equals(this.getDefaultBBoxSize())){const n=this.visibleNode;return n?n.getBBox(e,t):e.set()}return e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__:function(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case b().LOD:case b().Transform:case b().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch(e){}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.setCameraObject(!(!this.visibleNode||!this.visibleNode.isCameraObject()))},set_transformSensors__:function(){this.setPickableObject(!(!this.visibleNode||!this.visibleNode.isPickableObject()))},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__:function(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse:function(e,t){switch(e){case g().POINTER:case g().CAMERA:case g().SHADOW:{const n=this.visibleNode;return void(n&&n.traverse(e,t))}case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();n.push(this);const i=this.visibleNode;return i&&i.traverse(e,t),void n.pop()}case g().COLLISION:{const n=this.visibleNode;return void(n&&n.traverse(e,t))}case g().DISPLAY:{const n=this.visibleNode;n&&n.traverse(e,t);const i=this.boundedObject;return void(i&&i.displayBBox(e,t))}}},dispose:function(){D().prototype.dispose.call(this),O.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const X=v;function I(e){d().call(this,e),this.addType(b().CADLayer)}I.prototype=Object.assign(Object.create(d().prototype),{constructor:I,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const A=I;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),O.call(this,e),this.addType(b().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"translation",new(o().SFVec3f)),new(s())(b().inputOutput,"rotation",new(o().SFRotation)),new(s())(b().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(b().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(b().inputOutput,"center",new(o().SFVec3f)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const G=P,V=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(V);function M(e){E().call(this,e),this.addType(b().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOnly,"set_index",new(o().MFInt32)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"index",new(o().MFInt32)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},initialize:function(){E().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),getPolygonIndex:function(e){return this._index[e]},build:function(){let e=this._index.length;e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)}});const q=M;y().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const L=q;function Q(e){E().call(this,e),this.addType(b().QuadSet)}Q.prototype=Object.assign(Object.create(E().prototype),{constructor:Q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),build:function(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)},createNormals:function(e,t){return this.createFaceNormals(e,t)}});const k=Q;y().set("x_ite/Components/CADGeometry/QuadSet",k);const R=k;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:X,CADLayer:T,CADPart:G,IndexedQuadSet:L,QuadSet:R},abstractTypes:{X3DProductStructureChildNode:O}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
1
+ /* X_ITE v8.6.12 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(c);const w=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DConstants");var b=e.n(w);const h=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Namespace");var y=e.n(h);function _(e){p().call(this,e),this.addType(b().X3DProductStructureChildNode)}_.prototype=Object.assign(Object.create(p().prototype),{constructor:_});const m=_;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",m);const O=m;function f(e){d().call(this,e),O.call(this,e),this.addType(b().CADAssembly)}f.prototype=Object.assign(Object.create(d().prototype),{constructor:f,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const S=f;y().set("x_ite/Components/CADGeometry/CADAssembly",S);const C=S,N=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){O.call(this,e),D().call(this,e),this.addType(b().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(O.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},initialize:function(){O.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__:function(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case b().LOD:case b().Transform:case b().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch(e){}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__:function(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__:function(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse:function(e,t){switch(e){case g().POINTER:case g().CAMERA:case g().SHADOW:return void this.visibleNode?.traverse(e,t);case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case g().COLLISION:return void this.visibleNode?.traverse(e,t);case g().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose:function(){D().prototype.dispose.call(this),O.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const X=v;function I(e){d().call(this,e),this.addType(b().CADLayer)}I.prototype=Object.assign(Object.create(d().prototype),{constructor:I,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const A=I;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),O.call(this,e),this.addType(b().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"translation",new(o().SFVec3f)),new(s())(b().inputOutput,"rotation",new(o().SFRotation)),new(s())(b().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(b().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(b().inputOutput,"center",new(o().SFVec3f)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const G=P,V=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(V);function M(e){E().call(this,e),this.addType(b().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOnly,"set_index",new(o().MFInt32)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"index",new(o().MFInt32)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},initialize:function(){E().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),getPolygonIndex:function(e){return this._index[e]},build:function(){let e=this._index.length;e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)}});const q=M;y().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const L=q;function Q(e){E().call(this,e),this.addType(b().QuadSet)}Q.prototype=Object.assign(Object.create(E().prototype),{constructor:Q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),build:function(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)},createNormals:function(e,t){return this.createFaceNormals(e,t)}});const k=Q;y().set("x_ite/Components/CADGeometry/QuadSet",k);const R=k;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:X,CADLayer:T,CADPart:G,IndexedQuadSet:L,QuadSet:R},abstractTypes:{X3DProductStructureChildNode:O}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
@@ -1,11 +1,11 @@
1
- /* X_ITE v8.6.10 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.6.12 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
5
  /***/ 355:
6
6
  /***/ ((module) => {
7
7
 
8
- module.exports = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("lib/jquery");
8
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("lib/jquery");
9
9
 
10
10
  /***/ })
11
11
 
@@ -73,25 +73,25 @@ var __webpack_exports__ = {};
73
73
  // UNUSED EXPORTS: default
74
74
 
75
75
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
76
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components");
76
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components");
77
77
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
78
78
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
79
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Fields");
79
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Fields");
80
80
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
81
81
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
82
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/X3DFieldDefinition");
82
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DFieldDefinition");
83
83
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
84
84
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
85
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/FieldDefinitionArray");
85
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/FieldDefinitionArray");
86
86
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
87
87
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureNode\")"
88
- const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
88
+ const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
89
89
  var X3DSingleTextureNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureNode_namespaceObject);
90
90
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
91
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/X3DConstants");
91
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DConstants");
92
92
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
93
93
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
94
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Namespace");
94
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Namespace");
95
95
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
96
96
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js
97
97
  /*******************************************************************************
@@ -227,10 +227,10 @@ const __default__ = X3DEnvironmentTextureNode;
227
227
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode", __default__);
228
228
  /* harmony default export */ const CubeMapTexturing_X3DEnvironmentTextureNode = (__default__);
229
229
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
230
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/X3DCast");
230
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DCast");
231
231
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
232
232
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
233
- const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Utility/BitSet");
233
+ const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Utility/BitSet");
234
234
  var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
235
235
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js
236
236
  /*******************************************************************************
@@ -474,13 +474,13 @@ const ComposedCubeMapTexture_default_ = ComposedCubeMapTexture;
474
474
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture", ComposedCubeMapTexture_default_);
475
475
  /* harmony default export */ const CubeMapTexturing_ComposedCubeMapTexture = (ComposedCubeMapTexture_default_);
476
476
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
477
- const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Base/X3DBaseNode");
477
+ const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DBaseNode");
478
478
  var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
479
479
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/X3DRenderObject\")"
480
- const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Rendering/X3DRenderObject");
480
+ const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/X3DRenderObject");
481
481
  var X3DRenderObject_default = /*#__PURE__*/__webpack_require__.n(X3DRenderObject_namespaceObject);
482
482
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
483
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Rendering/TraverseType");
483
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TraverseType");
484
484
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
485
485
  ;// CONCATENATED MODULE: ./src/x_ite/Rendering/DependentRenderer.js
486
486
  /*******************************************************************************
@@ -621,28 +621,28 @@ const DependentRenderer_default_ = DependentRenderer;
621
621
  Namespace_default().set ("x_ite/Rendering/DependentRenderer", DependentRenderer_default_);
622
622
  /* harmony default export */ const Rendering_DependentRenderer = (DependentRenderer_default_);
623
623
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TextureBuffer\")"
624
- const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Rendering/TextureBuffer");
624
+ const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TextureBuffer");
625
625
  var TextureBuffer_default = /*#__PURE__*/__webpack_require__.n(TextureBuffer_namespaceObject);
626
626
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
627
- const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Geometry/Camera");
627
+ const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/Camera");
628
628
  var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
629
629
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
630
- const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Geometry/ViewVolume");
630
+ const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/ViewVolume");
631
631
  var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
632
632
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
633
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Numbers/Rotation4");
633
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Rotation4");
634
634
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
635
635
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
636
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Numbers/Vector3");
636
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector3");
637
637
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
638
638
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
639
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Numbers/Vector4");
639
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector4");
640
640
  var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
641
641
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
642
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Numbers/Matrix4");
642
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Matrix4");
643
643
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
644
644
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
645
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Algorithm");
645
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Algorithm");
646
646
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
647
647
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js
648
648
  /*******************************************************************************
@@ -930,13 +930,13 @@ const GeneratedCubeMapTexture_default_ = GeneratedCubeMapTexture;
930
930
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture", GeneratedCubeMapTexture_default_);
931
931
  /* harmony default export */ const CubeMapTexturing_GeneratedCubeMapTexture = (GeneratedCubeMapTexture_default_);
932
932
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
933
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/Components/Networking/X3DUrlObject");
933
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Networking/X3DUrlObject");
934
934
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
935
935
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
936
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("standard/Math/Numbers/Vector2");
936
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector2");
937
937
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
938
938
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEBUG\")"
939
- const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.10")] .require ("x_ite/DEBUG");
939
+ const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/DEBUG");
940
940
  var DEBUG_default = /*#__PURE__*/__webpack_require__.n(DEBUG_namespaceObject);
941
941
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
942
942
  /* provided dependency */ var $ = __webpack_require__(355);