x_ite 10.5.7 → 10.5.8

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 (50) hide show
  1. package/README.md +4 -4
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +373 -114
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +2 -2
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +2 -2
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.d.ts +13 -0
  45. package/dist/x_ite.js +197 -111
  46. package/dist/x_ite.min.js +2 -2
  47. package/dist/x_ite.min.mjs +2 -2
  48. package/dist/x_ite.mjs +197 -111
  49. package/dist/x_ite.zip +0 -0
  50. package/package.json +2 -2
package/dist/x_ite.mjs CHANGED
@@ -1,10 +1,10 @@
1
- /* X_ITE v10.5.7 */
1
+ /* X_ITE v10.5.8 */
2
2
  var __webpack_modules__ = ({
3
3
 
4
- /***/ 690:
4
+ /***/ 949:
5
5
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6
6
 
7
- /* provided dependency */ var jQuery = __webpack_require__(58);
7
+ /* provided dependency */ var jQuery = __webpack_require__(445);
8
8
  /**
9
9
  * @preserve jquery.fullscreen 1.1.5
10
10
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -200,7 +200,7 @@ installFullScreenHandlers();
200
200
 
201
201
  /***/ }),
202
202
 
203
- /***/ 880:
203
+ /***/ 485:
204
204
  /***/ ((module, exports, __webpack_require__) => {
205
205
 
206
206
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -214,7 +214,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
214
214
  (function (factory) {
215
215
  if ( true ) {
216
216
  // AMD. Register as an anonymous module.
217
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(58)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(445)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
218
218
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
219
219
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
220
220
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -425,7 +425,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
425
425
 
426
426
  /***/ }),
427
427
 
428
- /***/ 58:
428
+ /***/ 445:
429
429
  /***/ (function(module, exports) {
430
430
 
431
431
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11149,7 +11149,7 @@ return jQuery;
11149
11149
 
11150
11150
  /***/ }),
11151
11151
 
11152
- /***/ 499:
11152
+ /***/ 294:
11153
11153
  /***/ ((module) => {
11154
11154
 
11155
11155
  /**
@@ -15928,7 +15928,7 @@ if (true) {
15928
15928
 
15929
15929
  /***/ }),
15930
15930
 
15931
- /***/ 642:
15931
+ /***/ 729:
15932
15932
  /***/ (function(__unused_webpack_module, exports) {
15933
15933
 
15934
15934
 
@@ -19173,7 +19173,7 @@ if (true) {
19173
19173
 
19174
19174
  /***/ }),
19175
19175
 
19176
- /***/ 85:
19176
+ /***/ 782:
19177
19177
  /***/ (function(module, exports) {
19178
19178
 
19179
19179
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20297,7 +20297,7 @@ Object .defineProperty (Namespace, "add",
20297
20297
  return module;
20298
20298
  }
20299
20299
 
20300
- const X3D = window [Symbol .for ("X_ITE.X3D-10.5.7")];
20300
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.8")];
20301
20301
 
20302
20302
  if (X3D)
20303
20303
  X3D [name] = module;
@@ -34159,7 +34159,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34159
34159
 
34160
34160
  /* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
34161
34161
  ;// ./src/x_ite/Browser/Legacy.js
34162
- /* provided dependency */ var $ = __webpack_require__(58);
34162
+ /* provided dependency */ var $ = __webpack_require__(445);
34163
34163
  /*******************************************************************************
34164
34164
  *
34165
34165
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34295,7 +34295,7 @@ const Legacy_default_ = Legacy;
34295
34295
  *
34296
34296
  ******************************************************************************/
34297
34297
 
34298
- const BROWSER_VERSION_default_ = "10.5.7";
34298
+ const BROWSER_VERSION_default_ = "10.5.8";
34299
34299
  ;
34300
34300
 
34301
34301
  /* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -37320,7 +37320,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37320
37320
 
37321
37321
  /* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
37322
37322
  ;// ./src/standard/Math/Geometry/Triangle3.js
37323
- /* provided dependency */ var libtess = __webpack_require__(499);
37323
+ /* provided dependency */ var libtess = __webpack_require__(294);
37324
37324
  /*******************************************************************************
37325
37325
  *
37326
37326
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39886,7 +39886,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39886
39886
 
39887
39887
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
39888
39888
  ;// ./src/x_ite/Parser/X3DParser.js
39889
- /* provided dependency */ var X3DParser_$ = __webpack_require__(58);
39889
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(445);
39890
39890
  /*******************************************************************************
39891
39891
  *
39892
39892
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40141,7 +40141,7 @@ const Expressions_default_ = Expressions;
40141
40141
 
40142
40142
  /* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
40143
40143
  ;// ./src/x_ite/Parser/VRMLParser.js
40144
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(58);
40144
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(445);
40145
40145
  /*******************************************************************************
40146
40146
  *
40147
40147
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42781,7 +42781,7 @@ const VRMLParser_default_ = VRMLParser;
42781
42781
 
42782
42782
  /* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
42783
42783
  ;// ./src/x_ite/Parser/XMLParser.js
42784
- /* provided dependency */ var XMLParser_$ = __webpack_require__(58);
42784
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(445);
42785
42785
  /*******************************************************************************
42786
42786
  *
42787
42787
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44959,7 +44959,7 @@ const URLs_default_ = URLs;
44959
44959
 
44960
44960
  /* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
44961
44961
  ;// ./src/x_ite/Parser/GLTF2Parser.js
44962
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(58);
44962
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(445);
44963
44963
  /*******************************************************************************
44964
44964
  *
44965
44965
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48610,7 +48610,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48610
48610
 
48611
48611
  /* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
48612
48612
  ;// ./src/x_ite/Parser/GLB2Parser.js
48613
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(58);
48613
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(445);
48614
48614
  /*******************************************************************************
48615
48615
  *
48616
48616
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48761,7 +48761,7 @@ const GLB2Parser_default_ = GLB2Parser;
48761
48761
 
48762
48762
  /* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
48763
48763
  ;// ./src/x_ite/Parser/OBJParser.js
48764
- /* provided dependency */ var OBJParser_$ = __webpack_require__(58);
48764
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(445);
48765
48765
  /*******************************************************************************
48766
48766
  *
48767
48767
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52096,6 +52096,16 @@ class MatrixStack extends Array
52096
52096
  this [this .#top] .identity ();
52097
52097
  }
52098
52098
 
52099
+ inverse ()
52100
+ {
52101
+ this [this .#top] .inverse ();
52102
+ }
52103
+
52104
+ multRight (matrix)
52105
+ {
52106
+ this [this .#top] .multRight (matrix);
52107
+ }
52108
+
52099
52109
  multLeft (matrix)
52100
52110
  {
52101
52111
  this [this .#top] .multLeft (matrix);
@@ -52122,8 +52132,8 @@ const MatrixStack_default_ = MatrixStack;
52122
52132
 
52123
52133
  /* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
52124
52134
  ;// ./src/x_ite/Parser/SVGParser.js
52125
- /* provided dependency */ var SVGParser_$ = __webpack_require__(58);
52126
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(499);
52135
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(445);
52136
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(294);
52127
52137
  /*******************************************************************************
52128
52138
  *
52129
52139
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -54902,7 +54912,7 @@ const SVGParser_default_ = SVGParser;
54902
54912
 
54903
54913
  /* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
54904
54914
  ;// ./src/x_ite/Parser/GoldenGate.js
54905
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(58);
54915
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(445);
54906
54916
  /*******************************************************************************
54907
54917
  *
54908
54918
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -56579,7 +56589,8 @@ function X3DRenderObject (executionContext)
56579
56589
  this .localShadows = [ false ];
56580
56590
  this .localFogs = [ null ];
56581
56591
  this .layouts = [ ];
56582
- this .humanoids = [ null ];
56592
+ this .hAnimNode = [ null ];
56593
+ this .invHumanoidMatrix = new Utility_MatrixStack (Numbers_Matrix4);
56583
56594
  this .generatedCubeMapTextures = [ ];
56584
56595
  this .collisions = [ ];
56585
56596
  this .collisionTime = new Time_StopWatch ();
@@ -56837,9 +56848,13 @@ Object .assign (X3DRenderObject .prototype,
56837
56848
  {
56838
56849
  return this .layouts .at (-1);
56839
56850
  },
56840
- getHumanoids ()
56851
+ getHAnimNode ()
56852
+ {
56853
+ return this .hAnimNode;
56854
+ },
56855
+ getInvHumanoidMatrix ()
56841
56856
  {
56842
- return this .humanoids;
56857
+ return this .invHumanoidMatrix;
56843
56858
  },
56844
56859
  getGeneratedCubeMapTextures ()
56845
56860
  {
@@ -57120,7 +57135,7 @@ Object .assign (X3DRenderObject .prototype,
57120
57135
 
57121
57136
  pointingContext .modelViewMatrix .set (modelViewMatrix);
57122
57137
  pointingContext .scissor = viewVolume .getScissor ();
57123
- pointingContext .humanoidNode = this .humanoids .at (-1);
57138
+ pointingContext .hAnimNode = this .hAnimNode .at (-1);
57124
57139
  pointingContext .shapeNode = shapeNode;
57125
57140
 
57126
57141
  // Clip planes & sensors
@@ -57219,7 +57234,7 @@ Object .assign (X3DRenderObject .prototype,
57219
57234
 
57220
57235
  depthContext .modelViewMatrix .set (modelViewMatrix);
57221
57236
  depthContext .scissor = viewVolume .getScissor ();
57222
- depthContext .humanoidNode = this .humanoids .at (-1);
57237
+ depthContext .hAnimNode = this .hAnimNode .at (-1);
57223
57238
  depthContext .shapeNode = shapeNode;
57224
57239
 
57225
57240
  // Clip planes
@@ -57278,7 +57293,7 @@ Object .assign (X3DRenderObject .prototype,
57278
57293
  renderContext .scissor .assign (viewVolume .getScissor ());
57279
57294
  renderContext .shadows = this .localShadows .at (-1);
57280
57295
  renderContext .fogNode = this .localFogs .at (-1);
57281
- renderContext .humanoidNode = this .humanoids .at (-1);
57296
+ renderContext .hAnimNode = this .hAnimNode .at (-1);
57282
57297
  renderContext .shapeNode = shapeNode;
57283
57298
  renderContext .appearanceNode = shapeNode .getAppearance ();
57284
57299
 
@@ -57338,12 +57353,12 @@ Object .assign (X3DRenderObject .prototype,
57338
57353
  {
57339
57354
  const
57340
57355
  renderContext = shapes [s],
57341
- { scissor, clipPlanes, modelViewMatrix, shapeNode, humanoidNode } = renderContext,
57356
+ { scissor, clipPlanes, modelViewMatrix, shapeNode, hAnimNode } = renderContext,
57342
57357
  appearanceNode = shapeNode .getAppearance (),
57343
57358
  geometryContext = shapeNode .getGeometryContext (),
57344
57359
  depthModeNode = appearanceNode .getDepthMode (),
57345
57360
  stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
57346
- shaderNode = browser .getPointingShader (clipPlanes .length, shapeNode, humanoidNode),
57361
+ shaderNode = browser .getPointingShader (clipPlanes .length, shapeNode, hAnimNode),
57347
57362
  id = browser .addPointingShape (renderContext);
57348
57363
 
57349
57364
  gl .scissor (scissor .x - x,
@@ -57362,7 +57377,7 @@ Object .assign (X3DRenderObject .prototype,
57362
57377
 
57363
57378
  depthModeNode ?.enable (gl);
57364
57379
  stylePropertiesNode ?.setShaderUniforms (gl, shaderNode);
57365
- humanoidNode ?.setShaderUniforms (gl, shaderNode);
57380
+ hAnimNode ?.setShaderUniforms (gl, shaderNode);
57366
57381
 
57367
57382
  shapeNode .displaySimple (gl, renderContext, shaderNode);
57368
57383
 
@@ -57578,11 +57593,11 @@ Object .assign (X3DRenderObject .prototype,
57578
57593
  {
57579
57594
  const
57580
57595
  renderContext = shapes [s],
57581
- { scissor, clipPlanes, modelViewMatrix, shapeNode, humanoidNode } = renderContext,
57596
+ { scissor, clipPlanes, modelViewMatrix, shapeNode, hAnimNode } = renderContext,
57582
57597
  appearanceNode = shapeNode .getAppearance (),
57583
57598
  geometryContext = shapeNode .getGeometryContext (),
57584
57599
  stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
57585
- shaderNode = browser .getDepthShader (clipPlanes .length, shapeNode, humanoidNode);
57600
+ shaderNode = browser .getDepthShader (clipPlanes .length, shapeNode, hAnimNode);
57586
57601
 
57587
57602
  gl .scissor (... scissor);
57588
57603
 
@@ -57595,7 +57610,7 @@ Object .assign (X3DRenderObject .prototype,
57595
57610
  gl .uniformMatrix4fv (shaderNode .x3d_ModelViewMatrix, false, modelViewMatrix);
57596
57611
 
57597
57612
  stylePropertiesNode ?.setShaderUniforms (gl, shaderNode);
57598
- humanoidNode ?.setShaderUniforms (gl, shaderNode);
57613
+ hAnimNode ?.setShaderUniforms (gl, shaderNode);
57599
57614
 
57600
57615
  shapeNode .displaySimple (gl, renderContext, shaderNode);
57601
57616
  browser .resetTextureUnits ();
@@ -62916,7 +62931,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62916
62931
 
62917
62932
  /* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
62918
62933
  ;// ./src/x_ite/Components/Texturing/ImageTexture.js
62919
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(58);
62934
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(445);
62920
62935
  /*******************************************************************************
62921
62936
  *
62922
62937
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65263,15 +65278,57 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
65263
65278
  },
65264
65279
  getUserPosition ()
65265
65280
  {
65266
- return this .userPosition .assign (this .getPosition ()) .add (this ._positionOffset .getValue ());
65281
+ return this .userPosition .assign (this .getPosition ())
65282
+ .add (this ._positionOffset .getValue ());
65283
+ },
65284
+ setUserPosition (userPosition)
65285
+ {
65286
+ this ._positionOffset = this .userPosition .assign (userPosition)
65287
+ .subtract (this .getPosition ());
65267
65288
  },
65268
65289
  getUserOrientation ()
65269
65290
  {
65270
- return this .userOrientation .assign (this .getOrientation ()) .multRight (this ._orientationOffset .getValue ());
65291
+ return this .userOrientation .assign (this .getOrientation ())
65292
+ .multRight (this ._orientationOffset .getValue ());
65293
+ },
65294
+ setUserOrientation (userOrientation)
65295
+ {
65296
+ this ._orientationOffset = this .userOrientation .assign (this .getOrientation ()) .inverse ()
65297
+ .multRight (userOrientation);
65271
65298
  },
65272
65299
  getUserCenterOfRotation ()
65273
65300
  {
65274
- return this .userCenterOfRotation .assign (this .getCenterOfRotation ()) .add (this ._centerOfRotationOffset .getValue ());
65301
+ return this .userCenterOfRotation .assign (this .getCenterOfRotation ())
65302
+ .add (this ._centerOfRotationOffset .getValue ());
65303
+ },
65304
+ setUserCenterOfRotation (userCenterOfRotation)
65305
+ {
65306
+ this ._centerOfRotationOffset = this .userCenterOfRotation .assign (userCenterOfRotation)
65307
+ .subtract (this .getCenterOfRotation ());
65308
+ },
65309
+ getFieldOfViewScale ()
65310
+ {
65311
+ return this ._fieldOfViewScale .getValue ();
65312
+ },
65313
+ setFieldOfViewScale (value)
65314
+ {
65315
+ this ._fieldOfViewScale = value;
65316
+ },
65317
+ getNearDistance ()
65318
+ {
65319
+ return this .nearDistance;
65320
+ },
65321
+ setNearDistance (value)
65322
+ {
65323
+ this .nearDistance = value;
65324
+ },
65325
+ getFarDistance ()
65326
+ {
65327
+ return this .farDistance;
65328
+ },
65329
+ setFarDistance (value)
65330
+ {
65331
+ this .farDistance = value;
65275
65332
  },
65276
65333
  getProjectionMatrix (renderObject)
65277
65334
  {
@@ -66300,7 +66357,7 @@ const X3DWorld_default_ = X3DWorld;
66300
66357
 
66301
66358
  /* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
66302
66359
  ;// ./src/x_ite/InputOutput/FileLoader.js
66303
- /* provided dependency */ var FileLoader_$ = __webpack_require__(58);
66360
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(445);
66304
66361
  /*******************************************************************************
66305
66362
  *
66306
66363
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66613,7 +66670,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66613
66670
  if (this .URL .protocol === "data:")
66614
66671
  console .error (`Couldn't load data URL.`, error);
66615
66672
  else
66616
- console .error (`Couldn't load URL '${decodeURI (this .URL .href)}'.`, error);
66673
+ console .error (`Couldn't load URL '${FileLoader_$.try (() => decodeURI (this .URL)) ?? this .URL}'.`, error);
66617
66674
  },
66618
66675
  });
66619
66676
 
@@ -67264,7 +67321,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67264
67321
 
67265
67322
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
67266
67323
  ;// ./src/x_ite/Routing/X3DRoute.js
67267
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(58);
67324
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(445);
67268
67325
  /*******************************************************************************
67269
67326
  *
67270
67327
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -77503,7 +77560,7 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
77503
77560
  if (this [_numLines0] !== numLines)
77504
77561
  return true;
77505
77562
 
77506
- if (this [_numLines2] !== numLines)
77563
+ if (this .hasNormals && this [_numLines2] !== numLines)
77507
77564
  return true;
77508
77565
 
77509
77566
  // Setup vertex attributes.
@@ -77585,7 +77642,7 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
77585
77642
  if (shapeNode [_numLines0] !== numLines)
77586
77643
  return true;
77587
77644
 
77588
- if (shapeNode [_numLines2] !== numLines)
77645
+ if (this .hasNormals && shapeNode [_numLines2] !== numLines)
77589
77646
  return true;
77590
77647
 
77591
77648
  // Setup vertex attributes.
@@ -77639,11 +77696,11 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
77639
77696
  return;
77640
77697
 
77641
77698
  const
77642
- browser = this .getBrowser (),
77643
- appearanceNode = renderContext .appearanceNode,
77644
- shaderNode = appearanceNode .getShader (this, renderContext),
77645
- renderModeNodes = appearanceNode .getRenderModes (),
77646
- primitiveMode = browser .getPrimitiveMode (this .getPrimitiveMode ());
77699
+ browser = this .getBrowser (),
77700
+ appearanceNode = renderContext .appearanceNode,
77701
+ shaderNode = appearanceNode .getShader (this, renderContext),
77702
+ renderModeNodes = appearanceNode .getRenderModes (),
77703
+ primitiveMode = browser .getPrimitiveMode (this .getPrimitiveMode ());
77647
77704
 
77648
77705
  for (const node of renderModeNodes)
77649
77706
  node .enable (gl);
@@ -90940,7 +90997,7 @@ mediump samplerCube textureCube;
90940
90997
 
90941
90998
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
90942
90999
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90943
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(58);
91000
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(445);
90944
91001
  /*******************************************************************************
90945
91002
  *
90946
91003
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -91170,6 +91227,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
91170
91227
  "x3d_TexCoordRamp",
91171
91228
  "x3d_JointsTexture",
91172
91229
  "x3d_DisplacementsTexture",
91230
+ "x3d_DisplacementWeightsTexture",
91173
91231
  "x3d_JointMatricesTexture",
91174
91232
  // Common
91175
91233
  "x3d_Id", // Pointing ID
@@ -91984,7 +92042,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
91984
92042
 
91985
92043
  return function (gl, renderContext, geometryContext, front = true)
91986
92044
  {
91987
- const { renderObject, fogNode, appearanceNode, humanoidNode, modelViewMatrix } = renderContext;
92045
+ const { renderObject, fogNode, appearanceNode, hAnimNode, modelViewMatrix } = renderContext;
91988
92046
 
91989
92047
  const
91990
92048
  stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
@@ -92099,7 +92157,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
92099
92157
 
92100
92158
  // Skinning
92101
92159
 
92102
- humanoidNode ?.setShaderUniforms (gl, this);
92160
+ hAnimNode ?.setShaderUniforms (gl, this);
92103
92161
  };
92104
92162
  })(),
92105
92163
  enable (gl)
@@ -94470,13 +94528,30 @@ vec4 shadowCoord=light.shadowMatrix*vec4(vertex,1.0);shadowCoord.z-=light.shadow
94470
94528
  ;// ./src/assets/shaders/webgl2/common/Skin2.glsl.js
94471
94529
  const Skin2_glsl_default_ = /* glsl */ `
94472
94530
  #if defined(X3D_SKINNING)
94473
- in float x3d_CoordIndex;uniform sampler2D x3d_JointsTexture;uniform sampler2D x3d_DisplacementsTexture;uniform sampler2D x3d_JointMatricesTexture;mat4 getJointMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+1,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+2,0);vec4 d=texelFetch(x3d_JointMatricesTexture,joint*8+3,0);return mat4(a,b,c,d);}mat3 getDisplacementJointMatrix(const in int joint){mat4 m=getJointMatrix(joint);return mat3(m[0].xyz,m[1].xyz,m[2].xyz);}
94531
+ in float x3d_CoordIndex;
94532
+ #if X3D_NUM_JOINT_SETS>0
94533
+ uniform sampler2D x3d_JointsTexture;
94534
+ #endif
94535
+ #if X3D_NUM_DISPLACEMENTS>0
94536
+ uniform sampler2D x3d_DisplacementsTexture;uniform sampler2D x3d_DisplacementWeightsTexture;
94537
+ #endif
94538
+ #if X3D_NUM_JOINT_SETS>0||X3D_NUM_DISPLACEMENTS>0
94539
+ uniform sampler2D x3d_JointMatricesTexture;
94540
+ #endif
94541
+ #if X3D_NUM_JOINT_SETS>0
94542
+ mat4 getJointMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+1,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+2,0);vec4 d=texelFetch(x3d_JointMatricesTexture,joint*8+3,0);return mat4(a,b,c,d);}
94543
+ #if defined(X3D_NORMALS)
94544
+ mat3 getJointNormalMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8+4,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+5,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+6,0);return mat3(a.xyz,vec3(a.w,b.xy),vec3(b.zw,c.x));}
94545
+ #endif
94546
+ #endif
94547
+ #if X3D_NUM_DISPLACEMENTS>0
94548
+ mat3 getDisplacementJointMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+1,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+2,0);return mat3(a.xyz,b.xyz,c.xyz);}
94549
+ #endif
94474
94550
  #if defined(X3D_NORMALS)
94475
94551
  vec3 skinNormal=vec3(0.0);
94476
94552
  #if defined(X3D_TANGENTS)
94477
94553
  vec3 skinTangent=vec3(0.0);
94478
94554
  #endif
94479
- mat3 getJointNormalMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8+4,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+5,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+6,0);return mat3(a.xyz,vec3(a.w,b.xy),vec3(b.zw,c.x));}
94480
94555
  #define getSkinNormal(normal)(skinNormal)
94481
94556
  #if defined(X3D_TANGENTS)
94482
94557
  #define getSkinTangent(tangent)(skinTangent)
@@ -94493,16 +94568,19 @@ skinTangent=tangent;
94493
94568
  #endif
94494
94569
  #endif
94495
94570
  #if X3D_NUM_DISPLACEMENTS>0
94496
- {int coordIndexD=coordIndex*X3D_NUM_DISPLACEMENTS;int width=textureSize(x3d_DisplacementsTexture,0).x;int offset=(width*width)/2;for(int i=0;i<X3D_NUM_DISPLACEMENTS;++i){int index=coordIndexD+i;vec4 displacement=texelFetch(x3d_DisplacementsTexture,index,0);float weight=texelFetch(x3d_DisplacementsTexture,index+offset,0).x;skin.xyz+=getDisplacementJointMatrix(int(displacement.w))*displacement.xyz*weight;}}
94571
+ {int coordIndexD=coordIndex*(X3D_NUM_DISPLACEMENTS*2);for(int i=0;i<X3D_NUM_DISPLACEMENTS;++i){int index=coordIndexD+i*2;vec4 displacement=texelFetch(x3d_DisplacementsTexture,index,0);int weightIndex=int(texelFetch(x3d_DisplacementsTexture,index+1,0).x);float weight=texelFetch(x3d_DisplacementWeightsTexture,weightIndex,0).x;skin.xyz+=getDisplacementJointMatrix(int(displacement.w))*(displacement.xyz*weight);}}
94497
94572
  #endif
94498
- int coordIndexJ=coordIndex*(X3D_NUM_JOINT_SETS*2);for(int i=0;i<X3D_NUM_JOINT_SETS;++i){int index=coordIndexJ+i;ivec4 joints=ivec4(texelFetch(x3d_JointsTexture,index,0));vec4 weights=texelFetch(x3d_JointsTexture,index+X3D_NUM_JOINT_SETS,0);for(int i=0;i<4;++i){int joint=joints[i];float weight=weights[i];skin+=(getJointMatrix(joint)*vertex-vertex)*weight;
94573
+ #if X3D_NUM_JOINT_SETS>0
94574
+ {int coordIndexJ=coordIndex*(X3D_NUM_JOINT_SETS*2);for(int i=0;i<X3D_NUM_JOINT_SETS;++i){int index=coordIndexJ+i;ivec4 joints=ivec4(texelFetch(x3d_JointsTexture,index,0));vec4 weights=texelFetch(x3d_JointsTexture,index+X3D_NUM_JOINT_SETS,0);for(int i=0;i<4;++i){int joint=joints[i];float weight=weights[i];skin+=(getJointMatrix(joint)*vertex-vertex)*weight;
94499
94575
  #if defined(X3D_NORMALS)
94500
94576
  mat3 jointNormalMatrix=getJointNormalMatrix(joint);skinNormal+=(jointNormalMatrix*normal-normal)*weight;
94501
94577
  #if defined(X3D_TANGENTS)
94502
94578
  skinTangent+=(jointNormalMatrix*tangent-tangent)*weight;
94503
94579
  #endif
94504
94580
  #endif
94505
- }}return skin;}
94581
+ }}}
94582
+ #endif
94583
+ return skin;}
94506
94584
  #else
94507
94585
  #define getSkinVertex(vertex,normal,tangent)(vertex)
94508
94586
  #define getSkinNormal(normal)(normal)
@@ -96216,7 +96294,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96216
96294
 
96217
96295
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
96218
96296
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
96219
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(58);
96297
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(445);
96220
96298
  /*******************************************************************************
96221
96299
  *
96222
96300
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96814,7 +96892,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96814
96892
 
96815
96893
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
96816
96894
  ;// ./src/x_ite/Components/Shape/Appearance.js
96817
- /* provided dependency */ var Appearance_$ = __webpack_require__(58);
96895
+ /* provided dependency */ var Appearance_$ = __webpack_require__(445);
96818
96896
  /*******************************************************************************
96819
96897
  *
96820
96898
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -97684,7 +97762,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
97684
97762
 
97685
97763
  if (renderContext)
97686
97764
  {
97687
- const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode, localObjectsKeys } = renderContext;
97765
+ const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, hAnimNode, localObjectsKeys } = renderContext;
97688
97766
 
97689
97767
  key += shapeNode .getAlphaMode ();
97690
97768
  key += renderObject .getRenderAndGlobalLightsKey ();
@@ -97694,7 +97772,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
97694
97772
  key += appearanceNode .getStyleProperties (geometryContext .geometryType) ?.getStyleKey () ?? 0;
97695
97773
  key += appearanceNode .getTextureTransformMapping () .size || 1;
97696
97774
  key += geometryContext .textureCoordinateMapping .size || 1;
97697
- key += humanoidNode ?.getHumanoidKey () ?? "[]";
97775
+ key += hAnimNode ?.getHAnimKey () ?? "[]";
97698
97776
  key += localObjectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
97699
97777
  key += ".";
97700
97778
  key += textureNode ? 2 : appearanceNode .getTextureBits () .toString (16);
@@ -97764,7 +97842,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
97764
97842
 
97765
97843
  if (renderContext)
97766
97844
  {
97767
- const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode, localObjectsKeys, textureNode } = renderContext;
97845
+ const { renderObject, fogNode, shapeNode, appearanceNode, hAnimNode, localObjectsKeys, textureNode } = renderContext;
97768
97846
 
97769
97847
  const objectsKeys = localObjectsKeys .concat (renderObject .getGlobalLightsKeys ());
97770
97848
 
@@ -97807,11 +97885,11 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
97807
97885
  break;
97808
97886
  }
97809
97887
 
97810
- if (humanoidNode)
97888
+ if (hAnimNode)
97811
97889
  {
97812
97890
  options .push ("X3D_SKINNING");
97813
- options .push (`X3D_NUM_JOINT_SETS ${humanoidNode .getNumJoints () / 4}`);
97814
- options .push (`X3D_NUM_DISPLACEMENTS ${humanoidNode .getNumDisplacements ()}`);
97891
+ options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
97892
+ options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
97815
97893
  }
97816
97894
 
97817
97895
  const
@@ -105037,8 +105115,8 @@ const GifMedia_default_ = GifMedia;
105037
105115
 
105038
105116
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
105039
105117
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
105040
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(58);
105041
- /* provided dependency */ var SuperGif = __webpack_require__(85);
105118
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(445);
105119
+ /* provided dependency */ var SuperGif = __webpack_require__(782);
105042
105120
  /*******************************************************************************
105043
105121
  *
105044
105122
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107506,7 +107584,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107506
107584
 
107507
107585
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107508
107586
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
107509
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(58);
107587
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(445);
107510
107588
  /*******************************************************************************
107511
107589
  *
107512
107590
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108136,7 +108214,7 @@ const TextCompression_default_ = TextCompression;
108136
108214
 
108137
108215
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
108138
108216
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
108139
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(58);
108217
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(445);
108140
108218
  /*******************************************************************************
108141
108219
  *
108142
108220
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108783,7 +108861,7 @@ const RenderingProperties_default_ = RenderingProperties;
108783
108861
 
108784
108862
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
108785
108863
  ;// ./src/x_ite/Browser/Core/Notification.js
108786
- /* provided dependency */ var Notification_$ = __webpack_require__(58);
108864
+ /* provided dependency */ var Notification_$ = __webpack_require__(445);
108787
108865
  /*******************************************************************************
108788
108866
  *
108789
108867
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108905,8 +108983,8 @@ const Notification_default_ = Notification;
108905
108983
 
108906
108984
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
108907
108985
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
108908
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(690);
108909
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(58);
108986
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(949);
108987
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(445);
108910
108988
  /*******************************************************************************
108911
108989
  *
108912
108990
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111628,7 +111706,7 @@ const DataStorage_default_ = DataStorage;
111628
111706
 
111629
111707
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
111630
111708
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
111631
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(58);
111709
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(445);
111632
111710
  /*******************************************************************************
111633
111711
  *
111634
111712
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114239,8 +114317,8 @@ const X3DViewer_default_ = X3DViewer;
114239
114317
 
114240
114318
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
114241
114319
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
114242
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(880);
114243
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(58);
114320
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(485);
114321
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(445);
114244
114322
  /*******************************************************************************
114245
114323
  *
114246
114324
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115155,8 +115233,8 @@ const ExamineViewer_default_ = ExamineViewer;
115155
115233
 
115156
115234
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
115157
115235
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115158
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(880);
115159
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(58);
115236
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(485);
115237
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(445);
115160
115238
  /*******************************************************************************
115161
115239
  *
115162
115240
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116171,8 +116249,8 @@ const FlyViewer_default_ = FlyViewer;
116171
116249
 
116172
116250
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
116173
116251
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
116174
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(880);
116175
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(58);
116252
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(485);
116253
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(445);
116176
116254
  /*******************************************************************************
116177
116255
  *
116178
116256
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116501,8 +116579,8 @@ const NoneViewer_default_ = NoneViewer;
116501
116579
 
116502
116580
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116503
116581
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
116504
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(880);
116505
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(58);
116582
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(485);
116583
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(445);
116506
116584
  /*******************************************************************************
116507
116585
  *
116508
116586
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117091,11 +117169,8 @@ const
117091
117169
 
117092
117170
  function X3DNavigationContext ()
117093
117171
  {
117094
- this .addChildObjects (Base_X3DConstants .outputOnly, "activeLayer", new x_ite_Fields .SFNode (),
117095
- Base_X3DConstants .outputOnly, "activeNavigationInfo", new x_ite_Fields .SFNode (),
117096
- Base_X3DConstants .outputOnly, "activeViewpoint", new x_ite_Fields .SFNode (),
117097
- Base_X3DConstants .outputOnly, "availableViewers", new x_ite_Fields .MFString (),
117098
- Base_X3DConstants .outputOnly, "viewer", new x_ite_Fields .SFString ("EXAMINE"));
117172
+ this .addChildObjects (Base_X3DConstants .outputOnly, "availableViewers", new x_ite_Fields .MFString (),
117173
+ Base_X3DConstants .outputOnly, "viewer", new x_ite_Fields .SFString ("EXAMINE"));
117099
117174
 
117100
117175
  this [_activeCollisions] = new Set ();
117101
117176
  this [_viewerNode] = new Navigation_NoneViewer (this .getPrivateScene ());
@@ -117647,8 +117722,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
117647
117722
 
117648
117723
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
117649
117724
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
117650
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(880);
117651
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(58);
117725
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(485);
117726
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(445);
117652
117727
  /*******************************************************************************
117653
117728
  *
117654
117729
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118464,14 +118539,14 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
118464
118539
  for (const sensor of this [_activeSensors])
118465
118540
  sensor .set_motion__ (hit);
118466
118541
  },
118467
- getPointingShader (numClipPlanes, shapeNode, humanoidNode)
118542
+ getPointingShader (numClipPlanes, shapeNode, hAnimNode)
118468
118543
  {
118469
118544
  const { geometryType, hasNormals } = shapeNode .getGeometryContext ();
118470
118545
 
118471
118546
  let key = "";
118472
118547
 
118473
118548
  key += numClipPlanes; // Could be more than 9.
118474
- key += humanoidNode ?.getHumanoidKey () ?? "[]";
118549
+ key += hAnimNode ?.getHAnimKey () ?? "[]";
118475
118550
  key += shapeNode .getShapeKey ();
118476
118551
  key += geometryType;
118477
118552
  key += hasNormals ? 1 : 0;
@@ -118492,9 +118567,9 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
118492
118567
  }
118493
118568
 
118494
118569
  return this [_pointingShaders] .get (key)
118495
- ?? this .createPointingShader (key, numClipPlanes, shapeNode, humanoidNode);
118570
+ ?? this .createPointingShader (key, numClipPlanes, shapeNode, hAnimNode);
118496
118571
  },
118497
- createPointingShader (key, numClipPlanes, shapeNode, humanoidNode)
118572
+ createPointingShader (key, numClipPlanes, shapeNode, hAnimNode)
118498
118573
  {
118499
118574
  const
118500
118575
  appearanceNode = shapeNode .getAppearance (),
@@ -118534,11 +118609,11 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
118534
118609
  if (+appearanceNode .getTextureBits ())
118535
118610
  options .push ("X3D_TEXTURE");
118536
118611
 
118537
- if (humanoidNode)
118612
+ if (hAnimNode)
118538
118613
  {
118539
118614
  options .push ("X3D_SKINNING");
118540
- options .push (`X3D_NUM_JOINT_SETS ${humanoidNode .getNumJoints () / 4}`);
118541
- options .push (`X3D_NUM_DISPLACEMENTS ${humanoidNode .getNumDisplacements ()}`);
118615
+ options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
118616
+ options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
118542
118617
  }
118543
118618
 
118544
118619
  const shaderNode = this .createShader ("Pointing", "Pointing", "Pointing", options);
@@ -119095,7 +119170,7 @@ const Lock_default_ = Lock;
119095
119170
 
119096
119171
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
119097
119172
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119098
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(58);
119173
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(445);
119099
119174
  /*******************************************************************************
119100
119175
  *
119101
119176
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119350,14 +119425,14 @@ Object .assign (X3DRenderingContext .prototype,
119350
119425
 
119351
119426
  return this [_composeShader] = this .createShader ("OITCompose", "FullScreen", "OITCompose");
119352
119427
  },
119353
- getDepthShader (numClipPlanes, shapeNode, humanoidNode)
119428
+ getDepthShader (numClipPlanes, shapeNode, hAnimNode)
119354
119429
  {
119355
119430
  const geometryContext = shapeNode .getGeometryContext ();
119356
119431
 
119357
119432
  let key = "";
119358
119433
 
119359
119434
  key += numClipPlanes; // Could be more than 9.
119360
- key += humanoidNode ?.getHumanoidKey () ?? "[]";
119435
+ key += hAnimNode ?.getHAnimKey () ?? "[]";
119361
119436
  key += shapeNode .getShapeKey ();
119362
119437
  key += geometryContext .geometryType;
119363
119438
 
@@ -119377,9 +119452,9 @@ Object .assign (X3DRenderingContext .prototype,
119377
119452
  }
119378
119453
 
119379
119454
  return this [_depthShaders] .get (key)
119380
- ?? this .createDepthShader (key, numClipPlanes, shapeNode, humanoidNode);
119455
+ ?? this .createDepthShader (key, numClipPlanes, shapeNode, hAnimNode);
119381
119456
  },
119382
- createDepthShader (key, numClipPlanes, shapeNode, humanoidNode)
119457
+ createDepthShader (key, numClipPlanes, shapeNode, hAnimNode)
119383
119458
  {
119384
119459
  const
119385
119460
  appearanceNode = shapeNode .getAppearance (),
@@ -119400,11 +119475,11 @@ Object .assign (X3DRenderingContext .prototype,
119400
119475
  if (appearanceNode .getStyleProperties (geometryContext .geometryType))
119401
119476
  options .push ("X3D_STYLE_PROPERTIES");
119402
119477
 
119403
- if (humanoidNode)
119478
+ if (hAnimNode)
119404
119479
  {
119405
119480
  options .push ("X3D_SKINNING");
119406
- options .push (`X3D_NUM_JOINT_SETS ${humanoidNode .getNumJoints () / 4}`);
119407
- options .push (`X3D_NUM_DISPLACEMENTS ${humanoidNode .getNumDisplacements ()}`);
119481
+ options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
119482
+ options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
119408
119483
  }
119409
119484
 
119410
119485
  const shaderNode = this .createShader ("Depth", "Depth", "Depth", options);
@@ -120409,7 +120484,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120409
120484
 
120410
120485
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120411
120486
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
120412
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(58);
120487
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(445);
120413
120488
  const KTXDecoder_default_ = class KTXDecoder
120414
120489
  {
120415
120490
  constructor (gl, externalKtxlib, scriptDir)
@@ -121988,7 +122063,7 @@ const Components_default_ = Components;
121988
122063
 
121989
122064
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
121990
122065
  ;// ./src/x_ite/Browser/DOMIntegration.js
121991
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(58);
122066
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(445);
121992
122067
  /*******************************************************************************
121993
122068
  * MIT License
121994
122069
  *
@@ -123254,7 +123329,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123254
123329
 
123255
123330
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
123256
123331
  ;// ./src/x_ite/Browser/X3DBrowser.js
123257
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(58);
123332
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(445);
123258
123333
  /*******************************************************************************
123259
123334
  *
123260
123335
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123325,6 +123400,8 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123325
123400
 
123326
123401
 
123327
123402
 
123403
+
123404
+
123328
123405
 
123329
123406
 
123330
123407
 
@@ -124331,6 +124408,15 @@ Object .defineProperties (X3DBrowser .prototype,
124331
124408
 
124332
124409
  Object .defineProperties (X3DBrowser,
124333
124410
  {
124411
+ fieldDefinitions:
124412
+ {
124413
+ value: new Base_FieldDefinitionArray ([
124414
+ new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeLayer", new x_ite_Fields .SFNode ()),
124415
+ new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeNavigationInfo", new x_ite_Fields .SFNode ()),
124416
+ new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeViewpoint", new x_ite_Fields .SFNode ()),
124417
+ ]),
124418
+ enumerable: true,
124419
+ },
124334
124420
  typeName:
124335
124421
  {
124336
124422
  value: "X3DBrowser",
@@ -124345,7 +124431,7 @@ const X3DBrowser_default_ = X3DBrowser;
124345
124431
 
124346
124432
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
124347
124433
  ;// ./src/x_ite/X3DCanvasElement.js
124348
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(58);
124434
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(445);
124349
124435
  /*******************************************************************************
124350
124436
  *
124351
124437
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124612,8 +124698,8 @@ const QuickSort_default_ = QuickSort;
124612
124698
 
124613
124699
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
124614
124700
  ;// ./src/lib/jquery.js
124615
- /* provided dependency */ var jquery_$ = __webpack_require__(58);
124616
- /* provided dependency */ var pako = __webpack_require__(642);
124701
+ /* provided dependency */ var jquery_$ = __webpack_require__(445);
124702
+ /* provided dependency */ var pako = __webpack_require__(729);
124617
124703
  Object .assign (jquery_$,
124618
124704
  {
124619
124705
  decodeText (input)
@@ -124690,13 +124776,13 @@ const jquery_default_ = jquery_$;
124690
124776
 
124691
124777
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
124692
124778
  ;// ./src/lib/libtess.js
124693
- /* provided dependency */ var libtess_libtess = __webpack_require__(499);
124779
+ /* provided dependency */ var libtess_libtess = __webpack_require__(294);
124694
124780
  const libtess_default_ = libtess_libtess;
124695
124781
  ;
124696
124782
 
124697
124783
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
124698
124784
  ;// ./src/x_ite/X3D.js
124699
- /* provided dependency */ var X3D_$ = __webpack_require__(58);
124785
+ /* provided dependency */ var X3D_$ = __webpack_require__(445);
124700
124786
  /*******************************************************************************
124701
124787
  *
124702
124788
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125000,7 +125086,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
125000
125086
 
125001
125087
  // Assign X3D to global namespace.
125002
125088
 
125003
- window [Symbol .for ("X_ITE.X3D-10.5.7")] = x_ite_X3D;
125089
+ window [Symbol .for ("X_ITE.X3D-10.5.8")] = x_ite_X3D;
125004
125090
 
125005
125091
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125006
125092