x_ite 10.0.5 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +12 -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 +18 -18
  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 +23 -23
  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 +61 -46
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +23 -23
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +26 -26
  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 +275 -201
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjection.js +15 -15
  35. package/dist/assets/components/TextureProjection.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +27 -27
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +19 -19
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +19 -19
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +211 -139
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -1
  47. package/dist/x_ite.mjs +211 -139
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v10.0.5 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v10.1.0 */(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,10 +11,10 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 77:
14
+ /***/ 531:
15
15
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
16
16
 
17
- /* provided dependency */ var jQuery = __webpack_require__(69);
17
+ /* provided dependency */ var jQuery = __webpack_require__(439);
18
18
  /**
19
19
  * @preserve jquery.fullscreen 1.1.5
20
20
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -210,7 +210,7 @@ installFullScreenHandlers();
210
210
 
211
211
  /***/ }),
212
212
 
213
- /***/ 981:
213
+ /***/ 583:
214
214
  /***/ ((module, exports, __webpack_require__) => {
215
215
 
216
216
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
224
224
  (function (factory) {
225
225
  if ( true ) {
226
226
  // AMD. Register as an anonymous module.
227
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(69)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
227
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(439)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
228
228
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
229
229
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
230
230
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
435
435
 
436
436
  /***/ }),
437
437
 
438
- /***/ 69:
438
+ /***/ 439:
439
439
  /***/ (function(module, exports) {
440
440
 
441
441
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11159,7 +11159,7 @@ return jQuery;
11159
11159
 
11160
11160
  /***/ }),
11161
11161
 
11162
- /***/ 350:
11162
+ /***/ 12:
11163
11163
  /***/ ((module) => {
11164
11164
 
11165
11165
  /**
@@ -15938,7 +15938,7 @@ if (true) {
15938
15938
 
15939
15939
  /***/ }),
15940
15940
 
15941
- /***/ 841:
15941
+ /***/ 964:
15942
15942
  /***/ (function(__unused_webpack_module, exports) {
15943
15943
 
15944
15944
 
@@ -19183,7 +19183,7 @@ if (true) {
19183
19183
 
19184
19184
  /***/ }),
19185
19185
 
19186
- /***/ 798:
19186
+ /***/ 448:
19187
19187
  /***/ (function(module, exports) {
19188
19188
 
19189
19189
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
20311
20311
  }
20312
20312
  else
20313
20313
  {
20314
- const X3D = window [Symbol .for ("X_ITE.X3D-10.0.5")];
20314
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.1.0")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -30149,6 +30149,7 @@ x_ite_Namespace .add ("SFVec3", "x_ite/Fields/SFVec3", SFVec3_default_);
30149
30149
 
30150
30150
 
30151
30151
 
30152
+
30152
30153
  const
30153
30154
  SFVec3d = Fields_SFVec3 .SFVec3d,
30154
30155
  SFVec3f = Fields_SFVec3 .SFVec3f,
@@ -30236,6 +30237,25 @@ Object .assign (Object .setPrototypeOf (SFRotation .prototype, Base_X3DField .pr
30236
30237
  {
30237
30238
  return new SFMatrix3f (this .getValue () .getMatrix ());
30238
30239
  },
30240
+ setQuaternion: (function ()
30241
+ {
30242
+ const q = new Numbers_Quaternion ();
30243
+
30244
+ return function (x, y, z, w)
30245
+ {
30246
+ this .getValue () .setQuaternion (q .set (x, y, z, w));
30247
+ this .addEvent ();
30248
+ };
30249
+ })(),
30250
+ getQuaternion: (function ()
30251
+ {
30252
+ const q = new Numbers_Quaternion ();
30253
+
30254
+ return function ()
30255
+ {
30256
+ return [... this .getValue () .getQuaternion (q)];
30257
+ };
30258
+ })(),
30239
30259
  inverse ()
30240
30260
  {
30241
30261
  return new SFRotation (this .getValue () .copy () .inverse ());
@@ -34277,7 +34297,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34277
34297
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34278
34298
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34279
34299
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34280
- /* provided dependency */ var $ = __webpack_require__(69);
34300
+ /* provided dependency */ var $ = __webpack_require__(439);
34281
34301
  /*******************************************************************************
34282
34302
  *
34283
34303
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34414,7 +34434,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34414
34434
  *
34415
34435
  ******************************************************************************/
34416
34436
 
34417
- const BROWSER_VERSION_default_ = "10.0.5";
34437
+ const BROWSER_VERSION_default_ = "10.1.0";
34418
34438
  ;
34419
34439
 
34420
34440
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -37600,7 +37620,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37600
37620
  x_ite_Namespace .add ("X3DBindableNode", "x_ite/Components/Core/X3DBindableNode", X3DBindableNode_default_);
37601
37621
  /* harmony default export */ const Core_X3DBindableNode = (X3DBindableNode_default_);
37602
37622
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
37603
- /* provided dependency */ var libtess = __webpack_require__(350);
37623
+ /* provided dependency */ var libtess = __webpack_require__(12);
37604
37624
  /*******************************************************************************
37605
37625
  *
37606
37626
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40170,7 +40190,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
40170
40190
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
40171
40191
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
40172
40192
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
40173
- /* provided dependency */ var X3DParser_$ = __webpack_require__(69);
40193
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(439);
40174
40194
  /*******************************************************************************
40175
40195
  *
40176
40196
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40428,7 +40448,7 @@ const Expressions_default_ = Expressions;
40428
40448
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
40429
40449
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
40430
40450
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
40431
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(69);
40451
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(439);
40432
40452
  /*******************************************************************************
40433
40453
  *
40434
40454
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43128,7 +43148,7 @@ const VRMLParser_default_ = VRMLParser;
43128
43148
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
43129
43149
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
43130
43150
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
43131
- /* provided dependency */ var XMLParser_$ = __webpack_require__(69);
43151
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(439);
43132
43152
  /*******************************************************************************
43133
43153
  *
43134
43154
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45304,7 +45324,7 @@ const URLs_default_ = URLs;
45304
45324
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
45305
45325
  /* harmony default export */ const Networking_URLs = (URLs_default_);
45306
45326
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
45307
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(69);
45327
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(439);
45308
45328
  /*******************************************************************************
45309
45329
  *
45310
45330
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47662,7 +47682,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
47662
47682
 
47663
47683
  const node = this .nodes [target .node] ?.transformNode;
47664
47684
 
47665
- if (!node)
47685
+ if (!node && target .path !== "pointer")
47666
47686
  return [ ];
47667
47687
 
47668
47688
  const sampler = samplers [channel .sampler];
@@ -48558,6 +48578,22 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
48558
48578
 
48559
48579
  return interpolatorNodes;
48560
48580
  }
48581
+ case "pointer":
48582
+ {
48583
+ // const
48584
+ // pointer = target .extensions ?.KHR_animation_pointer ?.pointer ?? "",
48585
+ // path = pointer .split ("/") .filter (p => p)
48586
+ // name = path .pop ();
48587
+
48588
+ // let glTF = this .input;
48589
+
48590
+ // for (const property of path)
48591
+ // glTF = glTF [property]
48592
+
48593
+ // console .log (glTF)
48594
+
48595
+ return [ ];
48596
+ }
48561
48597
  default:
48562
48598
  {
48563
48599
  return [ ];
@@ -48947,7 +48983,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48947
48983
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
48948
48984
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
48949
48985
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
48950
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(69);
48986
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(439);
48951
48987
  /*******************************************************************************
48952
48988
  *
48953
48989
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49099,7 +49135,7 @@ const GLB2Parser_default_ = GLB2Parser;
49099
49135
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49100
49136
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49101
49137
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49102
- /* provided dependency */ var OBJParser_$ = __webpack_require__(69);
49138
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(439);
49103
49139
  /*******************************************************************************
49104
49140
  *
49105
49141
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52444,8 +52480,8 @@ const MatrixStack_default_ = MatrixStack;
52444
52480
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
52445
52481
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52446
52482
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52447
- /* provided dependency */ var SVGParser_$ = __webpack_require__(69);
52448
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(350);
52483
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(439);
52484
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(12);
52449
52485
  /*******************************************************************************
52450
52486
  *
52451
52487
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55216,7 +55252,7 @@ const SVGParser_default_ = SVGParser;
55216
55252
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
55217
55253
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55218
55254
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55219
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(69);
55255
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(439);
55220
55256
  /*******************************************************************************
55221
55257
  *
55222
55258
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -63184,7 +63220,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
63184
63220
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
63185
63221
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
63186
63222
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
63187
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(69);
63223
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(439);
63188
63224
  /*******************************************************************************
63189
63225
  *
63190
63226
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -63843,8 +63879,14 @@ Object .assign (Object .setPrototypeOf (X3DLayerNode .prototype, Core_X3DNode .p
63843
63879
  },
63844
63880
  getUserViewpoints ()
63845
63881
  {
63846
- return this .viewpoints .get ()
63847
- .filter (viewpointNode => viewpointNode ._description .length);
63882
+ const
63883
+ browser = this .getBrowser (),
63884
+ enableInlineViewpoints = browser .getBrowserOption ("EnableInlineViewpoints"),
63885
+ currentScene = browser .currentScene;
63886
+
63887
+ return Array .from (new Set (this .viewpoints .get ()
63888
+ .filter (viewpointNode => viewpointNode ._description .length)
63889
+ .filter (viewpointNode => enableInlineViewpoints || viewpointNode .getScene () === currentScene)));
63848
63890
  },
63849
63891
  getBackgroundStack ()
63850
63892
  {
@@ -66768,7 +66810,7 @@ const X3DWorld_default_ = X3DWorld;
66768
66810
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66769
66811
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66770
66812
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66771
- /* provided dependency */ var FileLoader_$ = __webpack_require__(69);
66813
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(439);
66772
66814
  /*******************************************************************************
66773
66815
  *
66774
66816
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67702,7 +67744,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67702
67744
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
67703
67745
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
67704
67746
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
67705
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(69);
67747
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(439);
67706
67748
  /*******************************************************************************
67707
67749
  *
67708
67750
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -91252,7 +91294,7 @@ mediump samplerCube textureCube;
91252
91294
  x_ite_Namespace .add ("MaterialTextures", "assets/shaders/MaterialTextures", MaterialTextures_default_);
91253
91295
  /* harmony default export */ const MaterialTextures = (MaterialTextures_default_);
91254
91296
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
91255
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(69);
91297
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(439);
91256
91298
  /*******************************************************************************
91257
91299
  *
91258
91300
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96705,7 +96747,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96705
96747
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
96706
96748
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
96707
96749
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
96708
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(69);
96750
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(439);
96709
96751
  /*******************************************************************************
96710
96752
  *
96711
96753
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -97376,7 +97418,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
97376
97418
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
97377
97419
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
97378
97420
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
97379
- /* provided dependency */ var Appearance_$ = __webpack_require__(69);
97421
+ /* provided dependency */ var Appearance_$ = __webpack_require__(439);
97380
97422
  /*******************************************************************************
97381
97423
  *
97382
97424
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106300,8 +106342,8 @@ const GifMedia_default_ = GifMedia;
106300
106342
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
106301
106343
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
106302
106344
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
106303
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(69);
106304
- /* provided dependency */ var SuperGif = __webpack_require__(798);
106345
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(439);
106346
+ /* provided dependency */ var SuperGif = __webpack_require__(448);
106305
106347
  /*******************************************************************************
106306
106348
  *
106307
106349
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109633,7 +109675,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
109633
109675
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
109634
109676
  /* harmony default export */ const gettext = (gettext_default_);
109635
109677
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
109636
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(69);
109678
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(439);
109637
109679
  /*******************************************************************************
109638
109680
  *
109639
109681
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110205,8 +110247,69 @@ const TextureQuality_default_ = TextureQuality;
110205
110247
 
110206
110248
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
110207
110249
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
110250
+ ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/TextCompression.js
110251
+ /*******************************************************************************
110252
+ *
110253
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
110254
+ *
110255
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
110256
+ *
110257
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
110258
+ *
110259
+ * The copyright notice above does not evidence any actual of intended
110260
+ * publication of such source code, and is an unpublished work by create3000.
110261
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
110262
+ * create3000.
110263
+ *
110264
+ * No permission is granted to copy, distribute, or create derivative works from
110265
+ * the contents of this software, in whole or in part, without the prior written
110266
+ * permission of create3000.
110267
+ *
110268
+ * NON-MILITARY USE ONLY
110269
+ *
110270
+ * All create3000 software are effectively free software with a non-military use
110271
+ * restriction. It is free. Well commented source is provided. You may reuse the
110272
+ * source in any way you please with the exception anything that uses it must be
110273
+ * marked to indicate is contains 'non-military use only' components.
110274
+ *
110275
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
110276
+ *
110277
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
110278
+ *
110279
+ * This file is part of the X_ITE Project.
110280
+ *
110281
+ * X_ITE is free software: you can redistribute it and/or modify it under the
110282
+ * terms of the GNU General Public License version 3 only, as published by the
110283
+ * Free Software Foundation.
110284
+ *
110285
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
110286
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
110287
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
110288
+ * details (a copy is included in the LICENSE file that accompanied this code).
110289
+ *
110290
+ * You should have received a copy of the GNU General Public License version 3
110291
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
110292
+ * copy of the GPLv3 License.
110293
+ *
110294
+ * For Silvio, Joy and Adi.
110295
+ *
110296
+ ******************************************************************************/
110297
+
110298
+ let TextCompression_i = 0;
110299
+
110300
+ const TextCompression =
110301
+ {
110302
+ CHAR_SPACING: TextCompression_i ++,
110303
+ SCALING: TextCompression_i ++,
110304
+ };
110305
+
110306
+ const TextCompression_default_ = TextCompression;
110307
+ ;
110308
+
110309
+ x_ite_Namespace .add ("TextCompression", "x_ite/Browser/Core/TextCompression", TextCompression_default_);
110310
+ /* harmony default export */ const Core_TextCompression = (TextCompression_default_);
110208
110311
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
110209
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(69);
110312
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(439);
110210
110313
  /*******************************************************************************
110211
110314
  *
110212
110315
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110264,6 +110367,7 @@ x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", Tex
110264
110367
 
110265
110368
 
110266
110369
 
110370
+
110267
110371
  // https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#BrowserProperties
110268
110372
 
110269
110373
  function BrowserOptions (executionContext)
@@ -110334,6 +110438,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
110334
110438
  "Notifications",
110335
110439
  "OrderIndependentTransparency",
110336
110440
  "SplashScreen",
110441
+ "TextCompression",
110337
110442
  "ToneMapping",
110338
110443
  ]);
110339
110444
 
@@ -110403,6 +110508,16 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
110403
110508
  {
110404
110509
  return this .textureQuality;
110405
110510
  },
110511
+ getTextCompression ()
110512
+ {
110513
+ switch (this ._TextCompression .getValue ())
110514
+ {
110515
+ default: // CHAR_SPACING
110516
+ return Core_TextCompression .CHAR_SPACING;
110517
+ case "SCALING":
110518
+ return Core_TextCompression .SCALING;
110519
+ }
110520
+ },
110406
110521
  set_Rubberband__ (rubberband)
110407
110522
  {
110408
110523
  this .localStorage .Rubberband = rubberband .getValue ();
@@ -110614,6 +110729,7 @@ Object .defineProperties (BrowserOptions,
110614
110729
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "Notifications", new x_ite_Fields .SFBool (true)),
110615
110730
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "OrderIndependentTransparency", new x_ite_Fields .SFBool ()),
110616
110731
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "StraightenHorizon", new x_ite_Fields .SFBool (true)),
110732
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "TextCompression", new x_ite_Fields .SFString ("CHAR_SPACING")),
110617
110733
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "Timings", new x_ite_Fields .SFBool ()),
110618
110734
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "ToneMapping", new x_ite_Fields .SFString ("NONE")),
110619
110735
  ]),
@@ -110827,7 +110943,7 @@ const RenderingProperties_default_ = RenderingProperties;
110827
110943
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110828
110944
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110829
110945
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110830
- /* provided dependency */ var Notification_$ = __webpack_require__(69);
110946
+ /* provided dependency */ var Notification_$ = __webpack_require__(439);
110831
110947
  /*******************************************************************************
110832
110948
  *
110833
110949
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110950,8 +111066,8 @@ const Notification_default_ = Notification;
110950
111066
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110951
111067
  /* harmony default export */ const Core_Notification = (Notification_default_);
110952
111068
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
110953
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(77);
110954
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(69);
111069
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(531);
111070
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(439);
110955
111071
  /*******************************************************************************
110956
111072
  *
110957
111073
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111059,7 +111175,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111059
111175
  browser = this .getBrowser (),
111060
111176
  fullscreen = browser .getElement () .fullScreen ();
111061
111177
 
111062
- if (! browser .getBrowserOption ("ContextMenu"))
111178
+ if (!browser .getBrowserOption ("ContextMenu"))
111063
111179
  return;
111064
111180
 
111065
111181
  const menu = {
@@ -111355,19 +111471,19 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111355
111471
  delete menu .items ["available-viewers"];
111356
111472
  }
111357
111473
 
111358
- if (! browser .getCurrentViewer () .match (/^(?:EXAMINE|FLY)$/))
111474
+ if (!browser .getCurrentViewer () .match (/^(?:EXAMINE|FLY)$/))
111359
111475
  {
111360
111476
  delete menu .items ["straighten-horizon"];
111361
111477
  }
111362
111478
 
111363
- if (! browser .getBrowserOption ("Debug"))
111479
+ if (!browser .getBrowserOption ("Debug"))
111364
111480
  {
111365
111481
  delete menu .items ["shading"];
111366
111482
  }
111367
111483
 
111368
111484
  const worldInfo = browser .getExecutionContext () .getWorldInfos () [0];
111369
111485
 
111370
- if (! worldInfo || (worldInfo .title .length === 0 && worldInfo .info .length === 0))
111486
+ if (!worldInfo || (worldInfo .title .length === 0 && worldInfo .info .length === 0))
111371
111487
  {
111372
111488
  delete menu .items ["world-info"];
111373
111489
  }
@@ -111380,26 +111496,18 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111380
111496
  browser = this .getBrowser (),
111381
111497
  activeLayer = browser .getActiveLayer ();
111382
111498
 
111383
- if (! activeLayer)
111499
+ if (!activeLayer)
111384
111500
  return { };
111385
111501
 
111386
111502
  const
111387
- enableInlineViewpoints = browser .getBrowserOption ("EnableInlineViewpoints"),
111388
- currentScene = browser .currentScene,
111389
- viewpoints = activeLayer .getViewpoints () .get (),
111390
- currentViewpoint = activeLayer .getViewpoint (),
111391
- menu = { };
111503
+ viewpoints = activeLayer .getUserViewpoints (),
111504
+ currentViewpoint = activeLayer .getViewpoint (),
111505
+ menu = { };
111392
111506
 
111393
111507
  for (const viewpoint of viewpoints)
111394
111508
  {
111395
111509
  const description = viewpoint .getDescriptions () .join (" » ");
111396
111510
 
111397
- if (description === "")
111398
- continue;
111399
-
111400
- if (! enableInlineViewpoints && viewpoint .getScene () !== currentScene)
111401
- continue;
111402
-
111403
111511
  const item = {
111404
111512
  name: description,
111405
111513
  callback: () =>
@@ -111412,7 +111520,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111412
111520
  if (viewpoint === currentViewpoint)
111413
111521
  item .className = "context-menu-selected";
111414
111522
 
111415
- menu ["Viewpoint" + viewpoint .getId ()] = item;
111523
+ menu [`Viewpoint-${viewpoint .getId ()}`] = item;
111416
111524
  }
111417
111525
 
111418
111526
  return menu;
@@ -111478,7 +111586,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111478
111586
  menu = options .build (event),
111479
111587
  level = 1;
111480
111588
 
111481
- if (! menu) return;
111589
+ if (!menu) return;
111482
111590
 
111483
111591
  // Layer
111484
111592
 
@@ -111557,7 +111665,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
111557
111665
  t = ContextMenu_$(event .target) .closest ("li"),
111558
111666
  e = t .children ("ul");
111559
111667
 
111560
- if (! e .length)
111668
+ if (!e .length)
111561
111669
  return;
111562
111670
 
111563
111671
  e .css ("top", "");
@@ -113704,7 +113812,7 @@ const DataStorage_default_ = DataStorage;
113704
113812
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
113705
113813
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
113706
113814
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
113707
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(69);
113815
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(439);
113708
113816
  /*******************************************************************************
113709
113817
  *
113710
113818
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114101,6 +114209,12 @@ Object .assign (X3DCoreContext .prototype,
114101
114209
 
114102
114210
  break;
114103
114211
  }
114212
+ case "textCompression":
114213
+ case "textcompression":
114214
+ {
114215
+ this .setBrowserOption ("TextCompression", newValue);
114216
+ break;
114217
+ }
114104
114218
  case "timings":
114105
114219
  {
114106
114220
  this .setBrowserOption ("Timings", this .parseBooleanAttribute (newValue, false));
@@ -116284,8 +116398,8 @@ const X3DViewer_default_ = X3DViewer;
116284
116398
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
116285
116399
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
116286
116400
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
116287
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(981);
116288
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(69);
116401
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(583);
116402
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(439);
116289
116403
  /*******************************************************************************
116290
116404
  *
116291
116405
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117201,8 +117315,8 @@ const ExamineViewer_default_ = ExamineViewer;
117201
117315
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
117202
117316
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
117203
117317
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
117204
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(981);
117205
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(69);
117318
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(583);
117319
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(439);
117206
117320
  /*******************************************************************************
117207
117321
  *
117208
117322
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118217,8 +118331,8 @@ const FlyViewer_default_ = FlyViewer;
118217
118331
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
118218
118332
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
118219
118333
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
118220
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(981);
118221
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(69);
118334
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(583);
118335
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(439);
118222
118336
  /*******************************************************************************
118223
118337
  *
118224
118338
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118549,8 +118663,8 @@ const NoneViewer_default_ = NoneViewer;
118549
118663
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
118550
118664
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
118551
118665
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
118552
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(981);
118553
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(69);
118666
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(583);
118667
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(439);
118554
118668
  /*******************************************************************************
118555
118669
  *
118556
118670
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119689,8 +119803,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
119689
119803
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
119690
119804
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
119691
119805
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
119692
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(981);
119693
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(69);
119806
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(583);
119807
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(439);
119694
119808
  /*******************************************************************************
119695
119809
  *
119696
119810
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120991,7 +121105,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
120991
121105
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
120992
121106
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
120993
121107
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
120994
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(69);
121108
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(439);
120995
121109
  /*******************************************************************************
120996
121110
  *
120997
121111
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -121998,7 +122112,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
121998
122112
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
121999
122113
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
122000
122114
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
122001
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(69);
122115
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(439);
122002
122116
  const KTXDecoder_default_ = class KTXDecoder
122003
122117
  {
122004
122118
  constructor (gl, externalKtxlib, scriptDir)
@@ -123612,7 +123726,7 @@ const Components_default_ = Components;
123612
123726
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
123613
123727
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
123614
123728
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
123615
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(69);
123729
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(439);
123616
123730
  /*******************************************************************************
123617
123731
  * MIT License
123618
123732
  *
@@ -124880,7 +124994,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
124880
124994
  x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
124881
124995
  /* harmony default export */ const FieldTypes = (FieldTypes_default_);
124882
124996
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
124883
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(69);
124997
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(439);
124884
124998
  /*******************************************************************************
124885
124999
  *
124886
125000
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125702,88 +125816,50 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
125702
125816
 
125703
125817
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125704
125818
 
125705
- if (!layerNode)
125706
- return;
125707
-
125708
- layerNode .viewAll (transitionTime, 1, this .getBrowserOption ("StraightenHorizon"));
125819
+ layerNode ?.viewAll (transitionTime, 1, this .getBrowserOption ("StraightenHorizon"));
125709
125820
  },
125710
125821
  firstViewpoint (layerNode)
125711
125822
  {
125712
125823
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125713
125824
 
125714
- const viewpoints = layerNode .getUserViewpoints ();
125825
+ const viewpoints = layerNode ?.getUserViewpoints ();
125715
125826
 
125716
- if (viewpoints .length)
125717
- this .bindViewpoint (layerNode, viewpoints [0]);
125827
+ if (viewpoints ?.length)
125828
+ this .bindViewpoint (layerNode, viewpoints .at (0));
125718
125829
  },
125719
125830
  previousViewpoint (layerNode)
125720
125831
  {
125721
125832
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125722
125833
 
125723
- if (!layerNode)
125724
- return;
125725
-
125726
- const viewpoints = layerNode .getUserViewpoints ();
125834
+ const viewpoints = layerNode ?.getUserViewpoints ();
125727
125835
 
125728
- if (viewpoints .length === 0)
125836
+ if (!viewpoints ?.length)
125729
125837
  return;
125730
125838
 
125731
- for (var i = 0, length = viewpoints .length; i < length; ++ i)
125732
- {
125733
- if (viewpoints [i] ._isBound .getValue ())
125734
- break;
125735
- }
125736
-
125737
- if (i < viewpoints .length)
125738
- {
125739
- if (i === 0)
125740
- this .bindViewpoint (layerNode, viewpoints .at (-1));
125839
+ const i = viewpoints .findIndex (viewpointNode => viewpointNode ._isBound .getValue ());
125741
125840
 
125742
- else
125743
- this .bindViewpoint (layerNode, viewpoints [i - 1]);
125744
- }
125745
- else
125746
- this .bindViewpoint (layerNode, viewpoints .at (-1));
125841
+ this .bindViewpoint (layerNode, viewpoints .at (i > -1 ? i - 1 : -1));
125747
125842
  },
125748
125843
  nextViewpoint (layerNode)
125749
125844
  {
125750
125845
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125751
125846
 
125752
- if (!layerNode)
125753
- return;
125754
-
125755
- const viewpoints = layerNode .getUserViewpoints ();
125847
+ const viewpoints = layerNode ?.getUserViewpoints ();
125756
125848
 
125757
- if (viewpoints .length === 0)
125849
+ if (!viewpoints ?.length)
125758
125850
  return;
125759
125851
 
125760
- for (var i = 0, length = viewpoints .length; i < length; ++ i)
125761
- {
125762
- if (viewpoints [i] ._isBound .getValue ())
125763
- break;
125764
- }
125765
-
125766
- if (i < viewpoints .length)
125767
- {
125768
- if (i === viewpoints .length - 1)
125769
- this .bindViewpoint (layerNode, viewpoints [0]);
125852
+ const i = viewpoints .findIndex (viewpointNode => viewpointNode ._isBound .getValue ());
125770
125853
 
125771
- else
125772
- this .bindViewpoint (layerNode, viewpoints [i + 1]);
125773
- }
125774
- else
125775
- this .bindViewpoint (layerNode, viewpoints [0]);
125854
+ this .bindViewpoint (layerNode, viewpoints .at ((i + 1) % viewpoints .length));
125776
125855
  },
125777
125856
  lastViewpoint (layerNode)
125778
125857
  {
125779
125858
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125780
125859
 
125781
- if (!layerNode)
125782
- return;
125783
-
125784
- const viewpoints = layerNode .getUserViewpoints ();
125860
+ const viewpoints = layerNode ?.getUserViewpoints ();
125785
125861
 
125786
- if (viewpoints .length)
125862
+ if (viewpoints ?.length)
125787
125863
  this .bindViewpoint (layerNode, viewpoints .at (-1));
125788
125864
  },
125789
125865
  changeViewpoint (layerNode, name)
@@ -125796,17 +125872,11 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
125796
125872
 
125797
125873
  layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
125798
125874
 
125799
- if (!layerNode)
125800
- return;
125801
-
125802
- for (const viewpointNode of layerNode .getViewpoints () .get ())
125803
- {
125804
- if (viewpointNode .getName () !== name)
125805
- continue;
125875
+ const viewpointNode = layerNode ?.getViewpoints () .get ()
125876
+ .find (viewpointNode => viewpointNode .getName () === name);
125806
125877
 
125878
+ if (viewpointNode)
125807
125879
  this .bindViewpoint (layerNode, viewpointNode);
125808
- break;
125809
- }
125810
125880
  },
125811
125881
  bindViewpoint (layerNode, viewpointNode)
125812
125882
  {
@@ -125982,7 +126052,7 @@ const X3DBrowser_default_ = X3DBrowser;
125982
126052
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
125983
126053
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
125984
126054
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
125985
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(69);
126055
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(439);
125986
126056
  /*******************************************************************************
125987
126057
  *
125988
126058
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -126089,6 +126159,8 @@ class X3DCanvasElement extends HTMLElement
126089
126159
  "splashScreen",
126090
126160
  "splashscreen",
126091
126161
  "src",
126162
+ "textCompression",
126163
+ "textcompression",
126092
126164
  "timings",
126093
126165
  "toneMapping",
126094
126166
  "tonemapping",
@@ -126132,8 +126204,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
126132
126204
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
126133
126205
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
126134
126206
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
126135
- /* provided dependency */ var jquery_$ = __webpack_require__(69);
126136
- /* provided dependency */ var pako = __webpack_require__(841);
126207
+ /* provided dependency */ var jquery_$ = __webpack_require__(439);
126208
+ /* provided dependency */ var pako = __webpack_require__(964);
126137
126209
  Object .assign (jquery_$,
126138
126210
  {
126139
126211
  decodeText (input)
@@ -126210,14 +126282,14 @@ const jquery_default_ = jquery_$;
126210
126282
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
126211
126283
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
126212
126284
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
126213
- /* provided dependency */ var libtess_libtess = __webpack_require__(350);
126285
+ /* provided dependency */ var libtess_libtess = __webpack_require__(12);
126214
126286
  const libtess_default_ = libtess_libtess;
126215
126287
  ;
126216
126288
 
126217
126289
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
126218
126290
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
126219
126291
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
126220
- /* provided dependency */ var X3D_$ = __webpack_require__(69);
126292
+ /* provided dependency */ var X3D_$ = __webpack_require__(439);
126221
126293
  /*******************************************************************************
126222
126294
  *
126223
126295
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -126525,7 +126597,7 @@ Object .assign (X3D,
126525
126597
 
126526
126598
  // Assign X3D to global namespace.
126527
126599
 
126528
- window [Symbol .for ("X_ITE.X3D-10.0.5")] = x_ite_X3D;
126600
+ window [Symbol .for ("X_ITE.X3D-10.1.0")] = x_ite_X3D;
126529
126601
 
126530
126602
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
126531
126603