x_ite 9.1.6 → 9.1.7

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 (47) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +14 -14
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +25 -25
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +22 -33
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -33
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +23 -23
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +28 -28
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +23 -23
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +23 -23
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +18 -18
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +38 -38
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +24 -24
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjection.js +15 -15
  34. package/dist/assets/components/TextureProjection.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +32 -32
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +19 -19
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +15 -9
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +655 -325
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.min.mjs +1 -1
  45. package/dist/x_ite.mjs +655 -325
  46. package/dist/x_ite.zip +0 -0
  47. package/package.json +6 -3
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.1.6 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.1.7 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 965:
3
+ /***/ 986:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(328);
6
+ /* provided dependency */ var jQuery = __webpack_require__(146);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 62:
202
+ /***/ 165:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(328)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(146)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 328:
427
+ /***/ 146:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 981:
11151
+ /***/ 509:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 583:
15930
+ /***/ 250:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 296:
19175
+ /***/ 274:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.1.6")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.1.7")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -34239,7 +34239,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34239
34239
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34240
34240
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34241
34241
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34242
- /* provided dependency */ var $ = __webpack_require__(328);
34242
+ /* provided dependency */ var $ = __webpack_require__(146);
34243
34243
  /*******************************************************************************
34244
34244
  *
34245
34245
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34376,7 +34376,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34376
34376
  *
34377
34377
  ******************************************************************************/
34378
34378
 
34379
- const BROWSER_VERSION_default_ = "9.1.6";
34379
+ const BROWSER_VERSION_default_ = "9.1.7";
34380
34380
  ;
34381
34381
 
34382
34382
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -37207,12 +37207,12 @@ function X3DImportedNode (executionContext, inlineNode, exportedName, importedNa
37207
37207
  {
37208
37208
  Core_X3DNode .call (this, executionContext);
37209
37209
 
37210
- this [_inlineNode] = inlineNode;
37210
+ this [_inlineNode] = Fields_SFNodeCache .get (inlineNode);
37211
37211
  this [_exportedName] = exportedName;
37212
37212
  this [_importedName] = importedName;
37213
37213
  this [_routes] = new Set ();
37214
37214
 
37215
- this [_inlineNode] ._loadState .addInterest ("set_loadState__", this);
37215
+ this .getInlineNode () ._loadState .addInterest ("set_loadState__", this);
37216
37216
  }
37217
37217
 
37218
37218
  // Must be of type X3DNode, to get routes work.
@@ -37220,7 +37220,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37220
37220
  {
37221
37221
  getInlineNode ()
37222
37222
  {
37223
- return this [_inlineNode];
37223
+ return this [_inlineNode] .getValue ();
37224
37224
  },
37225
37225
  getExportedName ()
37226
37226
  {
@@ -37228,7 +37228,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37228
37228
  },
37229
37229
  getExportedNode ()
37230
37230
  {
37231
- return this [_inlineNode] .getInternalScene () .getExportedNode (this [_exportedName]) .getValue ();
37231
+ return this .getInlineNode () .getInternalScene () .getExportedNode (this [_exportedName]) .getValue ();
37232
37232
  },
37233
37233
  getImportedName ()
37234
37234
  {
@@ -37262,7 +37262,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37262
37262
 
37263
37263
  // Try to resolve source or destination node routes.
37264
37264
 
37265
- if (this [_inlineNode] .checkLoadState () === Base_X3DConstants .COMPLETE_STATE)
37265
+ if (this .getInlineNode () .checkLoadState () === Base_X3DConstants .COMPLETE_STATE)
37266
37266
  this .resolveRoute (route);
37267
37267
  },
37268
37268
  resolveRoute (route)
@@ -37316,7 +37316,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37316
37316
  },
37317
37317
  set_loadState__ ()
37318
37318
  {
37319
- switch (this [_inlineNode] .checkLoadState ())
37319
+ switch (this .getInlineNode () .checkLoadState ())
37320
37320
  {
37321
37321
  case Base_X3DConstants .NOT_STARTED_STATE:
37322
37322
  case Base_X3DConstants .FAILED_STATE:
@@ -37664,7 +37664,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37664
37664
  },
37665
37665
  dispose ()
37666
37666
  {
37667
- this [_inlineNode] ._loadState .removeInterest ("set_loadState__", this);
37667
+ this .getInlineNode () ._loadState .removeInterest ("set_loadState__", this);
37668
37668
 
37669
37669
  this .deleteRoutes ();
37670
37670
 
@@ -37681,7 +37681,7 @@ Object .defineProperties (X3DImportedNode .prototype,
37681
37681
  {
37682
37682
  get ()
37683
37683
  {
37684
- return Fields_SFNodeCache .get (this [_inlineNode]);
37684
+ return this [_inlineNode];
37685
37685
  },
37686
37686
  enumerable: true,
37687
37687
  },
@@ -37697,7 +37697,7 @@ Object .defineProperties (X3DImportedNode .prototype,
37697
37697
  {
37698
37698
  get ()
37699
37699
  {
37700
- return this [_inlineNode] .getInternalScene () .getExportedNode (this [_exportedName]);
37700
+ return this .getInlineNode () .getInternalScene () .getExportedNode (this [_exportedName]);
37701
37701
  },
37702
37702
  enumerable: true,
37703
37703
  },
@@ -38227,7 +38227,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38227
38227
  x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38228
38228
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38229
38229
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38230
- /* provided dependency */ var X3DParser_$ = __webpack_require__(328);
38230
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(146);
38231
38231
  /*******************************************************************************
38232
38232
  *
38233
38233
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39052,7 +39052,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39052
39052
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39053
39053
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39054
39054
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39055
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(328);
39055
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(146);
39056
39056
  /*******************************************************************************
39057
39057
  *
39058
39058
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41605,7 +41605,7 @@ const VRMLParser_default_ = VRMLParser;
41605
41605
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41606
41606
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41607
41607
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41608
- /* provided dependency */ var XMLParser_$ = __webpack_require__(328);
41608
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(146);
41609
41609
  /*******************************************************************************
41610
41610
  *
41611
41611
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43698,7 +43698,7 @@ const URLs_default_ = URLs;
43698
43698
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43699
43699
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43700
43700
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43701
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(328);
43701
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(146);
43702
43702
  /*******************************************************************************
43703
43703
  *
43704
43704
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -46999,7 +46999,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
46999
46999
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47000
47000
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47001
47001
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47002
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(328);
47002
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(146);
47003
47003
  /*******************************************************************************
47004
47004
  *
47005
47005
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47151,7 +47151,7 @@ const GLB2Parser_default_ = GLB2Parser;
47151
47151
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47152
47152
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47153
47153
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47154
- /* provided dependency */ var OBJParser_$ = __webpack_require__(328);
47154
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(146);
47155
47155
  /*******************************************************************************
47156
47156
  *
47157
47157
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50506,8 +50506,8 @@ const MatrixStack_default_ = MatrixStack;
50506
50506
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50507
50507
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50508
50508
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50509
- /* provided dependency */ var SVGParser_$ = __webpack_require__(328);
50510
- /* provided dependency */ var libtess = __webpack_require__(981);
50509
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(146);
50510
+ /* provided dependency */ var libtess = __webpack_require__(509);
50511
50511
  /*******************************************************************************
50512
50512
  *
50513
50513
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53275,7 +53275,7 @@ const SVGParser_default_ = SVGParser;
53275
53275
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53276
53276
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53277
53277
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53278
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(328);
53278
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(146);
53279
53279
  /*******************************************************************************
53280
53280
  *
53281
53281
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53612,7 +53612,7 @@ const Plane3_default_ = Plane3;
53612
53612
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53613
53613
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53614
53614
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53615
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(981);
53615
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(509);
53616
53616
  /*******************************************************************************
53617
53617
  *
53618
53618
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -61119,7 +61119,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
61119
61119
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
61120
61120
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
61121
61121
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
61122
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(328);
61122
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(146);
61123
61123
  /*******************************************************************************
61124
61124
  *
61125
61125
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65706,7 +65706,7 @@ const X3DWorld_default_ = X3DWorld;
65706
65706
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
65707
65707
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65708
65708
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65709
- /* provided dependency */ var FileLoader_$ = __webpack_require__(328);
65709
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(146);
65710
65710
  /*******************************************************************************
65711
65711
  *
65712
65712
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66700,9 +66700,9 @@ function X3DRoute (executionContext, sourceNode, sourceField, destinationNode, d
66700
66700
  Base_X3DObject .call (this, executionContext);
66701
66701
 
66702
66702
  this [X3DRoute_executionContext] = executionContext;
66703
- this [_sourceNode] = sourceNode;
66703
+ this [_sourceNode] = Fields_SFNodeCache .get (sourceNode);
66704
66704
  this [_sourceField] = sourceField;
66705
- this [_destinationNode] = destinationNode;
66705
+ this [_destinationNode] = Fields_SFNodeCache .get (destinationNode);
66706
66706
  this [_destinationField] = destinationField;
66707
66707
 
66708
66708
  // Must connect in every context, to make X3DBaseNode.hasRoutes work.
@@ -66726,7 +66726,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66726
66726
  getSourceNode ()
66727
66727
  {
66728
66728
  /// SAI
66729
- return this [_sourceNode];
66729
+ return this [_sourceNode] .getValue ();
66730
66730
  },
66731
66731
  getSourceField ()
66732
66732
  {
@@ -66736,7 +66736,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66736
66736
  getDestinationNode ()
66737
66737
  {
66738
66738
  /// SAI
66739
- return this [_destinationNode];
66739
+ return this [_destinationNode] .getValue ();
66740
66740
  },
66741
66741
  getDestinationField ()
66742
66742
  {
@@ -66753,8 +66753,8 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66753
66753
  toVRMLStream (generator)
66754
66754
  {
66755
66755
  const
66756
- sourceNodeName = generator .LocalName (this [_sourceNode]),
66757
- destinationNodeName = generator .LocalName (this [_destinationNode]);
66756
+ sourceNodeName = generator .LocalName (this .getSourceNode ()),
66757
+ destinationNodeName = generator .LocalName (this .getDestinationNode ());
66758
66758
 
66759
66759
  generator .string += generator .Indent ();
66760
66760
  generator .string += "ROUTE";
@@ -66780,8 +66780,8 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66780
66780
  toXMLStream (generator)
66781
66781
  {
66782
66782
  const
66783
- sourceNodeName = generator .LocalName (this [_sourceNode]),
66784
- destinationNodeName = generator .LocalName (this [_destinationNode]);
66783
+ sourceNodeName = generator .LocalName (this .getSourceNode ()),
66784
+ destinationNodeName = generator .LocalName (this .getDestinationNode ());
66785
66785
 
66786
66786
  generator .string += generator .Indent ();
66787
66787
  generator .string += "<ROUTE";
@@ -66814,8 +66814,8 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66814
66814
  toJSONStream (generator)
66815
66815
  {
66816
66816
  const
66817
- sourceNodeName = generator .LocalName (this [_sourceNode]),
66818
- destinationNodeName = generator .LocalName (this [_destinationNode]);
66817
+ sourceNodeName = generator .LocalName (this .getSourceNode ()),
66818
+ destinationNodeName = generator .LocalName (this .getDestinationNode ());
66819
66819
 
66820
66820
  generator .string += generator .Indent ();
66821
66821
  generator .string += '{';
@@ -66905,7 +66905,7 @@ Object .defineProperties (X3DRoute .prototype,
66905
66905
  {
66906
66906
  get ()
66907
66907
  {
66908
- return Fields_SFNodeCache .get (this [_sourceNode]);
66908
+ return this [_sourceNode];
66909
66909
  },
66910
66910
  enumerable: true,
66911
66911
  },
@@ -66921,7 +66921,7 @@ Object .defineProperties (X3DRoute .prototype,
66921
66921
  {
66922
66922
  get ()
66923
66923
  {
66924
- return Fields_SFNodeCache .get (this [_destinationNode]);
66924
+ return this [_destinationNode];
66925
66925
  },
66926
66926
  enumerable: true,
66927
66927
  },
@@ -67412,7 +67412,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67412
67412
  const importedNode = this [_importedNodes] .get (importedName);
67413
67413
 
67414
67414
  if (importedNode)
67415
- return Fields_SFNodeCache .get (importedNode .getExportedNode ());
67415
+ return importedNode .exportedNode;
67416
67416
 
67417
67417
  throw new Error (`Imported node '${importedName}' not found.`);
67418
67418
  },
@@ -73727,7 +73727,6 @@ x_ite_Namespace .add ("Box", "x_ite/Components/Geometry3D/Box", Box_default_);
73727
73727
 
73728
73728
 
73729
73729
 
73730
-
73731
73730
  function Cone (executionContext)
73732
73731
  {
73733
73732
  Rendering_X3DGeometryNode .call (this, executionContext);
@@ -73753,105 +73752,63 @@ Object .assign (Object .setPrototypeOf (Cone .prototype, Rendering_X3DGeometryNo
73753
73752
  {
73754
73753
  const
73755
73754
  options = this .getBrowser () .getConeOptions (),
73756
- xDimension = options ._xDimension .getValue (),
73757
- height = this ._height .getValue (),
73758
- bottomRadius = this ._bottomRadius .getValue (),
73755
+ height = Math .abs (this ._height .getValue ()),
73756
+ height1_2 = height / 2,
73757
+ bottomRadius = Math .abs (this ._bottomRadius .getValue ()),
73759
73758
  texCoordArray = this .getTexCoords (),
73760
73759
  normalArray = this .getNormals (),
73761
73760
  vertexArray = this .getVertices ();
73762
73761
 
73763
73762
  this .getMultiTexCoords () .push (texCoordArray);
73764
73763
 
73765
- const
73766
- y1 = height / 2,
73767
- y2 = -y1,
73768
- nz = Numbers_Complex .Polar (1, -Math .PI / 2 + Math .atan (bottomRadius / height));
73769
-
73770
73764
  if (this ._side .getValue ())
73771
73765
  {
73772
- for (let i = 0; i < xDimension; ++ i)
73773
- {
73774
- const
73775
- u1 = (i + 0.5) / xDimension,
73776
- theta1 = 2 * Math .PI * u1,
73777
- n1 = Numbers_Complex .Polar (nz .imag, theta1);
73778
-
73779
- const
73780
- u2 = i / xDimension,
73781
- theta2 = 2 * Math .PI * u2,
73782
- p2 = Numbers_Complex .Polar (-bottomRadius, theta2),
73783
- n2 = Numbers_Complex .Polar (nz .imag, theta2);
73784
-
73785
- const
73786
- u3 = (i + 1) / xDimension,
73787
- theta3 = 2 * Math .PI * u3,
73788
- p3 = Numbers_Complex .Polar (-bottomRadius, theta3),
73789
- n3 = Numbers_Complex .Polar (nz .imag, theta3);
73766
+ const
73767
+ geometry = options .getSideGeometry (),
73768
+ defaultNormals = geometry .getNormals (),
73769
+ defaultVertices = geometry .getVertices (),
73770
+ v1 = new Numbers_Vector3 (0, 0, 0),
73771
+ rz = new Numbers_Rotation4 (1, 0, 0, -Math .atan (bottomRadius / height)),
73772
+ rx = new Numbers_Rotation4 ();
73790
73773
 
73791
- /* p1
73792
- * / \
73793
- * / \
73794
- * p2 -- p3
73795
- */
73774
+ for (const t of geometry .getMultiTexCoords () [0])
73775
+ texCoordArray .push (t);
73796
73776
 
73797
- // p1
73798
- texCoordArray .push (u1, 1, 0, 1);
73799
- normalArray .push (n1 .imag, nz .real, n1 .real);
73800
- vertexArray .push (0, y1, 0, 1);
73777
+ for (let i = 0, length = defaultNormals .length; i < length; i += 3)
73778
+ {
73779
+ v1 .set (defaultNormals [i], 0, defaultNormals [i + 2]),
73780
+ rx .setFromToVec (Numbers_Vector3 .zAxis, v1) .multLeft (rz) .multVecRot (v1 .set (0, 0, 1));
73801
73781
 
73802
- // p2
73803
- texCoordArray .push (u2, 0, 0, 1);
73804
- normalArray .push (n2 .imag, nz .real, n2 .real);
73805
- vertexArray .push (p2 .imag, y2, p2 .real, 1);
73782
+ normalArray .push (... v1);
73783
+ }
73806
73784
 
73807
- // p3
73808
- texCoordArray .push (u3, 0, 0, 1);
73809
- normalArray .push (n3 .imag , nz .real, n3 .real);
73810
- vertexArray .push (p3 .imag, y2, p3 .real, 1);
73785
+ for (let i = 0, length = defaultVertices .length; i < length; i += 4)
73786
+ {
73787
+ vertexArray .push (bottomRadius * defaultVertices [i],
73788
+ height1_2 * defaultVertices [i + 1],
73789
+ bottomRadius * defaultVertices [i + 2],
73790
+ 1);
73811
73791
  }
73812
73792
  }
73813
73793
 
73814
73794
  if (this ._bottom .getValue ())
73815
73795
  {
73816
73796
  const
73817
- texCoord = [ ],
73818
- points = [ ];
73797
+ geometry = options .getBottomGeometry (),
73798
+ defaultVertices = geometry .getVertices ();
73819
73799
 
73820
- for (let i = xDimension - 1; i > -1; -- i)
73821
- {
73822
- const
73823
- u = i / xDimension,
73824
- theta = 2 * Math .PI * u,
73825
- t = Numbers_Complex .Polar (-1, theta),
73826
- p = t .copy () .multiply (bottomRadius);
73800
+ for (const t of geometry .getMultiTexCoords () [0])
73801
+ texCoordArray .push (t);
73827
73802
 
73828
- texCoord .push (new Numbers_Vector2 ((t .imag + 1) / 2, (t .real + 1) / 2));
73829
- points .push (new Numbers_Vector3 (p .imag, y2, p .real));
73830
- }
73831
-
73832
- const
73833
- t0 = texCoord [0],
73834
- p0 = points [0];
73803
+ for (const n of geometry .getNormals ())
73804
+ normalArray .push (n);
73835
73805
 
73836
- for (let i = 1, length = points .length - 1; i < length; ++ i)
73806
+ for (let i = 0, length = defaultVertices .length; i < length; i += 4)
73837
73807
  {
73838
- const
73839
- t1 = texCoord [i],
73840
- t2 = texCoord [i + 1],
73841
- p1 = points [i],
73842
- p2 = points [i + 1];
73843
-
73844
- texCoordArray .push (t0 .x, t0 .y, 0, 1);
73845
- normalArray .push (0, -1, 0);
73846
- vertexArray .push (p0 .x, p0 .y, p0 .z, 1);
73847
-
73848
- texCoordArray .push (t1 .x, t1 .y, 0, 1);
73849
- normalArray .push (0, -1, 0);
73850
- vertexArray .push (p1 .x, p1 .y, p1 .z, 1);
73851
-
73852
- texCoordArray .push (t2 .x, t2 .y, 0, 1);
73853
- normalArray .push (0, -1, 0);
73854
- vertexArray .push (p2 .x, p2 .y, p2 .z, 1);
73808
+ vertexArray .push (bottomRadius * defaultVertices [i],
73809
+ height1_2 * defaultVertices [i + 1],
73810
+ bottomRadius * defaultVertices [i + 2],
73811
+ 1);
73855
73812
  }
73856
73813
  }
73857
73814
 
@@ -73870,7 +73827,7 @@ Object .assign (Object .setPrototypeOf (Cone .prototype, Rendering_X3DGeometryNo
73870
73827
  this .getMin () .set (0, 0, 0);
73871
73828
  this .getMax () .set (0, 0, 0);
73872
73829
  }
73873
- else if (! this ._side .getValue ())
73830
+ else if (!this ._side .getValue ())
73874
73831
  {
73875
73832
  this .getMin () .set (-bottomRadius, y2, -bottomRadius);
73876
73833
  this .getMax () .set ( bottomRadius, y2, bottomRadius);
@@ -74006,157 +73963,74 @@ Object .assign (Object .setPrototypeOf (Cylinder .prototype, Rendering_X3DGeomet
74006
73963
  {
74007
73964
  const
74008
73965
  options = this .getBrowser () .getCylinderOptions (),
74009
- xDimension = options ._xDimension .getValue (),
73966
+ height1_2 = Math .abs (this ._height .getValue ()) / 2,
73967
+ radius = Math .abs (this ._radius .getValue ()),
74010
73968
  texCoordArray = this .getTexCoords (),
74011
73969
  normalArray = this .getNormals (),
74012
73970
  vertexArray = this .getVertices ();
74013
73971
 
74014
73972
  this .getMultiTexCoords () .push (texCoordArray);
74015
73973
 
74016
- const
74017
- radius = this ._radius .getValue (),
74018
- y1 = this ._height .getValue () / 2,
74019
- y2 = -y1;
74020
-
74021
73974
  if (this ._side .getValue ())
74022
73975
  {
74023
- for (let i = 0; i < xDimension; ++ i)
74024
- {
74025
- const
74026
- u1 = i / xDimension,
74027
- theta1 = 2 * Math .PI * u1,
74028
- n1 = Numbers_Complex .Polar (-1, theta1),
74029
- p1 = n1 .copy () .multiply (radius);
74030
-
74031
- const
74032
- u2 = (i + 1) / xDimension,
74033
- theta2 = 2 * Math .PI * u2,
74034
- n2 = Numbers_Complex .Polar (-1, theta2),
74035
- p2 = n2 .copy () .multiply (radius);
74036
-
74037
- // p1 - p4
74038
- // | \ |
74039
- // p2 - p3
74040
-
74041
- // Triangle one
74042
-
74043
- // p1
74044
- texCoordArray .push (u1, 1, 0, 1);
74045
- normalArray .push (n1 .imag, 0, n1 .real);
74046
- vertexArray .push (p1 .imag, y1, p1 .real, 1);
74047
-
74048
- // p2
74049
- texCoordArray .push (u1, 0, 0, 1);
74050
- normalArray .push (n1 .imag, 0, n1 .real);
74051
- vertexArray .push (p1 .imag, y2, p1 .real, 1);
74052
-
74053
- // p3
74054
- texCoordArray .push (u2, 0, 0, 1);
74055
- normalArray .push (n2 .imag, 0, n2 .real);
74056
- vertexArray .push (p2 .imag, y2, p2 .real, 1);
74057
-
74058
- // Triangle two
73976
+ const
73977
+ geometry = options .getSideGeometry (),
73978
+ defaultVertices = geometry .getVertices ();
74059
73979
 
74060
- // p1
74061
- texCoordArray .push (u1, 1, 0, 1);
74062
- normalArray .push (n1 .imag, 0, n1 .real);
74063
- vertexArray .push (p1 .imag, y1, p1 .real, 1);
73980
+ for (const t of geometry .getMultiTexCoords () [0])
73981
+ texCoordArray .push (t);
74064
73982
 
74065
- // p3
74066
- texCoordArray .push (u2, 0, 0, 1);
74067
- normalArray .push (n2 .imag, 0, n2 .real);
74068
- vertexArray .push (p2 .imag, y2, p2 .real, 1);
73983
+ for (const n of geometry .getNormals ())
73984
+ normalArray .push (n);
74069
73985
 
74070
- // p4
74071
- texCoordArray .push (u2, 1, 0, 1);
74072
- normalArray .push (n2 .imag, 0, n2 .real);
74073
- vertexArray .push (p2 .imag, y1, p2 .real, 1);
73986
+ for (let i = 0, length = defaultVertices .length; i < length; i += 4)
73987
+ {
73988
+ vertexArray .push (radius * defaultVertices [i],
73989
+ height1_2 * defaultVertices [i + 1],
73990
+ radius * defaultVertices [i + 2],
73991
+ 1);
74074
73992
  }
74075
73993
  }
74076
73994
 
74077
73995
  if (this ._top .getValue ())
74078
73996
  {
74079
73997
  const
74080
- texCoord = [ ],
74081
- points = [ ];
73998
+ geometry = options .getTopGeometry (),
73999
+ defaultVertices = geometry .getVertices ();
74082
74000
 
74083
- for (let i = 0; i < xDimension; ++ i)
74084
- {
74085
- const
74086
- u = i / xDimension,
74087
- theta = 2 * Math .PI * u,
74088
- t = Numbers_Complex .Polar (-1, theta);
74001
+ for (const t of geometry .getMultiTexCoords () [0])
74002
+ texCoordArray .push (t);
74089
74003
 
74090
- texCoord .push (new Numbers_Vector2 ((t .imag + 1) / 2, -(t .real - 1) / 2));
74091
- points .push (new Numbers_Vector3 (t .imag * radius, y1, t .real * radius));
74092
- }
74093
-
74094
- const
74095
- t0 = texCoord [0],
74096
- p0 = points [0];
74004
+ for (const n of geometry .getNormals ())
74005
+ normalArray .push (n);
74097
74006
 
74098
- for (let i = 1, length = points .length - 1; i < length; ++ i)
74007
+ for (let i = 0, length = defaultVertices .length; i < length; i += 4)
74099
74008
  {
74100
- const
74101
- t1 = texCoord [i],
74102
- t2 = texCoord [i + 1],
74103
- p1 = points [i],
74104
- p2 = points [i + 1];
74105
-
74106
- texCoordArray .push (t0 .x, t0 .y, 0, 1);
74107
- normalArray .push (0, 1, 0);
74108
- vertexArray .push (p0 .x, p0 .y, p0 .z, 1);
74109
-
74110
- texCoordArray .push (t1 .x, t1 .y, 0, 1);
74111
- normalArray .push (0, 1, 0);
74112
- vertexArray .push (p1 .x, p1 .y, p1 .z, 1);
74113
-
74114
- texCoordArray .push (t2 .x, t2 .y, 0, 1);
74115
- normalArray .push (0, 1, 0);
74116
- vertexArray .push (p2 .x, p2 .y, p2 .z, 1);
74009
+ vertexArray .push (radius * defaultVertices [i],
74010
+ height1_2 * defaultVertices [i + 1],
74011
+ radius * defaultVertices [i + 2],
74012
+ 1);
74117
74013
  }
74118
74014
  }
74119
74015
 
74120
74016
  if (this ._bottom .getValue ())
74121
74017
  {
74122
74018
  const
74123
- texCoord = [ ],
74124
- points = [ ];
74019
+ geometry = options .getBottomGeometry (),
74020
+ defaultVertices = geometry .getVertices ();
74125
74021
 
74126
- for (let i = xDimension - 1; i > -1; -- i)
74127
- {
74128
- const
74129
- u = i / xDimension,
74130
- theta = 2 * Math .PI * u,
74131
- t = Numbers_Complex .Polar (-1, theta);
74132
-
74133
- texCoord .push (new Numbers_Vector2 ((t .imag + 1) / 2, (t .real + 1) / 2));
74134
- points .push (new Numbers_Vector3 (t .imag * radius, y2, t .real * radius));
74135
- }
74022
+ for (const t of geometry .getMultiTexCoords () [0])
74023
+ texCoordArray .push (t);
74136
74024
 
74137
- const
74138
- t0 = texCoord [0],
74139
- p0 = points [0];
74025
+ for (const n of geometry .getNormals ())
74026
+ normalArray .push (n);
74140
74027
 
74141
- for (let i = 1, length = points .length - 1; i < length; ++ i)
74028
+ for (let i = 0, length = defaultVertices .length; i < length; i += 4)
74142
74029
  {
74143
- const
74144
- t1 = texCoord [i],
74145
- t2 = texCoord [i + 1],
74146
- p1 = points [i],
74147
- p2 = points [i + 1];
74148
-
74149
- texCoordArray .push (t0 .x, t0 .y, 0, 1);
74150
- normalArray .push (0, -1, 0);
74151
- vertexArray .push (p0 .x, p0 .y, p0 .z, 1);
74152
-
74153
- texCoordArray .push (t1 .x, t1 .y, 0, 1);
74154
- normalArray .push (0, -1, 0);
74155
- vertexArray .push (p1 .x, p1 .y, p1 .z, 1);
74156
-
74157
- texCoordArray .push (t2 .x, t2 .y, 0, 1);
74158
- normalArray .push (0, -1, 0);
74159
- vertexArray .push (p2 .x, p2 .y, p2 .z, 1);
74030
+ vertexArray .push (radius * defaultVertices [i],
74031
+ height1_2 * defaultVertices [i + 1],
74032
+ radius * defaultVertices [i + 2],
74033
+ 1);
74160
74034
  }
74161
74035
  }
74162
74036
 
@@ -74170,19 +74044,19 @@ Object .assign (Object .setPrototypeOf (Cylinder .prototype, Rendering_X3DGeomet
74170
74044
  y1 = this ._height .getValue () / 2,
74171
74045
  y2 = -y1;
74172
74046
 
74173
- if (! this ._top .getValue () && ! this ._side .getValue () && ! this ._bottom .getValue ())
74047
+ if (!this ._top .getValue () && !this ._side .getValue () && !this ._bottom .getValue ())
74174
74048
  {
74175
74049
  this .getMin () .set (0, 0, 0);
74176
74050
  this .getMax () .set (0, 0, 0);
74177
74051
  }
74178
74052
 
74179
- else if (! this ._top .getValue () && ! this ._side .getValue ())
74053
+ else if (!this ._top .getValue () && !this ._side .getValue ())
74180
74054
  {
74181
74055
  this .getMin () .set (-radius, y2, -radius);
74182
74056
  this .getMax () .set ( radius, y2, radius);
74183
74057
  }
74184
74058
 
74185
- else if (! this ._bottom .getValue () && ! this ._side .getValue ())
74059
+ else if (!this ._bottom .getValue () && !this ._side .getValue ())
74186
74060
  {
74187
74061
  this .getMin () .set (-radius, y1, -radius);
74188
74062
  this .getMax () .set ( radius, y1, radius);
@@ -89522,7 +89396,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
89522
89396
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
89523
89397
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
89524
89398
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
89525
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(328);
89399
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(146);
89526
89400
  /*******************************************************************************
89527
89401
  *
89528
89402
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95163,7 +95037,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95163
95037
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95164
95038
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95165
95039
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95166
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(328);
95040
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(146);
95167
95041
  /*******************************************************************************
95168
95042
  *
95169
95043
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95820,7 +95694,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
95820
95694
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
95821
95695
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
95822
95696
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
95823
- /* provided dependency */ var Appearance_$ = __webpack_require__(328);
95697
+ /* provided dependency */ var Appearance_$ = __webpack_require__(146);
95824
95698
  /*******************************************************************************
95825
95699
  *
95826
95700
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99238,7 +99112,7 @@ const Components_Shape_default_ = {
99238
99112
  x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
99239
99113
  /* harmony default export */ const Components_Shape = (Components_Shape_default_);
99240
99114
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
99241
- /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(328);
99115
+ /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(146);
99242
99116
  /*******************************************************************************
99243
99117
  *
99244
99118
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99878,7 +99752,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
99878
99752
  x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
99879
99753
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
99880
99754
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
99881
- /* provided dependency */ var AudioClip_$ = __webpack_require__(328);
99755
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(146);
99882
99756
  /*******************************************************************************
99883
99757
  *
99884
99758
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100180,7 +100054,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
100180
100054
  x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
100181
100055
  /* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
100182
100056
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
100183
- /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(328);
100057
+ /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(146);
100184
100058
  /*******************************************************************************
100185
100059
  *
100186
100060
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101830,7 +101704,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
101830
101704
  x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
101831
101705
  /* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
101832
101706
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
101833
- /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(328);
101707
+ /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(146);
101834
101708
  /*******************************************************************************
101835
101709
  *
101836
101710
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -103499,8 +103373,8 @@ const GifMedia_default_ = GifMedia;
103499
103373
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
103500
103374
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
103501
103375
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
103502
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(328);
103503
- /* provided dependency */ var SuperGif = __webpack_require__(296);
103376
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(146);
103377
+ /* provided dependency */ var SuperGif = __webpack_require__(274);
103504
103378
  /*******************************************************************************
103505
103379
  *
103506
103380
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105025,8 +104899,6 @@ function X3DSingleTextureCoordinateNode (executionContext)
105025
104899
  Texturing_X3DTextureCoordinateNode .call (this, executionContext);
105026
104900
 
105027
104901
  this .addType (Base_X3DConstants .X3DSingleTextureCoordinateNode);
105028
-
105029
- this .texCoordArray = Rendering_X3DGeometryNode .createArray ();
105030
104902
  }
105031
104903
 
105032
104904
  Object .assign (Object .setPrototypeOf (X3DSingleTextureCoordinateNode .prototype, Texturing_X3DTextureCoordinateNode .prototype),
@@ -105037,9 +104909,8 @@ Object .assign (Object .setPrototypeOf (X3DSingleTextureCoordinateNode .prototyp
105037
104909
  },
105038
104910
  init (multiArray)
105039
104911
  {
105040
- this .texCoordArray .length = 0;
105041
-
105042
- multiArray .push (this .texCoordArray);
104912
+ // Must use new array, because there can be cloned texture coordinate nodes.
104913
+ multiArray .push (Rendering_X3DGeometryNode .createArray ());
105043
104914
  },
105044
104915
  addPoint (index, multiArray)
105045
104916
  {
@@ -106778,7 +106649,7 @@ const gettext_default_ = gettext;
106778
106649
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
106779
106650
  /* harmony default export */ const locale_gettext = (gettext_default_);
106780
106651
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
106781
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(328);
106652
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(146);
106782
106653
  /*******************************************************************************
106783
106654
  *
106784
106655
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107208,7 +107079,7 @@ const TextureQuality_default_ = TextureQuality;
107208
107079
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
107209
107080
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
107210
107081
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
107211
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(328);
107082
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(146);
107212
107083
  /*******************************************************************************
107213
107084
  *
107214
107085
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107798,7 +107669,7 @@ const RenderingProperties_default_ = RenderingProperties;
107798
107669
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
107799
107670
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
107800
107671
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
107801
- /* provided dependency */ var Notification_$ = __webpack_require__(328);
107672
+ /* provided dependency */ var Notification_$ = __webpack_require__(146);
107802
107673
  /*******************************************************************************
107803
107674
  *
107804
107675
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107921,8 +107792,8 @@ const Notification_default_ = Notification;
107921
107792
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
107922
107793
  /* harmony default export */ const Core_Notification = (Notification_default_);
107923
107794
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
107924
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(965);
107925
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(328);
107795
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(986);
107796
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(146);
107926
107797
  /*******************************************************************************
107927
107798
  *
107928
107799
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109174,7 +109045,7 @@ function X3DExportedNode (exportedName, localNode)
109174
109045
  Base_X3DObject .call (this);
109175
109046
 
109176
109047
  this [X3DExportedNode_exportedName] = exportedName;
109177
- this [_localNode] = localNode;
109048
+ this [_localNode] = Fields_SFNodeCache .get (localNode);
109178
109049
  }
109179
109050
 
109180
109051
  Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObject .prototype),
@@ -109185,11 +109056,11 @@ Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObje
109185
109056
  },
109186
109057
  getLocalNode ()
109187
109058
  {
109188
- return this [_localNode];
109059
+ return this [_localNode] .getValue ();
109189
109060
  },
109190
109061
  toVRMLStream (generator)
109191
109062
  {
109192
- const localName = generator .LocalName (this [_localNode]);
109063
+ const localName = generator .LocalName (this .getLocalNode ());
109193
109064
 
109194
109065
  generator .string += generator .Indent ();
109195
109066
  generator .string += "EXPORT";
@@ -109206,7 +109077,7 @@ Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObje
109206
109077
  },
109207
109078
  toXMLStream (generator)
109208
109079
  {
109209
- const localName = generator .LocalName (this [_localNode]);
109080
+ const localName = generator .LocalName (this .getLocalNode ());
109210
109081
 
109211
109082
  generator .string += generator .Indent ();
109212
109083
  generator .string += "<EXPORT";
@@ -109227,7 +109098,7 @@ Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObje
109227
109098
  },
109228
109099
  toJSONStream (generator)
109229
109100
  {
109230
- const localName = generator .LocalName (this [_localNode]);
109101
+ const localName = generator .LocalName (this .getLocalNode ());
109231
109102
 
109232
109103
  generator .string += generator .Indent ();
109233
109104
  generator .string += '{';
@@ -109300,7 +109171,7 @@ Object .defineProperties (X3DExportedNode .prototype,
109300
109171
  {
109301
109172
  get ()
109302
109173
  {
109303
- return Fields_SFNodeCache .get (this [_localNode]);
109174
+ return this [_localNode];
109304
109175
  },
109305
109176
  enumerable: true,
109306
109177
  },
@@ -109775,7 +109646,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
109775
109646
  const exportedNode = this [_exportedNodes] .get (exportedName);
109776
109647
 
109777
109648
  if (exportedNode)
109778
- return Fields_SFNodeCache .get (exportedNode .getLocalNode ());
109649
+ return exportedNode .localNode;
109779
109650
 
109780
109651
  throw new Error (`Exported node '${exportedName}' not found.`);
109781
109652
  },
@@ -109793,11 +109664,8 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
109793
109664
 
109794
109665
  const rootNodes = this .getRootNodes ();
109795
109666
 
109796
- for (const rootNode of rootNodes)
109797
- {
109798
- if (rootNode .equals (node))
109799
- return;
109800
- }
109667
+ if (rootNodes .includes (node))
109668
+ return;
109801
109669
 
109802
109670
  rootNodes .push (node);
109803
109671
  },
@@ -110673,7 +110541,7 @@ const DataStorage_default_ = DataStorage;
110673
110541
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
110674
110542
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
110675
110543
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
110676
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(328);
110544
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(146);
110677
110545
  /*******************************************************************************
110678
110546
  *
110679
110547
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111585,7 +111453,6 @@ x_ite_Namespace .add ("X3DEnvironmentalEffectsContext", "x_ite/Browser/Environme
111585
111453
 
111586
111454
 
111587
111455
 
111588
-
111589
111456
  function BoxOptions (executionContext)
111590
111457
  {
111591
111458
  Base_X3DBaseNode .call (this, executionContext);
@@ -111611,32 +111478,30 @@ Object .assign (Object .setPrototypeOf (BoxOptions .prototype, Base_X3DBaseNode
111611
111478
  texCoord = this .geometry ._texCoord .getValue (),
111612
111479
  coord = this .geometry ._coord .getValue ();
111613
111480
 
111614
- geometry ._texCoordIndex = new x_ite_Fields .MFInt32 (
111481
+ geometry ._texCoordIndex = [
111615
111482
  0, 1, 2, 3, -1, // front
111616
111483
  0, 1, 2, 3, -1, // back
111617
111484
  0, 1, 2, 3, -1, // left
111618
111485
  0, 1, 2, 3, -1, // right
111619
111486
  0, 1, 2, 3, -1, // top
111620
111487
  0, 1, 2, 3, -1 // bottom
111621
- );
111488
+ ];
111622
111489
 
111623
- geometry ._coordIndex = new x_ite_Fields .MFInt32 (
111490
+ geometry ._coordIndex = [
111624
111491
  0, 1, 2, 3, -1, // front
111625
111492
  5, 4, 7, 6, -1, // back
111626
111493
  1, 5, 6, 2, -1, // left
111627
111494
  4, 0, 3, 7, -1, // right
111628
111495
  4, 5, 1, 0, -1, // top
111629
111496
  3, 2, 6, 7, -1 // bottom
111630
- );
111497
+ ];
111631
111498
 
111632
- texCoord ._point = new x_ite_Fields .MFVec2f (
111633
- new x_ite_Fields .SFVec2f (1, 1), new x_ite_Fields .SFVec2f (0, 1), new x_ite_Fields .SFVec2f (0, 0), new x_ite_Fields .SFVec2f (1, 0)
111634
- );
111499
+ texCoord ._point = [1, 1, 0, 1, 0, 0, 1, 0];
111635
111500
 
111636
- coord ._point = new x_ite_Fields .MFVec3f (
111637
- new x_ite_Fields .SFVec3f ( 1, 1, 1), new x_ite_Fields .SFVec3f (-1, 1, 1), new x_ite_Fields .SFVec3f (-1, -1, 1), new x_ite_Fields .SFVec3f ( 1, -1, 1),
111638
- new x_ite_Fields .SFVec3f ( 1, 1, -1), new x_ite_Fields .SFVec3f (-1, 1, -1), new x_ite_Fields .SFVec3f (-1, -1, -1), new x_ite_Fields .SFVec3f ( 1, -1, -1)
111639
- );
111501
+ coord ._point = [
111502
+ 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1,
111503
+ 1, 1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1,
111504
+ ];
111640
111505
 
111641
111506
  texCoord .setup ();
111642
111507
  coord .setup ();
@@ -111712,15 +111577,221 @@ x_ite_Namespace .add ("BoxOptions", "x_ite/Browser/Geometry3D/BoxOptions", BoxOp
111712
111577
 
111713
111578
 
111714
111579
 
111580
+
111581
+
111582
+
111583
+
111584
+
111585
+
111586
+
111715
111587
  function ConeOptions (executionContext)
111716
111588
  {
111717
111589
  Base_X3DBaseNode .call (this, executionContext);
111718
111590
 
111719
- this .addChildObjects (Base_X3DConstants .inputOutput, "xDimension", new x_ite_Fields .SFInt32 (20),
111720
- Base_X3DConstants .inputOutput, "yDimension", new x_ite_Fields .SFInt32 (1))
111591
+ this .addChildObjects (Base_X3DConstants .inputOutput, "dimension", new x_ite_Fields .SFInt32 (20))
111721
111592
  }
111722
111593
 
111723
- Object .setPrototypeOf (ConeOptions .prototype, Base_X3DBaseNode .prototype);
111594
+ Object .assign (Object .setPrototypeOf (ConeOptions .prototype, Base_X3DBaseNode .prototype),
111595
+ {
111596
+ initialize ()
111597
+ {
111598
+ Base_X3DBaseNode .prototype .initialize .call (this);
111599
+
111600
+ this .addInterest ("eventsProcessed", this);
111601
+ },
111602
+ getSideGeometry ()
111603
+ {
111604
+ if (!this .sideGeometry)
111605
+ this .eventsProcessed ();
111606
+
111607
+ return this .sideGeometry;
111608
+ },
111609
+ getBottomGeometry ()
111610
+ {
111611
+ if (!this .bottomGeometry)
111612
+ this .eventsProcessed ();
111613
+
111614
+ return this .bottomGeometry;
111615
+ },
111616
+ createTexCoordIndex ()
111617
+ {
111618
+ const
111619
+ dimension = this ._dimension .getValue (),
111620
+ sideTexCoordIndex = this .sideGeometry ._texCoordIndex,
111621
+ bottomTexCoordIndex = this .bottomGeometry ._texCoordIndex;
111622
+
111623
+ // Side
111624
+
111625
+ for (let i = 0; i < dimension; ++ i)
111626
+ sideTexCoordIndex .push (i, i + 1, i + dimension + 1, -1);
111627
+
111628
+ // Bottom
111629
+
111630
+ for (let i = dimension - 1; i > -1; -- i)
111631
+ bottomTexCoordIndex .push (2 * (dimension + 1) + i);
111632
+
111633
+ bottomTexCoordIndex .push (-1);
111634
+ },
111635
+ createTexCoord ()
111636
+ {
111637
+ const
111638
+ dimension = this ._dimension .getValue (),
111639
+ point = this .sideGeometry ._texCoord .getValue () ._point;
111640
+
111641
+ // Side Bottom
111642
+
111643
+ for (let i = 0; i < dimension + 1; ++ i)
111644
+ {
111645
+ const u = i / dimension;
111646
+
111647
+ point .push (new Numbers_Vector2 (u, 0));
111648
+ }
111649
+
111650
+ // Side Top
111651
+
111652
+ for (let i = 0; i < dimension + 1; ++ i)
111653
+ {
111654
+ const u = (i + 0.5) / dimension;
111655
+
111656
+ point .push (new Numbers_Vector2 (u, 1));
111657
+ }
111658
+
111659
+ // Bottom
111660
+
111661
+ for (let i = 0; i < dimension; ++ i)
111662
+ {
111663
+ const
111664
+ u = i / dimension,
111665
+ theta = 2 * Math .PI * u,
111666
+ t = Numbers_Complex .Polar (-1, theta);
111667
+
111668
+ point .push (new Numbers_Vector2 ((t .imag + 1) / 2, (t .real + 1) / 2));
111669
+ }
111670
+ },
111671
+ createNormalIndex ()
111672
+ {
111673
+ const
111674
+ dimension = this ._dimension .getValue (),
111675
+ sideNormalIndex = this .sideGeometry ._normalIndex,
111676
+ bottomNormalIndex = this .bottomGeometry ._normalIndex;
111677
+
111678
+ // Side
111679
+
111680
+ for (let i = 0; i < dimension; ++ i)
111681
+ sideNormalIndex .push (i, (i + 1) % dimension, i + dimension, -1);
111682
+
111683
+ // Bottom
111684
+
111685
+ for (let i = 0; i < dimension; ++ i)
111686
+ bottomNormalIndex .push (2 * dimension);
111687
+
111688
+ bottomNormalIndex .push (-1);
111689
+ },
111690
+ createNormal ()
111691
+ {
111692
+ const
111693
+ dimension = this ._dimension .getValue (),
111694
+ vector = this .sideGeometry ._normal .getValue () ._vector,
111695
+ nz = Numbers_Complex .Polar (1, -Math .PI / 4);
111696
+
111697
+ // Side Bottom
111698
+
111699
+ for (let i = 0; i < dimension; ++ i)
111700
+ {
111701
+ const
111702
+ u = i / dimension,
111703
+ theta = 2 * Math .PI * u,
111704
+ n = Numbers_Complex .Polar (nz .imag, theta);
111705
+
111706
+ vector .push (new Numbers_Vector3 (n .imag, nz .real, n .real));
111707
+ }
111708
+
111709
+ // Side Top
111710
+
111711
+ for (let i = 0; i < dimension; ++ i)
111712
+ {
111713
+ const
111714
+ u = (i + 0.5) / dimension,
111715
+ theta = 2 * Math .PI * u,
111716
+ n = Numbers_Complex .Polar (nz .imag, theta);
111717
+
111718
+ vector .push (new Numbers_Vector3 (n .imag, nz .real, n .real));
111719
+ }
111720
+
111721
+ // Bottom
111722
+
111723
+ vector .push (new Numbers_Vector3 (0, -1, 0));
111724
+ },
111725
+ createCoordIndex ()
111726
+ {
111727
+ const
111728
+ dimension = this ._dimension .getValue (),
111729
+ sideCoordIndex = this .sideGeometry ._coordIndex,
111730
+ bottomCoordIndex = this .bottomGeometry ._coordIndex;
111731
+
111732
+ // Side
111733
+
111734
+ for (let i = 0; i < dimension; ++ i)
111735
+ sideCoordIndex .push (i, (i + 1) % dimension, dimension, -1);
111736
+
111737
+ // Bottom
111738
+
111739
+ for (let i = dimension - 1; i > -1; -- i)
111740
+ bottomCoordIndex .push (i);
111741
+
111742
+ bottomCoordIndex .push (-1);
111743
+ },
111744
+ createPoints ()
111745
+ {
111746
+ const
111747
+ dimension = this ._dimension .getValue (),
111748
+ point = this .sideGeometry ._coord .getValue () ._point;
111749
+
111750
+ for (let i = 0; i < dimension; ++ i)
111751
+ {
111752
+ const
111753
+ u = i / dimension,
111754
+ theta = 2 * Math .PI * u,
111755
+ p = Numbers_Complex .Polar (-1, theta);
111756
+
111757
+ point .push (new Numbers_Vector3 (p .imag, -1, p .real));
111758
+ }
111759
+
111760
+ point .push (new Numbers_Vector3 (0, 1, 0));
111761
+ },
111762
+ eventsProcessed ()
111763
+ {
111764
+ this .sideGeometry = new Geometry3D_IndexedFaceSet (this .getExecutionContext ());
111765
+ this .sideGeometry ._texCoord = new Texturing_TextureCoordinate (this .getExecutionContext ());
111766
+ this .sideGeometry ._normal = new Rendering_Normal (this .getExecutionContext ());
111767
+ this .sideGeometry ._coord = new Rendering_Coordinate (this .getExecutionContext ());
111768
+
111769
+ this .bottomGeometry = new Geometry3D_IndexedFaceSet (this .getExecutionContext ());
111770
+ this .bottomGeometry ._texCoord = this .sideGeometry ._texCoord;
111771
+ this .bottomGeometry ._normal = this .sideGeometry ._normal;
111772
+ this .bottomGeometry ._coord = this .sideGeometry ._coord;
111773
+
111774
+ this .createTexCoordIndex ();
111775
+ this .createTexCoord ();
111776
+ this .createNormalIndex ();
111777
+ this .createNormal ();
111778
+ this .createCoordIndex ();
111779
+ this .createPoints ();
111780
+
111781
+ const
111782
+ sideGeometry = this .sideGeometry,
111783
+ bottomGeometry = this .bottomGeometry,
111784
+ texCoord = this .sideGeometry ._texCoord .getValue (),
111785
+ normal = this .sideGeometry ._normal .getValue (),
111786
+ coord = this .sideGeometry ._coord .getValue ();
111787
+
111788
+ texCoord .setup ();
111789
+ normal .setup ();
111790
+ coord .setup ();
111791
+ sideGeometry .setup ();
111792
+ bottomGeometry .setup ();
111793
+ },
111794
+ });
111724
111795
 
111725
111796
  Object .defineProperties (ConeOptions,
111726
111797
  {
@@ -111788,15 +111859,274 @@ x_ite_Namespace .add ("ConeOptions", "x_ite/Browser/Geometry3D/ConeOptions", Con
111788
111859
 
111789
111860
 
111790
111861
 
111862
+
111863
+
111864
+
111865
+
111866
+
111867
+
111868
+
111791
111869
  function CylinderOptions (executionContext)
111792
111870
  {
111793
111871
  Base_X3DBaseNode .call (this, executionContext);
111794
111872
 
111795
- this .addChildObjects (Base_X3DConstants .inputOutput, "xDimension", new x_ite_Fields .SFInt32 (20),
111796
- Base_X3DConstants .inputOutput, "yDimension", new x_ite_Fields .SFInt32 (1))
111873
+ this .addChildObjects (Base_X3DConstants .inputOutput, "dimension", new x_ite_Fields .SFInt32 (20))
111797
111874
  }
111798
111875
 
111799
- Object .setPrototypeOf (CylinderOptions .prototype, Base_X3DBaseNode .prototype);
111876
+ Object .assign (Object .setPrototypeOf (CylinderOptions .prototype, Base_X3DBaseNode .prototype),
111877
+ {
111878
+ initialize ()
111879
+ {
111880
+ Base_X3DBaseNode .prototype .initialize .call (this);
111881
+
111882
+ this .addInterest ("eventsProcessed", this);
111883
+ },
111884
+ getSideGeometry ()
111885
+ {
111886
+ if (!this .sideGeometry)
111887
+ this .eventsProcessed ();
111888
+
111889
+ return this .sideGeometry;
111890
+ },
111891
+ getTopGeometry ()
111892
+ {
111893
+ if (!this .topGeometry)
111894
+ this .eventsProcessed ();
111895
+
111896
+ return this .topGeometry;
111897
+ },
111898
+ getBottomGeometry ()
111899
+ {
111900
+ if (!this .bottomGeometry)
111901
+ this .eventsProcessed ();
111902
+
111903
+ return this .bottomGeometry;
111904
+ },
111905
+ createTexCoordIndex ()
111906
+ {
111907
+ const
111908
+ dimension = this ._dimension .getValue (),
111909
+ sideTexCoordIndex = this .sideGeometry ._texCoordIndex,
111910
+ bottomTexCoordIndex = this .bottomGeometry ._texCoordIndex,
111911
+ topTexCoordIndex = this .topGeometry ._texCoordIndex;
111912
+
111913
+ // Side
111914
+
111915
+ for (let i = 0; i < dimension; ++ i)
111916
+ sideTexCoordIndex .push (i, i + 1, i + 2 + dimension, i + 1 + dimension, -1);
111917
+
111918
+ // Bottom
111919
+
111920
+ for (let i = dimension - 1; i > -1; -- i)
111921
+ bottomTexCoordIndex .push (2 * (dimension + 1) + i);
111922
+
111923
+ bottomTexCoordIndex .push (-1);
111924
+
111925
+ // Top
111926
+
111927
+ for (let i = 0; i < dimension; ++ i)
111928
+ topTexCoordIndex .push (2 * (dimension + 1) + dimension + i);
111929
+
111930
+ topTexCoordIndex .push (-1);
111931
+ },
111932
+ createTexCoord ()
111933
+ {
111934
+ const
111935
+ dimension = this ._dimension .getValue (),
111936
+ point = this .sideGeometry ._texCoord .getValue () ._point;
111937
+
111938
+ // Side Bottom
111939
+
111940
+ for (let i = 0; i < dimension + 1; ++ i)
111941
+ {
111942
+ const u = i / dimension;
111943
+
111944
+ point .push (new Numbers_Vector2 (u, 0));
111945
+ }
111946
+
111947
+ // Side Top
111948
+
111949
+ for (let i = 0; i < dimension + 1; ++ i)
111950
+ {
111951
+ const u = i/ dimension;
111952
+
111953
+ point .push (new Numbers_Vector2 (u, 1));
111954
+ }
111955
+
111956
+ // Bottom
111957
+
111958
+ for (let i = 0; i < dimension; ++ i)
111959
+ {
111960
+ const
111961
+ u = i / dimension,
111962
+ theta = 2 * Math .PI * u,
111963
+ t = Numbers_Complex .Polar (-1, theta);
111964
+
111965
+ point .push (new Numbers_Vector2 ((t .imag + 1) / 2, (t .real + 1) / 2));
111966
+ }
111967
+
111968
+ // Top
111969
+
111970
+ for (let i = 0; i < dimension; ++ i)
111971
+ {
111972
+ const
111973
+ u = i / dimension,
111974
+ theta = 2 * Math .PI * u,
111975
+ t = Numbers_Complex .Polar (1, theta);
111976
+
111977
+ point .push (new Numbers_Vector2 (1 - (t .imag + 1) / 2, (t .real + 1) / 2));
111978
+ }
111979
+ },
111980
+ createNormalIndex ()
111981
+ {
111982
+ const
111983
+ dimension = this ._dimension .getValue (),
111984
+ sideNormalIndex = this .sideGeometry ._normalIndex,
111985
+ bottomNormalIndex = this .bottomGeometry ._normalIndex,
111986
+ topNormalIndex = this .topGeometry ._normalIndex;
111987
+
111988
+ // Side
111989
+
111990
+ for (let i = 0; i < dimension; ++ i)
111991
+ sideNormalIndex .push (i, (i + 1) % dimension, (i + 1) % dimension, i, -1);
111992
+
111993
+ // Bottom
111994
+
111995
+ for (let i = 0; i < dimension; ++ i)
111996
+ bottomNormalIndex .push (dimension);
111997
+
111998
+ bottomNormalIndex .push (-1);
111999
+
112000
+ // Top
112001
+
112002
+ for (let i = 0; i < dimension; ++ i)
112003
+ topNormalIndex .push (dimension + 1);
112004
+
112005
+ topNormalIndex .push (-1);
112006
+ },
112007
+ createNormal ()
112008
+ {
112009
+ const
112010
+ dimension = this ._dimension .getValue (),
112011
+ vector = this .sideGeometry ._normal .getValue () ._vector;
112012
+
112013
+ // Side
112014
+
112015
+ for (let i = 0; i < dimension; ++ i)
112016
+ {
112017
+ const
112018
+ u = i / dimension,
112019
+ theta = 2 * Math .PI * u,
112020
+ n = Numbers_Complex .Polar (-1, theta);
112021
+
112022
+ vector .push (new Numbers_Vector3 (n .imag, 0, n .real));
112023
+ }
112024
+
112025
+ // Bottom
112026
+
112027
+ vector .push (new Numbers_Vector3 (0, -1, 0));
112028
+
112029
+ // Top
112030
+
112031
+ vector .push (new Numbers_Vector3 (0, 1, 0));
112032
+ },
112033
+ createCoordIndex ()
112034
+ {
112035
+ const
112036
+ dimension = this ._dimension .getValue (),
112037
+ sideCoordIndex = this .sideGeometry ._coordIndex,
112038
+ bottomCoordIndex = this .bottomGeometry ._coordIndex,
112039
+ topCoordIndex = this .topGeometry ._coordIndex;
112040
+
112041
+ // Side
112042
+
112043
+ for (let i = 0; i < dimension; ++ i)
112044
+ sideCoordIndex .push (i, (i + 1) % dimension, (i + 1) % dimension + dimension, i + dimension, -1);
112045
+
112046
+ // Bottom
112047
+
112048
+ for (let i = dimension - 1; i > -1; -- i)
112049
+ bottomCoordIndex .push (i);
112050
+
112051
+ bottomCoordIndex .push (-1);
112052
+
112053
+ // Top
112054
+
112055
+ for (let i = 0; i < dimension; ++ i)
112056
+ topCoordIndex .push (i + dimension);
112057
+
112058
+ topCoordIndex .push (-1);
112059
+ },
112060
+ createPoints ()
112061
+ {
112062
+ const
112063
+ dimension = this ._dimension .getValue (),
112064
+ point = this .sideGeometry ._coord .getValue () ._point;
112065
+
112066
+ // Bottom
112067
+
112068
+ for (let i = 0; i < dimension; ++ i)
112069
+ {
112070
+ const
112071
+ u = i / dimension,
112072
+ theta = 2 * Math .PI * u,
112073
+ p = Numbers_Complex .Polar (-1, theta);
112074
+
112075
+ point .push (new Numbers_Vector3 (p .imag, -1, p .real));
112076
+ }
112077
+
112078
+ // Top
112079
+
112080
+ for (let i = 0; i < dimension; ++ i)
112081
+ {
112082
+ const
112083
+ u = i / dimension,
112084
+ theta = 2 * Math .PI * u,
112085
+ p = Numbers_Complex .Polar (-1, theta);
112086
+
112087
+ point .push (new Numbers_Vector3 (p .imag, 1, p .real));
112088
+ }
112089
+ },
112090
+ eventsProcessed ()
112091
+ {
112092
+ this .sideGeometry = new Geometry3D_IndexedFaceSet (this .getExecutionContext ());
112093
+ this .sideGeometry ._texCoord = new Texturing_TextureCoordinate (this .getExecutionContext ());
112094
+ this .sideGeometry ._normal = new Rendering_Normal (this .getExecutionContext ());
112095
+ this .sideGeometry ._coord = new Rendering_Coordinate (this .getExecutionContext ());
112096
+
112097
+ this .bottomGeometry = new Geometry3D_IndexedFaceSet (this .getExecutionContext ());
112098
+ this .bottomGeometry ._texCoord = this .sideGeometry ._texCoord;
112099
+ this .bottomGeometry ._normal = this .sideGeometry ._normal;
112100
+ this .bottomGeometry ._coord = this .sideGeometry ._coord;
112101
+
112102
+ this .topGeometry = new Geometry3D_IndexedFaceSet (this .getExecutionContext ());
112103
+ this .topGeometry ._texCoord = this .sideGeometry ._texCoord;
112104
+ this .topGeometry ._normal = this .sideGeometry ._normal;
112105
+ this .topGeometry ._coord = this .sideGeometry ._coord;
112106
+
112107
+ this .createTexCoordIndex ();
112108
+ this .createTexCoord ();
112109
+ this .createNormalIndex ();
112110
+ this .createNormal ();
112111
+ this .createCoordIndex ();
112112
+ this .createPoints ();
112113
+
112114
+ const
112115
+ sideGeometry = this .sideGeometry,
112116
+ bottomGeometry = this .bottomGeometry,
112117
+ topGeometry = this .topGeometry,
112118
+ texCoord = this .sideGeometry ._texCoord .getValue (),
112119
+ normal = this .sideGeometry ._normal .getValue (),
112120
+ coord = this .sideGeometry ._coord .getValue ();
112121
+
112122
+ texCoord .setup ();
112123
+ normal .setup ();
112124
+ coord .setup ();
112125
+ sideGeometry .setup ();
112126
+ bottomGeometry .setup ();
112127
+ topGeometry .setup ();
112128
+ },
112129
+ });
111800
112130
 
111801
112131
  Object .defineProperties (CylinderOptions,
111802
112132
  {
@@ -111888,7 +112218,7 @@ Object .assign (Object .setPrototypeOf (QuadSphereOptions .prototype, Base_X3DBa
111888
112218
  },
111889
112219
  getGeometry ()
111890
112220
  {
111891
- if (! this .geometry)
112221
+ if (!this .geometry)
111892
112222
  this .eventsProcessed ();
111893
112223
 
111894
112224
  return this .geometry;
@@ -112193,24 +112523,24 @@ Object .assign (X3DGeometry3DContext .prototype,
112193
112523
  {
112194
112524
  case Core_PrimitiveQuality .LOW:
112195
112525
  {
112196
- cone ._xDimension = 16;
112197
- cylinder ._xDimension = 16;
112526
+ cone ._dimension = 16;
112527
+ cylinder ._dimension = 16;
112198
112528
  sphere ._xDimension = 20;
112199
112529
  sphere ._yDimension = 9;
112200
112530
  break;
112201
112531
  }
112202
112532
  case Core_PrimitiveQuality .MEDIUM:
112203
112533
  {
112204
- cone ._xDimension = 20;
112205
- cylinder ._xDimension = 20;
112534
+ cone ._dimension = 20;
112535
+ cylinder ._dimension = 20;
112206
112536
  sphere ._xDimension = 32;
112207
112537
  sphere ._yDimension = 15;
112208
112538
  break;
112209
112539
  }
112210
112540
  case Core_PrimitiveQuality .HIGH:
112211
112541
  {
112212
- cone ._xDimension = 32;
112213
- cylinder ._xDimension = 32;
112542
+ cone ._dimension = 32;
112543
+ cylinder ._dimension = 32;
112214
112544
  sphere ._xDimension = 64;
112215
112545
  sphere ._yDimension = 31;
112216
112546
  break;
@@ -112738,8 +113068,8 @@ const X3DViewer_default_ = X3DViewer;
112738
113068
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
112739
113069
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
112740
113070
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
112741
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(62);
112742
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(328);
113071
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(165);
113072
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(146);
112743
113073
  /*******************************************************************************
112744
113074
  *
112745
113075
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113611,8 +113941,8 @@ const ExamineViewer_default_ = ExamineViewer;
113611
113941
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
113612
113942
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
113613
113943
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
113614
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(62);
113615
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(328);
113944
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(165);
113945
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(146);
113616
113946
  /*******************************************************************************
113617
113947
  *
113618
113948
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114621,8 +114951,8 @@ const FlyViewer_default_ = FlyViewer;
114621
114951
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
114622
114952
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
114623
114953
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
114624
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(62);
114625
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(328);
114954
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(165);
114955
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(146);
114626
114956
  /*******************************************************************************
114627
114957
  *
114628
114958
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114953,8 +115283,8 @@ const NoneViewer_default_ = NoneViewer;
114953
115283
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
114954
115284
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
114955
115285
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
114956
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(62);
114957
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(328);
115286
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(165);
115287
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(146);
114958
115288
  /*******************************************************************************
114959
115289
  *
114960
115290
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116093,8 +116423,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
116093
116423
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
116094
116424
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
116095
116425
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
116096
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(62);
116097
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(328);
116426
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(165);
116427
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(146);
116098
116428
  /*******************************************************************************
116099
116429
  *
116100
116430
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117373,7 +117703,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
117373
117703
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
117374
117704
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
117375
117705
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
117376
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(328);
117706
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(146);
117377
117707
  /*******************************************************************************
117378
117708
  *
117379
117709
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118276,7 +118606,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
118276
118606
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
118277
118607
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
118278
118608
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
118279
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(328);
118609
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(146);
118280
118610
  const KTXDecoder_default_ = class KTXDecoder
118281
118611
  {
118282
118612
  constructor (gl, externalKtxlib, scriptDir)
@@ -119829,7 +120159,7 @@ const Components_default_ = Components;
119829
120159
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
119830
120160
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
119831
120161
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
119832
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(328);
120162
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(146);
119833
120163
  /*******************************************************************************
119834
120164
  * MIT License
119835
120165
  *
@@ -120968,7 +121298,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
120968
121298
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
120969
121299
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
120970
121300
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
120971
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(328);
121301
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(146);
120972
121302
  /*******************************************************************************
120973
121303
  *
120974
121304
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122049,7 +122379,7 @@ const X3DBrowser_default_ = X3DBrowser;
122049
122379
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
122050
122380
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
122051
122381
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
122052
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(328);
122382
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(146);
122053
122383
  /*******************************************************************************
122054
122384
  *
122055
122385
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122181,8 +122511,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
122181
122511
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
122182
122512
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
122183
122513
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
122184
- /* provided dependency */ var jquery_$ = __webpack_require__(328);
122185
- /* provided dependency */ var pako = __webpack_require__(583);
122514
+ /* provided dependency */ var jquery_$ = __webpack_require__(146);
122515
+ /* provided dependency */ var pako = __webpack_require__(250);
122186
122516
  Object .assign (jquery_$,
122187
122517
  {
122188
122518
  decodeText (input)
@@ -122259,14 +122589,14 @@ const jquery_default_ = jquery_$;
122259
122589
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
122260
122590
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
122261
122591
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
122262
- /* provided dependency */ var libtess_libtess = __webpack_require__(981);
122592
+ /* provided dependency */ var libtess_libtess = __webpack_require__(509);
122263
122593
  const libtess_default_ = libtess_libtess;
122264
122594
  ;
122265
122595
 
122266
122596
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
122267
122597
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
122268
122598
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
122269
- /* provided dependency */ var X3D_$ = __webpack_require__(328);
122599
+ /* provided dependency */ var X3D_$ = __webpack_require__(146);
122270
122600
  /*******************************************************************************
122271
122601
  *
122272
122602
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122660,7 +122990,7 @@ x_ite_Namespace .add ("shim", "shim", shim_default_);
122660
122990
 
122661
122991
  // Assign X3D to global namespace.
122662
122992
 
122663
- window [Symbol .for ("X_ITE.X3D-9.1.6")] = x_ite_X3D;
122993
+ window [Symbol .for ("X_ITE.X3D-9.1.7")] = x_ite_X3D;
122664
122994
 
122665
122995
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
122666
122996