x_ite 8.7.8 → 8.7.9
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.
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +27 -33
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +22 -22
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +35 -35
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +516 -458
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/package.json +1 -1
- package/src/assets/shaders/webgl1/include/Shadow.glsl.js +21 -25
- package/src/assets/shaders/webgl2/include/Shadow.glsl.js +23 -27
- package/src/x_ite/Base/X3DBaseNode.js +4 -5
- package/src/x_ite/Base/X3DObject.js +1 -1
- package/src/x_ite/Base/X3DObjectArrayField.js +7 -38
- package/src/x_ite/Base/X3DTypedArrayField.js +2 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +10 -2
- package/src/x_ite/Components/Core/X3DNode.js +15 -15
- package/src/x_ite/Components/Core.js +2 -2
- package/src/x_ite/Components/EnvironmentalEffects.js +2 -2
- package/src/x_ite/Components/EnvironmentalSensor.js +2 -2
- package/src/x_ite/Components/Followers.js +2 -2
- package/src/x_ite/Components/Geometry3D.js +2 -2
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +1 -3
- package/src/x_ite/Components/Grouping.js +2 -2
- package/src/x_ite/Components/Interpolation.js +2 -2
- package/src/x_ite/Components/Layering.js +2 -2
- package/src/x_ite/Components/Lighting.js +2 -2
- package/src/x_ite/Components/NURBS/Contour2D.js +1 -3
- package/src/x_ite/Components/NURBS/NurbsSet.js +1 -3
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +1 -3
- package/src/x_ite/Components/Navigation.js +2 -2
- package/src/x_ite/Components/Networking.js +2 -2
- package/src/x_ite/Components/PointingDeviceSensor.js +2 -2
- package/src/x_ite/Components/Rendering.js +2 -2
- package/src/x_ite/Components/Scripting/Script.js +7 -7
- package/src/x_ite/Components/Shaders.js +2 -2
- package/src/x_ite/Components/Shape.js +2 -2
- package/src/x_ite/Components/Sound.js +2 -2
- package/src/x_ite/Components/Texturing.js +2 -2
- package/src/x_ite/Components/Time.js +2 -2
- package/src/x_ite/Components.js +2 -2
- package/src/x_ite/Configuration/NodeTypeArray.js +68 -0
- package/src/x_ite/Configuration/SupportedNodes.js +13 -20
- package/src/x_ite/Execution/X3DExecutionContext.js +67 -49
- package/src/x_ite/Execution/X3DScene.js +1 -1
- package/src/x_ite/Execution/X3DWorld.js +1 -1
- package/src/x_ite/InputOutput/FileLoader.js +1 -1
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +1 -1
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -1
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
- package/src/x_ite/Routing/X3DRoute.js +8 -0
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.7.
|
|
1
|
+
/* X_ITE v8.7.9 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 131:
|
|
15
15
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
"use strict";
|
|
18
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
18
|
+
/* provided dependency */ var jQuery = __webpack_require__(532);
|
|
19
19
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
|
387
387
|
|
|
388
388
|
/***/ }),
|
|
389
389
|
|
|
390
|
-
/***/
|
|
390
|
+
/***/ 642:
|
|
391
391
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
392
392
|
|
|
393
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
393
|
+
/* provided dependency */ var jQuery = __webpack_require__(532);
|
|
394
394
|
/**
|
|
395
395
|
* @preserve jquery.fullscreen 1.1.5
|
|
396
396
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -586,7 +586,7 @@ installFullScreenHandlers();
|
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
588
|
|
|
589
|
-
/***/
|
|
589
|
+
/***/ 292:
|
|
590
590
|
/***/ ((module, exports, __webpack_require__) => {
|
|
591
591
|
|
|
592
592
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
600
600
|
(function (factory) {
|
|
601
601
|
if ( true ) {
|
|
602
602
|
// AMD. Register as an anonymous module.
|
|
603
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
603
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(532)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
604
604
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
605
605
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
606
606
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
811
811
|
|
|
812
812
|
/***/ }),
|
|
813
813
|
|
|
814
|
-
/***/
|
|
814
|
+
/***/ 532:
|
|
815
815
|
/***/ (function(module, exports) {
|
|
816
816
|
|
|
817
817
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11523,7 +11523,7 @@ return jQuery;
|
|
|
11523
11523
|
|
|
11524
11524
|
/***/ }),
|
|
11525
11525
|
|
|
11526
|
-
/***/
|
|
11526
|
+
/***/ 513:
|
|
11527
11527
|
/***/ ((module) => {
|
|
11528
11528
|
|
|
11529
11529
|
/**
|
|
@@ -16302,7 +16302,7 @@ if (true) {
|
|
|
16302
16302
|
|
|
16303
16303
|
/***/ }),
|
|
16304
16304
|
|
|
16305
|
-
/***/
|
|
16305
|
+
/***/ 310:
|
|
16306
16306
|
/***/ (function(__unused_webpack_module, exports) {
|
|
16307
16307
|
|
|
16308
16308
|
|
|
@@ -19547,7 +19547,7 @@ if (true) {
|
|
|
19547
19547
|
|
|
19548
19548
|
/***/ }),
|
|
19549
19549
|
|
|
19550
|
-
/***/
|
|
19550
|
+
/***/ 558:
|
|
19551
19551
|
/***/ (function(module, exports) {
|
|
19552
19552
|
|
|
19553
19553
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -22053,7 +22053,7 @@ Object .assign (X3DObject,
|
|
|
22053
22053
|
})(),
|
|
22054
22054
|
getInterestId: function (callbackName, object)
|
|
22055
22055
|
{
|
|
22056
|
-
return
|
|
22056
|
+
return this .getId (object) + "." + this .getId (object [callbackName]);
|
|
22057
22057
|
},
|
|
22058
22058
|
});
|
|
22059
22059
|
|
|
@@ -31015,7 +31015,7 @@ function X3DObjectArrayField (value)
|
|
|
31015
31015
|
if (value [0] instanceof Array)
|
|
31016
31016
|
value = value [0];
|
|
31017
31017
|
|
|
31018
|
-
|
|
31018
|
+
this .push (... value);
|
|
31019
31019
|
|
|
31020
31020
|
return proxy;
|
|
31021
31021
|
}
|
|
@@ -31045,8 +31045,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31045
31045
|
copy = target .create (),
|
|
31046
31046
|
array = target .getValue ();
|
|
31047
31047
|
|
|
31048
|
-
|
|
31049
|
-
|
|
31048
|
+
copy .push (... array);
|
|
31050
31049
|
copy .setModificationTime (0);
|
|
31051
31050
|
|
|
31052
31051
|
return copy;
|
|
@@ -31204,47 +31203,17 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31204
31203
|
args .push (field);
|
|
31205
31204
|
}
|
|
31206
31205
|
|
|
31207
|
-
|
|
31208
|
-
|
|
31206
|
+
target .getValue () .splice (index, 0, ... args);
|
|
31209
31207
|
target .addEvent ();
|
|
31210
31208
|
},
|
|
31211
31209
|
remove: function (first, last, value)
|
|
31212
31210
|
{
|
|
31213
31211
|
const
|
|
31214
31212
|
target = this [X3DObjectArrayField_target],
|
|
31215
|
-
array = target .getValue ()
|
|
31216
|
-
|
|
31217
|
-
if (typeof value === "function")
|
|
31218
|
-
{
|
|
31219
|
-
first = array .findIndex ((current, index) => index >= first && value (current .valueOf ()))
|
|
31220
|
-
|
|
31221
|
-
if (first !== -1)
|
|
31222
|
-
{
|
|
31223
|
-
for (let i = first; ++ i < last; )
|
|
31224
|
-
{
|
|
31225
|
-
const current = array [i];
|
|
31226
|
-
|
|
31227
|
-
if (!value (current .valueOf ()))
|
|
31228
|
-
{
|
|
31229
|
-
const tmp = array [first];
|
|
31230
|
-
|
|
31231
|
-
array [first ++] = current;
|
|
31232
|
-
array [i] = tmp;
|
|
31233
|
-
}
|
|
31234
|
-
}
|
|
31235
|
-
}
|
|
31236
|
-
else
|
|
31237
|
-
{
|
|
31238
|
-
first = last;
|
|
31239
|
-
}
|
|
31240
|
-
|
|
31241
|
-
if (first !== last)
|
|
31242
|
-
target .addEvent ();
|
|
31243
|
-
|
|
31244
|
-
return first;
|
|
31245
|
-
}
|
|
31213
|
+
array = target .getValue (),
|
|
31214
|
+
cmp = typeof value === "function" ? value : v => v === value;
|
|
31246
31215
|
|
|
31247
|
-
first = array .findIndex ((current, index) => index >= first && current .
|
|
31216
|
+
first = array .findIndex ((current, index) => index >= first && cmp (current .valueOf ()));
|
|
31248
31217
|
|
|
31249
31218
|
if (first !== -1)
|
|
31250
31219
|
{
|
|
@@ -31252,7 +31221,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31252
31221
|
{
|
|
31253
31222
|
const current = array [i];
|
|
31254
31223
|
|
|
31255
|
-
if (!current .
|
|
31224
|
+
if (!cmp (current .valueOf ()))
|
|
31256
31225
|
{
|
|
31257
31226
|
const tmp = array [first];
|
|
31258
31227
|
|
|
@@ -31669,7 +31638,7 @@ function X3DTypedArrayField (args)
|
|
|
31669
31638
|
this [_tmp] = [ ]; // Array with components size.
|
|
31670
31639
|
}
|
|
31671
31640
|
|
|
31672
|
-
|
|
31641
|
+
this .push (... args);
|
|
31673
31642
|
|
|
31674
31643
|
return proxy;
|
|
31675
31644
|
}
|
|
@@ -31723,7 +31692,7 @@ X3DTypedArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFie
|
|
|
31723
31692
|
|
|
31724
31693
|
copy [_length] = target [_length];
|
|
31725
31694
|
|
|
31726
|
-
Base_X3DArrayField.prototype.set.call (copy, copyArray
|
|
31695
|
+
Base_X3DArrayField.prototype.set.call (copy, copyArray);
|
|
31727
31696
|
|
|
31728
31697
|
copy .setModificationTime (0);
|
|
31729
31698
|
|
|
@@ -33889,6 +33858,8 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
|
|
|
33889
33858
|
},
|
|
33890
33859
|
setup: function ()
|
|
33891
33860
|
{
|
|
33861
|
+
Object .freeze (this [_type]);
|
|
33862
|
+
|
|
33892
33863
|
for (const field of this [_fields])
|
|
33893
33864
|
field .setTainted (false);
|
|
33894
33865
|
|
|
@@ -34149,14 +34120,11 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
|
|
|
34149
34120
|
},
|
|
34150
34121
|
hasRoutes: function ()
|
|
34151
34122
|
{
|
|
34152
|
-
/// Returns true if there are any routes from or to fields of this node otherwise false.
|
|
34123
|
+
/// Returns true if there are any routes from or to fields of this node, otherwise false.
|
|
34153
34124
|
|
|
34154
34125
|
for (const field of this [_fields])
|
|
34155
34126
|
{
|
|
34156
|
-
if (field .getInputRoutes () .size)
|
|
34157
|
-
return true;
|
|
34158
|
-
|
|
34159
|
-
if (field .getOutputRoutes () .size)
|
|
34127
|
+
if (field .getInputRoutes () .size || field .getOutputRoutes () .size)
|
|
34160
34128
|
return true;
|
|
34161
34129
|
}
|
|
34162
34130
|
|
|
@@ -34291,7 +34259,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
|
34291
34259
|
*
|
|
34292
34260
|
******************************************************************************/
|
|
34293
34261
|
|
|
34294
|
-
const VERSION_default_ = "8.7.
|
|
34262
|
+
const VERSION_default_ = "8.7.9";
|
|
34295
34263
|
;
|
|
34296
34264
|
|
|
34297
34265
|
x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
|
|
@@ -35210,7 +35178,7 @@ const gettext_default_ = gettext;
|
|
|
35210
35178
|
x_ite_Namespace.set ("locale/gettext", gettext_default_);
|
|
35211
35179
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
35212
35180
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
35213
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
35181
|
+
/* provided dependency */ var $ = __webpack_require__(532);
|
|
35214
35182
|
/*******************************************************************************
|
|
35215
35183
|
*
|
|
35216
35184
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -35708,7 +35676,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
35708
35676
|
x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
35709
35677
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
35710
35678
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
35711
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
35679
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(532);
|
|
35712
35680
|
/*******************************************************************************
|
|
35713
35681
|
*
|
|
35714
35682
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36289,7 +36257,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
36289
36257
|
x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
36290
36258
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
36291
36259
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
36292
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
36260
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(532);
|
|
36293
36261
|
/*******************************************************************************
|
|
36294
36262
|
*
|
|
36295
36263
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36411,8 +36379,8 @@ const Notification_default_ = Notification;
|
|
|
36411
36379
|
x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
|
|
36412
36380
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
36413
36381
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
36414
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
36415
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
36382
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(642);
|
|
36383
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(532);
|
|
36416
36384
|
/*******************************************************************************
|
|
36417
36385
|
*
|
|
36418
36386
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -37325,198 +37293,6 @@ const URLs_default_ = URLs;
|
|
|
37325
37293
|
|
|
37326
37294
|
x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
|
|
37327
37295
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
37328
|
-
;// CONCATENATED MODULE: ./src/x_ite/Configuration/SupportedNodes.js
|
|
37329
|
-
/*******************************************************************************
|
|
37330
|
-
*
|
|
37331
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37332
|
-
*
|
|
37333
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
37334
|
-
*
|
|
37335
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
37336
|
-
*
|
|
37337
|
-
* The copyright notice above does not evidence any actual of intended
|
|
37338
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
37339
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
37340
|
-
* create3000.
|
|
37341
|
-
*
|
|
37342
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
37343
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
37344
|
-
* permission of create3000.
|
|
37345
|
-
*
|
|
37346
|
-
* NON-MILITARY USE ONLY
|
|
37347
|
-
*
|
|
37348
|
-
* All create3000 software are effectively free software with a non-military use
|
|
37349
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
37350
|
-
* source in any way you please with the exception anything that uses it must be
|
|
37351
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
37352
|
-
*
|
|
37353
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37354
|
-
*
|
|
37355
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
37356
|
-
*
|
|
37357
|
-
* This file is part of the X_ITE Project.
|
|
37358
|
-
*
|
|
37359
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
37360
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
37361
|
-
* Free Software Foundation.
|
|
37362
|
-
*
|
|
37363
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
37364
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
37365
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
37366
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
37367
|
-
*
|
|
37368
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
37369
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
37370
|
-
* copy of the GPLv3 License.
|
|
37371
|
-
*
|
|
37372
|
-
* For Silvio, Joy and Adi.
|
|
37373
|
-
*
|
|
37374
|
-
******************************************************************************/
|
|
37375
|
-
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
const SupportedNodes_fieldDefinitions = Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions");
|
|
37380
|
-
|
|
37381
|
-
const
|
|
37382
|
-
types = new Map (),
|
|
37383
|
-
abstractTypes = new Map ();
|
|
37384
|
-
|
|
37385
|
-
let nodeType = Base_X3DConstants.X3DBaseNode;
|
|
37386
|
-
|
|
37387
|
-
const SupportedNodes =
|
|
37388
|
-
{
|
|
37389
|
-
addType: function (typeName, Type)
|
|
37390
|
-
{
|
|
37391
|
-
Base_X3DConstants [typeName] = ++ nodeType; // Start with 1, as X3DBaseNode is 0.
|
|
37392
|
-
|
|
37393
|
-
types .set (typeName, Type);
|
|
37394
|
-
|
|
37395
|
-
Parser_HTMLSupport.addNodeTypeName (typeName);
|
|
37396
|
-
|
|
37397
|
-
// HTML Support
|
|
37398
|
-
|
|
37399
|
-
for (const { name, accessType } of Type .prototype [SupportedNodes_fieldDefinitions])
|
|
37400
|
-
{
|
|
37401
|
-
if (accessType & Base_X3DConstants.initializeOnly)
|
|
37402
|
-
Parser_HTMLSupport.addFieldName (name)
|
|
37403
|
-
}
|
|
37404
|
-
},
|
|
37405
|
-
getType: function (typeName)
|
|
37406
|
-
{
|
|
37407
|
-
return types .get (typeName);
|
|
37408
|
-
},
|
|
37409
|
-
getTypes ()
|
|
37410
|
-
{
|
|
37411
|
-
return Array .from (types .values ());
|
|
37412
|
-
},
|
|
37413
|
-
addAbstractType: function (typeName, Type)
|
|
37414
|
-
{
|
|
37415
|
-
Base_X3DConstants [typeName] = ++ nodeType;
|
|
37416
|
-
|
|
37417
|
-
abstractTypes .set (typeName, Type);
|
|
37418
|
-
},
|
|
37419
|
-
getAbstractType: function (typeName)
|
|
37420
|
-
{
|
|
37421
|
-
return abstractTypes .get (typeName);
|
|
37422
|
-
},
|
|
37423
|
-
getAbstractTypes ()
|
|
37424
|
-
{
|
|
37425
|
-
return Array .from (abstractTypes .values ());
|
|
37426
|
-
},
|
|
37427
|
-
};
|
|
37428
|
-
|
|
37429
|
-
const SupportedNodes_default_ = SupportedNodes;
|
|
37430
|
-
;
|
|
37431
|
-
|
|
37432
|
-
x_ite_Namespace.set ("x_ite/Configuration/SupportedNodes", SupportedNodes_default_);
|
|
37433
|
-
/* harmony default export */ const Configuration_SupportedNodes = (SupportedNodes_default_);
|
|
37434
|
-
;// CONCATENATED MODULE: ./src/x_ite/Execution/NamedNodesArray.js
|
|
37435
|
-
/*******************************************************************************
|
|
37436
|
-
*
|
|
37437
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37438
|
-
*
|
|
37439
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
37440
|
-
*
|
|
37441
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
37442
|
-
*
|
|
37443
|
-
* The copyright notice above does not evidence any actual of intended
|
|
37444
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
37445
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
37446
|
-
* create3000.
|
|
37447
|
-
*
|
|
37448
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
37449
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
37450
|
-
* permission of create3000.
|
|
37451
|
-
*
|
|
37452
|
-
* NON-MILITARY USE ONLY
|
|
37453
|
-
*
|
|
37454
|
-
* All create3000 software are effectively free software with a non-military use
|
|
37455
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
37456
|
-
* source in any way you please with the exception anything that uses it must be
|
|
37457
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
37458
|
-
*
|
|
37459
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37460
|
-
*
|
|
37461
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
37462
|
-
*
|
|
37463
|
-
* This file is part of the X_ITE Project.
|
|
37464
|
-
*
|
|
37465
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
37466
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
37467
|
-
* Free Software Foundation.
|
|
37468
|
-
*
|
|
37469
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
37470
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
37471
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
37472
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
37473
|
-
*
|
|
37474
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
37475
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
37476
|
-
* copy of the GPLv3 License.
|
|
37477
|
-
*
|
|
37478
|
-
* For Silvio, Joy and Adi.
|
|
37479
|
-
*
|
|
37480
|
-
******************************************************************************/
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
|
|
37484
|
-
|
|
37485
|
-
function NamedNodesArray (values)
|
|
37486
|
-
{
|
|
37487
|
-
const proxy = Base_X3DInfoArray.call (this);
|
|
37488
|
-
|
|
37489
|
-
if (values)
|
|
37490
|
-
{
|
|
37491
|
-
for (const value of values)
|
|
37492
|
-
{
|
|
37493
|
-
if (!(value instanceof Base_X3DBaseNode))
|
|
37494
|
-
throw new TypeError (`Wrong type in construction of ${this .getTypeName ()}.`);
|
|
37495
|
-
|
|
37496
|
-
this .add (value .getName (), value);
|
|
37497
|
-
}
|
|
37498
|
-
}
|
|
37499
|
-
|
|
37500
|
-
return proxy;
|
|
37501
|
-
}
|
|
37502
|
-
|
|
37503
|
-
NamedNodesArray .prototype = Object .assign (Object .create (Base_X3DInfoArray.prototype),
|
|
37504
|
-
{
|
|
37505
|
-
constructor: NamedNodesArray,
|
|
37506
|
-
getTypeName: function ()
|
|
37507
|
-
{
|
|
37508
|
-
return "NamedNodesArray";
|
|
37509
|
-
},
|
|
37510
|
-
});
|
|
37511
|
-
|
|
37512
|
-
for (const key of Reflect .ownKeys (NamedNodesArray .prototype))
|
|
37513
|
-
Object .defineProperty (NamedNodesArray .prototype, key, { enumerable: false });
|
|
37514
|
-
|
|
37515
|
-
const NamedNodesArray_default_ = NamedNodesArray;
|
|
37516
|
-
;
|
|
37517
|
-
|
|
37518
|
-
x_ite_Namespace.set ("x_ite/Execution/NamedNodesArray", NamedNodesArray_default_);
|
|
37519
|
-
/* harmony default export */ const Execution_NamedNodesArray = (NamedNodesArray_default_);
|
|
37520
37296
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Core/X3DNode.js
|
|
37521
37297
|
/*******************************************************************************
|
|
37522
37298
|
*
|
|
@@ -37597,7 +37373,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37597
37373
|
const namedNode = executionContext .getNamedNodes () .get (this .getName ());
|
|
37598
37374
|
|
|
37599
37375
|
if (namedNode)
|
|
37600
|
-
return namedNode;
|
|
37376
|
+
return namedNode .getValue ();
|
|
37601
37377
|
}
|
|
37602
37378
|
|
|
37603
37379
|
// Create copy.
|
|
@@ -37630,7 +37406,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37630
37406
|
}
|
|
37631
37407
|
catch (error)
|
|
37632
37408
|
{
|
|
37633
|
-
console .error (error
|
|
37409
|
+
console .error (error);
|
|
37634
37410
|
}
|
|
37635
37411
|
}
|
|
37636
37412
|
}
|
|
@@ -37655,7 +37431,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37655
37431
|
}
|
|
37656
37432
|
catch (error)
|
|
37657
37433
|
{
|
|
37658
|
-
console .
|
|
37434
|
+
console .error (error);
|
|
37659
37435
|
}
|
|
37660
37436
|
}
|
|
37661
37437
|
|
|
@@ -38810,7 +38586,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38810
38586
|
{
|
|
38811
38587
|
const parentContext = executionContext .getExecutionContext ();
|
|
38812
38588
|
|
|
38813
|
-
for (const importedNode of parentContext .getImportedNodes ())
|
|
38589
|
+
for (const importedNode of [... parentContext .getImportedNodes ()])
|
|
38814
38590
|
{
|
|
38815
38591
|
try
|
|
38816
38592
|
{
|
|
@@ -38826,7 +38602,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38826
38602
|
|
|
38827
38603
|
// Remove exported node if any.
|
|
38828
38604
|
|
|
38829
|
-
for (const exportedNode of executionContext .getExportedNodes ())
|
|
38605
|
+
for (const exportedNode of [... executionContext .getExportedNodes ()])
|
|
38830
38606
|
{
|
|
38831
38607
|
if (exportedNode .getLocalNode () === this)
|
|
38832
38608
|
executionContext .removeExportedNode (exportedNode .getExportedName ());
|
|
@@ -38837,20 +38613,20 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38837
38613
|
|
|
38838
38614
|
for (const firstParent of new Set (this .getParents ()))
|
|
38839
38615
|
{
|
|
38840
|
-
if (firstParent instanceof x_ite_Fields.SFNode)
|
|
38616
|
+
if (!(firstParent instanceof x_ite_Fields.SFNode))
|
|
38617
|
+
continue;
|
|
38618
|
+
|
|
38619
|
+
for (const secondParent of new Set (firstParent .getParents ()))
|
|
38841
38620
|
{
|
|
38842
|
-
|
|
38843
|
-
|
|
38844
|
-
if (secondParent instanceof x_ite_Fields.MFNode)
|
|
38845
|
-
{
|
|
38846
|
-
const length = secondParent .length;
|
|
38621
|
+
if (!(secondParent instanceof x_ite_Fields.MFNode))
|
|
38622
|
+
continue;
|
|
38847
38623
|
|
|
38848
|
-
|
|
38849
|
-
}
|
|
38850
|
-
}
|
|
38624
|
+
const length = secondParent .length;
|
|
38851
38625
|
|
|
38852
|
-
firstParent .
|
|
38626
|
+
secondParent .erase (secondParent .remove (0, length, firstParent .valueOf ()), length);
|
|
38853
38627
|
}
|
|
38628
|
+
|
|
38629
|
+
firstParent .setValue (null);
|
|
38854
38630
|
}
|
|
38855
38631
|
|
|
38856
38632
|
// Call super.dispose, where fields get disposed.
|
|
@@ -38864,6 +38640,264 @@ const X3DNode_default_ = X3DNode;
|
|
|
38864
38640
|
|
|
38865
38641
|
x_ite_Namespace.set ("x_ite/Components/Core/X3DNode", X3DNode_default_);
|
|
38866
38642
|
/* harmony default export */ const Core_X3DNode = (X3DNode_default_);
|
|
38643
|
+
;// CONCATENATED MODULE: ./src/x_ite/Configuration/NodeTypeArray.js
|
|
38644
|
+
/*******************************************************************************
|
|
38645
|
+
*
|
|
38646
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38647
|
+
*
|
|
38648
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38649
|
+
*
|
|
38650
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38651
|
+
*
|
|
38652
|
+
* The copyright notice above does not evidence any actual of intended
|
|
38653
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
38654
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38655
|
+
* create3000.
|
|
38656
|
+
*
|
|
38657
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
38658
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
38659
|
+
* permission of create3000.
|
|
38660
|
+
*
|
|
38661
|
+
* NON-MILITARY USE ONLY
|
|
38662
|
+
*
|
|
38663
|
+
* All create3000 software are effectively free software with a non-military use
|
|
38664
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38665
|
+
* source in any way you please with the exception anything that uses it must be
|
|
38666
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
38667
|
+
*
|
|
38668
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38669
|
+
*
|
|
38670
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38671
|
+
*
|
|
38672
|
+
* This file is part of the X_ITE Project.
|
|
38673
|
+
*
|
|
38674
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38675
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
38676
|
+
* Free Software Foundation.
|
|
38677
|
+
*
|
|
38678
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38679
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38680
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38681
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38682
|
+
*
|
|
38683
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
38684
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38685
|
+
* copy of the GPLv3 License.
|
|
38686
|
+
*
|
|
38687
|
+
* For Silvio, Joy and Adi.
|
|
38688
|
+
*
|
|
38689
|
+
******************************************************************************/
|
|
38690
|
+
|
|
38691
|
+
|
|
38692
|
+
|
|
38693
|
+
|
|
38694
|
+
function NodeTypeArray (values)
|
|
38695
|
+
{
|
|
38696
|
+
return Base_X3DInfoArray.call (this, values, Core_X3DNode);
|
|
38697
|
+
}
|
|
38698
|
+
|
|
38699
|
+
NodeTypeArray .prototype = Object .assign (Object .create (Base_X3DInfoArray.prototype),
|
|
38700
|
+
{
|
|
38701
|
+
constructor: NodeTypeArray,
|
|
38702
|
+
getTypeName: function ()
|
|
38703
|
+
{
|
|
38704
|
+
return "NodeTypeArray";
|
|
38705
|
+
},
|
|
38706
|
+
});
|
|
38707
|
+
|
|
38708
|
+
for (const key of Reflect .ownKeys (NodeTypeArray .prototype))
|
|
38709
|
+
Object .defineProperty (NodeTypeArray .prototype, key, { enumerable: false });
|
|
38710
|
+
|
|
38711
|
+
const NodeTypeArray_default_ = NodeTypeArray;
|
|
38712
|
+
;
|
|
38713
|
+
|
|
38714
|
+
x_ite_Namespace.set ("x_ite/Configuration/NodeTypeArray", NodeTypeArray_default_);
|
|
38715
|
+
/* harmony default export */ const Configuration_NodeTypeArray = (NodeTypeArray_default_);
|
|
38716
|
+
;// CONCATENATED MODULE: ./src/x_ite/Configuration/SupportedNodes.js
|
|
38717
|
+
/*******************************************************************************
|
|
38718
|
+
*
|
|
38719
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38720
|
+
*
|
|
38721
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38722
|
+
*
|
|
38723
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38724
|
+
*
|
|
38725
|
+
* The copyright notice above does not evidence any actual of intended
|
|
38726
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
38727
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38728
|
+
* create3000.
|
|
38729
|
+
*
|
|
38730
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
38731
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
38732
|
+
* permission of create3000.
|
|
38733
|
+
*
|
|
38734
|
+
* NON-MILITARY USE ONLY
|
|
38735
|
+
*
|
|
38736
|
+
* All create3000 software are effectively free software with a non-military use
|
|
38737
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38738
|
+
* source in any way you please with the exception anything that uses it must be
|
|
38739
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
38740
|
+
*
|
|
38741
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38742
|
+
*
|
|
38743
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38744
|
+
*
|
|
38745
|
+
* This file is part of the X_ITE Project.
|
|
38746
|
+
*
|
|
38747
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38748
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
38749
|
+
* Free Software Foundation.
|
|
38750
|
+
*
|
|
38751
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38752
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38753
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38754
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38755
|
+
*
|
|
38756
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
38757
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38758
|
+
* copy of the GPLv3 License.
|
|
38759
|
+
*
|
|
38760
|
+
* For Silvio, Joy and Adi.
|
|
38761
|
+
*
|
|
38762
|
+
******************************************************************************/
|
|
38763
|
+
|
|
38764
|
+
|
|
38765
|
+
|
|
38766
|
+
|
|
38767
|
+
|
|
38768
|
+
const SupportedNodes_fieldDefinitions = Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions");
|
|
38769
|
+
|
|
38770
|
+
const
|
|
38771
|
+
nodeTypes = new Configuration_NodeTypeArray (),
|
|
38772
|
+
abstractNodeTypes = new Configuration_NodeTypeArray ();
|
|
38773
|
+
|
|
38774
|
+
let nodeType = Base_X3DConstants.X3DBaseNode;
|
|
38775
|
+
|
|
38776
|
+
const SupportedNodes =
|
|
38777
|
+
{
|
|
38778
|
+
addNodeType: function (typeName, Type)
|
|
38779
|
+
{
|
|
38780
|
+
Base_X3DConstants [typeName] = ++ nodeType; // Start with 1, as X3DBaseNode is 0.
|
|
38781
|
+
|
|
38782
|
+
nodeTypes .add (typeName, Type);
|
|
38783
|
+
|
|
38784
|
+
Parser_HTMLSupport.addNodeTypeName (typeName);
|
|
38785
|
+
|
|
38786
|
+
// HTML Support
|
|
38787
|
+
|
|
38788
|
+
for (const { name, accessType } of Type .prototype [SupportedNodes_fieldDefinitions])
|
|
38789
|
+
{
|
|
38790
|
+
if (accessType & Base_X3DConstants.initializeOnly)
|
|
38791
|
+
Parser_HTMLSupport.addFieldName (name)
|
|
38792
|
+
}
|
|
38793
|
+
},
|
|
38794
|
+
getNodeTypes ()
|
|
38795
|
+
{
|
|
38796
|
+
return nodeTypes;
|
|
38797
|
+
},
|
|
38798
|
+
addAbstractNodeType: function (typeName, Type)
|
|
38799
|
+
{
|
|
38800
|
+
Base_X3DConstants [typeName] = ++ nodeType;
|
|
38801
|
+
|
|
38802
|
+
abstractNodeTypes .add (typeName, Type);
|
|
38803
|
+
},
|
|
38804
|
+
getAbstractNodeTypes ()
|
|
38805
|
+
{
|
|
38806
|
+
return abstractNodeTypes;
|
|
38807
|
+
},
|
|
38808
|
+
};
|
|
38809
|
+
|
|
38810
|
+
const SupportedNodes_default_ = SupportedNodes;
|
|
38811
|
+
;
|
|
38812
|
+
|
|
38813
|
+
x_ite_Namespace.set ("x_ite/Configuration/SupportedNodes", SupportedNodes_default_);
|
|
38814
|
+
/* harmony default export */ const Configuration_SupportedNodes = (SupportedNodes_default_);
|
|
38815
|
+
;// CONCATENATED MODULE: ./src/x_ite/Execution/NamedNodesArray.js
|
|
38816
|
+
/*******************************************************************************
|
|
38817
|
+
*
|
|
38818
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38819
|
+
*
|
|
38820
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38821
|
+
*
|
|
38822
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38823
|
+
*
|
|
38824
|
+
* The copyright notice above does not evidence any actual of intended
|
|
38825
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
38826
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38827
|
+
* create3000.
|
|
38828
|
+
*
|
|
38829
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
38830
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
38831
|
+
* permission of create3000.
|
|
38832
|
+
*
|
|
38833
|
+
* NON-MILITARY USE ONLY
|
|
38834
|
+
*
|
|
38835
|
+
* All create3000 software are effectively free software with a non-military use
|
|
38836
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38837
|
+
* source in any way you please with the exception anything that uses it must be
|
|
38838
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
38839
|
+
*
|
|
38840
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38841
|
+
*
|
|
38842
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38843
|
+
*
|
|
38844
|
+
* This file is part of the X_ITE Project.
|
|
38845
|
+
*
|
|
38846
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38847
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
38848
|
+
* Free Software Foundation.
|
|
38849
|
+
*
|
|
38850
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38851
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38852
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38853
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38854
|
+
*
|
|
38855
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
38856
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38857
|
+
* copy of the GPLv3 License.
|
|
38858
|
+
*
|
|
38859
|
+
* For Silvio, Joy and Adi.
|
|
38860
|
+
*
|
|
38861
|
+
******************************************************************************/
|
|
38862
|
+
|
|
38863
|
+
|
|
38864
|
+
|
|
38865
|
+
|
|
38866
|
+
function NamedNodesArray (values)
|
|
38867
|
+
{
|
|
38868
|
+
const proxy = Base_X3DInfoArray.call (this);
|
|
38869
|
+
|
|
38870
|
+
if (values)
|
|
38871
|
+
{
|
|
38872
|
+
for (const value of values)
|
|
38873
|
+
{
|
|
38874
|
+
if (!(value instanceof Base_X3DBaseNode))
|
|
38875
|
+
throw new TypeError (`Wrong type in construction of ${this .getTypeName ()}.`);
|
|
38876
|
+
|
|
38877
|
+
this .add (value .getName (), value);
|
|
38878
|
+
}
|
|
38879
|
+
}
|
|
38880
|
+
|
|
38881
|
+
return proxy;
|
|
38882
|
+
}
|
|
38883
|
+
|
|
38884
|
+
NamedNodesArray .prototype = Object .assign (Object .create (Base_X3DInfoArray.prototype),
|
|
38885
|
+
{
|
|
38886
|
+
constructor: NamedNodesArray,
|
|
38887
|
+
getTypeName: function ()
|
|
38888
|
+
{
|
|
38889
|
+
return "NamedNodesArray";
|
|
38890
|
+
},
|
|
38891
|
+
});
|
|
38892
|
+
|
|
38893
|
+
for (const key of Reflect .ownKeys (NamedNodesArray .prototype))
|
|
38894
|
+
Object .defineProperty (NamedNodesArray .prototype, key, { enumerable: false });
|
|
38895
|
+
|
|
38896
|
+
const NamedNodesArray_default_ = NamedNodesArray;
|
|
38897
|
+
;
|
|
38898
|
+
|
|
38899
|
+
x_ite_Namespace.set ("x_ite/Execution/NamedNodesArray", NamedNodesArray_default_);
|
|
38900
|
+
/* harmony default export */ const Execution_NamedNodesArray = (NamedNodesArray_default_);
|
|
38867
38901
|
;// CONCATENATED MODULE: ./src/x_ite/Execution/X3DImportedNode.js
|
|
38868
38902
|
/*******************************************************************************
|
|
38869
38903
|
*
|
|
@@ -40579,7 +40613,7 @@ x_ite_Namespace.set ("x_ite/Components/Core/X3DPrototypeInstance", X3DPrototypeI
|
|
|
40579
40613
|
|
|
40580
40614
|
|
|
40581
40615
|
|
|
40582
|
-
Configuration_SupportedNodes.
|
|
40616
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DProtoDeclarationNode", X3DProtoDeclarationNode);
|
|
40583
40617
|
|
|
40584
40618
|
function X3DProtoDeclarationNode (executionContext)
|
|
40585
40619
|
{
|
|
@@ -40690,7 +40724,7 @@ x_ite_Namespace.set ("x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarat
|
|
|
40690
40724
|
|
|
40691
40725
|
|
|
40692
40726
|
|
|
40693
|
-
Configuration_SupportedNodes.
|
|
40727
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DProtoDeclaration", X3DProtoDeclaration);
|
|
40694
40728
|
|
|
40695
40729
|
const
|
|
40696
40730
|
X3DProtoDeclaration_body = Symbol ();
|
|
@@ -41486,7 +41520,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
|
|
|
41486
41520
|
x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
|
|
41487
41521
|
/* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
|
|
41488
41522
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
41489
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
41523
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(532);
|
|
41490
41524
|
/*******************************************************************************
|
|
41491
41525
|
*
|
|
41492
41526
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44668,7 +44702,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
44668
44702
|
x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
44669
44703
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
44670
44704
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
44671
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
44705
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(532);
|
|
44672
44706
|
/*******************************************************************************
|
|
44673
44707
|
*
|
|
44674
44708
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46523,7 +46557,7 @@ const X3DOptimizer_default_ = X3DOptimizer;
|
|
|
46523
46557
|
x_ite_Namespace.set ("x_ite/Parser/X3DOptimizer", X3DOptimizer_default_);
|
|
46524
46558
|
/* harmony default export */ const Parser_X3DOptimizer = (X3DOptimizer_default_);
|
|
46525
46559
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
46526
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
46560
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(532);
|
|
46527
46561
|
/*******************************************************************************
|
|
46528
46562
|
*
|
|
46529
46563
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48989,7 +49023,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48989
49023
|
x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
48990
49024
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
48991
49025
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48992
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
49026
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(532);
|
|
48993
49027
|
/*******************************************************************************
|
|
48994
49028
|
*
|
|
48995
49029
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -49142,7 +49176,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
49142
49176
|
x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
49143
49177
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
49144
49178
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
49145
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
49179
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(532);
|
|
49146
49180
|
/*******************************************************************************
|
|
49147
49181
|
*
|
|
49148
49182
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -51646,8 +51680,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
51646
51680
|
x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
51647
51681
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
51648
51682
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
51649
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
51650
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
51683
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(532);
|
|
51684
|
+
/* provided dependency */ var libtess = __webpack_require__(513);
|
|
51651
51685
|
/*******************************************************************************
|
|
51652
51686
|
*
|
|
51653
51687
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54416,7 +54450,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
54416
54450
|
x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
|
|
54417
54451
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
54418
54452
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
54419
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
54453
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(532);
|
|
54420
54454
|
/*******************************************************************************
|
|
54421
54455
|
*
|
|
54422
54456
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54745,7 +54779,7 @@ const Plane3_default_ = Plane3;
|
|
|
54745
54779
|
x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
|
|
54746
54780
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
54747
54781
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
54748
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
54782
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(513);
|
|
54749
54783
|
/*******************************************************************************
|
|
54750
54784
|
*
|
|
54751
54785
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62042,7 +62076,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62042
62076
|
x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62043
62077
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62044
62078
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62045
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62079
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(532);
|
|
62046
62080
|
/*******************************************************************************
|
|
62047
62081
|
*
|
|
62048
62082
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65795,9 +65829,7 @@ function remove (array, first, last, range, rfirst, rlast)
|
|
|
65795
65829
|
for (let i = rfirst; i < rlast; ++ i)
|
|
65796
65830
|
set .add (range [i]);
|
|
65797
65831
|
|
|
65798
|
-
|
|
65799
|
-
|
|
65800
|
-
return array .remove (first, last, compare);
|
|
65832
|
+
return array .remove (first, last, value => set .has (value));
|
|
65801
65833
|
}
|
|
65802
65834
|
|
|
65803
65835
|
const X3DGroupingNode_default_ = X3DGroupingNode;
|
|
@@ -66274,7 +66306,7 @@ x_ite_Namespace.set ("x_ite/Components/Layering/LayerSet", LayerSet_default_);
|
|
|
66274
66306
|
|
|
66275
66307
|
|
|
66276
66308
|
|
|
66277
|
-
Configuration_SupportedNodes.
|
|
66309
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DWorld", X3DWorld);
|
|
66278
66310
|
|
|
66279
66311
|
function X3DWorld (executionContext)
|
|
66280
66312
|
{
|
|
@@ -66381,7 +66413,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66381
66413
|
x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66382
66414
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66383
66415
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66384
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66416
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(532);
|
|
66385
66417
|
/*******************************************************************************
|
|
66386
66418
|
*
|
|
66387
66419
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66525,7 +66557,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
|
|
|
66525
66557
|
if (error)
|
|
66526
66558
|
error (exception);
|
|
66527
66559
|
else
|
|
66528
|
-
throw
|
|
66560
|
+
throw exception;
|
|
66529
66561
|
}
|
|
66530
66562
|
},
|
|
66531
66563
|
setScene: function (scene, success, error)
|
|
@@ -66783,7 +66815,7 @@ x_ite_Namespace.set ("x_ite/InputOutput/FileLoader", FileLoader_default_);
|
|
|
66783
66815
|
|
|
66784
66816
|
|
|
66785
66817
|
|
|
66786
|
-
Configuration_SupportedNodes.
|
|
66818
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DExternProtoDeclaration", X3DExternProtoDeclaration);
|
|
66787
66819
|
|
|
66788
66820
|
const
|
|
66789
66821
|
_proto = Symbol (),
|
|
@@ -67617,6 +67649,14 @@ Object .defineProperties (X3DRoute .prototype,
|
|
|
67617
67649
|
},
|
|
67618
67650
|
});
|
|
67619
67651
|
|
|
67652
|
+
Object .assign (X3DRoute,
|
|
67653
|
+
{
|
|
67654
|
+
getId: function (sourceField, destinationField)
|
|
67655
|
+
{
|
|
67656
|
+
return sourceField .getId () + "." + destinationField .getId ();
|
|
67657
|
+
},
|
|
67658
|
+
});
|
|
67659
|
+
|
|
67620
67660
|
const X3DRoute_default_ = X3DRoute;
|
|
67621
67661
|
;
|
|
67622
67662
|
|
|
@@ -67760,7 +67800,7 @@ x_ite_Namespace.set ("x_ite/Routing/RouteArray", RouteArray_default_);
|
|
|
67760
67800
|
|
|
67761
67801
|
|
|
67762
67802
|
|
|
67763
|
-
Configuration_SupportedNodes.
|
|
67803
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DExecutionContext", X3DExecutionContext);
|
|
67764
67804
|
|
|
67765
67805
|
const
|
|
67766
67806
|
_namedNodes = Symbol (),
|
|
@@ -67916,15 +67956,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67916
67956
|
|
|
67917
67957
|
for (;;)
|
|
67918
67958
|
{
|
|
67919
|
-
const
|
|
67959
|
+
const protoNode = executionContext .protos .get (name) ?? executionContext .externprotos .get (name);
|
|
67920
67960
|
|
|
67921
|
-
if (
|
|
67922
|
-
return
|
|
67923
|
-
|
|
67924
|
-
const externproto = executionContext .externprotos .get (name);
|
|
67925
|
-
|
|
67926
|
-
if (externproto)
|
|
67927
|
-
return externproto .createInstance (this, setup);
|
|
67961
|
+
if (protoNode)
|
|
67962
|
+
return protoNode .createInstance (this, setup);
|
|
67928
67963
|
|
|
67929
67964
|
if (executionContext .isScene ())
|
|
67930
67965
|
break;
|
|
@@ -67939,10 +67974,31 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67939
67974
|
},
|
|
67940
67975
|
addNamedNode: function (name, node)
|
|
67941
67976
|
{
|
|
67977
|
+
name = String (name);
|
|
67978
|
+
node = Base_X3DCast (Base_X3DConstants.X3DNode, node, false);
|
|
67979
|
+
|
|
67980
|
+
if (!node)
|
|
67981
|
+
throw new Error ("Couldn't add named node: node must be of type X3DNode.");
|
|
67982
|
+
|
|
67983
|
+
if (node .getExecutionContext () !== this)
|
|
67984
|
+
throw new Error ("Couldn't add named node: node does not belong to this execution context.");
|
|
67985
|
+
|
|
67986
|
+
if (name .length === 0)
|
|
67987
|
+
throw new Error ("Couldn't add named node: node name is empty.");
|
|
67988
|
+
|
|
67942
67989
|
if (this [_namedNodes] .has (name))
|
|
67943
67990
|
throw new Error ("Couldn't add named node: node named '" + name + "' is already in use.");
|
|
67944
67991
|
|
|
67945
|
-
this .
|
|
67992
|
+
if (this [_namedNodes] .get (node .getName ()) ?.getValue () === node)
|
|
67993
|
+
throw new Error ("Couldn't add named node: node named '" + node .getName () + "' is already added.");
|
|
67994
|
+
|
|
67995
|
+
// Add named node.
|
|
67996
|
+
|
|
67997
|
+
node .setName (name);
|
|
67998
|
+
|
|
67999
|
+
this [_namedNodes] .add (name, Fields_SFNodeCache.get (node));
|
|
68000
|
+
|
|
68001
|
+
this ._namedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67946
68002
|
},
|
|
67947
68003
|
updateNamedNode: function (name, node)
|
|
67948
68004
|
{
|
|
@@ -67967,7 +68023,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67967
68023
|
|
|
67968
68024
|
node .setName (name);
|
|
67969
68025
|
|
|
67970
|
-
this [_namedNodes] .add (name, node);
|
|
68026
|
+
this [_namedNodes] .add (name, Fields_SFNodeCache.get (node));
|
|
67971
68027
|
|
|
67972
68028
|
this ._namedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67973
68029
|
},
|
|
@@ -67977,10 +68033,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67977
68033
|
|
|
67978
68034
|
const node = this [_namedNodes] .get (name);
|
|
67979
68035
|
|
|
67980
|
-
if (!node)
|
|
68036
|
+
if (!node || !node .getValue ())
|
|
67981
68037
|
return;
|
|
67982
68038
|
|
|
67983
|
-
node .setName ("");
|
|
68039
|
+
node .getValue () .setName ("");
|
|
67984
68040
|
|
|
67985
68041
|
this [_namedNodes] .remove (name);
|
|
67986
68042
|
|
|
@@ -67993,7 +68049,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67993
68049
|
const node = this [_namedNodes] .get (name);
|
|
67994
68050
|
|
|
67995
68051
|
if (node)
|
|
67996
|
-
return
|
|
68052
|
+
return node;
|
|
67997
68053
|
|
|
67998
68054
|
throw new Error ("Named node '" + name + "' not found.");
|
|
67999
68055
|
},
|
|
@@ -68005,11 +68061,8 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68005
68061
|
{
|
|
68006
68062
|
return getUniqueName (this [_namedNodes], name);
|
|
68007
68063
|
},
|
|
68008
|
-
addImportedNode: function (inlineNode, exportedName, importedName)
|
|
68064
|
+
addImportedNode: function (inlineNode, exportedName, importedName = exportedName)
|
|
68009
68065
|
{
|
|
68010
|
-
if (importedName === undefined)
|
|
68011
|
-
importedName = exportedName;
|
|
68012
|
-
|
|
68013
68066
|
exportedName = String (exportedName);
|
|
68014
68067
|
importedName = String (importedName);
|
|
68015
68068
|
|
|
@@ -68142,9 +68195,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68142
68195
|
if (!(proto instanceof Prototype_X3DProtoDeclaration))
|
|
68143
68196
|
throw new Error ("Couldn't add proto declaration: proto must be of type X3DProtoDeclaration.");
|
|
68144
68197
|
|
|
68198
|
+
if (proto .getExecutionContext () !== this)
|
|
68199
|
+
throw new Error ("Couldn't add proto declaration: proto does not belong to this execution context.");
|
|
68200
|
+
|
|
68145
68201
|
if (this [_protos] .get (name))
|
|
68146
68202
|
throw new Error ("Couldn't add proto declaration: proto '" + name + "' already in use.");
|
|
68147
68203
|
|
|
68204
|
+
if (this [_protos] .get (proto .getName ()) === proto)
|
|
68205
|
+
throw new Error ("Couldn't add proto declaration: proto '" + proto .getName () + "' already added.");
|
|
68206
|
+
|
|
68148
68207
|
name = String (name);
|
|
68149
68208
|
|
|
68150
68209
|
if (name .length === 0)
|
|
@@ -68160,12 +68219,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68160
68219
|
name = String (name);
|
|
68161
68220
|
|
|
68162
68221
|
if (!(proto instanceof Prototype_X3DProtoDeclaration))
|
|
68163
|
-
throw new Error ("Couldn't
|
|
68222
|
+
throw new Error ("Couldn't update proto declaration: proto must be of type X3DProtoDeclaration.");
|
|
68223
|
+
|
|
68224
|
+
if (proto .getExecutionContext () !== this)
|
|
68225
|
+
throw new Error ("Couldn't update proto declaration: proto does not belong to this execution context.");
|
|
68164
68226
|
|
|
68165
68227
|
name = String (name);
|
|
68166
68228
|
|
|
68167
68229
|
if (name .length === 0)
|
|
68168
|
-
throw new Error ("Couldn't
|
|
68230
|
+
throw new Error ("Couldn't update proto declaration: proto name is empty.");
|
|
68169
68231
|
|
|
68170
68232
|
this [_protos] .update (proto .getName (), name, proto);
|
|
68171
68233
|
proto .setName (name);
|
|
@@ -68206,9 +68268,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68206
68268
|
if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
|
|
68207
68269
|
throw new Error ("Couldn't add extern proto declaration: extern proto must be of type X3DExternProtoDeclaration.");
|
|
68208
68270
|
|
|
68271
|
+
if (externproto .getExecutionContext () !== this)
|
|
68272
|
+
throw new Error ("Couldn't add extern proto declaration: extern proto does not belong to this execution context.");
|
|
68273
|
+
|
|
68209
68274
|
if (this [_externprotos] .get (name))
|
|
68210
68275
|
throw new Error ("Couldn't add extern proto declaration: extern proto '" + name + "' already in use.");
|
|
68211
68276
|
|
|
68277
|
+
if (this [_externprotos] .get (externproto .getName ()) === externproto)
|
|
68278
|
+
throw new Error ("Couldn't add extern proto declaration: extern proto '" + externproto .getName () + "' already added.");
|
|
68279
|
+
|
|
68212
68280
|
name = String (name);
|
|
68213
68281
|
|
|
68214
68282
|
if (name .length === 0)
|
|
@@ -68224,12 +68292,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68224
68292
|
name = String (name);
|
|
68225
68293
|
|
|
68226
68294
|
if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
|
|
68227
|
-
throw new Error ("Couldn't
|
|
68295
|
+
throw new Error ("Couldn't update extern proto declaration: extern proto must be of type X3DExternProtoDeclaration.");
|
|
68296
|
+
|
|
68297
|
+
if (externproto .getExecutionContext () !== this)
|
|
68298
|
+
throw new Error ("Couldn't update extern proto declaration: extern proto does not belong to this execution context.");
|
|
68228
68299
|
|
|
68229
68300
|
name = String (name);
|
|
68230
68301
|
|
|
68231
68302
|
if (name .length === 0)
|
|
68232
|
-
throw new Error ("Couldn't
|
|
68303
|
+
throw new Error ("Couldn't update extern proto declaration: extern proto name is empty.");
|
|
68233
68304
|
|
|
68234
68305
|
this [_externprotos] .update (externproto .getName (), name, externproto);
|
|
68235
68306
|
externproto .setName (name);
|
|
@@ -68336,7 +68407,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68336
68407
|
if (sourceField .getType () !== destinationField .getType ())
|
|
68337
68408
|
throw new Error ("ROUTE types " + sourceField .getTypeName () + " and " + destinationField .getTypeName () + " do not match.");
|
|
68338
68409
|
|
|
68339
|
-
const id =
|
|
68410
|
+
const id = Routing_X3DRoute.getId (sourceField, destinationField);
|
|
68340
68411
|
|
|
68341
68412
|
let route = this [X3DExecutionContext_routes] .get (id);
|
|
68342
68413
|
|
|
@@ -68360,37 +68431,26 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68360
68431
|
{
|
|
68361
68432
|
// sourceNode, sourceField, destinationNode, destinationField
|
|
68362
68433
|
if (arguments .length === 4)
|
|
68363
|
-
|
|
68364
|
-
route = this .getRoute .apply (this, arguments);
|
|
68434
|
+
route = this .getRoute (... arguments);
|
|
68365
68435
|
|
|
68366
|
-
|
|
68367
|
-
|
|
68368
|
-
|
|
68436
|
+
if (!(route instanceof Routing_X3DRoute))
|
|
68437
|
+
return;
|
|
68438
|
+
|
|
68439
|
+
if (route .getExecutionContext () !== this)
|
|
68440
|
+
return;
|
|
68369
68441
|
|
|
68370
|
-
|
|
68371
|
-
|
|
68442
|
+
this .deleteSimpleRoute (route);
|
|
68443
|
+
this .deleteImportedRoute (route .sourceNode, route .destinationNode, route);
|
|
68372
68444
|
},
|
|
68373
68445
|
deleteSimpleRoute: function (route)
|
|
68374
68446
|
{
|
|
68375
|
-
|
|
68376
|
-
{
|
|
68377
|
-
const
|
|
68378
|
-
sourceField = route .getSourceField (),
|
|
68379
|
-
destinationField = route .getDestinationField (),
|
|
68380
|
-
id = sourceField .getId () + "." + destinationField .getId ();
|
|
68447
|
+
const id = Routing_X3DRoute.getId (route .getSourceField (), route .getDestinationField ());
|
|
68381
68448
|
|
|
68382
|
-
|
|
68383
|
-
route .disconnect ();
|
|
68449
|
+
this [X3DExecutionContext_routes] .remove (id);
|
|
68384
68450
|
|
|
68385
|
-
|
|
68451
|
+
route .disconnect ();
|
|
68386
68452
|
|
|
68387
|
-
|
|
68388
|
-
}
|
|
68389
|
-
catch (error)
|
|
68390
|
-
{
|
|
68391
|
-
console .error (error);
|
|
68392
|
-
return false;
|
|
68393
|
-
}
|
|
68453
|
+
this ._routes_changed = this .getBrowser () .getCurrentTime ();
|
|
68394
68454
|
},
|
|
68395
68455
|
deleteImportedRoute (sourceNode, destinationNode, route)
|
|
68396
68456
|
{
|
|
@@ -68452,9 +68512,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68452
68512
|
sourceField = sourceNode .getField (sourceField);
|
|
68453
68513
|
destinationField = destinationNode .getField (destinationField);
|
|
68454
68514
|
|
|
68455
|
-
|
|
68456
|
-
|
|
68457
|
-
return this [X3DExecutionContext_routes] .get (id);
|
|
68515
|
+
return this [X3DExecutionContext_routes] .get (Routing_X3DRoute.getId (sourceField, destinationField));
|
|
68458
68516
|
},
|
|
68459
68517
|
getRoutes: function ()
|
|
68460
68518
|
{
|
|
@@ -69490,7 +69548,7 @@ x_ite_Namespace.set ("x_ite/Execution/ExportedNodesArray", ExportedNodesArray_de
|
|
|
69490
69548
|
|
|
69491
69549
|
|
|
69492
69550
|
|
|
69493
|
-
Configuration_SupportedNodes.
|
|
69551
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DScene", X3DScene);
|
|
69494
69552
|
|
|
69495
69553
|
const
|
|
69496
69554
|
X3DScene_browser = Symbol .for ("X_ITE.X3DEventObject.browser"),
|
|
@@ -70657,7 +70715,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
70657
70715
|
x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
|
|
70658
70716
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
70659
70717
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
70660
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
70718
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(532);
|
|
70661
70719
|
/*******************************************************************************
|
|
70662
70720
|
*
|
|
70663
70721
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -76800,8 +76858,8 @@ const OrientationChaser_default_ = OrientationChaser;
|
|
|
76800
76858
|
x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
|
|
76801
76859
|
/* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
|
|
76802
76860
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
76803
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
76804
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
76861
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(292);
|
|
76862
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(532);
|
|
76805
76863
|
/*******************************************************************************
|
|
76806
76864
|
*
|
|
76807
76865
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -77665,8 +77723,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
77665
77723
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
77666
77724
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
77667
77725
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
77668
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
77669
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
77726
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(292);
|
|
77727
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(532);
|
|
77670
77728
|
/*******************************************************************************
|
|
77671
77729
|
*
|
|
77672
77730
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78614,8 +78672,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
78614
78672
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
78615
78673
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
78616
78674
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
78617
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
78618
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
78675
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(292);
|
|
78676
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(532);
|
|
78619
78677
|
/*******************************************************************************
|
|
78620
78678
|
*
|
|
78621
78679
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78924,8 +78982,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
78924
78982
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
78925
78983
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
78926
78984
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
78927
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
78928
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
78985
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(292);
|
|
78986
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(532);
|
|
78929
78987
|
/*******************************************************************************
|
|
78930
78988
|
*
|
|
78931
78989
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -80557,8 +80615,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
80557
80615
|
x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
80558
80616
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
80559
80617
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
80560
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
80561
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
80618
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(292);
|
|
80619
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(532);
|
|
80562
80620
|
/*******************************************************************************
|
|
80563
80621
|
*
|
|
80564
80622
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -81596,8 +81654,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
81596
81654
|
x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
81597
81655
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
81598
81656
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
81599
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
81600
|
-
/* provided dependency */ var ResizeSensor = __webpack_require__(
|
|
81657
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(532);
|
|
81658
|
+
/* provided dependency */ var ResizeSensor = __webpack_require__(131);
|
|
81601
81659
|
/*******************************************************************************
|
|
81602
81660
|
*
|
|
81603
81661
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -82698,21 +82756,19 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
82698
82756
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
82699
82757
|
return 0.0;
|
|
82700
82758
|
|
|
82701
|
-
|
|
82702
|
-
|
|
82703
|
-
float dx1 = + texelSize .x;
|
|
82704
|
-
float dy1 = + texelSize .y;
|
|
82759
|
+
vec2 d0 = - texelSize;
|
|
82760
|
+
vec2 d1 = texelSize;
|
|
82705
82761
|
|
|
82706
82762
|
float value = (
|
|
82707
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
82708
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
82709
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82710
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82763
|
+
texture2DCompare (index, shadowCoord .xy + d0, shadowCoord .z) +
|
|
82764
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (0.0, d0 .y), shadowCoord .z) +
|
|
82765
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d1 .x, d0 .y), shadowCoord .z) +
|
|
82766
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d0 .x, 0.0), shadowCoord .z) +
|
|
82711
82767
|
texture2DCompare (index, shadowCoord .xy, shadowCoord .z) +
|
|
82712
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82713
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82714
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
82715
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
82768
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d1 .x, 0.0), shadowCoord .z) +
|
|
82769
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d0 .x, d1 .y), shadowCoord .z) +
|
|
82770
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (0.0, d1 .y), shadowCoord .z) +
|
|
82771
|
+
texture2DCompare (index, shadowCoord .xy + d1, shadowCoord .z)
|
|
82716
82772
|
) * (1.0 / 9.0);
|
|
82717
82773
|
|
|
82718
82774
|
return light .shadowIntensity * value;
|
|
@@ -82728,22 +82784,20 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
82728
82784
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
82729
82785
|
return 0.0;
|
|
82730
82786
|
|
|
82731
|
-
|
|
82732
|
-
|
|
82733
|
-
float dx1 = + texelSize.x;
|
|
82734
|
-
float dy1 = + texelSize.y;
|
|
82787
|
+
vec2 d0 = - texelSize;
|
|
82788
|
+
vec2 d1 = texelSize;
|
|
82735
82789
|
|
|
82736
82790
|
float value = (
|
|
82737
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
82738
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
82739
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82740
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82791
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + d0, shadowCoord .z) +
|
|
82792
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0, d0 .y), shadowCoord .z) +
|
|
82793
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d1 .x, d0 .y), shadowCoord .z) +
|
|
82794
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d0 .x, 0.0), shadowCoord .z) +
|
|
82741
82795
|
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy, shadowCoord .z) +
|
|
82742
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82743
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82744
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
82745
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
82746
|
-
) * (
|
|
82796
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d1 .x, 0.0), shadowCoord .z) +
|
|
82797
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d0 .x, d1 .y), shadowCoord .z) +
|
|
82798
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0, d1 .y), shadowCoord .z) +
|
|
82799
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + d1, shadowCoord .z)
|
|
82800
|
+
) * (1.0 / 9.0);
|
|
82747
82801
|
|
|
82748
82802
|
return light .shadowIntensity * value;
|
|
82749
82803
|
|
|
@@ -84341,21 +84395,19 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
84341
84395
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
84342
84396
|
return 0.0;
|
|
84343
84397
|
|
|
84344
|
-
|
|
84345
|
-
|
|
84346
|
-
float dx1 = + texelSize .x;
|
|
84347
|
-
float dy1 = + texelSize .y;
|
|
84398
|
+
vec2 d0 = - texelSize;
|
|
84399
|
+
vec2 d1 = texelSize;
|
|
84348
84400
|
|
|
84349
84401
|
float value = (
|
|
84350
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
84351
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
84352
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84353
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84354
|
-
texture2DCompare (index, shadowCoord .xy,
|
|
84355
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84356
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84357
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
84358
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
84402
|
+
texture2DCompare (index, shadowCoord .xy + d0, shadowCoord .z) +
|
|
84403
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (0.0, d0 .y), shadowCoord .z) +
|
|
84404
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d1 .x, d0 .y), shadowCoord .z) +
|
|
84405
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d0 .x, 0.0), shadowCoord .z) +
|
|
84406
|
+
texture2DCompare (index, shadowCoord .xy, shadowCoord .z) +
|
|
84407
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d1 .x, 0.0), shadowCoord .z) +
|
|
84408
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (d0 .x, d1 .y), shadowCoord .z) +
|
|
84409
|
+
texture2DCompare (index, shadowCoord .xy + vec2 (0.0, d1 .y), shadowCoord .z) +
|
|
84410
|
+
texture2DCompare (index, shadowCoord .xy + d1, shadowCoord .z)
|
|
84359
84411
|
) * (1.0 / 9.0);
|
|
84360
84412
|
|
|
84361
84413
|
return light .shadowIntensity * value;
|
|
@@ -84371,22 +84423,20 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
84371
84423
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
84372
84424
|
return 0.0;
|
|
84373
84425
|
|
|
84374
|
-
|
|
84375
|
-
|
|
84376
|
-
float dx1 = + texelSize.x;
|
|
84377
|
-
float dy1 = + texelSize.y;
|
|
84426
|
+
vec2 d0 = - texelSize;
|
|
84427
|
+
vec2 d1 = texelSize;
|
|
84378
84428
|
|
|
84379
84429
|
float value = (
|
|
84380
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
84381
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
84382
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84383
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84384
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy,
|
|
84385
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84386
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84387
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
84388
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
84389
|
-
) * (
|
|
84430
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + d0, shadowCoord .z) +
|
|
84431
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0, d0 .y), shadowCoord .z) +
|
|
84432
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d1 .x, d0 .y), shadowCoord .z) +
|
|
84433
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d0 .x, 0.0), shadowCoord .z) +
|
|
84434
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy, shadowCoord .z) +
|
|
84435
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d1 .x, 0.0), shadowCoord .z) +
|
|
84436
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (d0 .x, d1 .y), shadowCoord .z) +
|
|
84437
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0, d1 .y), shadowCoord .z) +
|
|
84438
|
+
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + d1, shadowCoord .z)
|
|
84439
|
+
) * (1.0 / 9.0);
|
|
84390
84440
|
|
|
84391
84441
|
return light .shadowIntensity * value;
|
|
84392
84442
|
|
|
@@ -87508,7 +87558,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
87508
87558
|
x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
87509
87559
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
87510
87560
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
87511
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
87561
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(532);
|
|
87512
87562
|
/*******************************************************************************
|
|
87513
87563
|
*
|
|
87514
87564
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -90285,7 +90335,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
90285
90335
|
x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
90286
90336
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
90287
90337
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
90288
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
90338
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(532);
|
|
90289
90339
|
/*******************************************************************************
|
|
90290
90340
|
*
|
|
90291
90341
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94786,10 +94836,10 @@ const AbstractTypes =
|
|
|
94786
94836
|
};
|
|
94787
94837
|
|
|
94788
94838
|
for (const typeName in Types)
|
|
94789
|
-
Configuration_SupportedNodes.
|
|
94839
|
+
Configuration_SupportedNodes.addNodeType (typeName, Types [typeName]);
|
|
94790
94840
|
|
|
94791
94841
|
for (const typeName in AbstractTypes)
|
|
94792
|
-
Configuration_SupportedNodes.
|
|
94842
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, AbstractTypes [typeName]);
|
|
94793
94843
|
|
|
94794
94844
|
const Core_default_ = undefined;
|
|
94795
94845
|
;
|
|
@@ -95266,10 +95316,10 @@ const EnvironmentalEffects_AbstractTypes =
|
|
|
95266
95316
|
};
|
|
95267
95317
|
|
|
95268
95318
|
for (const typeName in EnvironmentalEffects_Types)
|
|
95269
|
-
Configuration_SupportedNodes.
|
|
95319
|
+
Configuration_SupportedNodes.addNodeType (typeName, EnvironmentalEffects_Types [typeName]);
|
|
95270
95320
|
|
|
95271
95321
|
for (const typeName in EnvironmentalEffects_AbstractTypes)
|
|
95272
|
-
Configuration_SupportedNodes.
|
|
95322
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, EnvironmentalEffects_AbstractTypes [typeName]);
|
|
95273
95323
|
|
|
95274
95324
|
const EnvironmentalEffects_default_ = undefined;
|
|
95275
95325
|
;
|
|
@@ -96236,10 +96286,10 @@ const EnvironmentalSensor_AbstractTypes =
|
|
|
96236
96286
|
};
|
|
96237
96287
|
|
|
96238
96288
|
for (const typeName in EnvironmentalSensor_Types)
|
|
96239
|
-
Configuration_SupportedNodes.
|
|
96289
|
+
Configuration_SupportedNodes.addNodeType (typeName, EnvironmentalSensor_Types [typeName]);
|
|
96240
96290
|
|
|
96241
96291
|
for (const typeName in EnvironmentalSensor_AbstractTypes)
|
|
96242
|
-
Configuration_SupportedNodes.
|
|
96292
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, EnvironmentalSensor_AbstractTypes [typeName]);
|
|
96243
96293
|
|
|
96244
96294
|
const EnvironmentalSensor_default_ = undefined;
|
|
96245
96295
|
;
|
|
@@ -98167,10 +98217,10 @@ const Followers_AbstractTypes =
|
|
|
98167
98217
|
};
|
|
98168
98218
|
|
|
98169
98219
|
for (const typeName in Followers_Types)
|
|
98170
|
-
Configuration_SupportedNodes.
|
|
98220
|
+
Configuration_SupportedNodes.addNodeType (typeName, Followers_Types [typeName]);
|
|
98171
98221
|
|
|
98172
98222
|
for (const typeName in Followers_AbstractTypes)
|
|
98173
|
-
Configuration_SupportedNodes.
|
|
98223
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Followers_AbstractTypes [typeName]);
|
|
98174
98224
|
|
|
98175
98225
|
const Followers_default_ = undefined;
|
|
98176
98226
|
;
|
|
@@ -100216,10 +100266,10 @@ const Geometry3D_AbstractTypes =
|
|
|
100216
100266
|
};
|
|
100217
100267
|
|
|
100218
100268
|
for (const typeName in Geometry3D_Types)
|
|
100219
|
-
Configuration_SupportedNodes.
|
|
100269
|
+
Configuration_SupportedNodes.addNodeType (typeName, Geometry3D_Types [typeName]);
|
|
100220
100270
|
|
|
100221
100271
|
for (const typeName in Geometry3D_AbstractTypes)
|
|
100222
|
-
Configuration_SupportedNodes.
|
|
100272
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Geometry3D_AbstractTypes [typeName]);
|
|
100223
100273
|
|
|
100224
100274
|
const Geometry3D_default_ = undefined;
|
|
100225
100275
|
;
|
|
@@ -101125,10 +101175,10 @@ const Grouping_AbstractTypes =
|
|
|
101125
101175
|
};
|
|
101126
101176
|
|
|
101127
101177
|
for (const typeName in Grouping_Types)
|
|
101128
|
-
Configuration_SupportedNodes.
|
|
101178
|
+
Configuration_SupportedNodes.addNodeType (typeName, Grouping_Types [typeName]);
|
|
101129
101179
|
|
|
101130
101180
|
for (const typeName in Grouping_AbstractTypes)
|
|
101131
|
-
Configuration_SupportedNodes.
|
|
101181
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Grouping_AbstractTypes [typeName]);
|
|
101132
101182
|
|
|
101133
101183
|
const Grouping_default_ = undefined;
|
|
101134
101184
|
;
|
|
@@ -103054,10 +103104,10 @@ const Interpolation_AbstractTypes =
|
|
|
103054
103104
|
};
|
|
103055
103105
|
|
|
103056
103106
|
for (const typeName in Interpolation_Types)
|
|
103057
|
-
Configuration_SupportedNodes.
|
|
103107
|
+
Configuration_SupportedNodes.addNodeType (typeName, Interpolation_Types [typeName]);
|
|
103058
103108
|
|
|
103059
103109
|
for (const typeName in Interpolation_AbstractTypes)
|
|
103060
|
-
Configuration_SupportedNodes.
|
|
103110
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Interpolation_AbstractTypes [typeName]);
|
|
103061
103111
|
|
|
103062
103112
|
const Interpolation_default_ = undefined;
|
|
103063
103113
|
;
|
|
@@ -103133,10 +103183,10 @@ const Layering_AbstractTypes =
|
|
|
103133
103183
|
};
|
|
103134
103184
|
|
|
103135
103185
|
for (const typeName in Layering_Types)
|
|
103136
|
-
Configuration_SupportedNodes.
|
|
103186
|
+
Configuration_SupportedNodes.addNodeType (typeName, Layering_Types [typeName]);
|
|
103137
103187
|
|
|
103138
103188
|
for (const typeName in Layering_AbstractTypes)
|
|
103139
|
-
Configuration_SupportedNodes.
|
|
103189
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Layering_AbstractTypes [typeName]);
|
|
103140
103190
|
|
|
103141
103191
|
const Layering_default_ = undefined;
|
|
103142
103192
|
;
|
|
@@ -104059,10 +104109,10 @@ const Lighting_AbstractTypes =
|
|
|
104059
104109
|
};
|
|
104060
104110
|
|
|
104061
104111
|
for (const typeName in Lighting_Types)
|
|
104062
|
-
Configuration_SupportedNodes.
|
|
104112
|
+
Configuration_SupportedNodes.addNodeType (typeName, Lighting_Types [typeName]);
|
|
104063
104113
|
|
|
104064
104114
|
for (const typeName in Lighting_AbstractTypes)
|
|
104065
|
-
Configuration_SupportedNodes.
|
|
104115
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Lighting_AbstractTypes [typeName]);
|
|
104066
104116
|
|
|
104067
104117
|
const Lighting_default_ = undefined;
|
|
104068
104118
|
;
|
|
@@ -105084,10 +105134,10 @@ const Navigation_AbstractTypes =
|
|
|
105084
105134
|
};
|
|
105085
105135
|
|
|
105086
105136
|
for (const typeName in Navigation_Types)
|
|
105087
|
-
Configuration_SupportedNodes.
|
|
105137
|
+
Configuration_SupportedNodes.addNodeType (typeName, Navigation_Types [typeName]);
|
|
105088
105138
|
|
|
105089
105139
|
for (const typeName in Navigation_AbstractTypes)
|
|
105090
|
-
Configuration_SupportedNodes.
|
|
105140
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Navigation_AbstractTypes [typeName]);
|
|
105091
105141
|
|
|
105092
105142
|
const Navigation_default_ = undefined;
|
|
105093
105143
|
;
|
|
@@ -106103,10 +106153,10 @@ const Networking_AbstractTypes =
|
|
|
106103
106153
|
};
|
|
106104
106154
|
|
|
106105
106155
|
for (const typeName in Networking_Types)
|
|
106106
|
-
Configuration_SupportedNodes.
|
|
106156
|
+
Configuration_SupportedNodes.addNodeType (typeName, Networking_Types [typeName]);
|
|
106107
106157
|
|
|
106108
106158
|
for (const typeName in Networking_AbstractTypes)
|
|
106109
|
-
Configuration_SupportedNodes.
|
|
106159
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Networking_AbstractTypes [typeName]);
|
|
106110
106160
|
|
|
106111
106161
|
const Networking_default_ = undefined;
|
|
106112
106162
|
;
|
|
@@ -107585,10 +107635,10 @@ const PointingDeviceSensor_AbstractTypes =
|
|
|
107585
107635
|
};
|
|
107586
107636
|
|
|
107587
107637
|
for (const typeName in PointingDeviceSensor_Types)
|
|
107588
|
-
Configuration_SupportedNodes.
|
|
107638
|
+
Configuration_SupportedNodes.addNodeType (typeName, PointingDeviceSensor_Types [typeName]);
|
|
107589
107639
|
|
|
107590
107640
|
for (const typeName in PointingDeviceSensor_AbstractTypes)
|
|
107591
|
-
Configuration_SupportedNodes.
|
|
107641
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, PointingDeviceSensor_AbstractTypes [typeName]);
|
|
107592
107642
|
|
|
107593
107643
|
const PointingDeviceSensor_default_ = undefined;
|
|
107594
107644
|
;
|
|
@@ -109978,10 +110028,10 @@ const Rendering_AbstractTypes =
|
|
|
109978
110028
|
};
|
|
109979
110029
|
|
|
109980
110030
|
for (const typeName in Rendering_Types)
|
|
109981
|
-
Configuration_SupportedNodes.
|
|
110031
|
+
Configuration_SupportedNodes.addNodeType (typeName, Rendering_Types [typeName]);
|
|
109982
110032
|
|
|
109983
110033
|
for (const typeName in Rendering_AbstractTypes)
|
|
109984
|
-
Configuration_SupportedNodes.
|
|
110034
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Rendering_AbstractTypes [typeName]);
|
|
109985
110035
|
|
|
109986
110036
|
const Rendering_default_ = undefined;
|
|
109987
110037
|
;
|
|
@@ -110904,10 +110954,10 @@ const Shaders_AbstractTypes =
|
|
|
110904
110954
|
};
|
|
110905
110955
|
|
|
110906
110956
|
for (const typeName in Shaders_Types)
|
|
110907
|
-
Configuration_SupportedNodes.
|
|
110957
|
+
Configuration_SupportedNodes.addNodeType (typeName, Shaders_Types [typeName]);
|
|
110908
110958
|
|
|
110909
110959
|
for (const typeName in Shaders_AbstractTypes)
|
|
110910
|
-
Configuration_SupportedNodes.
|
|
110960
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Shaders_AbstractTypes [typeName]);
|
|
110911
110961
|
|
|
110912
110962
|
const Components_Shaders_default_ = undefined;
|
|
110913
110963
|
;
|
|
@@ -112266,10 +112316,10 @@ const Shape_AbstractTypes =
|
|
|
112266
112316
|
};
|
|
112267
112317
|
|
|
112268
112318
|
for (const typeName in Shape_Types)
|
|
112269
|
-
Configuration_SupportedNodes.
|
|
112319
|
+
Configuration_SupportedNodes.addNodeType (typeName, Shape_Types [typeName]);
|
|
112270
112320
|
|
|
112271
112321
|
for (const typeName in Shape_AbstractTypes)
|
|
112272
|
-
Configuration_SupportedNodes.
|
|
112322
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Shape_AbstractTypes [typeName]);
|
|
112273
112323
|
|
|
112274
112324
|
const Components_Shape_default_ = undefined;
|
|
112275
112325
|
;
|
|
@@ -112694,7 +112744,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
112694
112744
|
x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
112695
112745
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
112696
112746
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
112697
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
112747
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(532);
|
|
112698
112748
|
/*******************************************************************************
|
|
112699
112749
|
*
|
|
112700
112750
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115464,10 +115514,10 @@ const Sound_AbstractTypes =
|
|
|
115464
115514
|
};
|
|
115465
115515
|
|
|
115466
115516
|
for (const typeName in Sound_Types)
|
|
115467
|
-
Configuration_SupportedNodes.
|
|
115517
|
+
Configuration_SupportedNodes.addNodeType (typeName, Sound_Types [typeName]);
|
|
115468
115518
|
|
|
115469
115519
|
for (const typeName in Sound_AbstractTypes)
|
|
115470
|
-
Configuration_SupportedNodes.
|
|
115520
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Sound_AbstractTypes [typeName]);
|
|
115471
115521
|
|
|
115472
115522
|
const Components_Sound_default_ = undefined;
|
|
115473
115523
|
;
|
|
@@ -115593,8 +115643,8 @@ const GIFMedia_default_ = GifMedia;
|
|
|
115593
115643
|
x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
|
|
115594
115644
|
/* harmony default export */ const GIFMedia = (GIFMedia_default_);
|
|
115595
115645
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
115596
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
115597
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
115646
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(532);
|
|
115647
|
+
/* provided dependency */ var SuperGif = __webpack_require__(558);
|
|
115598
115648
|
/*******************************************************************************
|
|
115599
115649
|
*
|
|
115600
115650
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116557,7 +116607,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
|
|
|
116557
116607
|
x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
|
|
116558
116608
|
/* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
|
|
116559
116609
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
|
|
116560
|
-
/* provided dependency */ var PixelTexture_$ = __webpack_require__(
|
|
116610
|
+
/* provided dependency */ var PixelTexture_$ = __webpack_require__(532);
|
|
116561
116611
|
/*******************************************************************************
|
|
116562
116612
|
*
|
|
116563
116613
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117085,10 +117135,10 @@ const Texturing_AbstractTypes =
|
|
|
117085
117135
|
};
|
|
117086
117136
|
|
|
117087
117137
|
for (const typeName in Texturing_Types)
|
|
117088
|
-
Configuration_SupportedNodes.
|
|
117138
|
+
Configuration_SupportedNodes.addNodeType (typeName, Texturing_Types [typeName]);
|
|
117089
117139
|
|
|
117090
117140
|
for (const typeName in Texturing_AbstractTypes)
|
|
117091
|
-
Configuration_SupportedNodes.
|
|
117141
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Texturing_AbstractTypes [typeName]);
|
|
117092
117142
|
|
|
117093
117143
|
const Texturing_default_ = undefined;
|
|
117094
117144
|
;
|
|
@@ -117158,10 +117208,10 @@ const Time_AbstractTypes =
|
|
|
117158
117208
|
};
|
|
117159
117209
|
|
|
117160
117210
|
for (const typeName in Time_Types)
|
|
117161
|
-
Configuration_SupportedNodes.
|
|
117211
|
+
Configuration_SupportedNodes.addNodeType (typeName, Time_Types [typeName]);
|
|
117162
117212
|
|
|
117163
117213
|
for (const typeName in Time_AbstractTypes)
|
|
117164
|
-
Configuration_SupportedNodes.
|
|
117214
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Time_AbstractTypes [typeName]);
|
|
117165
117215
|
|
|
117166
117216
|
const Time_default_ = undefined;
|
|
117167
117217
|
;
|
|
@@ -117245,13 +117295,13 @@ class Components
|
|
|
117245
117295
|
if (types)
|
|
117246
117296
|
{
|
|
117247
117297
|
for (const [typeName, type] of Object .entries (types))
|
|
117248
|
-
Configuration_SupportedNodes.
|
|
117298
|
+
Configuration_SupportedNodes.addNodeType (typeName, type);
|
|
117249
117299
|
}
|
|
117250
117300
|
|
|
117251
117301
|
if (abstractTypes)
|
|
117252
117302
|
{
|
|
117253
117303
|
for (const [typeName, type] of Object .entries (abstractTypes))
|
|
117254
|
-
Configuration_SupportedNodes.
|
|
117304
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, type);
|
|
117255
117305
|
}
|
|
117256
117306
|
|
|
117257
117307
|
if (browserContext)
|
|
@@ -117268,7 +117318,7 @@ const Components_default_ = Components;
|
|
|
117268
117318
|
x_ite_Namespace.set ("x_ite/Components", Components_default_);
|
|
117269
117319
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
117270
117320
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
117271
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
117321
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(532);
|
|
117272
117322
|
/*******************************************************************************
|
|
117273
117323
|
* MIT License
|
|
117274
117324
|
*
|
|
@@ -118509,7 +118559,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
118509
118559
|
x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
118510
118560
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
118511
118561
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
118512
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
118562
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(532);
|
|
118513
118563
|
/*******************************************************************************
|
|
118514
118564
|
*
|
|
118515
118565
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118766,11 +118816,19 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
|
|
|
118766
118816
|
})(),
|
|
118767
118817
|
getSupportedNode: function (typeName)
|
|
118768
118818
|
{
|
|
118769
|
-
return Configuration_SupportedNodes.
|
|
118819
|
+
return Configuration_SupportedNodes.getNodeTypes () .get (String (typeName));
|
|
118770
118820
|
},
|
|
118771
118821
|
getSupportedNodes: function ()
|
|
118772
118822
|
{
|
|
118773
|
-
return Configuration_SupportedNodes.
|
|
118823
|
+
return Configuration_SupportedNodes.getNodeTypes ();
|
|
118824
|
+
},
|
|
118825
|
+
getAbstractNode: function (typeName)
|
|
118826
|
+
{
|
|
118827
|
+
return Configuration_SupportedNodes.getAbstractNodeTypes () .get (String (typeName));
|
|
118828
|
+
},
|
|
118829
|
+
getAbstractNodes: function ()
|
|
118830
|
+
{
|
|
118831
|
+
return Configuration_SupportedNodes.getAbstractNodeTypes ();
|
|
118774
118832
|
},
|
|
118775
118833
|
createScene: function (profile, component1 /*, ...*/)
|
|
118776
118834
|
{
|
|
@@ -119431,7 +119489,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
119431
119489
|
x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
119432
119490
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
119433
119491
|
;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
|
|
119434
|
-
/* provided dependency */ var Fallback_$ = __webpack_require__(
|
|
119492
|
+
/* provided dependency */ var Fallback_$ = __webpack_require__(532);
|
|
119435
119493
|
/*******************************************************************************
|
|
119436
119494
|
*
|
|
119437
119495
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119610,8 +119668,8 @@ const MicroTime_default_ = undefined;
|
|
|
119610
119668
|
x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
|
|
119611
119669
|
/* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
|
|
119612
119670
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
119613
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
119614
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
119671
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(532);
|
|
119672
|
+
/* provided dependency */ var pako = __webpack_require__(310);
|
|
119615
119673
|
jquery_$.decodeText = function (input)
|
|
119616
119674
|
{
|
|
119617
119675
|
if (typeof input === "string")
|
|
@@ -119656,14 +119714,14 @@ const jquery_default_ = jquery_$;
|
|
|
119656
119714
|
x_ite_Namespace.set ("lib/jquery", jquery_default_);
|
|
119657
119715
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
119658
119716
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
119659
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
119717
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(513);
|
|
119660
119718
|
const libtess_default_ = libtess_libtess;
|
|
119661
119719
|
;
|
|
119662
119720
|
|
|
119663
119721
|
x_ite_Namespace.set ("lib/libtess", libtess_default_);
|
|
119664
119722
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
119665
119723
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
119666
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
119724
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(532);
|
|
119667
119725
|
/*******************************************************************************
|
|
119668
119726
|
*
|
|
119669
119727
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120176,7 +120234,7 @@ x_ite_Namespace.set ("shim", shim_default_);
|
|
|
120176
120234
|
|
|
120177
120235
|
// Assign X3D to global namespace.
|
|
120178
120236
|
|
|
120179
|
-
window [Symbol .for ("X_ITE.X3D-8.7.
|
|
120237
|
+
window [Symbol .for ("X_ITE.X3D-8.7.9")] = x_ite_X3D;
|
|
120180
120238
|
|
|
120181
120239
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
120182
120240
|
|