x_ite 10.5.12 → 10.5.14

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 (49) hide show
  1. package/README.md +12 -5
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +2 -2
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +2 -2
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +2 -2
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +113 -88
  45. package/dist/x_ite.min.js +2 -2
  46. package/dist/x_ite.min.mjs +2 -2
  47. package/dist/x_ite.mjs +113 -88
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,10 +1,10 @@
1
- /* X_ITE v10.5.12 */
1
+ /* X_ITE v10.5.14 */
2
2
  var __webpack_modules__ = ({
3
3
 
4
- /***/ 823:
4
+ /***/ 489:
5
5
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6
6
 
7
- /* provided dependency */ var jQuery = __webpack_require__(827);
7
+ /* provided dependency */ var jQuery = __webpack_require__(625);
8
8
  /**
9
9
  * @preserve jquery.fullscreen 1.1.5
10
10
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -200,7 +200,7 @@ installFullScreenHandlers();
200
200
 
201
201
  /***/ }),
202
202
 
203
- /***/ 739:
203
+ /***/ 729:
204
204
  /***/ ((module, exports, __webpack_require__) => {
205
205
 
206
206
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -214,7 +214,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
214
214
  (function (factory) {
215
215
  if ( true ) {
216
216
  // AMD. Register as an anonymous module.
217
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(827)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(625)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
218
218
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
219
219
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
220
220
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -425,7 +425,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
425
425
 
426
426
  /***/ }),
427
427
 
428
- /***/ 827:
428
+ /***/ 625:
429
429
  /***/ (function(module, exports) {
430
430
 
431
431
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11149,7 +11149,7 @@ return jQuery;
11149
11149
 
11150
11150
  /***/ }),
11151
11151
 
11152
- /***/ 688:
11152
+ /***/ 706:
11153
11153
  /***/ ((module) => {
11154
11154
 
11155
11155
  /**
@@ -15928,7 +15928,7 @@ if (true) {
15928
15928
 
15929
15929
  /***/ }),
15930
15930
 
15931
- /***/ 779:
15931
+ /***/ 133:
15932
15932
  /***/ (function(__unused_webpack_module, exports) {
15933
15933
 
15934
15934
 
@@ -19173,7 +19173,7 @@ if (true) {
19173
19173
 
19174
19174
  /***/ }),
19175
19175
 
19176
- /***/ 428:
19176
+ /***/ 402:
19177
19177
  /***/ (function(module, exports) {
19178
19178
 
19179
19179
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20297,7 +20297,7 @@ Object .defineProperty (Namespace, "add",
20297
20297
  return module;
20298
20298
  }
20299
20299
 
20300
- const X3D = window [Symbol .for ("X_ITE.X3D-10.5.12")];
20300
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.14")];
20301
20301
 
20302
20302
  if (X3D)
20303
20303
  X3D [name] = module;
@@ -34173,7 +34173,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34173
34173
 
34174
34174
  /* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
34175
34175
  ;// ./src/x_ite/Browser/Legacy.js
34176
- /* provided dependency */ var $ = __webpack_require__(827);
34176
+ /* provided dependency */ var $ = __webpack_require__(625);
34177
34177
  /*******************************************************************************
34178
34178
  *
34179
34179
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34309,7 +34309,7 @@ const Legacy_default_ = Legacy;
34309
34309
  *
34310
34310
  ******************************************************************************/
34311
34311
 
34312
- const BROWSER_VERSION_default_ = "10.5.12";
34312
+ const BROWSER_VERSION_default_ = "10.5.14";
34313
34313
  ;
34314
34314
 
34315
34315
  /* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -37338,7 +37338,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37338
37338
 
37339
37339
  /* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
37340
37340
  ;// ./src/standard/Math/Geometry/Triangle3.js
37341
- /* provided dependency */ var libtess = __webpack_require__(688);
37341
+ /* provided dependency */ var libtess = __webpack_require__(706);
37342
37342
  /*******************************************************************************
37343
37343
  *
37344
37344
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39904,7 +39904,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39904
39904
 
39905
39905
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
39906
39906
  ;// ./src/x_ite/Parser/X3DParser.js
39907
- /* provided dependency */ var X3DParser_$ = __webpack_require__(827);
39907
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(625);
39908
39908
  /*******************************************************************************
39909
39909
  *
39910
39910
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40159,7 +40159,7 @@ const Expressions_default_ = Expressions;
40159
40159
 
40160
40160
  /* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
40161
40161
  ;// ./src/x_ite/Parser/VRMLParser.js
40162
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(827);
40162
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(625);
40163
40163
  /*******************************************************************************
40164
40164
  *
40165
40165
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42799,7 +42799,7 @@ const VRMLParser_default_ = VRMLParser;
42799
42799
 
42800
42800
  /* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
42801
42801
  ;// ./src/x_ite/Parser/XMLParser.js
42802
- /* provided dependency */ var XMLParser_$ = __webpack_require__(827);
42802
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(625);
42803
42803
  /*******************************************************************************
42804
42804
  *
42805
42805
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44021,7 +44021,7 @@ const XMLParser_default_ = XMLParser;
44021
44021
 
44022
44022
  /* harmony default export */ const Parser_XMLParser = (x_ite_Namespace .add ("XMLParser", XMLParser_default_));
44023
44023
  ;// ./src/x_ite/Parser/JSONParser.js
44024
- /* provided dependency */ var JSONParser_$ = __webpack_require__(827);
44024
+ /* provided dependency */ var JSONParser_$ = __webpack_require__(625);
44025
44025
  /*******************************************************************************
44026
44026
  *
44027
44027
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44977,7 +44977,7 @@ const URLs_default_ = URLs;
44977
44977
 
44978
44978
  /* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
44979
44979
  ;// ./src/x_ite/Parser/GLTF2Parser.js
44980
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(827);
44980
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(625);
44981
44981
  /*******************************************************************************
44982
44982
  *
44983
44983
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48373,31 +48373,51 @@ function eventsProcessed ()
48373
48373
  if (!geometryNode)
48374
48374
  continue;
48375
48375
 
48376
+ if (attributes ["POSITION"] .field .length !== geometryNode ._coord .point .length)
48377
+ continue;
48378
+
48376
48379
  const coordinateInterpolatorNode = this .createArrayInterpolator ("CoordinateInterpolator", interpolation, times, keyValues .array, cycleInterval, targets, attributes, "POSITION");
48377
48380
 
48378
- if (coordinateInterpolatorNode ?._key .length > 1)
48379
- {
48380
- if (coordinateInterpolatorNode ._keyValue .length / coordinateInterpolatorNode ._key .length === geometryNode ._coord .point .length)
48381
- {
48382
- interpolatorNodes .push (coordinateInterpolatorNode);
48381
+ if (!coordinateInterpolatorNode)
48382
+ continue;
48383
48383
 
48384
- scene .addRoute (timeSensorNode, "fraction_changed", coordinateInterpolatorNode, "set_fraction");
48385
- scene .addRoute (coordinateInterpolatorNode, "value_changed", geometryNode ._coord, "point");
48386
- }
48387
- }
48384
+ if (coordinateInterpolatorNode ._key .length < 2)
48385
+ continue;
48386
+
48387
+ if (coordinateInterpolatorNode ._keyValue .length / coordinateInterpolatorNode ._key .length !== geometryNode ._coord .point .length)
48388
+ continue;
48389
+
48390
+ interpolatorNodes .push (coordinateInterpolatorNode);
48391
+
48392
+ scene .addRoute (timeSensorNode, "fraction_changed", coordinateInterpolatorNode, "set_fraction");
48393
+ scene .addRoute (coordinateInterpolatorNode, "value_changed", geometryNode ._coord, "point");
48394
+ }
48395
+
48396
+ for (const { shapeNode, targets, attributes } of primitives)
48397
+ {
48398
+ const geometryNode = shapeNode ._geometry .getValue ();
48399
+
48400
+ if (!geometryNode)
48401
+ continue;
48402
+
48403
+ if (attributes ["NORMAL"] .field .length !== geometryNode ._normal .vector .length)
48404
+ continue;
48388
48405
 
48389
48406
  const normalInterpolatorNode = this .createArrayInterpolator ("NormalInterpolator", interpolation, times, keyValues .array, cycleInterval, targets, attributes, "NORMAL");
48390
48407
 
48391
- if (normalInterpolatorNode ?._key .length > 1)
48392
- {
48393
- if (normalInterpolatorNode ._keyValue .length / normalInterpolatorNode ._key .length === geometryNode ._normal .vector .length)
48394
- {
48395
- interpolatorNodes .push (normalInterpolatorNode);
48408
+ if (!normalInterpolatorNode)
48409
+ continue;
48396
48410
 
48397
- scene .addRoute (timeSensorNode, "fraction_changed", normalInterpolatorNode, "set_fraction");
48398
- scene .addRoute (normalInterpolatorNode, "value_changed", geometryNode ._normal, "vector");
48399
- }
48400
- }
48411
+ if (normalInterpolatorNode ._key .length < 2)
48412
+ continue;
48413
+
48414
+ if (normalInterpolatorNode ._keyValue .length / normalInterpolatorNode ._key .length !== geometryNode ._normal .vector .length)
48415
+ continue;
48416
+
48417
+ interpolatorNodes .push (normalInterpolatorNode);
48418
+
48419
+ scene .addRoute (timeSensorNode, "fraction_changed", normalInterpolatorNode, "set_fraction");
48420
+ scene .addRoute (normalInterpolatorNode, "value_changed", geometryNode ._normal, "vector");
48401
48421
  }
48402
48422
 
48403
48423
  return interpolatorNodes;
@@ -48990,7 +49010,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48990
49010
 
48991
49011
  /* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
48992
49012
  ;// ./src/x_ite/Parser/GLB2Parser.js
48993
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(827);
49013
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(625);
48994
49014
  /*******************************************************************************
48995
49015
  *
48996
49016
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49141,7 +49161,7 @@ const GLB2Parser_default_ = GLB2Parser;
49141
49161
 
49142
49162
  /* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
49143
49163
  ;// ./src/x_ite/Parser/OBJParser.js
49144
- /* provided dependency */ var OBJParser_$ = __webpack_require__(827);
49164
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(625);
49145
49165
  /*******************************************************************************
49146
49166
  *
49147
49167
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52508,8 +52528,8 @@ const MatrixStack_default_ = MatrixStack;
52508
52528
 
52509
52529
  /* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
52510
52530
  ;// ./src/x_ite/Parser/SVGParser.js
52511
- /* provided dependency */ var SVGParser_$ = __webpack_require__(827);
52512
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(688);
52531
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(625);
52532
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(706);
52513
52533
  /*******************************************************************************
52514
52534
  *
52515
52535
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55288,7 +55308,7 @@ const SVGParser_default_ = SVGParser;
55288
55308
 
55289
55309
  /* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
55290
55310
  ;// ./src/x_ite/Parser/GoldenGate.js
55291
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(827);
55311
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(625);
55292
55312
  /*******************************************************************************
55293
55313
  *
55294
55314
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -63307,7 +63327,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
63307
63327
 
63308
63328
  /* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
63309
63329
  ;// ./src/x_ite/Components/Texturing/ImageTexture.js
63310
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(827);
63330
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(625);
63311
63331
  /*******************************************************************************
63312
63332
  *
63313
63333
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66734,7 +66754,7 @@ const X3DWorld_default_ = X3DWorld;
66734
66754
 
66735
66755
  /* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
66736
66756
  ;// ./src/x_ite/InputOutput/FileLoader.js
66737
- /* provided dependency */ var FileLoader_$ = __webpack_require__(827);
66757
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(625);
66738
66758
  /*******************************************************************************
66739
66759
  *
66740
66760
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67698,7 +67718,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67698
67718
 
67699
67719
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
67700
67720
  ;// ./src/x_ite/Routing/X3DRoute.js
67701
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(827);
67721
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(625);
67702
67722
  /*******************************************************************************
67703
67723
  *
67704
67724
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -75518,6 +75538,11 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75518
75538
  .cross (vector3 .assign (spine [i - 1] .getValue ()) .subtract (s))
75519
75539
  .normalize ();
75520
75540
 
75541
+ // Fix edge case.
75542
+ // https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCasesIndex.html
75543
+ if (SCPyAxisPrevious .dot (SCPyAxis) < 0)
75544
+ SCPyAxis .negate ();
75545
+
75521
75546
  // g.
75522
75547
  if (SCPzAxisPrevious .dot (SCPzAxis) < 0)
75523
75548
  SCPzAxis .negate ();
@@ -75553,15 +75578,20 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75553
75578
  {
75554
75579
  const s = spine .at (-1) .getValue ();
75555
75580
 
75556
- SCPyAxis .assign (s) .subtract (spine [numSpines - 2] .getValue ()) .normalize ();
75581
+ SCPyAxis .assign (s) .subtract (spine .at (-2) .getValue ()) .normalize ();
75557
75582
 
75558
75583
  if (numSpines > 2)
75559
75584
  {
75560
- SCPzAxis .assign (s) .subtract (spine [numSpines - 2] .getValue ())
75561
- .cross (vector3 .assign (spine [numSpines - 3] .getValue ()) .subtract (spine [numSpines - 2] .getValue ()))
75585
+ SCPzAxis .assign (s) .subtract (spine .at (-2) .getValue ())
75586
+ .cross (vector3 .assign (spine .at (-3) .getValue ()) .subtract (spine .at (-2) .getValue ()))
75562
75587
  .normalize ();
75563
75588
  }
75564
75589
 
75590
+ // Fix edge case.
75591
+ // https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCasesIndex.html
75592
+ if (SCPyAxisPrevious .dot (SCPyAxis) < 0)
75593
+ SCPyAxis .negate ();
75594
+
75565
75595
  // g.
75566
75596
  if (SCPzAxisPrevious .dot (SCPzAxis) < 0)
75567
75597
  SCPzAxis .negate ();
@@ -75616,10 +75646,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
75616
75646
  && this .getClosed (this ._orientation)
75617
75647
  && this .getClosed (this ._scale);
75618
75648
 
75619
- const
75620
- firstCrossSection = crossSection [0] .getValue (),
75621
- lastCrossSection = crossSection [crossSection .length - 1] .getValue (),
75622
- closedCrossSection = firstCrossSection .equals (lastCrossSection);
75649
+ const closedCrossSection = this .getClosed (crossSection);
75623
75650
 
75624
75651
  // For caps calculation
75625
75652
 
@@ -91378,7 +91405,7 @@ mediump samplerCube textureCube;
91378
91405
 
91379
91406
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
91380
91407
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
91381
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(827);
91408
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(625);
91382
91409
  /*******************************************************************************
91383
91410
  *
91384
91411
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96675,7 +96702,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96675
96702
 
96676
96703
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
96677
96704
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
96678
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(827);
96705
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(625);
96679
96706
  /*******************************************************************************
96680
96707
  *
96681
96708
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -97273,7 +97300,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
97273
97300
 
97274
97301
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
97275
97302
  ;// ./src/x_ite/Components/Shape/Appearance.js
97276
- /* provided dependency */ var Appearance_$ = __webpack_require__(827);
97303
+ /* provided dependency */ var Appearance_$ = __webpack_require__(625);
97277
97304
  /*******************************************************************************
97278
97305
  *
97279
97306
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105504,8 +105531,8 @@ const GifMedia_default_ = GifMedia;
105504
105531
 
105505
105532
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
105506
105533
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
105507
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(827);
105508
- /* provided dependency */ var SuperGif = __webpack_require__(428);
105534
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(625);
105535
+ /* provided dependency */ var SuperGif = __webpack_require__(402);
105509
105536
  /*******************************************************************************
105510
105537
  *
105511
105538
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107978,7 +108005,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107978
108005
 
107979
108006
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107980
108007
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
107981
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(827);
108008
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(625);
107982
108009
  /*******************************************************************************
107983
108010
  *
107984
108011
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108608,7 +108635,7 @@ const TextCompression_default_ = TextCompression;
108608
108635
 
108609
108636
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
108610
108637
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
108611
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(827);
108638
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(625);
108612
108639
  /*******************************************************************************
108613
108640
  *
108614
108641
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109255,7 +109282,7 @@ const RenderingProperties_default_ = RenderingProperties;
109255
109282
 
109256
109283
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
109257
109284
  ;// ./src/x_ite/Browser/Core/Notification.js
109258
- /* provided dependency */ var Notification_$ = __webpack_require__(827);
109285
+ /* provided dependency */ var Notification_$ = __webpack_require__(625);
109259
109286
  /*******************************************************************************
109260
109287
  *
109261
109288
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109377,8 +109404,8 @@ const Notification_default_ = Notification;
109377
109404
 
109378
109405
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
109379
109406
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
109380
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(823);
109381
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(827);
109407
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(489);
109408
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(625);
109382
109409
  /*******************************************************************************
109383
109410
  *
109384
109411
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112100,7 +112127,7 @@ const DataStorage_default_ = DataStorage;
112100
112127
 
112101
112128
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
112102
112129
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
112103
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(827);
112130
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(625);
112104
112131
  /*******************************************************************************
112105
112132
  *
112106
112133
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112272,7 +112299,9 @@ Object .assign (X3DCoreContext .prototype,
112272
112299
  browser:
112273
112300
  {
112274
112301
  value: this,
112302
+ configurable: true,
112275
112303
  enumerable: true,
112304
+ writable: true,
112276
112305
  },
112277
112306
  src:
112278
112307
  {
@@ -112932,7 +112961,7 @@ Object .assign (X3DCoreContext .prototype,
112932
112961
  .prop ("browser", null)
112933
112962
  .off (".X3DCoreContext .ContextMenu");
112934
112963
 
112935
- this [_context] .getExtension ("WEBGL_lose_context") ?.loseContext ();
112964
+ this [_context] .getExtension ("WEBGL_lose_context") ?.loseContext ?.();
112936
112965
  this [_shadow] .find ("*") .remove ();
112937
112966
  },
112938
112967
  });
@@ -114711,8 +114740,8 @@ const X3DViewer_default_ = X3DViewer;
114711
114740
 
114712
114741
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
114713
114742
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
114714
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(739);
114715
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(827);
114743
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(729);
114744
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(625);
114716
114745
  /*******************************************************************************
114717
114746
  *
114718
114747
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115627,8 +115656,8 @@ const ExamineViewer_default_ = ExamineViewer;
115627
115656
 
115628
115657
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
115629
115658
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115630
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(739);
115631
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(827);
115659
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(729);
115660
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(625);
115632
115661
  /*******************************************************************************
115633
115662
  *
115634
115663
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116643,8 +116672,8 @@ const FlyViewer_default_ = FlyViewer;
116643
116672
 
116644
116673
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
116645
116674
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
116646
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(739);
116647
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(827);
116675
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(729);
116676
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(625);
116648
116677
  /*******************************************************************************
116649
116678
  *
116650
116679
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116973,8 +117002,8 @@ const NoneViewer_default_ = NoneViewer;
116973
117002
 
116974
117003
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116975
117004
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
116976
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(739);
116977
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(827);
117005
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(729);
117006
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(625);
116978
117007
  /*******************************************************************************
116979
117008
  *
116980
117009
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118116,8 +118145,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118116
118145
 
118117
118146
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
118118
118147
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118119
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(739);
118120
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(827);
118148
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(729);
118149
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(625);
118121
118150
  /*******************************************************************************
118122
118151
  *
118123
118152
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119564,7 +119593,7 @@ const Lock_default_ = Lock;
119564
119593
 
119565
119594
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
119566
119595
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119567
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(827);
119596
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(625);
119568
119597
  /*******************************************************************************
119569
119598
  *
119570
119599
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120878,7 +120907,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120878
120907
 
120879
120908
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120880
120909
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
120881
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(827);
120910
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(625);
120882
120911
  const KTXDecoder_default_ = class KTXDecoder
120883
120912
  {
120884
120913
  constructor (gl, externalKtxlib, scriptDir)
@@ -122457,7 +122486,7 @@ const Components_default_ = Components;
122457
122486
 
122458
122487
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
122459
122488
  ;// ./src/x_ite/Browser/DOMIntegration.js
122460
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(827);
122489
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(625);
122461
122490
  /*******************************************************************************
122462
122491
  * MIT License
122463
122492
  *
@@ -123723,7 +123752,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123723
123752
 
123724
123753
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
123725
123754
  ;// ./src/x_ite/Browser/X3DBrowser.js
123726
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(827);
123755
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(625);
123727
123756
  /*******************************************************************************
123728
123757
  *
123729
123758
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124825,7 +124854,7 @@ const X3DBrowser_default_ = X3DBrowser;
124825
124854
 
124826
124855
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
124827
124856
  ;// ./src/x_ite/X3DCanvasElement.js
124828
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(827);
124857
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(625);
124829
124858
  /*******************************************************************************
124830
124859
  *
124831
124860
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124885,11 +124914,7 @@ class X3DCanvasElement extends HTMLElement
124885
124914
  {
124886
124915
  super ();
124887
124916
 
124888
- Object .defineProperty (this, "browser",
124889
- {
124890
- value: new Browser_X3DBrowser (this),
124891
- enumerable: true,
124892
- });
124917
+ new Browser_X3DBrowser (this);
124893
124918
  }
124894
124919
  catch (error)
124895
124920
  {
@@ -125092,8 +125117,8 @@ const QuickSort_default_ = QuickSort;
125092
125117
 
125093
125118
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
125094
125119
  ;// ./src/lib/jquery.js
125095
- /* provided dependency */ var jquery_$ = __webpack_require__(827);
125096
- /* provided dependency */ var pako = __webpack_require__(779);
125120
+ /* provided dependency */ var jquery_$ = __webpack_require__(625);
125121
+ /* provided dependency */ var pako = __webpack_require__(133);
125097
125122
  Object .assign (jquery_$,
125098
125123
  {
125099
125124
  decodeText (input)
@@ -125174,13 +125199,13 @@ const jquery_default_ = jquery_$;
125174
125199
 
125175
125200
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
125176
125201
  ;// ./src/lib/libtess.js
125177
- /* provided dependency */ var libtess_libtess = __webpack_require__(688);
125202
+ /* provided dependency */ var libtess_libtess = __webpack_require__(706);
125178
125203
  const libtess_default_ = libtess_libtess;
125179
125204
  ;
125180
125205
 
125181
125206
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
125182
125207
  ;// ./src/x_ite/X3D.js
125183
- /* provided dependency */ var X3D_$ = __webpack_require__(827);
125208
+ /* provided dependency */ var X3D_$ = __webpack_require__(625);
125184
125209
  /*******************************************************************************
125185
125210
  *
125186
125211
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125484,7 +125509,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
125484
125509
 
125485
125510
  // Assign X3D to global namespace.
125486
125511
 
125487
- window [Symbol .for ("X_ITE.X3D-10.5.12")] = x_ite_X3D;
125512
+ window [Symbol .for ("X_ITE.X3D-10.5.14")] = x_ite_X3D;
125488
125513
 
125489
125514
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125490
125515
 
package/dist/x_ite.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite",
3
- "version": "10.5.12",
3
+ "version": "10.5.14",
4
4
  "description": "X_ITE X3D Browser, view and manipulate X3D, VRML, glTF and other 3D sources in HTML.",
5
5
  "main": "dist/x_ite.js",
6
6
  "module": "dist/x_ite.mjs",