x_ite 8.12.0 → 8.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +1 -9
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +14 -14
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +25 -25
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +19 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +53 -32
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +26 -26
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +24 -24
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +23 -23
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +18 -18
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +38 -38
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +14 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +30 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +18 -18
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +9 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.d.ts +2096 -0
  44. package/dist/x_ite.js +95 -74
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -1
  47. package/dist/x_ite.mjs +95 -74
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +5 -1
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v8.12.0 */var __webpack_modules__ = ({
1
+ /* X_ITE v8.12.2 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 153:
3
+ /***/ 696:
4
4
  /***/ (function(module, exports, __webpack_require__) {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(464);
6
+ /* provided dependency */ var jQuery = __webpack_require__(75);
7
7
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
8
8
 
9
9
  /**
@@ -375,10 +375,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
375
375
 
376
376
  /***/ }),
377
377
 
378
- /***/ 734:
378
+ /***/ 641:
379
379
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
380
380
 
381
- /* provided dependency */ var jQuery = __webpack_require__(464);
381
+ /* provided dependency */ var jQuery = __webpack_require__(75);
382
382
  /**
383
383
  * @preserve jquery.fullscreen 1.1.5
384
384
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -574,7 +574,7 @@ installFullScreenHandlers();
574
574
 
575
575
  /***/ }),
576
576
 
577
- /***/ 520:
577
+ /***/ 829:
578
578
  /***/ ((module, exports, __webpack_require__) => {
579
579
 
580
580
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -588,7 +588,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
588
588
  (function (factory) {
589
589
  if ( true ) {
590
590
  // AMD. Register as an anonymous module.
591
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(464)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
591
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(75)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
592
592
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
593
593
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
594
594
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -799,7 +799,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
799
799
 
800
800
  /***/ }),
801
801
 
802
- /***/ 464:
802
+ /***/ 75:
803
803
  /***/ (function(module, exports) {
804
804
 
805
805
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11523,7 +11523,7 @@ return jQuery;
11523
11523
 
11524
11524
  /***/ }),
11525
11525
 
11526
- /***/ 602:
11526
+ /***/ 480:
11527
11527
  /***/ ((module) => {
11528
11528
 
11529
11529
  /**
@@ -16302,7 +16302,7 @@ if (true) {
16302
16302
 
16303
16303
  /***/ }),
16304
16304
 
16305
- /***/ 644:
16305
+ /***/ 436:
16306
16306
  /***/ (function(__unused_webpack_module, exports) {
16307
16307
 
16308
16308
 
@@ -19547,7 +19547,7 @@ if (true) {
19547
19547
 
19548
19548
  /***/ }),
19549
19549
 
19550
- /***/ 49:
19550
+ /***/ 504:
19551
19551
  /***/ (function(module, exports) {
19552
19552
 
19553
19553
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20674,7 +20674,7 @@ Object .defineProperty (Namespace, "add",
20674
20674
  }
20675
20675
  else
20676
20676
  {
20677
- const X3D = window [Symbol .for ("X_ITE.X3D-8.12.0")];
20677
+ const X3D = window [Symbol .for ("X_ITE.X3D-8.12.2")];
20678
20678
 
20679
20679
  if (X3D)
20680
20680
  X3D [name] = module;
@@ -34390,7 +34390,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34390
34390
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34391
34391
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34392
34392
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34393
- /* provided dependency */ var $ = __webpack_require__(464);
34393
+ /* provided dependency */ var $ = __webpack_require__(75);
34394
34394
  /*******************************************************************************
34395
34395
  *
34396
34396
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34527,7 +34527,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34527
34527
  *
34528
34528
  ******************************************************************************/
34529
34529
 
34530
- const VERSION_default_ = "8.12.0";
34530
+ const VERSION_default_ = "8.12.2";
34531
34531
  ;
34532
34532
 
34533
34533
  x_ite_Namespace .add ("VERSION", "x_ite/Browser/VERSION", VERSION_default_);
@@ -35711,7 +35711,7 @@ Object .assign (Object .setPrototypeOf (X3DNode .prototype, Base_X3DBaseNode .pr
35711
35711
  {
35712
35712
  generator .string += generator .Indent ();
35713
35713
  generator .string += '"';
35714
- generator .string += "#sourceText";
35714
+ generator .string += "#sourceCode";
35715
35715
  generator .string += '"';
35716
35716
  generator .string += ':';
35717
35717
  generator .string += generator .TidySpace ();
@@ -38415,7 +38415,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38415
38415
  x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38416
38416
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38417
38417
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38418
- /* provided dependency */ var X3DParser_$ = __webpack_require__(464);
38418
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(75);
38419
38419
  /*******************************************************************************
38420
38420
  *
38421
38421
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39240,7 +39240,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39240
39240
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39241
39241
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39242
39242
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39243
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(464);
39243
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(75);
39244
39244
  /*******************************************************************************
39245
39245
  *
39246
39246
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39614,8 +39614,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39614
39614
  }
39615
39615
  catch (error)
39616
39616
  {
39617
- console .error (error);
39618
- this .reject (new Error (this .getError (error)));
39617
+ throw new Error (this .getError (error));
39619
39618
  }
39620
39619
  })
39621
39620
  .catch (this .reject);
@@ -39734,7 +39733,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39734
39733
  }
39735
39734
  catch (error)
39736
39735
  {
39737
- console .log (error .message);
39736
+ console .warn (error .message);
39738
39737
  return true;
39739
39738
  }
39740
39739
  }
@@ -41786,7 +41785,7 @@ const VRMLParser_default_ = VRMLParser;
41786
41785
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41787
41786
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41788
41787
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41789
- /* provided dependency */ var XMLParser_$ = __webpack_require__(464);
41788
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(75);
41790
41789
  /*******************************************************************************
41791
41790
  *
41792
41791
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43812,7 +43811,7 @@ const URLs_default_ = URLs;
43812
43811
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43813
43812
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43814
43813
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43815
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(464);
43814
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(75);
43816
43815
  /*******************************************************************************
43817
43816
  *
43818
43817
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44518,9 +44517,9 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44518
44517
  if (!(texture instanceof Object))
44519
44518
  return;
44520
44519
 
44521
- const image = this .images [texture .source];
44520
+ const images = this .textureImageObject (texture);
44522
44521
 
44523
- if (!image)
44522
+ if (!images .length)
44524
44523
  return null;
44525
44524
 
44526
44525
  if (texture .textureNode)
@@ -44529,7 +44528,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44529
44528
  const
44530
44529
  scene = this .getExecutionContext (),
44531
44530
  textureNode = scene .createNode ("ImageTexture", false),
44532
- name = this .sanitizeName (texture .name || image .name);
44531
+ name = this .sanitizeName (texture .name || images [0] .name);
44533
44532
 
44534
44533
  if (name)
44535
44534
  {
@@ -44537,7 +44536,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44537
44536
  scene .addExportedNode (scene .getUniqueExportName (name), textureNode);
44538
44537
  }
44539
44538
 
44540
- textureNode ._url = [image .uri];
44539
+ textureNode ._url = images .map (image => image .uri);
44541
44540
 
44542
44541
  const sampler = this .samplers [texture .sampler];
44543
44542
 
@@ -44548,6 +44547,15 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44548
44547
 
44549
44548
  return texture .textureNode = textureNode;
44550
44549
  },
44550
+ textureImageObject (texture)
44551
+ {
44552
+ const images = [this .images [texture .source]];
44553
+
44554
+ if (this .extensions .has ("EXT_texture_webp"))
44555
+ images .unshift (this .images [texture .extensions ?.EXT_texture_webp ?.source]);
44556
+
44557
+ return images .filter (image => image);
44558
+ },
44551
44559
  materialsArray (materials)
44552
44560
  {
44553
44561
  if (!(materials instanceof Array))
@@ -46875,7 +46883,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
46875
46883
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
46876
46884
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
46877
46885
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
46878
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(464);
46886
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(75);
46879
46887
  /*******************************************************************************
46880
46888
  *
46881
46889
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47027,7 +47035,7 @@ const GLB2Parser_default_ = GLB2Parser;
47027
47035
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47028
47036
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47029
47037
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47030
- /* provided dependency */ var OBJParser_$ = __webpack_require__(464);
47038
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(75);
47031
47039
  /*******************************************************************************
47032
47040
  *
47033
47041
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50382,8 +50390,8 @@ const MatrixStack_default_ = MatrixStack;
50382
50390
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50383
50391
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50384
50392
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50385
- /* provided dependency */ var SVGParser_$ = __webpack_require__(464);
50386
- /* provided dependency */ var libtess = __webpack_require__(602);
50393
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(75);
50394
+ /* provided dependency */ var libtess = __webpack_require__(480);
50387
50395
  /*******************************************************************************
50388
50396
  *
50389
50397
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53151,7 +53159,7 @@ const SVGParser_default_ = SVGParser;
53151
53159
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53152
53160
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53153
53161
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53154
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(464);
53162
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(75);
53155
53163
  /*******************************************************************************
53156
53164
  *
53157
53165
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53488,7 +53496,7 @@ const Plane3_default_ = Plane3;
53488
53496
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53489
53497
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53490
53498
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53491
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(602);
53499
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(480);
53492
53500
  /*******************************************************************************
53493
53501
  *
53494
53502
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60873,7 +60881,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
60873
60881
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
60874
60882
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
60875
60883
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
60876
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(464);
60884
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(75);
60877
60885
  /*******************************************************************************
60878
60886
  *
60879
60887
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65475,7 +65483,7 @@ const X3DWorld_default_ = X3DWorld;
65475
65483
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
65476
65484
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65477
65485
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65478
- /* provided dependency */ var FileLoader_$ = __webpack_require__(464);
65486
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(75);
65479
65487
  /*******************************************************************************
65480
65488
  *
65481
65489
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -88984,7 +88992,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
88984
88992
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
88985
88993
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
88986
88994
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
88987
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(464);
88995
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(75);
88988
88996
  /*******************************************************************************
88989
88997
  *
88990
88998
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -94371,7 +94379,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
94371
94379
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
94372
94380
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
94373
94381
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
94374
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(464);
94382
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(75);
94375
94383
  /*******************************************************************************
94376
94384
  *
94377
94385
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95028,7 +95036,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
95028
95036
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
95029
95037
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
95030
95038
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
95031
- /* provided dependency */ var Appearance_$ = __webpack_require__(464);
95039
+ /* provided dependency */ var Appearance_$ = __webpack_require__(75);
95032
95040
  /*******************************************************************************
95033
95041
  *
95034
95042
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98305,7 +98313,7 @@ const Components_Shape_default_ = {
98305
98313
  x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
98306
98314
  /* harmony default export */ const Components_Shape = (Components_Shape_default_);
98307
98315
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
98308
- /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(464);
98316
+ /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(75);
98309
98317
  /*******************************************************************************
98310
98318
  *
98311
98319
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98945,7 +98953,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
98945
98953
  x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
98946
98954
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
98947
98955
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
98948
- /* provided dependency */ var AudioClip_$ = __webpack_require__(464);
98956
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(75);
98949
98957
  /*******************************************************************************
98950
98958
  *
98951
98959
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99247,7 +99255,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
99247
99255
  x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
99248
99256
  /* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
99249
99257
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
99250
- /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(464);
99258
+ /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(75);
99251
99259
  /*******************************************************************************
99252
99260
  *
99253
99261
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100897,7 +100905,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
100897
100905
  x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
100898
100906
  /* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
100899
100907
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
100900
- /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(464);
100908
+ /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(75);
100901
100909
  /*******************************************************************************
100902
100910
  *
100903
100911
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -102566,8 +102574,8 @@ const GIFMedia_default_ = GifMedia;
102566
102574
  x_ite_Namespace .add ("GIFMedia", "x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
102567
102575
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
102568
102576
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
102569
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(464);
102570
- /* provided dependency */ var SuperGif = __webpack_require__(49);
102577
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(75);
102578
+ /* provided dependency */ var SuperGif = __webpack_require__(504);
102571
102579
  /*******************************************************************************
102572
102580
  *
102573
102581
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -103738,7 +103746,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
103738
103746
  x_ite_Namespace .add ("MultiTextureTransform", "x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
103739
103747
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
103740
103748
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
103741
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(464);
103749
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(75);
103742
103750
  /*******************************************************************************
103743
103751
  *
103744
103752
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105892,7 +105900,7 @@ const gettext_default_ = gettext;
105892
105900
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
105893
105901
  /* harmony default export */ const locale_gettext = (gettext_default_);
105894
105902
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
105895
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(464);
105903
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(75);
105896
105904
  /*******************************************************************************
105897
105905
  *
105898
105906
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106322,7 +106330,7 @@ const TextureQuality_default_ = TextureQuality;
106322
106330
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
106323
106331
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
106324
106332
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
106325
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(464);
106333
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(75);
106326
106334
  /*******************************************************************************
106327
106335
  *
106328
106336
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106915,7 +106923,7 @@ const RenderingProperties_default_ = RenderingProperties;
106915
106923
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
106916
106924
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
106917
106925
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
106918
- /* provided dependency */ var Notification_$ = __webpack_require__(464);
106926
+ /* provided dependency */ var Notification_$ = __webpack_require__(75);
106919
106927
  /*******************************************************************************
106920
106928
  *
106921
106929
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107038,8 +107046,8 @@ const Notification_default_ = Notification;
107038
107046
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
107039
107047
  /* harmony default export */ const Core_Notification = (Notification_default_);
107040
107048
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
107041
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(734);
107042
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(464);
107049
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(641);
107050
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(75);
107043
107051
  /*******************************************************************************
107044
107052
  *
107045
107053
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109791,7 +109799,7 @@ const DataStorage_default_ = DataStorage;
109791
109799
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
109792
109800
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
109793
109801
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
109794
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(464);
109802
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(75);
109795
109803
  /*******************************************************************************
109796
109804
  *
109797
109805
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109938,6 +109946,7 @@ function X3DCoreContext (element)
109938
109946
  this .addChildObjects (Base_X3DConstants .outputOnly, "controlKey", new x_ite_Fields .SFBool (),
109939
109947
  Base_X3DConstants .outputOnly, "shiftKey", new x_ite_Fields .SFBool (),
109940
109948
  Base_X3DConstants .outputOnly, "altKey", new x_ite_Fields .SFBool (),
109949
+ Base_X3DConstants .outputOnly, "commandKey", new x_ite_Fields .SFBool (),
109941
109950
  Base_X3DConstants .outputOnly, "altGrKey", new x_ite_Fields .SFBool ());
109942
109951
  }
109943
109952
 
@@ -110273,14 +110282,16 @@ Object .assign (X3DCoreContext .prototype,
110273
110282
  {
110274
110283
  return this ._altKey .getValue ();
110275
110284
  },
110285
+ getCommandKey ()
110286
+ {
110287
+ return this ._commandKey .getValue ();
110288
+ },
110276
110289
  getAltGrKey ()
110277
110290
  {
110278
110291
  return this ._altGrKey .getValue ();
110279
110292
  },
110280
110293
  [_keydown] (event)
110281
110294
  {
110282
- //console .log (event .keyCode);
110283
-
110284
110295
  switch (event .keyCode)
110285
110296
  {
110286
110297
  case 16: // Shift
@@ -110387,6 +110398,11 @@ Object .assign (X3DCoreContext .prototype,
110387
110398
 
110388
110399
  break;
110389
110400
  }
110401
+ case 91: // Command
110402
+ {
110403
+ this ._commandKey = true;
110404
+ break;
110405
+ }
110390
110406
  case 225: // Alt Gr
110391
110407
  {
110392
110408
  this ._altGrKey = true;
@@ -110527,6 +110543,11 @@ Object .assign (X3DCoreContext .prototype,
110527
110543
  this ._altKey = false;
110528
110544
  break;
110529
110545
  }
110546
+ case 91: // Command
110547
+ {
110548
+ this ._commandKey = false;
110549
+ break;
110550
+ }
110530
110551
  case 225: // Alt Gr
110531
110552
  {
110532
110553
  this ._altGrKey = false;
@@ -111824,8 +111845,8 @@ const X3DViewer_default_ = X3DViewer;
111824
111845
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
111825
111846
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
111826
111847
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
111827
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(520);
111828
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(464);
111848
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(829);
111849
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(75);
111829
111850
  /*******************************************************************************
111830
111851
  *
111831
111852
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112697,8 +112718,8 @@ const ExamineViewer_default_ = ExamineViewer;
112697
112718
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
112698
112719
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
112699
112720
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
112700
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(520);
112701
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(464);
112721
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(829);
112722
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(75);
112702
112723
  /*******************************************************************************
112703
112724
  *
112704
112725
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112872,7 +112893,7 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
112872
112893
  this .getBrowser () .setCursor ("MOVE");
112873
112894
  this .addCollision ();
112874
112895
 
112875
- if (this .getBrowser () .getControlKey () || this .lookAround)
112896
+ if (this .getBrowser () .getControlKey () || this .getBrowser () .getCommandKey () || this .lookAround)
112876
112897
  {
112877
112898
  // Look around.
112878
112899
 
@@ -112959,7 +112980,7 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
112959
112980
  {
112960
112981
  case 0:
112961
112982
  {
112962
- if (browser .getControlKey () || this .lookAround)
112983
+ if (browser .getControlKey () || browser .getCommandKey () || this .lookAround)
112963
112984
  {
112964
112985
  // Stop event propagation.
112965
112986
  event .preventDefault ();
@@ -113702,8 +113723,8 @@ const FlyViewer_default_ = FlyViewer;
113702
113723
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
113703
113724
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
113704
113725
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
113705
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(520);
113706
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(464);
113726
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(829);
113727
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(75);
113707
113728
  /*******************************************************************************
113708
113729
  *
113709
113730
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114034,8 +114055,8 @@ const NoneViewer_default_ = NoneViewer;
114034
114055
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
114035
114056
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
114036
114057
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
114037
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(520);
114038
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(464);
114058
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(829);
114059
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(75);
114039
114060
  /*******************************************************************************
114040
114061
  *
114041
114062
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115174,8 +115195,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
115174
115195
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
115175
115196
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
115176
115197
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
115177
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(520);
115178
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(464);
115198
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(829);
115199
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(75);
115179
115200
  /*******************************************************************************
115180
115201
  *
115181
115202
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116453,8 +116474,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
116453
116474
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
116454
116475
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
116455
116476
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
116456
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(464);
116457
- /* provided dependency */ var ResizeSensor = __webpack_require__(153);
116477
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(75);
116478
+ /* provided dependency */ var ResizeSensor = __webpack_require__(696);
116458
116479
  /*******************************************************************************
116459
116480
  *
116460
116481
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118735,7 +118756,7 @@ const Components_default_ = Components;
118735
118756
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
118736
118757
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
118737
118758
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
118738
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(464);
118759
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(75);
118739
118760
  /*******************************************************************************
118740
118761
  * MIT License
118741
118762
  *
@@ -119873,7 +119894,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
119873
119894
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
119874
119895
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
119875
119896
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
119876
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(464);
119897
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(75);
119877
119898
  /*******************************************************************************
119878
119899
  *
119879
119900
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120954,7 +120975,7 @@ const X3DBrowser_default_ = X3DBrowser;
120954
120975
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
120955
120976
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
120956
120977
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120957
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(464);
120978
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(75);
120958
120979
  /*******************************************************************************
120959
120980
  *
120960
120981
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -121086,8 +121107,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
121086
121107
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
121087
121108
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
121088
121109
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
121089
- /* provided dependency */ var jquery_$ = __webpack_require__(464);
121090
- /* provided dependency */ var pako = __webpack_require__(644);
121110
+ /* provided dependency */ var jquery_$ = __webpack_require__(75);
121111
+ /* provided dependency */ var pako = __webpack_require__(436);
121091
121112
  Object .assign (jquery_$,
121092
121113
  {
121093
121114
  decodeText (input)
@@ -121164,14 +121185,14 @@ const jquery_default_ = jquery_$;
121164
121185
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
121165
121186
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
121166
121187
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
121167
- /* provided dependency */ var libtess_libtess = __webpack_require__(602);
121188
+ /* provided dependency */ var libtess_libtess = __webpack_require__(480);
121168
121189
  const libtess_default_ = libtess_libtess;
121169
121190
  ;
121170
121191
 
121171
121192
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
121172
121193
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
121173
121194
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
121174
- /* provided dependency */ var X3D_$ = __webpack_require__(464);
121195
+ /* provided dependency */ var X3D_$ = __webpack_require__(75);
121175
121196
  /*******************************************************************************
121176
121197
  *
121177
121198
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -121565,7 +121586,7 @@ x_ite_Namespace .add ("shim", "shim", shim_default_);
121565
121586
 
121566
121587
  // Assign X3D to global namespace.
121567
121588
 
121568
- window [Symbol .for ("X_ITE.X3D-8.12.0")] = x_ite_X3D;
121589
+ window [Symbol .for ("X_ITE.X3D-8.12.2")] = x_ite_X3D;
121569
121590
 
121570
121591
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
121571
121592
 
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": "8.12.0",
3
+ "version": "8.12.2",
4
4
  "description": "X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.",
5
5
  "main": "dist/x_ite.js",
6
6
  "module": "dist/x_ite.mjs",
@@ -69,6 +69,10 @@
69
69
  {
70
70
  "name": "Simon Place",
71
71
  "url": "https://github.com/splace"
72
+ },
73
+ {
74
+ "name": "Glen Whitney",
75
+ "url": "https://github.com/gwhitney"
72
76
  }
73
77
  ],
74
78
  "funding": {