x_ite 8.7.7 → 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 +527 -460
- 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 +18 -40
- 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;
|
|
@@ -31079,13 +31078,14 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31079
31078
|
},
|
|
31080
31079
|
set: function (value)
|
|
31081
31080
|
{
|
|
31082
|
-
const
|
|
31083
|
-
|
|
31084
|
-
|
|
31081
|
+
const
|
|
31082
|
+
target = this [X3DObjectArrayField_target],
|
|
31083
|
+
array = target .getValue (),
|
|
31084
|
+
newLength = value .length;
|
|
31085
31085
|
|
|
31086
|
-
|
|
31086
|
+
target .resize (newLength, undefined, true);
|
|
31087
31087
|
|
|
31088
|
-
for (let i = 0
|
|
31088
|
+
for (let i = 0; i < newLength; ++ i)
|
|
31089
31089
|
array [i] .set (value [i] instanceof Base_X3DField ? value [i] .getValue () : value [i]);
|
|
31090
31090
|
},
|
|
31091
31091
|
setValue: function (value)
|
|
@@ -31203,43 +31203,17 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31203
31203
|
args .push (field);
|
|
31204
31204
|
}
|
|
31205
31205
|
|
|
31206
|
-
|
|
31207
|
-
|
|
31206
|
+
target .getValue () .splice (index, 0, ... args);
|
|
31208
31207
|
target .addEvent ();
|
|
31209
31208
|
},
|
|
31210
31209
|
remove: function (first, last, value)
|
|
31211
31210
|
{
|
|
31212
31211
|
const
|
|
31213
31212
|
target = this [X3DObjectArrayField_target],
|
|
31214
|
-
array = target .getValue ()
|
|
31215
|
-
|
|
31216
|
-
if (typeof value === "function")
|
|
31217
|
-
{
|
|
31218
|
-
first = array .findIndex ((current, index) => index >= first && value (current .valueOf ()))
|
|
31219
|
-
|
|
31220
|
-
if (first !== -1)
|
|
31221
|
-
{
|
|
31222
|
-
for (let i = first; ++ i < last; )
|
|
31223
|
-
{
|
|
31224
|
-
const current = array [i];
|
|
31225
|
-
|
|
31226
|
-
if (!value (current .valueOf ()))
|
|
31227
|
-
{
|
|
31228
|
-
const tmp = array [first];
|
|
31229
|
-
|
|
31230
|
-
array [first ++] = current;
|
|
31231
|
-
array [i] = tmp;
|
|
31232
|
-
}
|
|
31233
|
-
}
|
|
31234
|
-
}
|
|
31235
|
-
|
|
31236
|
-
if (first !== last)
|
|
31237
|
-
target .addEvent ();
|
|
31238
|
-
|
|
31239
|
-
return first;
|
|
31240
|
-
}
|
|
31213
|
+
array = target .getValue (),
|
|
31214
|
+
cmp = typeof value === "function" ? value : v => v === value;
|
|
31241
31215
|
|
|
31242
|
-
first = array .findIndex ((current, index) => index >= first && current .
|
|
31216
|
+
first = array .findIndex ((current, index) => index >= first && cmp (current .valueOf ()));
|
|
31243
31217
|
|
|
31244
31218
|
if (first !== -1)
|
|
31245
31219
|
{
|
|
@@ -31247,7 +31221,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31247
31221
|
{
|
|
31248
31222
|
const current = array [i];
|
|
31249
31223
|
|
|
31250
|
-
if (!current .
|
|
31224
|
+
if (!cmp (current .valueOf ()))
|
|
31251
31225
|
{
|
|
31252
31226
|
const tmp = array [first];
|
|
31253
31227
|
|
|
@@ -31256,8 +31230,12 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
|
|
|
31256
31230
|
}
|
|
31257
31231
|
}
|
|
31258
31232
|
}
|
|
31233
|
+
else
|
|
31234
|
+
{
|
|
31235
|
+
first = last;
|
|
31236
|
+
}
|
|
31259
31237
|
|
|
31260
|
-
if (first !==
|
|
31238
|
+
if (first !== last)
|
|
31261
31239
|
target .addEvent ();
|
|
31262
31240
|
|
|
31263
31241
|
return first;
|
|
@@ -31660,7 +31638,7 @@ function X3DTypedArrayField (args)
|
|
|
31660
31638
|
this [_tmp] = [ ]; // Array with components size.
|
|
31661
31639
|
}
|
|
31662
31640
|
|
|
31663
|
-
|
|
31641
|
+
this .push (... args);
|
|
31664
31642
|
|
|
31665
31643
|
return proxy;
|
|
31666
31644
|
}
|
|
@@ -31714,7 +31692,7 @@ X3DTypedArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFie
|
|
|
31714
31692
|
|
|
31715
31693
|
copy [_length] = target [_length];
|
|
31716
31694
|
|
|
31717
|
-
Base_X3DArrayField.prototype.set.call (copy, copyArray
|
|
31695
|
+
Base_X3DArrayField.prototype.set.call (copy, copyArray);
|
|
31718
31696
|
|
|
31719
31697
|
copy .setModificationTime (0);
|
|
31720
31698
|
|
|
@@ -33880,6 +33858,8 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
|
|
|
33880
33858
|
},
|
|
33881
33859
|
setup: function ()
|
|
33882
33860
|
{
|
|
33861
|
+
Object .freeze (this [_type]);
|
|
33862
|
+
|
|
33883
33863
|
for (const field of this [_fields])
|
|
33884
33864
|
field .setTainted (false);
|
|
33885
33865
|
|
|
@@ -34140,14 +34120,11 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
|
|
|
34140
34120
|
},
|
|
34141
34121
|
hasRoutes: function ()
|
|
34142
34122
|
{
|
|
34143
|
-
/// 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.
|
|
34144
34124
|
|
|
34145
34125
|
for (const field of this [_fields])
|
|
34146
34126
|
{
|
|
34147
|
-
if (field .getInputRoutes () .size)
|
|
34148
|
-
return true;
|
|
34149
|
-
|
|
34150
|
-
if (field .getOutputRoutes () .size)
|
|
34127
|
+
if (field .getInputRoutes () .size || field .getOutputRoutes () .size)
|
|
34151
34128
|
return true;
|
|
34152
34129
|
}
|
|
34153
34130
|
|
|
@@ -34282,7 +34259,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
|
34282
34259
|
*
|
|
34283
34260
|
******************************************************************************/
|
|
34284
34261
|
|
|
34285
|
-
const VERSION_default_ = "8.7.
|
|
34262
|
+
const VERSION_default_ = "8.7.9";
|
|
34286
34263
|
;
|
|
34287
34264
|
|
|
34288
34265
|
x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
|
|
@@ -35201,7 +35178,7 @@ const gettext_default_ = gettext;
|
|
|
35201
35178
|
x_ite_Namespace.set ("locale/gettext", gettext_default_);
|
|
35202
35179
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
35203
35180
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
35204
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
35181
|
+
/* provided dependency */ var $ = __webpack_require__(532);
|
|
35205
35182
|
/*******************************************************************************
|
|
35206
35183
|
*
|
|
35207
35184
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -35699,7 +35676,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
35699
35676
|
x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
35700
35677
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
35701
35678
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
35702
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
35679
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(532);
|
|
35703
35680
|
/*******************************************************************************
|
|
35704
35681
|
*
|
|
35705
35682
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36280,7 +36257,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
36280
36257
|
x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
36281
36258
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
36282
36259
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
36283
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
36260
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(532);
|
|
36284
36261
|
/*******************************************************************************
|
|
36285
36262
|
*
|
|
36286
36263
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36402,8 +36379,8 @@ const Notification_default_ = Notification;
|
|
|
36402
36379
|
x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
|
|
36403
36380
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
36404
36381
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
36405
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
36406
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
36382
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(642);
|
|
36383
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(532);
|
|
36407
36384
|
/*******************************************************************************
|
|
36408
36385
|
*
|
|
36409
36386
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -37316,198 +37293,6 @@ const URLs_default_ = URLs;
|
|
|
37316
37293
|
|
|
37317
37294
|
x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
|
|
37318
37295
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
37319
|
-
;// CONCATENATED MODULE: ./src/x_ite/Configuration/SupportedNodes.js
|
|
37320
|
-
/*******************************************************************************
|
|
37321
|
-
*
|
|
37322
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37323
|
-
*
|
|
37324
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
37325
|
-
*
|
|
37326
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
37327
|
-
*
|
|
37328
|
-
* The copyright notice above does not evidence any actual of intended
|
|
37329
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
37330
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
37331
|
-
* create3000.
|
|
37332
|
-
*
|
|
37333
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
37334
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
37335
|
-
* permission of create3000.
|
|
37336
|
-
*
|
|
37337
|
-
* NON-MILITARY USE ONLY
|
|
37338
|
-
*
|
|
37339
|
-
* All create3000 software are effectively free software with a non-military use
|
|
37340
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
37341
|
-
* source in any way you please with the exception anything that uses it must be
|
|
37342
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
37343
|
-
*
|
|
37344
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37345
|
-
*
|
|
37346
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
37347
|
-
*
|
|
37348
|
-
* This file is part of the X_ITE Project.
|
|
37349
|
-
*
|
|
37350
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
37351
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
37352
|
-
* Free Software Foundation.
|
|
37353
|
-
*
|
|
37354
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
37355
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
37356
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
37357
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
37358
|
-
*
|
|
37359
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
37360
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
37361
|
-
* copy of the GPLv3 License.
|
|
37362
|
-
*
|
|
37363
|
-
* For Silvio, Joy and Adi.
|
|
37364
|
-
*
|
|
37365
|
-
******************************************************************************/
|
|
37366
|
-
|
|
37367
|
-
|
|
37368
|
-
|
|
37369
|
-
|
|
37370
|
-
const SupportedNodes_fieldDefinitions = Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions");
|
|
37371
|
-
|
|
37372
|
-
const
|
|
37373
|
-
types = new Map (),
|
|
37374
|
-
abstractTypes = new Map ();
|
|
37375
|
-
|
|
37376
|
-
let nodeType = Base_X3DConstants.X3DBaseNode;
|
|
37377
|
-
|
|
37378
|
-
const SupportedNodes =
|
|
37379
|
-
{
|
|
37380
|
-
addType: function (typeName, Type)
|
|
37381
|
-
{
|
|
37382
|
-
Base_X3DConstants [typeName] = ++ nodeType; // Start with 1, as X3DBaseNode is 0.
|
|
37383
|
-
|
|
37384
|
-
types .set (typeName, Type);
|
|
37385
|
-
|
|
37386
|
-
Parser_HTMLSupport.addNodeTypeName (typeName);
|
|
37387
|
-
|
|
37388
|
-
// HTML Support
|
|
37389
|
-
|
|
37390
|
-
for (const { name, accessType } of Type .prototype [SupportedNodes_fieldDefinitions])
|
|
37391
|
-
{
|
|
37392
|
-
if (accessType & Base_X3DConstants.initializeOnly)
|
|
37393
|
-
Parser_HTMLSupport.addFieldName (name)
|
|
37394
|
-
}
|
|
37395
|
-
},
|
|
37396
|
-
getType: function (typeName)
|
|
37397
|
-
{
|
|
37398
|
-
return types .get (typeName);
|
|
37399
|
-
},
|
|
37400
|
-
getTypes ()
|
|
37401
|
-
{
|
|
37402
|
-
return Array .from (types .values ());
|
|
37403
|
-
},
|
|
37404
|
-
addAbstractType: function (typeName, Type)
|
|
37405
|
-
{
|
|
37406
|
-
Base_X3DConstants [typeName] = ++ nodeType;
|
|
37407
|
-
|
|
37408
|
-
abstractTypes .set (typeName, Type);
|
|
37409
|
-
},
|
|
37410
|
-
getAbstractType: function (typeName)
|
|
37411
|
-
{
|
|
37412
|
-
return abstractTypes .get (typeName);
|
|
37413
|
-
},
|
|
37414
|
-
getAbstractTypes ()
|
|
37415
|
-
{
|
|
37416
|
-
return Array .from (abstractTypes .values ());
|
|
37417
|
-
},
|
|
37418
|
-
};
|
|
37419
|
-
|
|
37420
|
-
const SupportedNodes_default_ = SupportedNodes;
|
|
37421
|
-
;
|
|
37422
|
-
|
|
37423
|
-
x_ite_Namespace.set ("x_ite/Configuration/SupportedNodes", SupportedNodes_default_);
|
|
37424
|
-
/* harmony default export */ const Configuration_SupportedNodes = (SupportedNodes_default_);
|
|
37425
|
-
;// CONCATENATED MODULE: ./src/x_ite/Execution/NamedNodesArray.js
|
|
37426
|
-
/*******************************************************************************
|
|
37427
|
-
*
|
|
37428
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37429
|
-
*
|
|
37430
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
37431
|
-
*
|
|
37432
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
37433
|
-
*
|
|
37434
|
-
* The copyright notice above does not evidence any actual of intended
|
|
37435
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
37436
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
37437
|
-
* create3000.
|
|
37438
|
-
*
|
|
37439
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
37440
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
37441
|
-
* permission of create3000.
|
|
37442
|
-
*
|
|
37443
|
-
* NON-MILITARY USE ONLY
|
|
37444
|
-
*
|
|
37445
|
-
* All create3000 software are effectively free software with a non-military use
|
|
37446
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
37447
|
-
* source in any way you please with the exception anything that uses it must be
|
|
37448
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
37449
|
-
*
|
|
37450
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
37451
|
-
*
|
|
37452
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
37453
|
-
*
|
|
37454
|
-
* This file is part of the X_ITE Project.
|
|
37455
|
-
*
|
|
37456
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
37457
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
37458
|
-
* Free Software Foundation.
|
|
37459
|
-
*
|
|
37460
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
37461
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
37462
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
37463
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
37464
|
-
*
|
|
37465
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
37466
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
37467
|
-
* copy of the GPLv3 License.
|
|
37468
|
-
*
|
|
37469
|
-
* For Silvio, Joy and Adi.
|
|
37470
|
-
*
|
|
37471
|
-
******************************************************************************/
|
|
37472
|
-
|
|
37473
|
-
|
|
37474
|
-
|
|
37475
|
-
|
|
37476
|
-
function NamedNodesArray (values)
|
|
37477
|
-
{
|
|
37478
|
-
const proxy = Base_X3DInfoArray.call (this);
|
|
37479
|
-
|
|
37480
|
-
if (values)
|
|
37481
|
-
{
|
|
37482
|
-
for (const value of values)
|
|
37483
|
-
{
|
|
37484
|
-
if (!(value instanceof Base_X3DBaseNode))
|
|
37485
|
-
throw new TypeError (`Wrong type in construction of ${this .getTypeName ()}.`);
|
|
37486
|
-
|
|
37487
|
-
this .add (value .getName (), value);
|
|
37488
|
-
}
|
|
37489
|
-
}
|
|
37490
|
-
|
|
37491
|
-
return proxy;
|
|
37492
|
-
}
|
|
37493
|
-
|
|
37494
|
-
NamedNodesArray .prototype = Object .assign (Object .create (Base_X3DInfoArray.prototype),
|
|
37495
|
-
{
|
|
37496
|
-
constructor: NamedNodesArray,
|
|
37497
|
-
getTypeName: function ()
|
|
37498
|
-
{
|
|
37499
|
-
return "NamedNodesArray";
|
|
37500
|
-
},
|
|
37501
|
-
});
|
|
37502
|
-
|
|
37503
|
-
for (const key of Reflect .ownKeys (NamedNodesArray .prototype))
|
|
37504
|
-
Object .defineProperty (NamedNodesArray .prototype, key, { enumerable: false });
|
|
37505
|
-
|
|
37506
|
-
const NamedNodesArray_default_ = NamedNodesArray;
|
|
37507
|
-
;
|
|
37508
|
-
|
|
37509
|
-
x_ite_Namespace.set ("x_ite/Execution/NamedNodesArray", NamedNodesArray_default_);
|
|
37510
|
-
/* harmony default export */ const Execution_NamedNodesArray = (NamedNodesArray_default_);
|
|
37511
37296
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Core/X3DNode.js
|
|
37512
37297
|
/*******************************************************************************
|
|
37513
37298
|
*
|
|
@@ -37588,7 +37373,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37588
37373
|
const namedNode = executionContext .getNamedNodes () .get (this .getName ());
|
|
37589
37374
|
|
|
37590
37375
|
if (namedNode)
|
|
37591
|
-
return namedNode;
|
|
37376
|
+
return namedNode .getValue ();
|
|
37592
37377
|
}
|
|
37593
37378
|
|
|
37594
37379
|
// Create copy.
|
|
@@ -37621,7 +37406,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37621
37406
|
}
|
|
37622
37407
|
catch (error)
|
|
37623
37408
|
{
|
|
37624
|
-
console .error (error
|
|
37409
|
+
console .error (error);
|
|
37625
37410
|
}
|
|
37626
37411
|
}
|
|
37627
37412
|
}
|
|
@@ -37646,7 +37431,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
37646
37431
|
}
|
|
37647
37432
|
catch (error)
|
|
37648
37433
|
{
|
|
37649
|
-
console .
|
|
37434
|
+
console .error (error);
|
|
37650
37435
|
}
|
|
37651
37436
|
}
|
|
37652
37437
|
|
|
@@ -38801,7 +38586,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38801
38586
|
{
|
|
38802
38587
|
const parentContext = executionContext .getExecutionContext ();
|
|
38803
38588
|
|
|
38804
|
-
for (const importedNode of parentContext .getImportedNodes ())
|
|
38589
|
+
for (const importedNode of [... parentContext .getImportedNodes ()])
|
|
38805
38590
|
{
|
|
38806
38591
|
try
|
|
38807
38592
|
{
|
|
@@ -38817,7 +38602,7 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38817
38602
|
|
|
38818
38603
|
// Remove exported node if any.
|
|
38819
38604
|
|
|
38820
|
-
for (const exportedNode of executionContext .getExportedNodes ())
|
|
38605
|
+
for (const exportedNode of [... executionContext .getExportedNodes ()])
|
|
38821
38606
|
{
|
|
38822
38607
|
if (exportedNode .getLocalNode () === this)
|
|
38823
38608
|
executionContext .removeExportedNode (exportedNode .getExportedName ());
|
|
@@ -38828,20 +38613,20 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
|
|
|
38828
38613
|
|
|
38829
38614
|
for (const firstParent of new Set (this .getParents ()))
|
|
38830
38615
|
{
|
|
38831
|
-
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 ()))
|
|
38832
38620
|
{
|
|
38833
|
-
|
|
38834
|
-
|
|
38835
|
-
if (secondParent instanceof x_ite_Fields.MFNode)
|
|
38836
|
-
{
|
|
38837
|
-
const length = secondParent .length;
|
|
38621
|
+
if (!(secondParent instanceof x_ite_Fields.MFNode))
|
|
38622
|
+
continue;
|
|
38838
38623
|
|
|
38839
|
-
|
|
38840
|
-
}
|
|
38841
|
-
}
|
|
38624
|
+
const length = secondParent .length;
|
|
38842
38625
|
|
|
38843
|
-
firstParent .
|
|
38626
|
+
secondParent .erase (secondParent .remove (0, length, firstParent .valueOf ()), length);
|
|
38844
38627
|
}
|
|
38628
|
+
|
|
38629
|
+
firstParent .setValue (null);
|
|
38845
38630
|
}
|
|
38846
38631
|
|
|
38847
38632
|
// Call super.dispose, where fields get disposed.
|
|
@@ -38855,6 +38640,264 @@ const X3DNode_default_ = X3DNode;
|
|
|
38855
38640
|
|
|
38856
38641
|
x_ite_Namespace.set ("x_ite/Components/Core/X3DNode", X3DNode_default_);
|
|
38857
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_);
|
|
38858
38901
|
;// CONCATENATED MODULE: ./src/x_ite/Execution/X3DImportedNode.js
|
|
38859
38902
|
/*******************************************************************************
|
|
38860
38903
|
*
|
|
@@ -40570,7 +40613,7 @@ x_ite_Namespace.set ("x_ite/Components/Core/X3DPrototypeInstance", X3DPrototypeI
|
|
|
40570
40613
|
|
|
40571
40614
|
|
|
40572
40615
|
|
|
40573
|
-
Configuration_SupportedNodes.
|
|
40616
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DProtoDeclarationNode", X3DProtoDeclarationNode);
|
|
40574
40617
|
|
|
40575
40618
|
function X3DProtoDeclarationNode (executionContext)
|
|
40576
40619
|
{
|
|
@@ -40681,7 +40724,7 @@ x_ite_Namespace.set ("x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarat
|
|
|
40681
40724
|
|
|
40682
40725
|
|
|
40683
40726
|
|
|
40684
|
-
Configuration_SupportedNodes.
|
|
40727
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DProtoDeclaration", X3DProtoDeclaration);
|
|
40685
40728
|
|
|
40686
40729
|
const
|
|
40687
40730
|
X3DProtoDeclaration_body = Symbol ();
|
|
@@ -41477,7 +41520,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
|
|
|
41477
41520
|
x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
|
|
41478
41521
|
/* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
|
|
41479
41522
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
41480
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
41523
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(532);
|
|
41481
41524
|
/*******************************************************************************
|
|
41482
41525
|
*
|
|
41483
41526
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44659,7 +44702,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
44659
44702
|
x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
44660
44703
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
44661
44704
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
44662
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
44705
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(532);
|
|
44663
44706
|
/*******************************************************************************
|
|
44664
44707
|
*
|
|
44665
44708
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46514,7 +46557,7 @@ const X3DOptimizer_default_ = X3DOptimizer;
|
|
|
46514
46557
|
x_ite_Namespace.set ("x_ite/Parser/X3DOptimizer", X3DOptimizer_default_);
|
|
46515
46558
|
/* harmony default export */ const Parser_X3DOptimizer = (X3DOptimizer_default_);
|
|
46516
46559
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
46517
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
46560
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(532);
|
|
46518
46561
|
/*******************************************************************************
|
|
46519
46562
|
*
|
|
46520
46563
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48980,7 +49023,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48980
49023
|
x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
48981
49024
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
48982
49025
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48983
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
49026
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(532);
|
|
48984
49027
|
/*******************************************************************************
|
|
48985
49028
|
*
|
|
48986
49029
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -49133,7 +49176,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
49133
49176
|
x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
49134
49177
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
49135
49178
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
49136
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
49179
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(532);
|
|
49137
49180
|
/*******************************************************************************
|
|
49138
49181
|
*
|
|
49139
49182
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -51637,8 +51680,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
51637
51680
|
x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
51638
51681
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
51639
51682
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
51640
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
51641
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
51683
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(532);
|
|
51684
|
+
/* provided dependency */ var libtess = __webpack_require__(513);
|
|
51642
51685
|
/*******************************************************************************
|
|
51643
51686
|
*
|
|
51644
51687
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54407,7 +54450,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
54407
54450
|
x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
|
|
54408
54451
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
54409
54452
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
54410
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
54453
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(532);
|
|
54411
54454
|
/*******************************************************************************
|
|
54412
54455
|
*
|
|
54413
54456
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54736,7 +54779,7 @@ const Plane3_default_ = Plane3;
|
|
|
54736
54779
|
x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
|
|
54737
54780
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
54738
54781
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
54739
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
54782
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(513);
|
|
54740
54783
|
/*******************************************************************************
|
|
54741
54784
|
*
|
|
54742
54785
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62033,7 +62076,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62033
62076
|
x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62034
62077
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62035
62078
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62036
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62079
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(532);
|
|
62037
62080
|
/*******************************************************************************
|
|
62038
62081
|
*
|
|
62039
62082
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65786,9 +65829,7 @@ function remove (array, first, last, range, rfirst, rlast)
|
|
|
65786
65829
|
for (let i = rfirst; i < rlast; ++ i)
|
|
65787
65830
|
set .add (range [i]);
|
|
65788
65831
|
|
|
65789
|
-
|
|
65790
|
-
|
|
65791
|
-
return array .remove (first, last, compare);
|
|
65832
|
+
return array .remove (first, last, value => set .has (value));
|
|
65792
65833
|
}
|
|
65793
65834
|
|
|
65794
65835
|
const X3DGroupingNode_default_ = X3DGroupingNode;
|
|
@@ -66265,7 +66306,7 @@ x_ite_Namespace.set ("x_ite/Components/Layering/LayerSet", LayerSet_default_);
|
|
|
66265
66306
|
|
|
66266
66307
|
|
|
66267
66308
|
|
|
66268
|
-
Configuration_SupportedNodes.
|
|
66309
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DWorld", X3DWorld);
|
|
66269
66310
|
|
|
66270
66311
|
function X3DWorld (executionContext)
|
|
66271
66312
|
{
|
|
@@ -66372,7 +66413,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66372
66413
|
x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66373
66414
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66374
66415
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66375
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66416
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(532);
|
|
66376
66417
|
/*******************************************************************************
|
|
66377
66418
|
*
|
|
66378
66419
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66516,7 +66557,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
|
|
|
66516
66557
|
if (error)
|
|
66517
66558
|
error (exception);
|
|
66518
66559
|
else
|
|
66519
|
-
throw
|
|
66560
|
+
throw exception;
|
|
66520
66561
|
}
|
|
66521
66562
|
},
|
|
66522
66563
|
setScene: function (scene, success, error)
|
|
@@ -66774,7 +66815,7 @@ x_ite_Namespace.set ("x_ite/InputOutput/FileLoader", FileLoader_default_);
|
|
|
66774
66815
|
|
|
66775
66816
|
|
|
66776
66817
|
|
|
66777
|
-
Configuration_SupportedNodes.
|
|
66818
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DExternProtoDeclaration", X3DExternProtoDeclaration);
|
|
66778
66819
|
|
|
66779
66820
|
const
|
|
66780
66821
|
_proto = Symbol (),
|
|
@@ -67608,6 +67649,14 @@ Object .defineProperties (X3DRoute .prototype,
|
|
|
67608
67649
|
},
|
|
67609
67650
|
});
|
|
67610
67651
|
|
|
67652
|
+
Object .assign (X3DRoute,
|
|
67653
|
+
{
|
|
67654
|
+
getId: function (sourceField, destinationField)
|
|
67655
|
+
{
|
|
67656
|
+
return sourceField .getId () + "." + destinationField .getId ();
|
|
67657
|
+
},
|
|
67658
|
+
});
|
|
67659
|
+
|
|
67611
67660
|
const X3DRoute_default_ = X3DRoute;
|
|
67612
67661
|
;
|
|
67613
67662
|
|
|
@@ -67751,7 +67800,7 @@ x_ite_Namespace.set ("x_ite/Routing/RouteArray", RouteArray_default_);
|
|
|
67751
67800
|
|
|
67752
67801
|
|
|
67753
67802
|
|
|
67754
|
-
Configuration_SupportedNodes.
|
|
67803
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DExecutionContext", X3DExecutionContext);
|
|
67755
67804
|
|
|
67756
67805
|
const
|
|
67757
67806
|
_namedNodes = Symbol (),
|
|
@@ -67907,15 +67956,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67907
67956
|
|
|
67908
67957
|
for (;;)
|
|
67909
67958
|
{
|
|
67910
|
-
const
|
|
67959
|
+
const protoNode = executionContext .protos .get (name) ?? executionContext .externprotos .get (name);
|
|
67911
67960
|
|
|
67912
|
-
if (
|
|
67913
|
-
return
|
|
67914
|
-
|
|
67915
|
-
const externproto = executionContext .externprotos .get (name);
|
|
67916
|
-
|
|
67917
|
-
if (externproto)
|
|
67918
|
-
return externproto .createInstance (this, setup);
|
|
67961
|
+
if (protoNode)
|
|
67962
|
+
return protoNode .createInstance (this, setup);
|
|
67919
67963
|
|
|
67920
67964
|
if (executionContext .isScene ())
|
|
67921
67965
|
break;
|
|
@@ -67930,10 +67974,31 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67930
67974
|
},
|
|
67931
67975
|
addNamedNode: function (name, node)
|
|
67932
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
|
+
|
|
67933
67989
|
if (this [_namedNodes] .has (name))
|
|
67934
67990
|
throw new Error ("Couldn't add named node: node named '" + name + "' is already in use.");
|
|
67935
67991
|
|
|
67936
|
-
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 ();
|
|
67937
68002
|
},
|
|
67938
68003
|
updateNamedNode: function (name, node)
|
|
67939
68004
|
{
|
|
@@ -67958,7 +68023,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67958
68023
|
|
|
67959
68024
|
node .setName (name);
|
|
67960
68025
|
|
|
67961
|
-
this [_namedNodes] .add (name, node);
|
|
68026
|
+
this [_namedNodes] .add (name, Fields_SFNodeCache.get (node));
|
|
67962
68027
|
|
|
67963
68028
|
this ._namedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67964
68029
|
},
|
|
@@ -67968,10 +68033,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67968
68033
|
|
|
67969
68034
|
const node = this [_namedNodes] .get (name);
|
|
67970
68035
|
|
|
67971
|
-
if (!node)
|
|
68036
|
+
if (!node || !node .getValue ())
|
|
67972
68037
|
return;
|
|
67973
68038
|
|
|
67974
|
-
node .setName ("");
|
|
68039
|
+
node .getValue () .setName ("");
|
|
67975
68040
|
|
|
67976
68041
|
this [_namedNodes] .remove (name);
|
|
67977
68042
|
|
|
@@ -67984,7 +68049,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67984
68049
|
const node = this [_namedNodes] .get (name);
|
|
67985
68050
|
|
|
67986
68051
|
if (node)
|
|
67987
|
-
return
|
|
68052
|
+
return node;
|
|
67988
68053
|
|
|
67989
68054
|
throw new Error ("Named node '" + name + "' not found.");
|
|
67990
68055
|
},
|
|
@@ -67996,11 +68061,8 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
67996
68061
|
{
|
|
67997
68062
|
return getUniqueName (this [_namedNodes], name);
|
|
67998
68063
|
},
|
|
67999
|
-
addImportedNode: function (inlineNode, exportedName, importedName)
|
|
68064
|
+
addImportedNode: function (inlineNode, exportedName, importedName = exportedName)
|
|
68000
68065
|
{
|
|
68001
|
-
if (importedName === undefined)
|
|
68002
|
-
importedName = exportedName;
|
|
68003
|
-
|
|
68004
68066
|
exportedName = String (exportedName);
|
|
68005
68067
|
importedName = String (importedName);
|
|
68006
68068
|
|
|
@@ -68133,9 +68195,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68133
68195
|
if (!(proto instanceof Prototype_X3DProtoDeclaration))
|
|
68134
68196
|
throw new Error ("Couldn't add proto declaration: proto must be of type X3DProtoDeclaration.");
|
|
68135
68197
|
|
|
68198
|
+
if (proto .getExecutionContext () !== this)
|
|
68199
|
+
throw new Error ("Couldn't add proto declaration: proto does not belong to this execution context.");
|
|
68200
|
+
|
|
68136
68201
|
if (this [_protos] .get (name))
|
|
68137
68202
|
throw new Error ("Couldn't add proto declaration: proto '" + name + "' already in use.");
|
|
68138
68203
|
|
|
68204
|
+
if (this [_protos] .get (proto .getName ()) === proto)
|
|
68205
|
+
throw new Error ("Couldn't add proto declaration: proto '" + proto .getName () + "' already added.");
|
|
68206
|
+
|
|
68139
68207
|
name = String (name);
|
|
68140
68208
|
|
|
68141
68209
|
if (name .length === 0)
|
|
@@ -68151,12 +68219,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68151
68219
|
name = String (name);
|
|
68152
68220
|
|
|
68153
68221
|
if (!(proto instanceof Prototype_X3DProtoDeclaration))
|
|
68154
|
-
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.");
|
|
68155
68226
|
|
|
68156
68227
|
name = String (name);
|
|
68157
68228
|
|
|
68158
68229
|
if (name .length === 0)
|
|
68159
|
-
throw new Error ("Couldn't
|
|
68230
|
+
throw new Error ("Couldn't update proto declaration: proto name is empty.");
|
|
68160
68231
|
|
|
68161
68232
|
this [_protos] .update (proto .getName (), name, proto);
|
|
68162
68233
|
proto .setName (name);
|
|
@@ -68197,9 +68268,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68197
68268
|
if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
|
|
68198
68269
|
throw new Error ("Couldn't add extern proto declaration: extern proto must be of type X3DExternProtoDeclaration.");
|
|
68199
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
|
+
|
|
68200
68274
|
if (this [_externprotos] .get (name))
|
|
68201
68275
|
throw new Error ("Couldn't add extern proto declaration: extern proto '" + name + "' already in use.");
|
|
68202
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
|
+
|
|
68203
68280
|
name = String (name);
|
|
68204
68281
|
|
|
68205
68282
|
if (name .length === 0)
|
|
@@ -68215,12 +68292,15 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68215
68292
|
name = String (name);
|
|
68216
68293
|
|
|
68217
68294
|
if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
|
|
68218
|
-
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.");
|
|
68219
68299
|
|
|
68220
68300
|
name = String (name);
|
|
68221
68301
|
|
|
68222
68302
|
if (name .length === 0)
|
|
68223
|
-
throw new Error ("Couldn't
|
|
68303
|
+
throw new Error ("Couldn't update extern proto declaration: extern proto name is empty.");
|
|
68224
68304
|
|
|
68225
68305
|
this [_externprotos] .update (externproto .getName (), name, externproto);
|
|
68226
68306
|
externproto .setName (name);
|
|
@@ -68327,7 +68407,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68327
68407
|
if (sourceField .getType () !== destinationField .getType ())
|
|
68328
68408
|
throw new Error ("ROUTE types " + sourceField .getTypeName () + " and " + destinationField .getTypeName () + " do not match.");
|
|
68329
68409
|
|
|
68330
|
-
const id =
|
|
68410
|
+
const id = Routing_X3DRoute.getId (sourceField, destinationField);
|
|
68331
68411
|
|
|
68332
68412
|
let route = this [X3DExecutionContext_routes] .get (id);
|
|
68333
68413
|
|
|
@@ -68351,37 +68431,26 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68351
68431
|
{
|
|
68352
68432
|
// sourceNode, sourceField, destinationNode, destinationField
|
|
68353
68433
|
if (arguments .length === 4)
|
|
68354
|
-
|
|
68355
|
-
route = this .getRoute .apply (this, arguments);
|
|
68434
|
+
route = this .getRoute (... arguments);
|
|
68356
68435
|
|
|
68357
|
-
|
|
68358
|
-
|
|
68359
|
-
|
|
68436
|
+
if (!(route instanceof Routing_X3DRoute))
|
|
68437
|
+
return;
|
|
68438
|
+
|
|
68439
|
+
if (route .getExecutionContext () !== this)
|
|
68440
|
+
return;
|
|
68360
68441
|
|
|
68361
|
-
|
|
68362
|
-
|
|
68442
|
+
this .deleteSimpleRoute (route);
|
|
68443
|
+
this .deleteImportedRoute (route .sourceNode, route .destinationNode, route);
|
|
68363
68444
|
},
|
|
68364
68445
|
deleteSimpleRoute: function (route)
|
|
68365
68446
|
{
|
|
68366
|
-
|
|
68367
|
-
{
|
|
68368
|
-
const
|
|
68369
|
-
sourceField = route .getSourceField (),
|
|
68370
|
-
destinationField = route .getDestinationField (),
|
|
68371
|
-
id = sourceField .getId () + "." + destinationField .getId ();
|
|
68447
|
+
const id = Routing_X3DRoute.getId (route .getSourceField (), route .getDestinationField ());
|
|
68372
68448
|
|
|
68373
|
-
|
|
68374
|
-
route .disconnect ();
|
|
68449
|
+
this [X3DExecutionContext_routes] .remove (id);
|
|
68375
68450
|
|
|
68376
|
-
|
|
68451
|
+
route .disconnect ();
|
|
68377
68452
|
|
|
68378
|
-
|
|
68379
|
-
}
|
|
68380
|
-
catch (error)
|
|
68381
|
-
{
|
|
68382
|
-
console .error (error);
|
|
68383
|
-
return false;
|
|
68384
|
-
}
|
|
68453
|
+
this ._routes_changed = this .getBrowser () .getCurrentTime ();
|
|
68385
68454
|
},
|
|
68386
68455
|
deleteImportedRoute (sourceNode, destinationNode, route)
|
|
68387
68456
|
{
|
|
@@ -68443,9 +68512,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
|
|
|
68443
68512
|
sourceField = sourceNode .getField (sourceField);
|
|
68444
68513
|
destinationField = destinationNode .getField (destinationField);
|
|
68445
68514
|
|
|
68446
|
-
|
|
68447
|
-
|
|
68448
|
-
return this [X3DExecutionContext_routes] .get (id);
|
|
68515
|
+
return this [X3DExecutionContext_routes] .get (Routing_X3DRoute.getId (sourceField, destinationField));
|
|
68449
68516
|
},
|
|
68450
68517
|
getRoutes: function ()
|
|
68451
68518
|
{
|
|
@@ -69481,7 +69548,7 @@ x_ite_Namespace.set ("x_ite/Execution/ExportedNodesArray", ExportedNodesArray_de
|
|
|
69481
69548
|
|
|
69482
69549
|
|
|
69483
69550
|
|
|
69484
|
-
Configuration_SupportedNodes.
|
|
69551
|
+
Configuration_SupportedNodes.addAbstractNodeType ("X3DScene", X3DScene);
|
|
69485
69552
|
|
|
69486
69553
|
const
|
|
69487
69554
|
X3DScene_browser = Symbol .for ("X_ITE.X3DEventObject.browser"),
|
|
@@ -70648,7 +70715,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
70648
70715
|
x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
|
|
70649
70716
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
70650
70717
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
70651
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
70718
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(532);
|
|
70652
70719
|
/*******************************************************************************
|
|
70653
70720
|
*
|
|
70654
70721
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -76791,8 +76858,8 @@ const OrientationChaser_default_ = OrientationChaser;
|
|
|
76791
76858
|
x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
|
|
76792
76859
|
/* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
|
|
76793
76860
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
76794
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
76795
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
76861
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(292);
|
|
76862
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(532);
|
|
76796
76863
|
/*******************************************************************************
|
|
76797
76864
|
*
|
|
76798
76865
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -77656,8 +77723,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
77656
77723
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
77657
77724
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
77658
77725
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
77659
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
77660
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
77726
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(292);
|
|
77727
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(532);
|
|
77661
77728
|
/*******************************************************************************
|
|
77662
77729
|
*
|
|
77663
77730
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78605,8 +78672,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
78605
78672
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
78606
78673
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
78607
78674
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
78608
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
78609
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
78675
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(292);
|
|
78676
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(532);
|
|
78610
78677
|
/*******************************************************************************
|
|
78611
78678
|
*
|
|
78612
78679
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78915,8 +78982,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
78915
78982
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
78916
78983
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
78917
78984
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
78918
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
78919
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
78985
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(292);
|
|
78986
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(532);
|
|
78920
78987
|
/*******************************************************************************
|
|
78921
78988
|
*
|
|
78922
78989
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -80548,8 +80615,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
80548
80615
|
x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
80549
80616
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
80550
80617
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
80551
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
80552
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
80618
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(292);
|
|
80619
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(532);
|
|
80553
80620
|
/*******************************************************************************
|
|
80554
80621
|
*
|
|
80555
80622
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -81587,8 +81654,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
81587
81654
|
x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
81588
81655
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
81589
81656
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
81590
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
81591
|
-
/* provided dependency */ var ResizeSensor = __webpack_require__(
|
|
81657
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(532);
|
|
81658
|
+
/* provided dependency */ var ResizeSensor = __webpack_require__(131);
|
|
81592
81659
|
/*******************************************************************************
|
|
81593
81660
|
*
|
|
81594
81661
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -82689,21 +82756,19 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
82689
82756
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
82690
82757
|
return 0.0;
|
|
82691
82758
|
|
|
82692
|
-
|
|
82693
|
-
|
|
82694
|
-
float dx1 = + texelSize .x;
|
|
82695
|
-
float dy1 = + texelSize .y;
|
|
82759
|
+
vec2 d0 = - texelSize;
|
|
82760
|
+
vec2 d1 = texelSize;
|
|
82696
82761
|
|
|
82697
82762
|
float value = (
|
|
82698
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
82699
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
82700
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82701
|
-
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) +
|
|
82702
82767
|
texture2DCompare (index, shadowCoord .xy, shadowCoord .z) +
|
|
82703
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82704
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
82705
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
82706
|
-
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)
|
|
82707
82772
|
) * (1.0 / 9.0);
|
|
82708
82773
|
|
|
82709
82774
|
return light .shadowIntensity * value;
|
|
@@ -82719,22 +82784,20 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
82719
82784
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
82720
82785
|
return 0.0;
|
|
82721
82786
|
|
|
82722
|
-
|
|
82723
|
-
|
|
82724
|
-
float dx1 = + texelSize.x;
|
|
82725
|
-
float dy1 = + texelSize.y;
|
|
82787
|
+
vec2 d0 = - texelSize;
|
|
82788
|
+
vec2 d1 = texelSize;
|
|
82726
82789
|
|
|
82727
82790
|
float value = (
|
|
82728
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
82729
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
82730
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82731
|
-
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) +
|
|
82732
82795
|
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy, shadowCoord .z) +
|
|
82733
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82734
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
82735
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
82736
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
82737
|
-
) * (
|
|
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);
|
|
82738
82801
|
|
|
82739
82802
|
return light .shadowIntensity * value;
|
|
82740
82803
|
|
|
@@ -84332,21 +84395,19 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
84332
84395
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
84333
84396
|
return 0.0;
|
|
84334
84397
|
|
|
84335
|
-
|
|
84336
|
-
|
|
84337
|
-
float dx1 = + texelSize .x;
|
|
84338
|
-
float dy1 = + texelSize .y;
|
|
84398
|
+
vec2 d0 = - texelSize;
|
|
84399
|
+
vec2 d1 = texelSize;
|
|
84339
84400
|
|
|
84340
84401
|
float value = (
|
|
84341
|
-
texture2DCompare (index, shadowCoord .xy +
|
|
84342
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
84343
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84344
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84345
|
-
texture2DCompare (index, shadowCoord .xy,
|
|
84346
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84347
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (
|
|
84348
|
-
texture2DCompare (index, shadowCoord .xy + vec2 (0.0,
|
|
84349
|
-
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)
|
|
84350
84411
|
) * (1.0 / 9.0);
|
|
84351
84412
|
|
|
84352
84413
|
return light .shadowIntensity * value;
|
|
@@ -84362,22 +84423,20 @@ getShadowIntensity (const in int index, const in x3d_LightSourceParameters light
|
|
|
84362
84423
|
if (any (greaterThan (abs (shadowCoord .xy - 0.5), vec2 (0.5))))
|
|
84363
84424
|
return 0.0;
|
|
84364
84425
|
|
|
84365
|
-
|
|
84366
|
-
|
|
84367
|
-
float dx1 = + texelSize.x;
|
|
84368
|
-
float dy1 = + texelSize.y;
|
|
84426
|
+
vec2 d0 = - texelSize;
|
|
84427
|
+
vec2 d1 = texelSize;
|
|
84369
84428
|
|
|
84370
84429
|
float value = (
|
|
84371
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
84372
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
84373
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84374
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84375
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy,
|
|
84376
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84377
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (
|
|
84378
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy + vec2 (0.0,
|
|
84379
|
-
texture2DShadowLerp (index, texelSize, float (shadowMapSize), shadowCoord .xy +
|
|
84380
|
-
) * (
|
|
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);
|
|
84381
84440
|
|
|
84382
84441
|
return light .shadowIntensity * value;
|
|
84383
84442
|
|
|
@@ -87499,7 +87558,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
87499
87558
|
x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
87500
87559
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
87501
87560
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
87502
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
87561
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(532);
|
|
87503
87562
|
/*******************************************************************************
|
|
87504
87563
|
*
|
|
87505
87564
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -90276,7 +90335,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
90276
90335
|
x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
90277
90336
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
90278
90337
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
90279
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
90338
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(532);
|
|
90280
90339
|
/*******************************************************************************
|
|
90281
90340
|
*
|
|
90282
90341
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94777,10 +94836,10 @@ const AbstractTypes =
|
|
|
94777
94836
|
};
|
|
94778
94837
|
|
|
94779
94838
|
for (const typeName in Types)
|
|
94780
|
-
Configuration_SupportedNodes.
|
|
94839
|
+
Configuration_SupportedNodes.addNodeType (typeName, Types [typeName]);
|
|
94781
94840
|
|
|
94782
94841
|
for (const typeName in AbstractTypes)
|
|
94783
|
-
Configuration_SupportedNodes.
|
|
94842
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, AbstractTypes [typeName]);
|
|
94784
94843
|
|
|
94785
94844
|
const Core_default_ = undefined;
|
|
94786
94845
|
;
|
|
@@ -95257,10 +95316,10 @@ const EnvironmentalEffects_AbstractTypes =
|
|
|
95257
95316
|
};
|
|
95258
95317
|
|
|
95259
95318
|
for (const typeName in EnvironmentalEffects_Types)
|
|
95260
|
-
Configuration_SupportedNodes.
|
|
95319
|
+
Configuration_SupportedNodes.addNodeType (typeName, EnvironmentalEffects_Types [typeName]);
|
|
95261
95320
|
|
|
95262
95321
|
for (const typeName in EnvironmentalEffects_AbstractTypes)
|
|
95263
|
-
Configuration_SupportedNodes.
|
|
95322
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, EnvironmentalEffects_AbstractTypes [typeName]);
|
|
95264
95323
|
|
|
95265
95324
|
const EnvironmentalEffects_default_ = undefined;
|
|
95266
95325
|
;
|
|
@@ -96227,10 +96286,10 @@ const EnvironmentalSensor_AbstractTypes =
|
|
|
96227
96286
|
};
|
|
96228
96287
|
|
|
96229
96288
|
for (const typeName in EnvironmentalSensor_Types)
|
|
96230
|
-
Configuration_SupportedNodes.
|
|
96289
|
+
Configuration_SupportedNodes.addNodeType (typeName, EnvironmentalSensor_Types [typeName]);
|
|
96231
96290
|
|
|
96232
96291
|
for (const typeName in EnvironmentalSensor_AbstractTypes)
|
|
96233
|
-
Configuration_SupportedNodes.
|
|
96292
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, EnvironmentalSensor_AbstractTypes [typeName]);
|
|
96234
96293
|
|
|
96235
96294
|
const EnvironmentalSensor_default_ = undefined;
|
|
96236
96295
|
;
|
|
@@ -98158,10 +98217,10 @@ const Followers_AbstractTypes =
|
|
|
98158
98217
|
};
|
|
98159
98218
|
|
|
98160
98219
|
for (const typeName in Followers_Types)
|
|
98161
|
-
Configuration_SupportedNodes.
|
|
98220
|
+
Configuration_SupportedNodes.addNodeType (typeName, Followers_Types [typeName]);
|
|
98162
98221
|
|
|
98163
98222
|
for (const typeName in Followers_AbstractTypes)
|
|
98164
|
-
Configuration_SupportedNodes.
|
|
98223
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Followers_AbstractTypes [typeName]);
|
|
98165
98224
|
|
|
98166
98225
|
const Followers_default_ = undefined;
|
|
98167
98226
|
;
|
|
@@ -100207,10 +100266,10 @@ const Geometry3D_AbstractTypes =
|
|
|
100207
100266
|
};
|
|
100208
100267
|
|
|
100209
100268
|
for (const typeName in Geometry3D_Types)
|
|
100210
|
-
Configuration_SupportedNodes.
|
|
100269
|
+
Configuration_SupportedNodes.addNodeType (typeName, Geometry3D_Types [typeName]);
|
|
100211
100270
|
|
|
100212
100271
|
for (const typeName in Geometry3D_AbstractTypes)
|
|
100213
|
-
Configuration_SupportedNodes.
|
|
100272
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Geometry3D_AbstractTypes [typeName]);
|
|
100214
100273
|
|
|
100215
100274
|
const Geometry3D_default_ = undefined;
|
|
100216
100275
|
;
|
|
@@ -101116,10 +101175,10 @@ const Grouping_AbstractTypes =
|
|
|
101116
101175
|
};
|
|
101117
101176
|
|
|
101118
101177
|
for (const typeName in Grouping_Types)
|
|
101119
|
-
Configuration_SupportedNodes.
|
|
101178
|
+
Configuration_SupportedNodes.addNodeType (typeName, Grouping_Types [typeName]);
|
|
101120
101179
|
|
|
101121
101180
|
for (const typeName in Grouping_AbstractTypes)
|
|
101122
|
-
Configuration_SupportedNodes.
|
|
101181
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Grouping_AbstractTypes [typeName]);
|
|
101123
101182
|
|
|
101124
101183
|
const Grouping_default_ = undefined;
|
|
101125
101184
|
;
|
|
@@ -103045,10 +103104,10 @@ const Interpolation_AbstractTypes =
|
|
|
103045
103104
|
};
|
|
103046
103105
|
|
|
103047
103106
|
for (const typeName in Interpolation_Types)
|
|
103048
|
-
Configuration_SupportedNodes.
|
|
103107
|
+
Configuration_SupportedNodes.addNodeType (typeName, Interpolation_Types [typeName]);
|
|
103049
103108
|
|
|
103050
103109
|
for (const typeName in Interpolation_AbstractTypes)
|
|
103051
|
-
Configuration_SupportedNodes.
|
|
103110
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Interpolation_AbstractTypes [typeName]);
|
|
103052
103111
|
|
|
103053
103112
|
const Interpolation_default_ = undefined;
|
|
103054
103113
|
;
|
|
@@ -103124,10 +103183,10 @@ const Layering_AbstractTypes =
|
|
|
103124
103183
|
};
|
|
103125
103184
|
|
|
103126
103185
|
for (const typeName in Layering_Types)
|
|
103127
|
-
Configuration_SupportedNodes.
|
|
103186
|
+
Configuration_SupportedNodes.addNodeType (typeName, Layering_Types [typeName]);
|
|
103128
103187
|
|
|
103129
103188
|
for (const typeName in Layering_AbstractTypes)
|
|
103130
|
-
Configuration_SupportedNodes.
|
|
103189
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Layering_AbstractTypes [typeName]);
|
|
103131
103190
|
|
|
103132
103191
|
const Layering_default_ = undefined;
|
|
103133
103192
|
;
|
|
@@ -104050,10 +104109,10 @@ const Lighting_AbstractTypes =
|
|
|
104050
104109
|
};
|
|
104051
104110
|
|
|
104052
104111
|
for (const typeName in Lighting_Types)
|
|
104053
|
-
Configuration_SupportedNodes.
|
|
104112
|
+
Configuration_SupportedNodes.addNodeType (typeName, Lighting_Types [typeName]);
|
|
104054
104113
|
|
|
104055
104114
|
for (const typeName in Lighting_AbstractTypes)
|
|
104056
|
-
Configuration_SupportedNodes.
|
|
104115
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Lighting_AbstractTypes [typeName]);
|
|
104057
104116
|
|
|
104058
104117
|
const Lighting_default_ = undefined;
|
|
104059
104118
|
;
|
|
@@ -105075,10 +105134,10 @@ const Navigation_AbstractTypes =
|
|
|
105075
105134
|
};
|
|
105076
105135
|
|
|
105077
105136
|
for (const typeName in Navigation_Types)
|
|
105078
|
-
Configuration_SupportedNodes.
|
|
105137
|
+
Configuration_SupportedNodes.addNodeType (typeName, Navigation_Types [typeName]);
|
|
105079
105138
|
|
|
105080
105139
|
for (const typeName in Navigation_AbstractTypes)
|
|
105081
|
-
Configuration_SupportedNodes.
|
|
105140
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Navigation_AbstractTypes [typeName]);
|
|
105082
105141
|
|
|
105083
105142
|
const Navigation_default_ = undefined;
|
|
105084
105143
|
;
|
|
@@ -106094,10 +106153,10 @@ const Networking_AbstractTypes =
|
|
|
106094
106153
|
};
|
|
106095
106154
|
|
|
106096
106155
|
for (const typeName in Networking_Types)
|
|
106097
|
-
Configuration_SupportedNodes.
|
|
106156
|
+
Configuration_SupportedNodes.addNodeType (typeName, Networking_Types [typeName]);
|
|
106098
106157
|
|
|
106099
106158
|
for (const typeName in Networking_AbstractTypes)
|
|
106100
|
-
Configuration_SupportedNodes.
|
|
106159
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Networking_AbstractTypes [typeName]);
|
|
106101
106160
|
|
|
106102
106161
|
const Networking_default_ = undefined;
|
|
106103
106162
|
;
|
|
@@ -107576,10 +107635,10 @@ const PointingDeviceSensor_AbstractTypes =
|
|
|
107576
107635
|
};
|
|
107577
107636
|
|
|
107578
107637
|
for (const typeName in PointingDeviceSensor_Types)
|
|
107579
|
-
Configuration_SupportedNodes.
|
|
107638
|
+
Configuration_SupportedNodes.addNodeType (typeName, PointingDeviceSensor_Types [typeName]);
|
|
107580
107639
|
|
|
107581
107640
|
for (const typeName in PointingDeviceSensor_AbstractTypes)
|
|
107582
|
-
Configuration_SupportedNodes.
|
|
107641
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, PointingDeviceSensor_AbstractTypes [typeName]);
|
|
107583
107642
|
|
|
107584
107643
|
const PointingDeviceSensor_default_ = undefined;
|
|
107585
107644
|
;
|
|
@@ -109969,10 +110028,10 @@ const Rendering_AbstractTypes =
|
|
|
109969
110028
|
};
|
|
109970
110029
|
|
|
109971
110030
|
for (const typeName in Rendering_Types)
|
|
109972
|
-
Configuration_SupportedNodes.
|
|
110031
|
+
Configuration_SupportedNodes.addNodeType (typeName, Rendering_Types [typeName]);
|
|
109973
110032
|
|
|
109974
110033
|
for (const typeName in Rendering_AbstractTypes)
|
|
109975
|
-
Configuration_SupportedNodes.
|
|
110034
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Rendering_AbstractTypes [typeName]);
|
|
109976
110035
|
|
|
109977
110036
|
const Rendering_default_ = undefined;
|
|
109978
110037
|
;
|
|
@@ -110895,10 +110954,10 @@ const Shaders_AbstractTypes =
|
|
|
110895
110954
|
};
|
|
110896
110955
|
|
|
110897
110956
|
for (const typeName in Shaders_Types)
|
|
110898
|
-
Configuration_SupportedNodes.
|
|
110957
|
+
Configuration_SupportedNodes.addNodeType (typeName, Shaders_Types [typeName]);
|
|
110899
110958
|
|
|
110900
110959
|
for (const typeName in Shaders_AbstractTypes)
|
|
110901
|
-
Configuration_SupportedNodes.
|
|
110960
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Shaders_AbstractTypes [typeName]);
|
|
110902
110961
|
|
|
110903
110962
|
const Components_Shaders_default_ = undefined;
|
|
110904
110963
|
;
|
|
@@ -112257,10 +112316,10 @@ const Shape_AbstractTypes =
|
|
|
112257
112316
|
};
|
|
112258
112317
|
|
|
112259
112318
|
for (const typeName in Shape_Types)
|
|
112260
|
-
Configuration_SupportedNodes.
|
|
112319
|
+
Configuration_SupportedNodes.addNodeType (typeName, Shape_Types [typeName]);
|
|
112261
112320
|
|
|
112262
112321
|
for (const typeName in Shape_AbstractTypes)
|
|
112263
|
-
Configuration_SupportedNodes.
|
|
112322
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Shape_AbstractTypes [typeName]);
|
|
112264
112323
|
|
|
112265
112324
|
const Components_Shape_default_ = undefined;
|
|
112266
112325
|
;
|
|
@@ -112685,7 +112744,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
112685
112744
|
x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
112686
112745
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
112687
112746
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
112688
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
112747
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(532);
|
|
112689
112748
|
/*******************************************************************************
|
|
112690
112749
|
*
|
|
112691
112750
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115455,10 +115514,10 @@ const Sound_AbstractTypes =
|
|
|
115455
115514
|
};
|
|
115456
115515
|
|
|
115457
115516
|
for (const typeName in Sound_Types)
|
|
115458
|
-
Configuration_SupportedNodes.
|
|
115517
|
+
Configuration_SupportedNodes.addNodeType (typeName, Sound_Types [typeName]);
|
|
115459
115518
|
|
|
115460
115519
|
for (const typeName in Sound_AbstractTypes)
|
|
115461
|
-
Configuration_SupportedNodes.
|
|
115520
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Sound_AbstractTypes [typeName]);
|
|
115462
115521
|
|
|
115463
115522
|
const Components_Sound_default_ = undefined;
|
|
115464
115523
|
;
|
|
@@ -115584,8 +115643,8 @@ const GIFMedia_default_ = GifMedia;
|
|
|
115584
115643
|
x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
|
|
115585
115644
|
/* harmony default export */ const GIFMedia = (GIFMedia_default_);
|
|
115586
115645
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
115587
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
115588
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
115646
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(532);
|
|
115647
|
+
/* provided dependency */ var SuperGif = __webpack_require__(558);
|
|
115589
115648
|
/*******************************************************************************
|
|
115590
115649
|
*
|
|
115591
115650
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116548,7 +116607,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
|
|
|
116548
116607
|
x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
|
|
116549
116608
|
/* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
|
|
116550
116609
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
|
|
116551
|
-
/* provided dependency */ var PixelTexture_$ = __webpack_require__(
|
|
116610
|
+
/* provided dependency */ var PixelTexture_$ = __webpack_require__(532);
|
|
116552
116611
|
/*******************************************************************************
|
|
116553
116612
|
*
|
|
116554
116613
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117076,10 +117135,10 @@ const Texturing_AbstractTypes =
|
|
|
117076
117135
|
};
|
|
117077
117136
|
|
|
117078
117137
|
for (const typeName in Texturing_Types)
|
|
117079
|
-
Configuration_SupportedNodes.
|
|
117138
|
+
Configuration_SupportedNodes.addNodeType (typeName, Texturing_Types [typeName]);
|
|
117080
117139
|
|
|
117081
117140
|
for (const typeName in Texturing_AbstractTypes)
|
|
117082
|
-
Configuration_SupportedNodes.
|
|
117141
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Texturing_AbstractTypes [typeName]);
|
|
117083
117142
|
|
|
117084
117143
|
const Texturing_default_ = undefined;
|
|
117085
117144
|
;
|
|
@@ -117149,10 +117208,10 @@ const Time_AbstractTypes =
|
|
|
117149
117208
|
};
|
|
117150
117209
|
|
|
117151
117210
|
for (const typeName in Time_Types)
|
|
117152
|
-
Configuration_SupportedNodes.
|
|
117211
|
+
Configuration_SupportedNodes.addNodeType (typeName, Time_Types [typeName]);
|
|
117153
117212
|
|
|
117154
117213
|
for (const typeName in Time_AbstractTypes)
|
|
117155
|
-
Configuration_SupportedNodes.
|
|
117214
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, Time_AbstractTypes [typeName]);
|
|
117156
117215
|
|
|
117157
117216
|
const Time_default_ = undefined;
|
|
117158
117217
|
;
|
|
@@ -117236,13 +117295,13 @@ class Components
|
|
|
117236
117295
|
if (types)
|
|
117237
117296
|
{
|
|
117238
117297
|
for (const [typeName, type] of Object .entries (types))
|
|
117239
|
-
Configuration_SupportedNodes.
|
|
117298
|
+
Configuration_SupportedNodes.addNodeType (typeName, type);
|
|
117240
117299
|
}
|
|
117241
117300
|
|
|
117242
117301
|
if (abstractTypes)
|
|
117243
117302
|
{
|
|
117244
117303
|
for (const [typeName, type] of Object .entries (abstractTypes))
|
|
117245
|
-
Configuration_SupportedNodes.
|
|
117304
|
+
Configuration_SupportedNodes.addAbstractNodeType (typeName, type);
|
|
117246
117305
|
}
|
|
117247
117306
|
|
|
117248
117307
|
if (browserContext)
|
|
@@ -117259,7 +117318,7 @@ const Components_default_ = Components;
|
|
|
117259
117318
|
x_ite_Namespace.set ("x_ite/Components", Components_default_);
|
|
117260
117319
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
117261
117320
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
117262
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
117321
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(532);
|
|
117263
117322
|
/*******************************************************************************
|
|
117264
117323
|
* MIT License
|
|
117265
117324
|
*
|
|
@@ -118500,7 +118559,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
118500
118559
|
x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
118501
118560
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
118502
118561
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
118503
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
118562
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(532);
|
|
118504
118563
|
/*******************************************************************************
|
|
118505
118564
|
*
|
|
118506
118565
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118757,11 +118816,19 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
|
|
|
118757
118816
|
})(),
|
|
118758
118817
|
getSupportedNode: function (typeName)
|
|
118759
118818
|
{
|
|
118760
|
-
return Configuration_SupportedNodes.
|
|
118819
|
+
return Configuration_SupportedNodes.getNodeTypes () .get (String (typeName));
|
|
118761
118820
|
},
|
|
118762
118821
|
getSupportedNodes: function ()
|
|
118763
118822
|
{
|
|
118764
|
-
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 ();
|
|
118765
118832
|
},
|
|
118766
118833
|
createScene: function (profile, component1 /*, ...*/)
|
|
118767
118834
|
{
|
|
@@ -119422,7 +119489,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
119422
119489
|
x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
119423
119490
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
119424
119491
|
;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
|
|
119425
|
-
/* provided dependency */ var Fallback_$ = __webpack_require__(
|
|
119492
|
+
/* provided dependency */ var Fallback_$ = __webpack_require__(532);
|
|
119426
119493
|
/*******************************************************************************
|
|
119427
119494
|
*
|
|
119428
119495
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119601,8 +119668,8 @@ const MicroTime_default_ = undefined;
|
|
|
119601
119668
|
x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
|
|
119602
119669
|
/* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
|
|
119603
119670
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
119604
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
119605
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
119671
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(532);
|
|
119672
|
+
/* provided dependency */ var pako = __webpack_require__(310);
|
|
119606
119673
|
jquery_$.decodeText = function (input)
|
|
119607
119674
|
{
|
|
119608
119675
|
if (typeof input === "string")
|
|
@@ -119647,14 +119714,14 @@ const jquery_default_ = jquery_$;
|
|
|
119647
119714
|
x_ite_Namespace.set ("lib/jquery", jquery_default_);
|
|
119648
119715
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
119649
119716
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
119650
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
119717
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(513);
|
|
119651
119718
|
const libtess_default_ = libtess_libtess;
|
|
119652
119719
|
;
|
|
119653
119720
|
|
|
119654
119721
|
x_ite_Namespace.set ("lib/libtess", libtess_default_);
|
|
119655
119722
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
119656
119723
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
119657
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
119724
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(532);
|
|
119658
119725
|
/*******************************************************************************
|
|
119659
119726
|
*
|
|
119660
119727
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120167,7 +120234,7 @@ x_ite_Namespace.set ("shim", shim_default_);
|
|
|
120167
120234
|
|
|
120168
120235
|
// Assign X3D to global namespace.
|
|
120169
120236
|
|
|
120170
|
-
window [Symbol .for ("X_ITE.X3D-8.7.
|
|
120237
|
+
window [Symbol .for ("X_ITE.X3D-8.7.9")] = x_ite_X3D;
|
|
120171
120238
|
|
|
120172
120239
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
120173
120240
|
|