x_ite 8.6.14 → 8.6.16

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 (86) hide show
  1. package/.vscode/settings.json +3 -2
  2. package/Makefile +2 -1
  3. package/README.md +1 -0
  4. package/dist/assets/components/Annotation.js +13 -13
  5. package/dist/assets/components/Annotation.min.js +1 -1
  6. package/dist/assets/components/CADGeometry.js +13 -13
  7. package/dist/assets/components/CADGeometry.min.js +1 -1
  8. package/dist/assets/components/CubeMapTexturing.js +31 -26
  9. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  10. package/dist/assets/components/DIS.js +13 -13
  11. package/dist/assets/components/DIS.min.js +1 -1
  12. package/dist/assets/components/EventUtilities.js +9 -9
  13. package/dist/assets/components/EventUtilities.min.js +1 -1
  14. package/dist/assets/components/Geometry2D.js +19 -19
  15. package/dist/assets/components/Geometry2D.min.js +1 -1
  16. package/dist/assets/components/Geospatial.js +33 -33
  17. package/dist/assets/components/Geospatial.min.js +1 -1
  18. package/dist/assets/components/HAnim.js +18 -18
  19. package/dist/assets/components/HAnim.min.js +1 -1
  20. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  21. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  22. package/dist/assets/components/Layout.js +27 -27
  23. package/dist/assets/components/Layout.min.js +1 -1
  24. package/dist/assets/components/NURBS.js +24 -24
  25. package/dist/assets/components/NURBS.min.js +1 -1
  26. package/dist/assets/components/ParticleSystems.js +22 -22
  27. package/dist/assets/components/ParticleSystems.min.js +1 -1
  28. package/dist/assets/components/Picking.js +18 -18
  29. package/dist/assets/components/Picking.min.js +1 -1
  30. package/dist/assets/components/RigidBodyPhysics.js +18 -18
  31. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  32. package/dist/assets/components/Scripting.js +28 -28
  33. package/dist/assets/components/Scripting.min.js +1 -1
  34. package/dist/assets/components/Text.js +24 -26
  35. package/dist/assets/components/Text.min.js +1 -1
  36. package/dist/assets/components/TextureProjector.js +14 -14
  37. package/dist/assets/components/TextureProjector.min.js +1 -1
  38. package/dist/assets/components/Texturing3D.js +30 -30
  39. package/dist/assets/components/Texturing3D.min.js +1 -1
  40. package/dist/assets/components/VolumeRendering.js +19 -19
  41. package/dist/assets/components/VolumeRendering.min.js +1 -1
  42. package/dist/assets/components/X_ITE.js +9 -9
  43. package/dist/assets/components/X_ITE.min.js +1 -1
  44. package/dist/x_ite.css +1 -1
  45. package/dist/x_ite.js +188 -144
  46. package/dist/x_ite.min.js +1 -1
  47. package/dist/x_ite.zip +0 -0
  48. package/docs/_config.yml +1 -1
  49. package/docs/_posts/getting-started.md +4 -3
  50. package/docs/assets/js/example.js +2 -0
  51. package/package.json +3 -2
  52. package/src/assets/shaders/webgl1/PBR.fs.js +1 -1
  53. package/src/assets/shaders/webgl1/include/Material.glsl.js +1 -1
  54. package/src/assets/shaders/webgl1/include/Texture.glsl.js +7 -1
  55. package/src/assets/shaders/webgl2/PBR.fs.js +1 -1
  56. package/src/assets/shaders/webgl2/include/Material.glsl.js +1 -1
  57. package/src/standard/Math/Numbers/Color3.js +3 -12
  58. package/src/standard/Math/Numbers/Color4.js +4 -14
  59. package/src/standard/Math/Numbers/Complex.js +41 -4
  60. package/src/x_ite/Browser/Core/X3DCoreContext.js +4 -0
  61. package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +0 -1
  62. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +1 -2
  63. package/src/x_ite/Browser/Lighting/X3DLightingContext.js +0 -2
  64. package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +4 -0
  65. package/src/x_ite/Browser/Navigation/X3DViewer.js +2 -3
  66. package/src/x_ite/Browser/Picking/X3DPickingContext.js +0 -2
  67. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +0 -3
  68. package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +1 -3
  69. package/src/x_ite/Browser/Shape/X3DShapeContext.js +0 -2
  70. package/src/x_ite/Browser/Sound/X3DSoundContext.js +1 -4
  71. package/src/x_ite/Browser/Text/X3DTextContext.js +0 -2
  72. package/src/x_ite/Browser/VERSION.js +1 -1
  73. package/src/x_ite/Browser/X3DBrowserContext.js +43 -27
  74. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +6 -1
  75. package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -0
  76. package/src/x_ite/Components/Lighting/PointLight.js +4 -0
  77. package/src/x_ite/Components/Lighting/SpotLight.js +4 -0
  78. package/src/x_ite/Fields/SFColor.js +1 -1
  79. package/src/x_ite/Fields/SFColorRGBA.js +1 -1
  80. package/src/x_ite/Parser/OBJParser.js +1 -1
  81. package/src/x_ite/Routing/X3DRoutingContext.js +1 -0
  82. package/src/x_ite.html +35 -1
  83. package/x_ite.min.html +35 -1
  84. package/.gitmodules +0 -3
  85. package/tests/README.md +0 -2
  86. package/tests/tests.mdproj +0 -17
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.14 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.6.15 */(function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory();
4
4
  else if(typeof define === 'function' && define.amd)
@@ -11,11 +11,11 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 497:
14
+ /***/ 556:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(329);
18
+ /* provided dependency */ var jQuery = __webpack_require__(972);
19
19
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
20
20
 
21
21
  /**
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
387
387
 
388
388
  /***/ }),
389
389
 
390
- /***/ 839:
390
+ /***/ 481:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(329);
393
+ /* provided dependency */ var jQuery = __webpack_require__(972);
394
394
  /**
395
395
  * @preserve jquery.fullscreen 1.1.5
396
396
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -586,7 +586,7 @@ installFullScreenHandlers();
586
586
 
587
587
  /***/ }),
588
588
 
589
- /***/ 98:
589
+ /***/ 93:
590
590
  /***/ ((module, exports, __webpack_require__) => {
591
591
 
592
592
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
600
600
  (function (factory) {
601
601
  if ( true ) {
602
602
  // AMD. Register as an anonymous module.
603
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(329)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(972)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
604
604
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
605
605
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
606
606
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
811
811
 
812
812
  /***/ }),
813
813
 
814
- /***/ 329:
814
+ /***/ 972:
815
815
  /***/ (function(module, exports) {
816
816
 
817
817
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11784,7 +11784,7 @@ return jQuery;
11784
11784
 
11785
11785
  /***/ }),
11786
11786
 
11787
- /***/ 355:
11787
+ /***/ 838:
11788
11788
  /***/ ((module) => {
11789
11789
 
11790
11790
  /**
@@ -16563,7 +16563,7 @@ if (true) {
16563
16563
 
16564
16564
  /***/ }),
16565
16565
 
16566
- /***/ 881:
16566
+ /***/ 680:
16567
16567
  /***/ (function(__unused_webpack_module, exports) {
16568
16568
 
16569
16569
 
@@ -19808,7 +19808,7 @@ if (true) {
19808
19808
 
19809
19809
  /***/ }),
19810
19810
 
19811
- /***/ 878:
19811
+ /***/ 309:
19812
19812
  /***/ (function(module, exports) {
19813
19813
 
19814
19814
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -23745,18 +23745,9 @@ const
23745
23745
 
23746
23746
  function Color3 (r, g, b)
23747
23747
  {
23748
- if (arguments .length)
23749
- {
23750
- this [_r] = clamp (r, 0, 1);
23751
- this [_g] = clamp (g, 0, 1);
23752
- this [_b] = clamp (b, 0, 1);
23753
- }
23754
- else
23755
- {
23756
- this [_r] = 0;
23757
- this [_g] = 0;
23758
- this [_b] = 0;
23759
- }
23748
+ this [_r] = clamp (r, 0, 1);
23749
+ this [_g] = clamp (g, 0, 1);
23750
+ this [_b] = clamp (b, 0, 1);
23760
23751
  }
23761
23752
 
23762
23753
  Color3 .prototype =
@@ -24024,7 +24015,7 @@ function SFColor (r, g, b)
24024
24015
  switch (arguments .length)
24025
24016
  {
24026
24017
  case 0:
24027
- return Base_X3DField.call (this, new Numbers_Color3 ());
24018
+ return Base_X3DField.call (this, new Numbers_Color3 (0, 0, 0));
24028
24019
 
24029
24020
  case 1:
24030
24021
  return Base_X3DField.call (this, arguments [0]);
@@ -24268,20 +24259,10 @@ const
24268
24259
 
24269
24260
  function Color4 (r, g, b, a)
24270
24261
  {
24271
- if (arguments .length)
24272
- {
24273
- this [Color4_r] = Color4_clamp (r, 0, 1);
24274
- this [Color4_g] = Color4_clamp (g, 0, 1);
24275
- this [Color4_b] = Color4_clamp (b, 0, 1);
24276
- this [_a] = Color4_clamp (a, 0, 1);
24277
- }
24278
- else
24279
- {
24280
- this [Color4_r] = 0;
24281
- this [Color4_g] = 0;
24282
- this [Color4_b] = 0;
24283
- this [_a] = 0;
24284
- }
24262
+ this [Color4_r] = Color4_clamp (r, 0, 1);
24263
+ this [Color4_g] = Color4_clamp (g, 0, 1);
24264
+ this [Color4_b] = Color4_clamp (b, 0, 1);
24265
+ this [_a] = Color4_clamp (a, 0, 1);
24285
24266
  }
24286
24267
 
24287
24268
  Color4 .prototype =
@@ -24480,7 +24461,7 @@ function SFColorRGBA (r, g, b, a)
24480
24461
  switch (arguments .length)
24481
24462
  {
24482
24463
  case 0:
24483
- return Base_X3DField.call (this, new Numbers_Color4 ());
24464
+ return Base_X3DField.call (this, new Numbers_Color4 (0, 0, 0, 0));
24484
24465
 
24485
24466
  case 1:
24486
24467
  return Base_X3DField.call (this, arguments [0]);
@@ -34995,7 +34976,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34995
34976
  *
34996
34977
  ******************************************************************************/
34997
34978
 
34998
- const VERSION_default_ = "8.6.14";
34979
+ const VERSION_default_ = "8.6.15";
34999
34980
  ;
35000
34981
 
35001
34982
  x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -35899,7 +35880,7 @@ const gettext_default_ = gettext;
35899
35880
  x_ite_Namespace.set ("locale/gettext", gettext_default_);
35900
35881
  /* harmony default export */ const locale_gettext = (gettext_default_);
35901
35882
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
35902
- /* provided dependency */ var $ = __webpack_require__(329);
35883
+ /* provided dependency */ var $ = __webpack_require__(972);
35903
35884
  /*******************************************************************************
35904
35885
  *
35905
35886
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36317,7 +36298,7 @@ const TextureQuality_default_ = TextureQuality;
36317
36298
  x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
36318
36299
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
36319
36300
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
36320
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(329);
36301
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(972);
36321
36302
  /*******************************************************************************
36322
36303
  *
36323
36304
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36853,7 +36834,7 @@ const RenderingProperties_default_ = RenderingProperties;
36853
36834
  x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
36854
36835
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
36855
36836
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
36856
- /* provided dependency */ var Notification_$ = __webpack_require__(329);
36837
+ /* provided dependency */ var Notification_$ = __webpack_require__(972);
36857
36838
  /*******************************************************************************
36858
36839
  *
36859
36840
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36975,8 +36956,8 @@ const Notification_default_ = Notification;
36975
36956
  x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
36976
36957
  /* harmony default export */ const Core_Notification = (Notification_default_);
36977
36958
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
36978
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(839);
36979
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(329);
36959
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(481);
36960
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(972);
36980
36961
  /*******************************************************************************
36981
36962
  *
36982
36963
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41961,7 +41942,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
41961
41942
  x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
41962
41943
  /* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
41963
41944
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
41964
- /* provided dependency */ var X3DParser_$ = __webpack_require__(329);
41945
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(972);
41965
41946
  /*******************************************************************************
41966
41947
  *
41967
41948
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45143,7 +45124,7 @@ const VRMLParser_default_ = VRMLParser;
45143
45124
  x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
45144
45125
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
45145
45126
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
45146
- /* provided dependency */ var XMLParser_$ = __webpack_require__(329);
45127
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(972);
45147
45128
  /*******************************************************************************
45148
45129
  *
45149
45130
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47186,7 +47167,7 @@ const URLs_default_ = URLs;
47186
47167
  x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
47187
47168
  /* harmony default export */ const Networking_URLs = (URLs_default_);
47188
47169
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
47189
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(329);
47170
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(972);
47190
47171
  /*******************************************************************************
47191
47172
  *
47192
47173
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49652,7 +49633,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
49652
49633
  x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
49653
49634
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
49654
49635
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
49655
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(329);
49636
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(972);
49656
49637
  /*******************************************************************************
49657
49638
  *
49658
49639
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49805,7 +49786,7 @@ const GLB2Parser_default_ = GLB2Parser;
49805
49786
  x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49806
49787
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49807
49788
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49808
- /* provided dependency */ var OBJParser_$ = __webpack_require__(329);
49789
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(972);
49809
49790
  /*******************************************************************************
49810
49791
  *
49811
49792
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50544,7 +50525,7 @@ function MaterialParser (scene, input)
50544
50525
  this .material = scene .createNode ("Material");
50545
50526
  this .materials = new Map ();
50546
50527
  this .textures = new Map ();
50547
- this .color3 = new Numbers_Color3 ();
50528
+ this .color3 = new Numbers_Color3 (0, 0, 0);
50548
50529
  this .id = "";
50549
50530
  }
50550
50531
 
@@ -51504,6 +51485,7 @@ function Complex (real, imag)
51504
51485
  Complex .prototype =
51505
51486
  {
51506
51487
  constructor: Complex,
51488
+ length: 2,
51507
51489
  [Symbol .iterator]: function* ()
51508
51490
  {
51509
51491
  yield this .real;
@@ -51527,6 +51509,12 @@ Complex .prototype =
51527
51509
  return this .real === complex .real &&
51528
51510
  this .imag === complex .imag;
51529
51511
  },
51512
+ set: function (real, imag)
51513
+ {
51514
+ this .real = real;
51515
+ this .imag = imag;
51516
+ return this;
51517
+ },
51530
51518
  setPolar: function (magnitude, angle)
51531
51519
  {
51532
51520
  this .real = magnitude * Math .cos (angle);
@@ -51580,10 +51568,12 @@ Complex .prototype =
51580
51568
  this .imag = ar * bi + ai * br;
51581
51569
  return this;
51582
51570
  },
51583
- //divide: function (value)
51584
- //{
51585
- // return this;
51586
- //},
51571
+ divide: function (value)
51572
+ {
51573
+ this .real /= value;
51574
+ this .imag /= value;
51575
+ return this;
51576
+ },
51587
51577
  divComp: function (value)
51588
51578
  {
51589
51579
  const
@@ -51604,6 +51594,34 @@ Complex .prototype =
51604
51594
  },
51605
51595
  };
51606
51596
 
51597
+ Object .defineProperty (Complex .prototype, "0",
51598
+ {
51599
+ get: function ()
51600
+ {
51601
+ return this .real;
51602
+ },
51603
+ set: function (value)
51604
+ {
51605
+ this .real = value;
51606
+ },
51607
+ enumerable: false,
51608
+ configurable: false
51609
+ });
51610
+
51611
+ Object .defineProperty (Complex .prototype, "1",
51612
+ {
51613
+ get: function ()
51614
+ {
51615
+ return this .imag;
51616
+ },
51617
+ set: function (value)
51618
+ {
51619
+ this .imag = value;
51620
+ },
51621
+ enumerable: false,
51622
+ configurable: false
51623
+ });
51624
+
51607
51625
  Object .defineProperty (Complex .prototype, "magnitude",
51608
51626
  {
51609
51627
  get: function ()
@@ -52258,8 +52276,8 @@ const MatrixStack_default_ = MatrixStack;
52258
52276
  x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
52259
52277
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52260
52278
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52261
- /* provided dependency */ var SVGParser_$ = __webpack_require__(329);
52262
- /* provided dependency */ var libtess = __webpack_require__(355);
52279
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(972);
52280
+ /* provided dependency */ var libtess = __webpack_require__(838);
52263
52281
  /*******************************************************************************
52264
52282
  *
52265
52283
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55028,7 +55046,7 @@ const SVGParser_default_ = SVGParser;
55028
55046
  x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
55029
55047
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55030
55048
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55031
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(329);
55049
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(972);
55032
55050
  /*******************************************************************************
55033
55051
  *
55034
55052
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55357,7 +55375,7 @@ const Plane3_default_ = Plane3;
55357
55375
  x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
55358
55376
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
55359
55377
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
55360
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(355);
55378
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(838);
55361
55379
  /*******************************************************************************
55362
55380
  *
55363
55381
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62661,7 +62679,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62661
62679
  x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62662
62680
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62663
62681
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62664
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(329);
62682
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(972);
62665
62683
  /*******************************************************************************
62666
62684
  *
62667
62685
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66995,7 +67013,7 @@ const X3DWorld_default_ = X3DWorld;
66995
67013
  x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
66996
67014
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66997
67015
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66998
- /* provided dependency */ var FileLoader_$ = __webpack_require__(329);
67016
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(972);
66999
67017
  /*******************************************************************************
67000
67018
  *
67001
67019
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -69199,7 +69217,7 @@ const X3DExecutionContext_default_ = X3DExecutionContext;
69199
69217
  x_ite_Namespace.set ("x_ite/Execution/X3DExecutionContext", X3DExecutionContext_default_);
69200
69218
  /* harmony default export */ const Execution_X3DExecutionContext = (X3DExecutionContext_default_);
69201
69219
  ;// CONCATENATED MODULE: ./src/x_ite/Configuration/ComponentInfo.js
69202
- /* provided dependency */ var ComponentInfo_$ = __webpack_require__(329);
69220
+ /* provided dependency */ var ComponentInfo_$ = __webpack_require__(972);
69203
69221
  /*******************************************************************************
69204
69222
  *
69205
69223
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -71174,7 +71192,7 @@ const DataStorage_default_ = DataStorage;
71174
71192
  x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
71175
71193
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
71176
71194
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
71177
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(329);
71195
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(972);
71178
71196
  /*******************************************************************************
71179
71197
  *
71180
71198
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -71820,6 +71838,10 @@ X3DCoreContext .prototype =
71820
71838
  document .execCommand ("copy");
71821
71839
  tmp .remove ();
71822
71840
  },
71841
+ dispose: function ()
71842
+ {
71843
+ this [_context] .getExtension ("WEBGL_lose_context") ?.loseContext ();
71844
+ },
71823
71845
  };
71824
71846
 
71825
71847
  const X3DCoreContext_default_ = X3DCoreContext;
@@ -72103,7 +72125,6 @@ function X3DEnvironmentalEffectsContext () { }
72103
72125
 
72104
72126
  X3DEnvironmentalEffectsContext .prototype =
72105
72127
  {
72106
- initialize: function () { },
72107
72128
  getBackgroundTextureProperties: function ()
72108
72129
  {
72109
72130
  this [_backgroundTextureProperties] = new Texturing_TextureProperties (this .getPrivateScene ());
@@ -75587,7 +75608,6 @@ function X3DGroupingContext () { }
75587
75608
 
75588
75609
  X3DGroupingContext .prototype =
75589
75610
  {
75590
- initialize: function () { },
75591
75611
  getBBoxNode: function ()
75592
75612
  {
75593
75613
  const
@@ -75611,7 +75631,7 @@ X3DGroupingContext .prototype =
75611
75631
  Object .defineProperty (this, "getBBoxNode", { enumerable: false });
75612
75632
 
75613
75633
  return bboxShape;
75614
- }
75634
+ },
75615
75635
  };
75616
75636
 
75617
75637
  const X3DGroupingContext_default_ = X3DGroupingContext;
@@ -76006,8 +76026,6 @@ function X3DLightingContext ()
76006
76026
 
76007
76027
  X3DLightingContext .prototype =
76008
76028
  {
76009
- initialize: function ()
76010
- { },
76011
76029
  getMaxLights: function ()
76012
76030
  {
76013
76031
  return this [_maxLights];
@@ -76468,8 +76486,7 @@ X3DViewer .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototyp
76468
76486
  {
76469
76487
  return "X3DViewer";
76470
76488
  },
76471
- initialize: function ()
76472
- { },
76489
+
76473
76490
  getActiveLayer: function ()
76474
76491
  {
76475
76492
  return this .getBrowser () .getActiveLayer ();
@@ -76601,7 +76618,7 @@ X3DViewer .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototyp
76601
76618
  {
76602
76619
  return this .getBrowser () .touch (x, y);
76603
76620
  },
76604
- dispose: function () { },
76621
+
76605
76622
  });
76606
76623
 
76607
76624
  function tbProjectToSphere (r, x, y)
@@ -77232,8 +77249,8 @@ const OrientationChaser_default_ = OrientationChaser;
77232
77249
  x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
77233
77250
  /* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
77234
77251
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
77235
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(98);
77236
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(329);
77252
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(93);
77253
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(972);
77237
77254
  /*******************************************************************************
77238
77255
  *
77239
77256
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -78094,8 +78111,8 @@ const ExamineViewer_default_ = ExamineViewer;
78094
78111
  x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
78095
78112
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
78096
78113
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
78097
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(98);
78098
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(329);
78114
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(93);
78115
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(972);
78099
78116
  /*******************************************************************************
78100
78117
  *
78101
78118
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79043,8 +79060,8 @@ const FlyViewer_default_ = FlyViewer;
79043
79060
  x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
79044
79061
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
79045
79062
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
79046
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(98);
79047
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(329);
79063
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(93);
79064
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(972);
79048
79065
  /*******************************************************************************
79049
79066
  *
79050
79067
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79353,8 +79370,8 @@ const NoneViewer_default_ = NoneViewer;
79353
79370
  x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
79354
79371
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
79355
79372
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
79356
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(98);
79357
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(329);
79373
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(93);
79374
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(972);
79358
79375
  /*******************************************************************************
79359
79376
  *
79360
79377
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -80292,6 +80309,10 @@ DirectionalLightContainer .prototype =
80292
80309
  gl .uniformMatrix4fv (shaderObject .x3d_ShadowMatrix [i], false, this .shadowMatrixArray);
80293
80310
  gl .uniform1i (shaderObject .x3d_ShadowMapSize [i], lightNode .getShadowMapSize ());
80294
80311
  }
80312
+ else
80313
+ {
80314
+ gl .uniform1f (shaderObject .x3d_ShadowIntensity [i], 0);
80315
+ }
80295
80316
  },
80296
80317
  dispose: function ()
80297
80318
  {
@@ -80597,6 +80618,10 @@ X3DNavigationContext .prototype =
80597
80618
 
80598
80619
  this [_viewerNode] .setup ();
80599
80620
  },
80621
+ dispose: function ()
80622
+ {
80623
+ this [_viewerNode] ?.dispose ();
80624
+ },
80600
80625
  };
80601
80626
 
80602
80627
  const X3DNavigationContext_default_ = X3DNavigationContext;
@@ -80893,8 +80918,6 @@ function X3DPickingContext ()
80893
80918
 
80894
80919
  X3DPickingContext .prototype =
80895
80920
  {
80896
- initialize: function ()
80897
- { },
80898
80921
  addTransformSensor: function (transformSensorNode)
80899
80922
  {
80900
80923
  this [_transformSensorNodes] .add (transformSensorNode);
@@ -80964,8 +80987,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
80964
80987
  x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
80965
80988
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
80966
80989
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
80967
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(98);
80968
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(329);
80990
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(93);
80991
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(972);
80969
80992
  /*******************************************************************************
80970
80993
  *
80971
80994
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -81555,9 +81578,6 @@ X3DPointingDeviceSensorContext .prototype =
81555
81578
  {
81556
81579
  initialize: function ()
81557
81580
  {
81558
- // Preload shaders.
81559
- // this .initialized () .addInterest ("touch", this, 1, 1);
81560
-
81561
81581
  this .setCursor ("DEFAULT");
81562
81582
 
81563
81583
  this [_pointingDevice] .setup ();
@@ -82006,8 +82026,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
82006
82026
  x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
82007
82027
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
82008
82028
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
82009
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(329);
82010
- /* provided dependency */ var ResizeSensor = __webpack_require__(497);
82029
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(972);
82030
+ /* provided dependency */ var ResizeSensor = __webpack_require__(556);
82011
82031
  /*******************************************************************************
82012
82032
  *
82013
82033
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -82333,8 +82353,6 @@ function X3DScriptingContext ()
82333
82353
 
82334
82354
  X3DScriptingContext .prototype =
82335
82355
  {
82336
- initialize: function ()
82337
- { },
82338
82356
  isExternal: function ()
82339
82357
  {
82340
82358
  return this [_scripts] .length === 1;
@@ -82342,7 +82360,7 @@ X3DScriptingContext .prototype =
82342
82360
  getScriptStack: function ()
82343
82361
  {
82344
82362
  return this [_scripts];
82345
- }
82363
+ },
82346
82364
  };
82347
82365
 
82348
82366
  const X3DScriptingContext_default_ = X3DScriptingContext;
@@ -82656,7 +82674,7 @@ getMaterialColor (const in vec3 vertex, const in vec3 N, const in vec3 ambientCo
82656
82674
  vec3 diffuseSpecularTerm = light .intensity * (diffuseTerm + specularTerm);
82657
82675
 
82658
82676
  #if defined (X3D_FRAGMENT_SHADER) && defined (X3D_SHADOWS)
82659
- if (lightAngle > 0.0)
82677
+ if (lightAngle > 0.0 && light .shadowIntensity > 0.0)
82660
82678
  diffuseSpecularTerm = mix (diffuseSpecularTerm, light .shadowColor, getShadowIntensity (i, light));
82661
82679
  #endif
82662
82680
 
@@ -83424,6 +83442,12 @@ getTexture (const in int i, const in vec3 texCoord)
83424
83442
  uniform x3d_MultiTextureParameters x3d_MultiTexture [X3D_NUM_TEXTURES];
83425
83443
  #endif
83426
83444
 
83445
+ int
83446
+ minI (const in int a, const in int b)
83447
+ {
83448
+ return a < b ? a : b;
83449
+ }
83450
+
83427
83451
  vec4
83428
83452
  getTextureColor (const in vec4 diffuseColor, const in vec4 specularColor)
83429
83453
  {
@@ -83434,7 +83458,7 @@ getTextureColor (const in vec4 diffuseColor, const in vec4 specularColor)
83434
83458
  {
83435
83459
  // Get texture color.
83436
83460
 
83437
- vec3 texCoord = getTexCoord (min (i, X3D_NUM_TEXTURE_TRANSFORMS - 1), min (i, X3D_NUM_TEXTURE_COORDINATES - 1));
83461
+ vec3 texCoord = getTexCoord (minI (i, X3D_NUM_TEXTURE_TRANSFORMS - 1), minI (i, X3D_NUM_TEXTURE_COORDINATES - 1));
83438
83462
  vec4 textureColor = getTexture (i, texCoord);
83439
83463
 
83440
83464
  // Multi texturing
@@ -84217,7 +84241,7 @@ getMaterialColor (const in vec3 vertex, const in vec3 N, const in vec3 ambientCo
84217
84241
  vec3 diffuseSpecularTerm = light .intensity * (diffuseTerm + specularTerm);
84218
84242
 
84219
84243
  #if defined (X3D_FRAGMENT_SHADER) && defined (X3D_SHADOWS)
84220
- if (lightAngle > 0.0)
84244
+ if (lightAngle > 0.0 && light .shadowIntensity > 0.0)
84221
84245
  diffuseSpecularTerm = mix (diffuseSpecularTerm, light .shadowColor, getShadowIntensity (i, light));
84222
84246
  #endif
84223
84247
 
@@ -86195,7 +86219,7 @@ getMaterialColor ()
86195
86219
  vec3 diffuseSpecContrib = light .intensity * (diffuseContrib + specContrib);
86196
86220
 
86197
86221
  #if defined (X3D_SHADOWS)
86198
- if (NdotL > 0.001)
86222
+ if (NdotL > 0.001 && light .shadowIntensity > 0.0)
86199
86223
  diffuseSpecContrib = mix (diffuseSpecContrib, light .shadowColor, getShadowIntensity (i, light));
86200
86224
  #endif
86201
86225
 
@@ -87273,7 +87297,7 @@ getMaterialColor ()
87273
87297
  vec3 diffuseSpecContrib = light .intensity * (diffuseContrib + specContrib);
87274
87298
 
87275
87299
  #if defined (X3D_SHADOWS)
87276
- if (NdotL > 0.001)
87300
+ if (NdotL > 0.001 && light .shadowIntensity > 0.0)
87277
87301
  diffuseSpecContrib = mix (diffuseSpecContrib, light .shadowColor, getShadowIntensity (i, light));
87278
87302
  #endif
87279
87303
 
@@ -87892,7 +87916,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
87892
87916
  x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
87893
87917
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
87894
87918
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
87895
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(329);
87919
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(972);
87896
87920
  /*******************************************************************************
87897
87921
  *
87898
87922
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90685,7 +90709,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
90685
90709
  x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
90686
90710
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
90687
90711
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
90688
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(329);
90712
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(972);
90689
90713
  /*******************************************************************************
90690
90714
  *
90691
90715
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -92717,8 +92741,6 @@ function X3DShapeContext ()
92717
92741
 
92718
92742
  X3DShapeContext .prototype =
92719
92743
  {
92720
- initialize: function ()
92721
- { },
92722
92744
  getDefaultAppearance: function ()
92723
92745
  {
92724
92746
  this [_defaultAppearance] = new Shape_Appearance (this .getPrivateScene ());
@@ -92915,10 +92937,7 @@ function X3DSoundContext ()
92915
92937
  "mute", new x_ite_Fields.SFBool ());
92916
92938
  }
92917
92939
 
92918
- X3DSoundContext .prototype =
92919
- {
92920
- initialize: function () { },
92921
- };
92940
+ X3DSoundContext .prototype = { };
92922
92941
 
92923
92942
  const X3DSoundContext_default_ = X3DSoundContext;
92924
92943
  ;
@@ -93817,6 +93836,7 @@ X3DRoutingContext .prototype =
93817
93836
  }
93818
93837
  while (this [_taintedFields] .length);
93819
93838
  },
93839
+ dispose: function () { },
93820
93840
  };
93821
93841
 
93822
93842
  const X3DRoutingContext_default_ = X3DRoutingContext;
@@ -93982,31 +94002,28 @@ X3DBrowserContext .prototype = Object .assign (Object .create (Base_X3DBaseNode.
93982
94002
  constructor: X3DBrowserContext,
93983
94003
  initialize: function ()
93984
94004
  {
93985
- Base_X3DBaseNode.prototype.initialize.call (this);
93986
- Routing_X3DRoutingContext.prototype.initialize.call (this);
93987
- Core_X3DCoreContext.prototype.initialize.call (this);
93988
- Scripting_X3DScriptingContext.prototype.initialize.call (this);
93989
- Networking_X3DNetworkingContext.prototype.initialize.call (this);
93990
- Texturing_X3DTexturingContext.prototype.initialize.call (this);
93991
- Shaders_X3DShadersContext.prototype.initialize.call (this);
93992
- Rendering_X3DRenderingContext.prototype.initialize.call (this);
93993
- Shape_X3DShapeContext.prototype.initialize.call (this);
93994
- Grouping_X3DGroupingContext.prototype.initialize.call (this);
93995
- Geometry3D_X3DGeometry3DContext.prototype.initialize.call (this);
93996
- PointingDeviceSensor_X3DPointingDeviceSensorContext.prototype.initialize.call (this);
93997
- Navigation_X3DNavigationContext.prototype.initialize.call (this);
93998
- Layering_X3DLayeringContext.prototype.initialize.call (this);
93999
- EnvironmentalEffects_X3DEnvironmentalEffectsContext.prototype.initialize.call (this);
94000
- Lighting_X3DLightingContext.prototype.initialize.call (this);
94001
- Picking_X3DPickingContext.prototype.initialize.call (this);
94002
- Sound_X3DSoundContext.prototype.initialize.call (this);
94003
- Time_X3DTimeContext.prototype.initialize.call (this);
94005
+ Base_X3DBaseNode.prototype.initialize ?.call (this);
94006
+ Routing_X3DRoutingContext.prototype.initialize ?.call (this);
94007
+ Core_X3DCoreContext.prototype.initialize ?.call (this);
94008
+ Scripting_X3DScriptingContext.prototype.initialize ?.call (this);
94009
+ Networking_X3DNetworkingContext.prototype.initialize ?.call (this);
94010
+ Texturing_X3DTexturingContext.prototype.initialize ?.call (this);
94011
+ Shaders_X3DShadersContext.prototype.initialize ?.call (this);
94012
+ Rendering_X3DRenderingContext.prototype.initialize ?.call (this);
94013
+ Shape_X3DShapeContext.prototype.initialize ?.call (this);
94014
+ Grouping_X3DGroupingContext.prototype.initialize ?.call (this);
94015
+ Geometry3D_X3DGeometry3DContext.prototype.initialize ?.call (this);
94016
+ PointingDeviceSensor_X3DPointingDeviceSensorContext.prototype.initialize ?.call (this);
94017
+ Navigation_X3DNavigationContext.prototype.initialize ?.call (this);
94018
+ Layering_X3DLayeringContext.prototype.initialize ?.call (this);
94019
+ EnvironmentalEffects_X3DEnvironmentalEffectsContext.prototype.initialize ?.call (this);
94020
+ Lighting_X3DLightingContext.prototype.initialize ?.call (this);
94021
+ Picking_X3DPickingContext.prototype.initialize ?.call (this);
94022
+ Sound_X3DSoundContext.prototype.initialize ?.call (this);
94023
+ Time_X3DTimeContext.prototype.initialize ?.call (this);
94004
94024
 
94005
94025
  for (const browserContext of browserContexts)
94006
- {
94007
- if (typeof browserContext .prototype .initialize === "function")
94008
- browserContext .prototype .initialize .call (this);
94009
- }
94026
+ browserContext .prototype .initialize ?.call (this);
94010
94027
 
94011
94028
  // Process events from context creation. This will setup nodes like
94012
94029
  // geometry option nodes before any node is created.
@@ -94177,7 +94194,28 @@ X3DBrowserContext .prototype = Object .assign (Object .create (Base_X3DBaseNode.
94177
94194
  {
94178
94195
  browsers .delete (this);
94179
94196
 
94180
- Base_X3DBaseNode.prototype.dispose.call (this);
94197
+ for (const browserContext of browserContexts)
94198
+ browserContext .prototype .dispose ?.call (this);
94199
+
94200
+ Time_X3DTimeContext.prototype.dispose ?.call (this);
94201
+ Sound_X3DSoundContext.prototype.dispose ?.call (this);
94202
+ Picking_X3DPickingContext.prototype.dispose ?.call (this);
94203
+ Lighting_X3DLightingContext.prototype.dispose ?.call (this);
94204
+ EnvironmentalEffects_X3DEnvironmentalEffectsContext.prototype.dispose ?.call (this);
94205
+ Layering_X3DLayeringContext.prototype.dispose ?.call (this);
94206
+ Navigation_X3DNavigationContext.prototype.dispose ?.call (this);
94207
+ PointingDeviceSensor_X3DPointingDeviceSensorContext.prototype.dispose ?.call (this);
94208
+ Geometry3D_X3DGeometry3DContext.prototype.dispose ?.call (this);
94209
+ Grouping_X3DGroupingContext.prototype.dispose ?.call (this);
94210
+ Shape_X3DShapeContext.prototype.dispose ?.call (this);
94211
+ Rendering_X3DRenderingContext.prototype.dispose ?.call (this);
94212
+ Shaders_X3DShadersContext.prototype.dispose ?.call (this);
94213
+ Texturing_X3DTexturingContext.prototype.dispose ?.call (this);
94214
+ Networking_X3DNetworkingContext.prototype.dispose ?.call (this);
94215
+ Scripting_X3DScriptingContext.prototype.dispose ?.call (this);
94216
+ Core_X3DCoreContext.prototype.dispose ?.call (this);
94217
+ Routing_X3DRoutingContext.prototype.dispose ?.call (this);
94218
+ Base_X3DBaseNode.prototype.dispose ?.call (this);
94181
94219
  },
94182
94220
  });
94183
94221
 
@@ -94207,9 +94245,7 @@ Object .assign (X3DBrowserContext,
94207
94245
  for (const browser of browsers)
94208
94246
  {
94209
94247
  browserContext .call (browser);
94210
-
94211
- if (typeof browserContext .prototype .initialize === "function")
94212
- browserContext .prototype .initialize .call (browser);
94248
+ browserContext .prototype .initialize ?.call (browser);
94213
94249
 
94214
94250
  // Process events from context creation. This will setup nodes like
94215
94251
  // geometry option nodes before any node is created.
@@ -103962,6 +103998,10 @@ PointLightContainer .prototype =
103962
103998
  gl .uniformMatrix4fv (shaderObject .x3d_ShadowMatrix [i], false, this .shadowMatrixArray);
103963
103999
  gl .uniform1i (shaderObject .x3d_ShadowMapSize [i], lightNode .getShadowMapSize ());
103964
104000
  }
104001
+ else
104002
+ {
104003
+ gl .uniform1f (shaderObject .x3d_ShadowIntensity [i], 0);
104004
+ }
103965
104005
  },
103966
104006
  dispose: function ()
103967
104007
  {
@@ -104287,6 +104327,10 @@ SpotLightContainer .prototype =
104287
104327
  gl .uniformMatrix4fv (shaderObject .x3d_ShadowMatrix [i], false, this .shadowMatrixArray);
104288
104328
  gl .uniform1i (shaderObject .x3d_ShadowMapSize [i], lightNode .getShadowMapSize ());
104289
104329
  }
104330
+ else
104331
+ {
104332
+ gl .uniform1f (shaderObject .x3d_ShadowIntensity [i], 0);
104333
+ }
104290
104334
  },
104291
104335
  dispose: function ()
104292
104336
  {
@@ -113103,7 +113147,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
113103
113147
  x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
113104
113148
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
113105
113149
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
113106
- /* provided dependency */ var AudioClip_$ = __webpack_require__(329);
113150
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(972);
113107
113151
  /*******************************************************************************
113108
113152
  *
113109
113153
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115998,8 +116042,8 @@ const GIFMedia_default_ = GifMedia;
115998
116042
  x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
115999
116043
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
116000
116044
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
116001
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(329);
116002
- /* provided dependency */ var SuperGif = __webpack_require__(878);
116045
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(972);
116046
+ /* provided dependency */ var SuperGif = __webpack_require__(309);
116003
116047
  /*******************************************************************************
116004
116048
  *
116005
116049
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116962,7 +117006,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
116962
117006
  x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
116963
117007
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
116964
117008
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
116965
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(329);
117009
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(972);
116966
117010
  /*******************************************************************************
116967
117011
  *
116968
117012
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117673,7 +117717,7 @@ const Components_default_ = Components;
117673
117717
  x_ite_Namespace.set ("x_ite/Components", Components_default_);
117674
117718
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117675
117719
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117676
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(329);
117720
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(972);
117677
117721
  /*******************************************************************************
117678
117722
  * MIT License
117679
117723
  *
@@ -118910,7 +118954,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
118910
118954
  x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
118911
118955
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
118912
118956
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
118913
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(329);
118957
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(972);
118914
118958
  /*******************************************************************************
118915
118959
  *
118916
118960
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119855,7 +119899,7 @@ const X3DBrowser_default_ = X3DBrowser;
119855
119899
  x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
119856
119900
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
119857
119901
  ;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
119858
- /* provided dependency */ var Fallback_$ = __webpack_require__(329);
119902
+ /* provided dependency */ var Fallback_$ = __webpack_require__(972);
119859
119903
  /*******************************************************************************
119860
119904
  *
119861
119905
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120034,8 +120078,8 @@ const MicroTime_default_ = undefined;
120034
120078
  x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
120035
120079
  /* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
120036
120080
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120037
- /* provided dependency */ var jquery_$ = __webpack_require__(329);
120038
- /* provided dependency */ var pako = __webpack_require__(881);
120081
+ /* provided dependency */ var jquery_$ = __webpack_require__(972);
120082
+ /* provided dependency */ var pako = __webpack_require__(680);
120039
120083
  jquery_$.decodeText = function (input)
120040
120084
  {
120041
120085
  if (typeof input === "string")
@@ -120067,14 +120111,14 @@ const jquery_default_ = jquery_$;
120067
120111
  x_ite_Namespace.set ("lib/jquery", jquery_default_);
120068
120112
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120069
120113
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120070
- /* provided dependency */ var libtess_libtess = __webpack_require__(355);
120114
+ /* provided dependency */ var libtess_libtess = __webpack_require__(838);
120071
120115
  const libtess_default_ = libtess_libtess;
120072
120116
  ;
120073
120117
 
120074
120118
  x_ite_Namespace.set ("lib/libtess", libtess_default_);
120075
120119
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120076
120120
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120077
- /* provided dependency */ var X3D_$ = __webpack_require__(329);
120121
+ /* provided dependency */ var X3D_$ = __webpack_require__(972);
120078
120122
  /*******************************************************************************
120079
120123
  *
120080
120124
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120330,7 +120374,7 @@ const X3D_default_ = X3D;
120330
120374
  x_ite_Namespace.set ("x_ite/X3D", X3D_default_);
120331
120375
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120332
120376
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120333
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(329);
120377
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(972);
120334
120378
  /*******************************************************************************
120335
120379
  *
120336
120380
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120609,7 +120653,7 @@ x_ite_Namespace.set ("shim", shim_default_);
120609
120653
 
120610
120654
  // Assign X3D to global namespace.
120611
120655
 
120612
- window [Symbol .for ("X_ITE.X3D-8.6.14")] = x_ite_X3D;
120656
+ window [Symbol .for ("X_ITE.X3D-8.6.15")] = x_ite_X3D;
120613
120657
 
120614
120658
  x_ite_X3DCanvasElement.define ();
120615
120659