x_ite 9.1.10 → 9.1.11
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 +14 -14
- 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 +23 -23
- 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 +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- 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 +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- 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/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.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 +8 -8
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +638 -533
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +638 -533
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.1.
|
|
1
|
+
/* X_ITE v9.1.11 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 561:
|
|
15
15
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
16
16
|
|
|
17
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
17
|
+
/* provided dependency */ var jQuery = __webpack_require__(831);
|
|
18
18
|
/**
|
|
19
19
|
* @preserve jquery.fullscreen 1.1.5
|
|
20
20
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -210,7 +210,7 @@ installFullScreenHandlers();
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 471:
|
|
214
214
|
/***/ ((module, exports, __webpack_require__) => {
|
|
215
215
|
|
|
216
216
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
224
224
|
(function (factory) {
|
|
225
225
|
if ( true ) {
|
|
226
226
|
// AMD. Register as an anonymous module.
|
|
227
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
227
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(831)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
228
228
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
229
229
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
230
230
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
435
435
|
|
|
436
436
|
/***/ }),
|
|
437
437
|
|
|
438
|
-
/***/
|
|
438
|
+
/***/ 831:
|
|
439
439
|
/***/ (function(module, exports) {
|
|
440
440
|
|
|
441
441
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11159,7 +11159,7 @@ return jQuery;
|
|
|
11159
11159
|
|
|
11160
11160
|
/***/ }),
|
|
11161
11161
|
|
|
11162
|
-
/***/
|
|
11162
|
+
/***/ 864:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 295:
|
|
15942
15942
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15943
15943
|
|
|
15944
15944
|
|
|
@@ -19183,7 +19183,7 @@ if (true) {
|
|
|
19183
19183
|
|
|
19184
19184
|
/***/ }),
|
|
19185
19185
|
|
|
19186
|
-
/***/
|
|
19186
|
+
/***/ 698:
|
|
19187
19187
|
/***/ (function(module, exports) {
|
|
19188
19188
|
|
|
19189
19189
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20311
20311
|
}
|
|
20312
20312
|
else
|
|
20313
20313
|
{
|
|
20314
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-9.1.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.1.11")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -21223,27 +21223,27 @@ Object .assign (Generator .prototype,
|
|
|
21223
21223
|
if (baseNode .hasRoutes ())
|
|
21224
21224
|
return true;
|
|
21225
21225
|
|
|
21226
|
+
const executionContext = baseNode .getExecutionContext ();
|
|
21227
|
+
|
|
21228
|
+
if (this .importedNodesIndex .get (executionContext) ?.has (baseNode))
|
|
21229
|
+
return true;
|
|
21230
|
+
|
|
21231
|
+
if (this .exportedNodesIndex .get (executionContext) ?.has (baseNode))
|
|
21232
|
+
return true;
|
|
21233
|
+
|
|
21234
|
+
return false;
|
|
21235
|
+
},
|
|
21236
|
+
ImportedName (name)
|
|
21237
|
+
{
|
|
21226
21238
|
const
|
|
21227
|
-
|
|
21228
|
-
|
|
21239
|
+
names = this .names .get (this .ExecutionContext ()),
|
|
21240
|
+
newName = getUniqueName (names, name);
|
|
21229
21241
|
|
|
21230
|
-
|
|
21231
|
-
{
|
|
21232
|
-
if (index .has (baseNode))
|
|
21233
|
-
return true;
|
|
21234
|
-
}
|
|
21235
|
-
else
|
|
21236
|
-
{
|
|
21237
|
-
const index = this .exportedNodesIndex .get (executionContext);
|
|
21242
|
+
// Add to indices.
|
|
21238
21243
|
|
|
21239
|
-
|
|
21240
|
-
{
|
|
21241
|
-
if (index .has (baseNode))
|
|
21242
|
-
return true;
|
|
21243
|
-
}
|
|
21244
|
+
names .add (newName);
|
|
21244
21245
|
|
|
21245
|
-
|
|
21246
|
-
}
|
|
21246
|
+
return newName;
|
|
21247
21247
|
},
|
|
21248
21248
|
LocalName (baseNode)
|
|
21249
21249
|
{
|
|
@@ -34343,7 +34343,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34343
34343
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34344
34344
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34345
34345
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34346
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34346
|
+
/* provided dependency */ var $ = __webpack_require__(831);
|
|
34347
34347
|
/*******************************************************************************
|
|
34348
34348
|
*
|
|
34349
34349
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34480,7 +34480,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34480
34480
|
*
|
|
34481
34481
|
******************************************************************************/
|
|
34482
34482
|
|
|
34483
|
-
const BROWSER_VERSION_default_ = "9.1.
|
|
34483
|
+
const BROWSER_VERSION_default_ = "9.1.11";
|
|
34484
34484
|
;
|
|
34485
34485
|
|
|
34486
34486
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37300,31 +37300,36 @@ x_ite_Namespace .add ("NamedNodesArray", "x_ite/Execution/NamedNodesArray", Name
|
|
|
37300
37300
|
|
|
37301
37301
|
|
|
37302
37302
|
|
|
37303
|
-
|
|
37304
37303
|
const
|
|
37305
|
-
|
|
37306
|
-
|
|
37307
|
-
|
|
37308
|
-
|
|
37304
|
+
X3DImportedNode_executionContext = Symbol (),
|
|
37305
|
+
_inlineNode = Symbol (),
|
|
37306
|
+
_exportedName = Symbol (),
|
|
37307
|
+
_importedName = Symbol (),
|
|
37308
|
+
_routes = Symbol (),
|
|
37309
|
+
_real = Symbol ();
|
|
37309
37310
|
|
|
37310
37311
|
function X3DImportedNode (executionContext, inlineNode, exportedName, importedName)
|
|
37311
37312
|
{
|
|
37312
|
-
|
|
37313
|
+
Base_X3DObject .call (this);
|
|
37313
37314
|
|
|
37314
|
-
this [
|
|
37315
|
-
this [
|
|
37316
|
-
this [
|
|
37317
|
-
this [
|
|
37315
|
+
this [X3DImportedNode_executionContext] = executionContext;
|
|
37316
|
+
this [_inlineNode] = inlineNode;
|
|
37317
|
+
this [_exportedName] = exportedName;
|
|
37318
|
+
this [_importedName] = importedName;
|
|
37319
|
+
this [_routes] = [ ];
|
|
37318
37320
|
|
|
37319
37321
|
this .getInlineNode () ._loadState .addInterest ("set_loadState__", this);
|
|
37320
37322
|
}
|
|
37321
37323
|
|
|
37322
|
-
|
|
37323
|
-
Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode .prototype),
|
|
37324
|
+
Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObject .prototype),
|
|
37324
37325
|
{
|
|
37326
|
+
getExecutionContext ()
|
|
37327
|
+
{
|
|
37328
|
+
return this [X3DImportedNode_executionContext];
|
|
37329
|
+
},
|
|
37325
37330
|
getInlineNode ()
|
|
37326
37331
|
{
|
|
37327
|
-
return this [_inlineNode]
|
|
37332
|
+
return this [_inlineNode];
|
|
37328
37333
|
},
|
|
37329
37334
|
getExportedName ()
|
|
37330
37335
|
{
|
|
@@ -37340,29 +37345,21 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37340
37345
|
},
|
|
37341
37346
|
hasRoutes (baseNode)
|
|
37342
37347
|
{
|
|
37343
|
-
|
|
37344
|
-
|
|
37345
|
-
if (route .sourceNode === baseNode)
|
|
37346
|
-
return true;
|
|
37347
|
-
|
|
37348
|
-
if (route .destinationNode === baseNode)
|
|
37349
|
-
return true;
|
|
37350
|
-
}
|
|
37351
|
-
|
|
37352
|
-
return false;
|
|
37348
|
+
return this [_routes]
|
|
37349
|
+
.some (route => route .sourceNode === baseNode || route .destinationNode === baseNode)
|
|
37353
37350
|
},
|
|
37354
37351
|
addRoute (sourceNode, sourceField, destinationNode, destinationField)
|
|
37355
37352
|
{
|
|
37356
37353
|
// Add route.
|
|
37357
37354
|
|
|
37358
37355
|
const route = {
|
|
37359
|
-
sourceNode
|
|
37360
|
-
sourceField
|
|
37361
|
-
destinationNode
|
|
37362
|
-
destinationField
|
|
37356
|
+
sourceNode,
|
|
37357
|
+
sourceField,
|
|
37358
|
+
destinationNode,
|
|
37359
|
+
destinationField,
|
|
37363
37360
|
};
|
|
37364
37361
|
|
|
37365
|
-
this [_routes] .
|
|
37362
|
+
this [_routes] .push (route);
|
|
37366
37363
|
|
|
37367
37364
|
// Try to resolve source or destination node routes.
|
|
37368
37365
|
|
|
@@ -37373,16 +37370,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37373
37370
|
{
|
|
37374
37371
|
try
|
|
37375
37372
|
{
|
|
37376
|
-
const
|
|
37377
|
-
sourceField = route .sourceField,
|
|
37378
|
-
destinationField = route .destinationField;
|
|
37373
|
+
const { sourceField, destinationField } = route;
|
|
37379
37374
|
|
|
37380
|
-
let
|
|
37381
|
-
sourceNode = route .sourceNode,
|
|
37382
|
-
destinationNode = route .destinationNode;
|
|
37375
|
+
let { sourceNode, destinationNode } = route;
|
|
37383
37376
|
|
|
37384
|
-
|
|
37385
|
-
route .real .dispose ();
|
|
37377
|
+
route [_real] ?.dispose ();
|
|
37386
37378
|
|
|
37387
37379
|
if (sourceNode instanceof X3DImportedNode)
|
|
37388
37380
|
sourceNode = sourceNode .getExportedNode ();
|
|
@@ -37390,7 +37382,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37390
37382
|
if (destinationNode instanceof X3DImportedNode)
|
|
37391
37383
|
destinationNode = destinationNode .getExportedNode ();
|
|
37392
37384
|
|
|
37393
|
-
route
|
|
37385
|
+
route [_real] = this .getExecutionContext () .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
|
|
37394
37386
|
}
|
|
37395
37387
|
catch (error)
|
|
37396
37388
|
{
|
|
@@ -37399,25 +37391,38 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37399
37391
|
},
|
|
37400
37392
|
deleteRoute (real)
|
|
37401
37393
|
{
|
|
37402
|
-
|
|
37403
|
-
{
|
|
37404
|
-
if (route .real === real)
|
|
37405
|
-
this [_routes] .delete (route);
|
|
37406
|
-
}
|
|
37394
|
+
this [_routes] = this [_routes] .filter (route => route [_real] !== real);
|
|
37407
37395
|
},
|
|
37408
|
-
|
|
37396
|
+
deleteRealRoutes ()
|
|
37409
37397
|
{
|
|
37410
37398
|
for (const route of this [_routes])
|
|
37411
37399
|
{
|
|
37412
|
-
const real = route
|
|
37400
|
+
const real = route [_real]
|
|
37413
37401
|
|
|
37414
|
-
if (real)
|
|
37415
|
-
|
|
37416
|
-
|
|
37417
|
-
|
|
37418
|
-
|
|
37402
|
+
if (!real)
|
|
37403
|
+
continue;
|
|
37404
|
+
|
|
37405
|
+
delete route [_real];
|
|
37406
|
+
|
|
37407
|
+
this .getExecutionContext () .deleteSimpleRoute (real);
|
|
37419
37408
|
}
|
|
37420
37409
|
},
|
|
37410
|
+
getRoutes ()
|
|
37411
|
+
{
|
|
37412
|
+
return this [_routes] .map (({ sourceNode, sourceField, destinationNode, destinationField }) =>
|
|
37413
|
+
{
|
|
37414
|
+
return {
|
|
37415
|
+
sourceNode: sourceNode instanceof X3DImportedNode
|
|
37416
|
+
? sourceNode
|
|
37417
|
+
: Fields_SFNodeCache .get (sourceNode),
|
|
37418
|
+
sourceField,
|
|
37419
|
+
destinationNode: destinationNode instanceof X3DImportedNode
|
|
37420
|
+
? destinationNode
|
|
37421
|
+
: Fields_SFNodeCache .get (destinationNode),
|
|
37422
|
+
destinationField,
|
|
37423
|
+
};
|
|
37424
|
+
});
|
|
37425
|
+
},
|
|
37421
37426
|
set_loadState__ ()
|
|
37422
37427
|
{
|
|
37423
37428
|
switch (this .getInlineNode () .checkLoadState ())
|
|
@@ -37425,12 +37430,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37425
37430
|
case Base_X3DConstants .NOT_STARTED_STATE:
|
|
37426
37431
|
case Base_X3DConstants .FAILED_STATE:
|
|
37427
37432
|
{
|
|
37428
|
-
this .
|
|
37433
|
+
this .deleteRealRoutes ();
|
|
37429
37434
|
break;
|
|
37430
37435
|
}
|
|
37431
37436
|
case Base_X3DConstants .COMPLETE_STATE:
|
|
37432
37437
|
{
|
|
37433
|
-
this .
|
|
37438
|
+
this .deleteRealRoutes ();
|
|
37434
37439
|
|
|
37435
37440
|
for (const route of this [_routes])
|
|
37436
37441
|
this .resolveRoute (route);
|
|
@@ -37439,14 +37444,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37439
37444
|
}
|
|
37440
37445
|
}
|
|
37441
37446
|
},
|
|
37442
|
-
toStream (generator)
|
|
37443
|
-
{
|
|
37444
|
-
Base_X3DObject .prototype .toStream .call (this, generator);
|
|
37445
|
-
},
|
|
37446
37447
|
toVRMLStream (generator)
|
|
37447
37448
|
{
|
|
37448
37449
|
if (generator .ExistsNode (this .getInlineNode ()))
|
|
37449
37450
|
{
|
|
37451
|
+
const importedName = generator .ImportedName (this .getImportedName ());
|
|
37452
|
+
|
|
37450
37453
|
generator .string += generator .Indent ();
|
|
37451
37454
|
generator .string += "IMPORT";
|
|
37452
37455
|
generator .string += generator .Space ();
|
|
@@ -37454,31 +37457,25 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37454
37457
|
generator .string += ".";
|
|
37455
37458
|
generator .string += this .getExportedName ();
|
|
37456
37459
|
|
|
37457
|
-
if (
|
|
37460
|
+
if (importedName !== this .getExportedName ())
|
|
37458
37461
|
{
|
|
37459
37462
|
generator .string += generator .Space ();
|
|
37460
37463
|
generator .string += "AS";
|
|
37461
37464
|
generator .string += generator .Space ();
|
|
37462
|
-
generator .string +=
|
|
37465
|
+
generator .string += importedName;
|
|
37463
37466
|
}
|
|
37464
37467
|
|
|
37465
37468
|
try
|
|
37466
37469
|
{
|
|
37467
37470
|
generator .AddRouteNode (this);
|
|
37468
|
-
generator .AddImportedNode (this .getExportedNode (),
|
|
37471
|
+
generator .AddImportedNode (this .getExportedNode (), importedName);
|
|
37469
37472
|
}
|
|
37470
37473
|
catch
|
|
37471
37474
|
{
|
|
37472
37475
|
// Output unresolved routes.
|
|
37473
37476
|
|
|
37474
|
-
for (const
|
|
37477
|
+
for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
|
|
37475
37478
|
{
|
|
37476
|
-
const
|
|
37477
|
-
sourceNode = route .sourceNode,
|
|
37478
|
-
sourceField = route .sourceField,
|
|
37479
|
-
destinationNode = route .destinationNode,
|
|
37480
|
-
destinationField = route .destinationField;
|
|
37481
|
-
|
|
37482
37479
|
if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
|
|
37483
37480
|
{
|
|
37484
37481
|
const sourceNodeName = sourceNode instanceof X3DImportedNode
|
|
@@ -37515,6 +37512,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37515
37512
|
{
|
|
37516
37513
|
if (generator .ExistsNode (this .getInlineNode ()))
|
|
37517
37514
|
{
|
|
37515
|
+
const importedName = generator .ImportedName (this .getImportedName ());
|
|
37516
|
+
|
|
37518
37517
|
generator .string += generator .Indent ();
|
|
37519
37518
|
generator .string += "<IMPORT";
|
|
37520
37519
|
generator .string += generator .Space ();
|
|
@@ -37526,11 +37525,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37526
37525
|
generator .string += generator .XMLEncode (this .getExportedName ());
|
|
37527
37526
|
generator .string += "'";
|
|
37528
37527
|
|
|
37529
|
-
if (
|
|
37528
|
+
if (importedName !== this .getExportedName ())
|
|
37530
37529
|
{
|
|
37531
37530
|
generator .string += generator .Space ();
|
|
37532
37531
|
generator .string += "AS='";
|
|
37533
|
-
generator .string += generator .XMLEncode (
|
|
37532
|
+
generator .string += generator .XMLEncode (importedName);
|
|
37534
37533
|
generator .string += "'";
|
|
37535
37534
|
}
|
|
37536
37535
|
|
|
@@ -37539,20 +37538,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37539
37538
|
try
|
|
37540
37539
|
{
|
|
37541
37540
|
generator .AddRouteNode (this);
|
|
37542
|
-
generator .AddImportedNode (this .getExportedNode (),
|
|
37541
|
+
generator .AddImportedNode (this .getExportedNode (), importedName);
|
|
37543
37542
|
}
|
|
37544
37543
|
catch
|
|
37545
37544
|
{
|
|
37546
37545
|
// Output unresolved routes.
|
|
37547
37546
|
|
|
37548
|
-
for (const
|
|
37547
|
+
for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
|
|
37549
37548
|
{
|
|
37550
|
-
const
|
|
37551
|
-
sourceNode = route .sourceNode,
|
|
37552
|
-
sourceField = route .sourceField,
|
|
37553
|
-
destinationNode = route .destinationNode,
|
|
37554
|
-
destinationField = route .destinationField;
|
|
37555
|
-
|
|
37556
37549
|
if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
|
|
37557
37550
|
{
|
|
37558
37551
|
const sourceNodeName = sourceNode instanceof X3DImportedNode
|
|
@@ -37596,6 +37589,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37596
37589
|
{
|
|
37597
37590
|
if (generator .ExistsNode (this .getInlineNode ()))
|
|
37598
37591
|
{
|
|
37592
|
+
const importedName = generator .ImportedName (this .getImportedName ());
|
|
37593
|
+
|
|
37599
37594
|
generator .string += generator .Indent ();
|
|
37600
37595
|
generator .string += '{';
|
|
37601
37596
|
generator .string += generator .TidySpace ();
|
|
@@ -37632,7 +37627,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37632
37627
|
generator .string += generator .JSONEncode (this .getExportedName ());
|
|
37633
37628
|
generator .string += '"';
|
|
37634
37629
|
|
|
37635
|
-
if (
|
|
37630
|
+
if (importedName !== this .getExportedName ())
|
|
37636
37631
|
{
|
|
37637
37632
|
generator .string += ',';
|
|
37638
37633
|
generator .string += generator .TidyBreak ();
|
|
@@ -37643,7 +37638,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37643
37638
|
generator .string += ':';
|
|
37644
37639
|
generator .string += generator .TidySpace ();
|
|
37645
37640
|
generator .string += '"';
|
|
37646
|
-
generator .string += generator .JSONEncode (
|
|
37641
|
+
generator .string += generator .JSONEncode (importedName);
|
|
37647
37642
|
generator .string += '"';
|
|
37648
37643
|
generator .string += generator .TidyBreak ();
|
|
37649
37644
|
}
|
|
@@ -37663,20 +37658,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37663
37658
|
try
|
|
37664
37659
|
{
|
|
37665
37660
|
generator .AddRouteNode (this);
|
|
37666
|
-
generator .AddImportedNode (this .getExportedNode (),
|
|
37661
|
+
generator .AddImportedNode (this .getExportedNode (), importedName);
|
|
37667
37662
|
}
|
|
37668
37663
|
catch
|
|
37669
37664
|
{
|
|
37670
37665
|
// Output unresolved routes.
|
|
37671
37666
|
|
|
37672
|
-
for (const
|
|
37667
|
+
for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
|
|
37673
37668
|
{
|
|
37674
|
-
const
|
|
37675
|
-
sourceNode = route .sourceNode,
|
|
37676
|
-
sourceField = route .sourceField,
|
|
37677
|
-
destinationNode = route .destinationNode,
|
|
37678
|
-
destinationField = route .destinationField;
|
|
37679
|
-
|
|
37680
37669
|
if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
|
|
37681
37670
|
{
|
|
37682
37671
|
const sourceNodeName = sourceNode instanceof X3DImportedNode
|
|
@@ -37770,9 +37759,9 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
|
|
|
37770
37759
|
{
|
|
37771
37760
|
this .getInlineNode () ._loadState .removeInterest ("set_loadState__", this);
|
|
37772
37761
|
|
|
37773
|
-
this .
|
|
37762
|
+
this .deleteRealRoutes ();
|
|
37774
37763
|
|
|
37775
|
-
|
|
37764
|
+
Base_X3DObject .prototype .dispose .call (this);
|
|
37776
37765
|
},
|
|
37777
37766
|
});
|
|
37778
37767
|
|
|
@@ -37785,7 +37774,7 @@ Object .defineProperties (X3DImportedNode .prototype,
|
|
|
37785
37774
|
{
|
|
37786
37775
|
get ()
|
|
37787
37776
|
{
|
|
37788
|
-
return this [_inlineNode];
|
|
37777
|
+
return Fields_SFNodeCache .get (this [_inlineNode]);
|
|
37789
37778
|
},
|
|
37790
37779
|
enumerable: true,
|
|
37791
37780
|
},
|
|
@@ -38330,254 +38319,6 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
|
|
|
38330
38319
|
|
|
38331
38320
|
x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
|
|
38332
38321
|
/* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
|
|
38333
|
-
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38334
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(239);
|
|
38335
|
-
/*******************************************************************************
|
|
38336
|
-
*
|
|
38337
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38338
|
-
*
|
|
38339
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38340
|
-
*
|
|
38341
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38342
|
-
*
|
|
38343
|
-
* The copyright notice above does not evidence any actual of intended
|
|
38344
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
38345
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38346
|
-
* create3000.
|
|
38347
|
-
*
|
|
38348
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
38349
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
38350
|
-
* permission of create3000.
|
|
38351
|
-
*
|
|
38352
|
-
* NON-MILITARY USE ONLY
|
|
38353
|
-
*
|
|
38354
|
-
* All create3000 software are effectively free software with a non-military use
|
|
38355
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38356
|
-
* source in any way you please with the exception anything that uses it must be
|
|
38357
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
38358
|
-
*
|
|
38359
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38360
|
-
*
|
|
38361
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38362
|
-
*
|
|
38363
|
-
* This file is part of the X_ITE Project.
|
|
38364
|
-
*
|
|
38365
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38366
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
38367
|
-
* Free Software Foundation.
|
|
38368
|
-
*
|
|
38369
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38370
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38371
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38372
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38373
|
-
*
|
|
38374
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
38375
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38376
|
-
* copy of the GPLv3 License.
|
|
38377
|
-
*
|
|
38378
|
-
* For Silvio, Joy and Adi.
|
|
38379
|
-
*
|
|
38380
|
-
******************************************************************************/
|
|
38381
|
-
|
|
38382
|
-
function X3DParser (scene)
|
|
38383
|
-
{
|
|
38384
|
-
this .scene = scene;
|
|
38385
|
-
this .executionContexts = [ scene ];
|
|
38386
|
-
this .prototypes = [ ];
|
|
38387
|
-
}
|
|
38388
|
-
|
|
38389
|
-
Object .assign (X3DParser .prototype,
|
|
38390
|
-
{
|
|
38391
|
-
getBrowser ()
|
|
38392
|
-
{
|
|
38393
|
-
return this .scene .getBrowser ();
|
|
38394
|
-
},
|
|
38395
|
-
getScene ()
|
|
38396
|
-
{
|
|
38397
|
-
return this .scene;
|
|
38398
|
-
},
|
|
38399
|
-
getExecutionContext ()
|
|
38400
|
-
{
|
|
38401
|
-
return this .executionContexts .at (-1);
|
|
38402
|
-
},
|
|
38403
|
-
pushExecutionContext (executionContext)
|
|
38404
|
-
{
|
|
38405
|
-
return this .executionContexts .push (executionContext);
|
|
38406
|
-
},
|
|
38407
|
-
popExecutionContext ()
|
|
38408
|
-
{
|
|
38409
|
-
this .executionContexts .pop ();
|
|
38410
|
-
},
|
|
38411
|
-
getPrototype ()
|
|
38412
|
-
{
|
|
38413
|
-
return this .prototypes .at (-1);
|
|
38414
|
-
},
|
|
38415
|
-
pushPrototype (prototype)
|
|
38416
|
-
{
|
|
38417
|
-
return this .prototypes .push (prototype);
|
|
38418
|
-
},
|
|
38419
|
-
popPrototype ()
|
|
38420
|
-
{
|
|
38421
|
-
this .prototypes .pop ();
|
|
38422
|
-
},
|
|
38423
|
-
isInsideProtoDefinition ()
|
|
38424
|
-
{
|
|
38425
|
-
return !! this .prototypes .length;
|
|
38426
|
-
},
|
|
38427
|
-
loadComponents ()
|
|
38428
|
-
{
|
|
38429
|
-
const
|
|
38430
|
-
browser = this .getBrowser (),
|
|
38431
|
-
scene = this .getScene ();
|
|
38432
|
-
|
|
38433
|
-
return Promise .all ([
|
|
38434
|
-
browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
|
|
38435
|
-
browser .loadComponents (scene .getComponents ()),
|
|
38436
|
-
]);
|
|
38437
|
-
},
|
|
38438
|
-
setUnits (units)
|
|
38439
|
-
{
|
|
38440
|
-
if (units)
|
|
38441
|
-
delete this .fromUnit;
|
|
38442
|
-
else
|
|
38443
|
-
this .fromUnit = function (category, value) { return value; };
|
|
38444
|
-
},
|
|
38445
|
-
fromUnit (category, value)
|
|
38446
|
-
{
|
|
38447
|
-
return this .scene .fromUnit (category, value);
|
|
38448
|
-
},
|
|
38449
|
-
convertColor (value, defaultColor = "white")
|
|
38450
|
-
{
|
|
38451
|
-
const
|
|
38452
|
-
wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
|
|
38453
|
-
div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
|
|
38454
|
-
rgb = window .getComputedStyle (div [0]) .color,
|
|
38455
|
-
values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
|
|
38456
|
-
|
|
38457
|
-
wrap .remove ();
|
|
38458
|
-
|
|
38459
|
-
values [0] /= 255;
|
|
38460
|
-
values [1] /= 255;
|
|
38461
|
-
values [2] /= 255;
|
|
38462
|
-
|
|
38463
|
-
if (typeof values [3] !== "number")
|
|
38464
|
-
values [3] = 1;
|
|
38465
|
-
|
|
38466
|
-
return values;
|
|
38467
|
-
},
|
|
38468
|
-
sanitizeName (name = "")
|
|
38469
|
-
{
|
|
38470
|
-
// NonIdFirstChar
|
|
38471
|
-
name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
|
|
38472
|
-
|
|
38473
|
-
// NonIdChars
|
|
38474
|
-
name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
|
|
38475
|
-
|
|
38476
|
-
// Spaces
|
|
38477
|
-
name = name .trim () .replace (/[\s_-]+/g, "-");
|
|
38478
|
-
|
|
38479
|
-
// Trim
|
|
38480
|
-
name = name .replace (/^-+|-+$/g, "");
|
|
38481
|
-
|
|
38482
|
-
return name;
|
|
38483
|
-
},
|
|
38484
|
-
});
|
|
38485
|
-
|
|
38486
|
-
const X3DParser_default_ = X3DParser;
|
|
38487
|
-
;
|
|
38488
|
-
|
|
38489
|
-
x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
|
|
38490
|
-
/* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
|
|
38491
|
-
;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
|
|
38492
|
-
/*******************************************************************************
|
|
38493
|
-
*
|
|
38494
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38495
|
-
*
|
|
38496
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38497
|
-
*
|
|
38498
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38499
|
-
*
|
|
38500
|
-
* The copyright notice above does not evidence any actual of intended
|
|
38501
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
38502
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38503
|
-
* create3000.
|
|
38504
|
-
*
|
|
38505
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
38506
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
38507
|
-
* permission of create3000.
|
|
38508
|
-
*
|
|
38509
|
-
* NON-MILITARY USE ONLY
|
|
38510
|
-
*
|
|
38511
|
-
* All create3000 software are effectively free software with a non-military use
|
|
38512
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38513
|
-
* source in any way you please with the exception anything that uses it must be
|
|
38514
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
38515
|
-
*
|
|
38516
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38517
|
-
*
|
|
38518
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38519
|
-
*
|
|
38520
|
-
* This file is part of the X_ITE Project.
|
|
38521
|
-
*
|
|
38522
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38523
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
38524
|
-
* Free Software Foundation.
|
|
38525
|
-
*
|
|
38526
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38527
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38528
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38529
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38530
|
-
*
|
|
38531
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
38532
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38533
|
-
* copy of the GPLv3 License.
|
|
38534
|
-
*
|
|
38535
|
-
* For Silvio, Joy and Adi.
|
|
38536
|
-
*
|
|
38537
|
-
******************************************************************************/
|
|
38538
|
-
|
|
38539
|
-
function parse (parser)
|
|
38540
|
-
{
|
|
38541
|
-
this .lastIndex = parser .lastIndex;
|
|
38542
|
-
|
|
38543
|
-
parser .result = this .exec (parser .input);
|
|
38544
|
-
|
|
38545
|
-
if (parser .result)
|
|
38546
|
-
{
|
|
38547
|
-
parser .lastIndex = this .lastIndex;
|
|
38548
|
-
return true;
|
|
38549
|
-
}
|
|
38550
|
-
|
|
38551
|
-
return false;
|
|
38552
|
-
}
|
|
38553
|
-
|
|
38554
|
-
function lookahead (parser)
|
|
38555
|
-
{
|
|
38556
|
-
const
|
|
38557
|
-
lastIndex = parser .lastIndex,
|
|
38558
|
-
result = this .parse (parser);
|
|
38559
|
-
|
|
38560
|
-
parser .lastIndex = lastIndex;
|
|
38561
|
-
|
|
38562
|
-
return result;
|
|
38563
|
-
}
|
|
38564
|
-
|
|
38565
|
-
function Expressions (Grammar)
|
|
38566
|
-
{
|
|
38567
|
-
for (const value of Object .values (Grammar))
|
|
38568
|
-
{
|
|
38569
|
-
value .parse = parse;
|
|
38570
|
-
value .lookahead = lookahead;
|
|
38571
|
-
}
|
|
38572
|
-
|
|
38573
|
-
return Grammar;
|
|
38574
|
-
}
|
|
38575
|
-
|
|
38576
|
-
const Expressions_default_ = Expressions;
|
|
38577
|
-
;
|
|
38578
|
-
|
|
38579
|
-
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
38580
|
-
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
38581
38322
|
;// CONCATENATED MODULE: ./src/x_ite/Prototype/X3DProtoDeclaration.js
|
|
38582
38323
|
/*******************************************************************************
|
|
38583
38324
|
*
|
|
@@ -39155,8 +38896,250 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
39155
38896
|
|
|
39156
38897
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
39157
38898
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38899
|
+
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38900
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(831);
|
|
38901
|
+
/*******************************************************************************
|
|
38902
|
+
*
|
|
38903
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38904
|
+
*
|
|
38905
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
38906
|
+
*
|
|
38907
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
38908
|
+
*
|
|
38909
|
+
* The copyright notice above does not evidence any actual of intended
|
|
38910
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
38911
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
38912
|
+
* create3000.
|
|
38913
|
+
*
|
|
38914
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
38915
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
38916
|
+
* permission of create3000.
|
|
38917
|
+
*
|
|
38918
|
+
* NON-MILITARY USE ONLY
|
|
38919
|
+
*
|
|
38920
|
+
* All create3000 software are effectively free software with a non-military use
|
|
38921
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
38922
|
+
* source in any way you please with the exception anything that uses it must be
|
|
38923
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
38924
|
+
*
|
|
38925
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
38926
|
+
*
|
|
38927
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
38928
|
+
*
|
|
38929
|
+
* This file is part of the X_ITE Project.
|
|
38930
|
+
*
|
|
38931
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
38932
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
38933
|
+
* Free Software Foundation.
|
|
38934
|
+
*
|
|
38935
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
38936
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
38937
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
38938
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
38939
|
+
*
|
|
38940
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
38941
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
38942
|
+
* copy of the GPLv3 License.
|
|
38943
|
+
*
|
|
38944
|
+
* For Silvio, Joy and Adi.
|
|
38945
|
+
*
|
|
38946
|
+
******************************************************************************/
|
|
38947
|
+
|
|
38948
|
+
|
|
38949
|
+
|
|
38950
|
+
function X3DParser (scene)
|
|
38951
|
+
{
|
|
38952
|
+
this .scene = scene;
|
|
38953
|
+
this .executionContexts = [ scene ];
|
|
38954
|
+
this .prototypes = [ ];
|
|
38955
|
+
}
|
|
38956
|
+
|
|
38957
|
+
Object .assign (X3DParser .prototype,
|
|
38958
|
+
{
|
|
38959
|
+
getBrowser ()
|
|
38960
|
+
{
|
|
38961
|
+
return this .scene .getBrowser ();
|
|
38962
|
+
},
|
|
38963
|
+
getScene ()
|
|
38964
|
+
{
|
|
38965
|
+
return this .scene;
|
|
38966
|
+
},
|
|
38967
|
+
getExecutionContext ()
|
|
38968
|
+
{
|
|
38969
|
+
return this .executionContexts .at (-1);
|
|
38970
|
+
},
|
|
38971
|
+
pushExecutionContext (executionContext)
|
|
38972
|
+
{
|
|
38973
|
+
return this .executionContexts .push (executionContext);
|
|
38974
|
+
},
|
|
38975
|
+
popExecutionContext ()
|
|
38976
|
+
{
|
|
38977
|
+
this .executionContexts .pop ();
|
|
38978
|
+
},
|
|
38979
|
+
getOuterNode ()
|
|
38980
|
+
{
|
|
38981
|
+
return this .getExecutionContext () .getOuterNode ();
|
|
38982
|
+
},
|
|
38983
|
+
isInsideProtoDeclaration ()
|
|
38984
|
+
{
|
|
38985
|
+
return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
|
|
38986
|
+
},
|
|
38987
|
+
loadComponents ()
|
|
38988
|
+
{
|
|
38989
|
+
const
|
|
38990
|
+
browser = this .getBrowser (),
|
|
38991
|
+
scene = this .getScene ();
|
|
38992
|
+
|
|
38993
|
+
return Promise .all ([
|
|
38994
|
+
browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
|
|
38995
|
+
browser .loadComponents (scene .getComponents ()),
|
|
38996
|
+
]);
|
|
38997
|
+
},
|
|
38998
|
+
setUnits (units)
|
|
38999
|
+
{
|
|
39000
|
+
if (units)
|
|
39001
|
+
delete this .fromUnit;
|
|
39002
|
+
else
|
|
39003
|
+
this .fromUnit = function (category, value) { return value; };
|
|
39004
|
+
},
|
|
39005
|
+
fromUnit (category, value)
|
|
39006
|
+
{
|
|
39007
|
+
return this .scene .fromUnit (category, value);
|
|
39008
|
+
},
|
|
39009
|
+
convertColor (value, defaultColor = "white")
|
|
39010
|
+
{
|
|
39011
|
+
const
|
|
39012
|
+
wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
|
|
39013
|
+
div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
|
|
39014
|
+
rgb = window .getComputedStyle (div [0]) .color,
|
|
39015
|
+
values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
|
|
39016
|
+
|
|
39017
|
+
wrap .remove ();
|
|
39018
|
+
|
|
39019
|
+
values [0] /= 255;
|
|
39020
|
+
values [1] /= 255;
|
|
39021
|
+
values [2] /= 255;
|
|
39022
|
+
|
|
39023
|
+
if (typeof values [3] !== "number")
|
|
39024
|
+
values [3] = 1;
|
|
39025
|
+
|
|
39026
|
+
return values;
|
|
39027
|
+
},
|
|
39028
|
+
sanitizeName (name = "")
|
|
39029
|
+
{
|
|
39030
|
+
// NonIdFirstChar
|
|
39031
|
+
name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
|
|
39032
|
+
|
|
39033
|
+
// NonIdChars
|
|
39034
|
+
name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
|
|
39035
|
+
|
|
39036
|
+
// Spaces
|
|
39037
|
+
name = name .trim () .replace (/[\s_-]+/g, "-");
|
|
39038
|
+
|
|
39039
|
+
// Trim
|
|
39040
|
+
name = name .replace (/^-+|-+$/g, "");
|
|
39041
|
+
|
|
39042
|
+
return name;
|
|
39043
|
+
},
|
|
39044
|
+
});
|
|
39045
|
+
|
|
39046
|
+
const X3DParser_default_ = X3DParser;
|
|
39047
|
+
;
|
|
39048
|
+
|
|
39049
|
+
x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
|
|
39050
|
+
/* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
|
|
39051
|
+
;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
|
|
39052
|
+
/*******************************************************************************
|
|
39053
|
+
*
|
|
39054
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
39055
|
+
*
|
|
39056
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
39057
|
+
*
|
|
39058
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
39059
|
+
*
|
|
39060
|
+
* The copyright notice above does not evidence any actual of intended
|
|
39061
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
39062
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
39063
|
+
* create3000.
|
|
39064
|
+
*
|
|
39065
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
39066
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
39067
|
+
* permission of create3000.
|
|
39068
|
+
*
|
|
39069
|
+
* NON-MILITARY USE ONLY
|
|
39070
|
+
*
|
|
39071
|
+
* All create3000 software are effectively free software with a non-military use
|
|
39072
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
39073
|
+
* source in any way you please with the exception anything that uses it must be
|
|
39074
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
39075
|
+
*
|
|
39076
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
39077
|
+
*
|
|
39078
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
39079
|
+
*
|
|
39080
|
+
* This file is part of the X_ITE Project.
|
|
39081
|
+
*
|
|
39082
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
39083
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
39084
|
+
* Free Software Foundation.
|
|
39085
|
+
*
|
|
39086
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
39087
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
39088
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
39089
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
39090
|
+
*
|
|
39091
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
39092
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
39093
|
+
* copy of the GPLv3 License.
|
|
39094
|
+
*
|
|
39095
|
+
* For Silvio, Joy and Adi.
|
|
39096
|
+
*
|
|
39097
|
+
******************************************************************************/
|
|
39098
|
+
|
|
39099
|
+
function parse (parser)
|
|
39100
|
+
{
|
|
39101
|
+
this .lastIndex = parser .lastIndex;
|
|
39102
|
+
|
|
39103
|
+
parser .result = this .exec (parser .input);
|
|
39104
|
+
|
|
39105
|
+
if (parser .result)
|
|
39106
|
+
{
|
|
39107
|
+
parser .lastIndex = this .lastIndex;
|
|
39108
|
+
return true;
|
|
39109
|
+
}
|
|
39110
|
+
|
|
39111
|
+
return false;
|
|
39112
|
+
}
|
|
39113
|
+
|
|
39114
|
+
function lookahead (parser)
|
|
39115
|
+
{
|
|
39116
|
+
const
|
|
39117
|
+
lastIndex = parser .lastIndex,
|
|
39118
|
+
result = this .parse (parser);
|
|
39119
|
+
|
|
39120
|
+
parser .lastIndex = lastIndex;
|
|
39121
|
+
|
|
39122
|
+
return result;
|
|
39123
|
+
}
|
|
39124
|
+
|
|
39125
|
+
function Expressions (Grammar)
|
|
39126
|
+
{
|
|
39127
|
+
for (const value of Object .values (Grammar))
|
|
39128
|
+
{
|
|
39129
|
+
value .parse = parse;
|
|
39130
|
+
value .lookahead = lookahead;
|
|
39131
|
+
}
|
|
39132
|
+
|
|
39133
|
+
return Grammar;
|
|
39134
|
+
}
|
|
39135
|
+
|
|
39136
|
+
const Expressions_default_ = Expressions;
|
|
39137
|
+
;
|
|
39138
|
+
|
|
39139
|
+
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
39140
|
+
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
39158
39141
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39159
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39142
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(831);
|
|
39160
39143
|
/*******************************************************************************
|
|
39161
39144
|
*
|
|
39162
39145
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39346,6 +39329,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39346
39329
|
SQRT1_2: Math .SQRT1_2,
|
|
39347
39330
|
SQRT2: Math .SQRT2,
|
|
39348
39331
|
},
|
|
39332
|
+
unknownLevel: 0,
|
|
39349
39333
|
getEncoding ()
|
|
39350
39334
|
{
|
|
39351
39335
|
return "STRING";
|
|
@@ -39379,13 +39363,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39379
39363
|
throw new Error (this .getError (error));
|
|
39380
39364
|
}
|
|
39381
39365
|
},
|
|
39382
|
-
throwOrWarn (string)
|
|
39383
|
-
{
|
|
39384
|
-
if (this .getBrowser () .isStrict ())
|
|
39385
|
-
throw new Error (string);
|
|
39386
|
-
|
|
39387
|
-
console .warn (string);
|
|
39388
|
-
},
|
|
39389
39366
|
getError (error)
|
|
39390
39367
|
{
|
|
39391
39368
|
if (DEVELOPMENT)
|
|
@@ -39657,7 +39634,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39657
39634
|
}
|
|
39658
39635
|
catch (error)
|
|
39659
39636
|
{
|
|
39660
|
-
console .warn (error .message);
|
|
39637
|
+
console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
|
|
39661
39638
|
return true;
|
|
39662
39639
|
}
|
|
39663
39640
|
}
|
|
@@ -39903,13 +39880,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39903
39880
|
for (const field of interfaceDeclarations)
|
|
39904
39881
|
proto .addUserDefinedField (field .getAccessType (), field .getName (), field);
|
|
39905
39882
|
|
|
39906
|
-
this .pushPrototype (proto);
|
|
39907
39883
|
this .pushExecutionContext (proto .getBody ());
|
|
39908
39884
|
|
|
39909
39885
|
this .protoBody (proto .getBody () .rootNodes);
|
|
39910
39886
|
|
|
39911
39887
|
this .popExecutionContext ();
|
|
39912
|
-
this .popPrototype ();
|
|
39913
39888
|
|
|
39914
39889
|
this .comments ();
|
|
39915
39890
|
|
|
@@ -40022,7 +39997,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40022
39997
|
throw new Error ("Expected a name for field.");
|
|
40023
39998
|
}
|
|
40024
39999
|
|
|
40025
|
-
this .Id ()
|
|
40000
|
+
this .Id ();
|
|
40026
40001
|
|
|
40027
40002
|
throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
|
|
40028
40003
|
}
|
|
@@ -40047,7 +40022,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40047
40022
|
throw new Error ("Expected a name for field.");
|
|
40048
40023
|
}
|
|
40049
40024
|
|
|
40050
|
-
this .Id ()
|
|
40025
|
+
this .Id ();
|
|
40051
40026
|
|
|
40052
40027
|
throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
|
|
40053
40028
|
}
|
|
@@ -40077,7 +40052,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40077
40052
|
throw new Error ("Expected a name for field.");
|
|
40078
40053
|
}
|
|
40079
40054
|
|
|
40080
|
-
this .Id ()
|
|
40055
|
+
this .Id ();
|
|
40081
40056
|
|
|
40082
40057
|
throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
|
|
40083
40058
|
}
|
|
@@ -40347,7 +40322,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40347
40322
|
}
|
|
40348
40323
|
catch (error)
|
|
40349
40324
|
{
|
|
40350
|
-
|
|
40325
|
+
console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
|
|
40351
40326
|
|
|
40352
40327
|
return true;
|
|
40353
40328
|
}
|
|
@@ -40386,7 +40361,32 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40386
40361
|
?? this .getExecutionContext () .createProto (nodeTypeId, false);
|
|
40387
40362
|
|
|
40388
40363
|
if (!baseNode)
|
|
40389
|
-
|
|
40364
|
+
{
|
|
40365
|
+
// Parse unknown node.
|
|
40366
|
+
|
|
40367
|
+
if (!this .unknownLevel)
|
|
40368
|
+
{
|
|
40369
|
+
console .warn (`Parser error at line ${this .lineNumber}: Unknown node type or proto '${nodeTypeId}', you probably have insufficient component/profile statements, and/or an inappropriate specification version.`);
|
|
40370
|
+
}
|
|
40371
|
+
|
|
40372
|
+
this .comments ();
|
|
40373
|
+
|
|
40374
|
+
if (Grammar .OpenBrace .parse (this))
|
|
40375
|
+
{
|
|
40376
|
+
++ this .unknownLevel;
|
|
40377
|
+
|
|
40378
|
+
this .nodeBody (this .getExecutionContext () .createNode ("WorldInfo", false));
|
|
40379
|
+
|
|
40380
|
+
-- this .unknownLevel;
|
|
40381
|
+
|
|
40382
|
+
this .comments ();
|
|
40383
|
+
|
|
40384
|
+
if (Grammar .CloseBrace .parse (this))
|
|
40385
|
+
return null;
|
|
40386
|
+
}
|
|
40387
|
+
|
|
40388
|
+
return false;
|
|
40389
|
+
}
|
|
40390
40390
|
|
|
40391
40391
|
if (nodeNameId .length)
|
|
40392
40392
|
{
|
|
@@ -40416,7 +40416,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40416
40416
|
|
|
40417
40417
|
if (Grammar .CloseBrace .parse (this))
|
|
40418
40418
|
{
|
|
40419
|
-
if (!this .
|
|
40419
|
+
if (!this .isInsideProtoDeclaration ())
|
|
40420
40420
|
baseNode .setup ();
|
|
40421
40421
|
|
|
40422
40422
|
return baseNode;
|
|
@@ -40459,7 +40459,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40459
40459
|
|
|
40460
40460
|
if (Grammar .IS .parse (this))
|
|
40461
40461
|
{
|
|
40462
|
-
if (this .
|
|
40462
|
+
if (this .isInsideProtoDeclaration ())
|
|
40463
40463
|
{
|
|
40464
40464
|
if (this .Id ())
|
|
40465
40465
|
{
|
|
@@ -40467,11 +40467,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40467
40467
|
|
|
40468
40468
|
try
|
|
40469
40469
|
{
|
|
40470
|
-
var reference = this .
|
|
40470
|
+
var reference = this .getOuterNode () .getField (isId);
|
|
40471
40471
|
}
|
|
40472
40472
|
catch
|
|
40473
40473
|
{
|
|
40474
|
-
|
|
40474
|
+
console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()} interface declaration.`);
|
|
40475
40475
|
|
|
40476
40476
|
return true;
|
|
40477
40477
|
}
|
|
@@ -40498,10 +40498,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40498
40498
|
throw new Error (`Couldn't add field '${fieldId}', field already exists with different access type or data type.`);
|
|
40499
40499
|
}
|
|
40500
40500
|
|
|
40501
|
-
throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .
|
|
40501
|
+
throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' are incompatible as an IS mapping.`);
|
|
40502
40502
|
}
|
|
40503
40503
|
|
|
40504
|
-
throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .
|
|
40504
|
+
throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' have different types.`);
|
|
40505
40505
|
}
|
|
40506
40506
|
|
|
40507
40507
|
throw new Error ("No name give after IS statement.");
|
|
@@ -40563,6 +40563,20 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40563
40563
|
}
|
|
40564
40564
|
catch
|
|
40565
40565
|
{
|
|
40566
|
+
// Parse unknown field value.
|
|
40567
|
+
|
|
40568
|
+
const lineNumber = this .lineNumber;
|
|
40569
|
+
|
|
40570
|
+
if (this .unknownValue ())
|
|
40571
|
+
{
|
|
40572
|
+
if (!this .unknownLevel)
|
|
40573
|
+
{
|
|
40574
|
+
console .warn (`Parser error at line ${lineNumber}: Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
|
|
40575
|
+
}
|
|
40576
|
+
|
|
40577
|
+
return true;
|
|
40578
|
+
}
|
|
40579
|
+
|
|
40566
40580
|
throw new Error (`Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
|
|
40567
40581
|
}
|
|
40568
40582
|
|
|
@@ -40570,7 +40584,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40570
40584
|
|
|
40571
40585
|
if (Grammar .IS .parse (this))
|
|
40572
40586
|
{
|
|
40573
|
-
if (this .
|
|
40587
|
+
if (this .isInsideProtoDeclaration ())
|
|
40574
40588
|
{
|
|
40575
40589
|
if (this .Id ())
|
|
40576
40590
|
{
|
|
@@ -40578,11 +40592,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40578
40592
|
|
|
40579
40593
|
try
|
|
40580
40594
|
{
|
|
40581
|
-
var reference = this .
|
|
40595
|
+
var reference = this .getOuterNode () .getField (isId);
|
|
40582
40596
|
}
|
|
40583
40597
|
catch
|
|
40584
40598
|
{
|
|
40585
|
-
|
|
40599
|
+
console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()}`);
|
|
40586
40600
|
|
|
40587
40601
|
return true;
|
|
40588
40602
|
}
|
|
@@ -40595,10 +40609,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40595
40609
|
return true;
|
|
40596
40610
|
}
|
|
40597
40611
|
|
|
40598
|
-
throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .
|
|
40612
|
+
throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} are incompatible as an IS mapping.`);
|
|
40599
40613
|
}
|
|
40600
40614
|
|
|
40601
|
-
throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .
|
|
40615
|
+
throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} have different types.`);
|
|
40602
40616
|
}
|
|
40603
40617
|
|
|
40604
40618
|
throw new Error("No name give after IS statement.");
|
|
@@ -40756,10 +40770,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40756
40770
|
sfboolValues (field)
|
|
40757
40771
|
{
|
|
40758
40772
|
field .length = 0;
|
|
40759
|
-
|
|
40773
|
+
|
|
40774
|
+
const target = field .getTarget ();
|
|
40760
40775
|
|
|
40761
40776
|
while (this .bool ())
|
|
40762
|
-
|
|
40777
|
+
target .push (this .value);
|
|
40778
|
+
|
|
40779
|
+
return field .length !== 0;
|
|
40763
40780
|
},
|
|
40764
40781
|
sfcolorValue (field)
|
|
40765
40782
|
{
|
|
@@ -40828,12 +40845,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40828
40845
|
sfcolorValues (field)
|
|
40829
40846
|
{
|
|
40830
40847
|
field .length = 0;
|
|
40831
|
-
field = field .getTarget ();
|
|
40832
40848
|
|
|
40833
|
-
const
|
|
40849
|
+
const
|
|
40850
|
+
target = field .getTarget (),
|
|
40851
|
+
value = this .Color3;
|
|
40834
40852
|
|
|
40835
40853
|
while (this .sfcolorValue (value))
|
|
40836
|
-
|
|
40854
|
+
target .push (value);
|
|
40855
|
+
|
|
40856
|
+
return field .length !== 0;
|
|
40837
40857
|
},
|
|
40838
40858
|
sfcolorrgbaValue (field)
|
|
40839
40859
|
{
|
|
@@ -40909,12 +40929,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40909
40929
|
sfcolorrgbaValues (field)
|
|
40910
40930
|
{
|
|
40911
40931
|
field .length = 0;
|
|
40912
|
-
field = field .getTarget ();
|
|
40913
40932
|
|
|
40914
|
-
const
|
|
40933
|
+
const
|
|
40934
|
+
target = field .getTarget (),
|
|
40935
|
+
value = this .Color4;
|
|
40915
40936
|
|
|
40916
40937
|
while (this .sfcolorrgbaValue (value))
|
|
40917
|
-
|
|
40938
|
+
target .push (value);
|
|
40939
|
+
|
|
40940
|
+
return field .length !== 0;
|
|
40918
40941
|
},
|
|
40919
40942
|
sfdoubleValue (field)
|
|
40920
40943
|
{
|
|
@@ -40951,12 +40974,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40951
40974
|
sfdoubleValues (field)
|
|
40952
40975
|
{
|
|
40953
40976
|
field .length = 0;
|
|
40954
|
-
field = field .getTarget ();
|
|
40955
40977
|
|
|
40956
|
-
const
|
|
40978
|
+
const
|
|
40979
|
+
target = field .getTarget (),
|
|
40980
|
+
unit = target .getUnit ();
|
|
40957
40981
|
|
|
40958
40982
|
while (this .double ())
|
|
40959
|
-
|
|
40983
|
+
target .push (this .fromUnit (unit, this .value));
|
|
40984
|
+
|
|
40985
|
+
return field .length !== 0;
|
|
40960
40986
|
},
|
|
40961
40987
|
sfimageValue (field)
|
|
40962
40988
|
{
|
|
@@ -41023,12 +41049,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41023
41049
|
sfimageValues (field)
|
|
41024
41050
|
{
|
|
41025
41051
|
field .length = 0;
|
|
41026
|
-
field = field .getTarget ();
|
|
41027
41052
|
|
|
41028
|
-
const
|
|
41053
|
+
const
|
|
41054
|
+
target = field .getTarget (),
|
|
41055
|
+
value = this .SFImage;
|
|
41029
41056
|
|
|
41030
41057
|
while (this .sfimageValue (value))
|
|
41031
|
-
|
|
41058
|
+
target .push (value);
|
|
41059
|
+
|
|
41060
|
+
return field .length !== 0;
|
|
41032
41061
|
},
|
|
41033
41062
|
sfint32Value (field)
|
|
41034
41063
|
{
|
|
@@ -41065,10 +41094,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41065
41094
|
sfint32Values (field)
|
|
41066
41095
|
{
|
|
41067
41096
|
field .length = 0;
|
|
41068
|
-
|
|
41097
|
+
|
|
41098
|
+
const target = field .getTarget ();
|
|
41069
41099
|
|
|
41070
41100
|
while (this .int32 ())
|
|
41071
|
-
|
|
41101
|
+
target .push (this .value);
|
|
41102
|
+
|
|
41103
|
+
return field .length !== 0;
|
|
41072
41104
|
},
|
|
41073
41105
|
sfmatrix3Value (field)
|
|
41074
41106
|
{
|
|
@@ -41156,12 +41188,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41156
41188
|
sfmatrix3Values (field)
|
|
41157
41189
|
{
|
|
41158
41190
|
field .length = 0;
|
|
41159
|
-
field = field .getTarget ();
|
|
41160
41191
|
|
|
41161
|
-
const
|
|
41192
|
+
const
|
|
41193
|
+
target = field .getTarget (),
|
|
41194
|
+
value = this .Matrix3;
|
|
41162
41195
|
|
|
41163
41196
|
while (this .sfmatrix3Value (value))
|
|
41164
|
-
|
|
41197
|
+
target .push (value);
|
|
41198
|
+
|
|
41199
|
+
return field .length !== 0;
|
|
41165
41200
|
},
|
|
41166
41201
|
sfmatrix4Value (field)
|
|
41167
41202
|
{
|
|
@@ -41291,12 +41326,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41291
41326
|
sfmatrix4Values (field)
|
|
41292
41327
|
{
|
|
41293
41328
|
field .length = 0;
|
|
41294
|
-
field = field .getTarget ();
|
|
41295
41329
|
|
|
41296
|
-
const
|
|
41330
|
+
const
|
|
41331
|
+
target = field .getTarget (),
|
|
41332
|
+
value = this .Matrix4;
|
|
41297
41333
|
|
|
41298
41334
|
while (this .sfmatrix4Value (value))
|
|
41299
|
-
|
|
41335
|
+
target .push (value);
|
|
41336
|
+
|
|
41337
|
+
return field .length !== 0;
|
|
41300
41338
|
},
|
|
41301
41339
|
sfnodeValue (field)
|
|
41302
41340
|
{
|
|
@@ -41403,12 +41441,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41403
41441
|
sfrotationValues (field)
|
|
41404
41442
|
{
|
|
41405
41443
|
field .length = 0;
|
|
41406
|
-
field = field .getTarget ();
|
|
41407
41444
|
|
|
41408
|
-
const
|
|
41445
|
+
const
|
|
41446
|
+
target = field .getTarget (),
|
|
41447
|
+
value = this .Rotation4;
|
|
41409
41448
|
|
|
41410
41449
|
while (this .sfrotationValue (value))
|
|
41411
|
-
|
|
41450
|
+
target .push (value);
|
|
41451
|
+
|
|
41452
|
+
return field .length !== 0;
|
|
41412
41453
|
},
|
|
41413
41454
|
sfstringValue (field)
|
|
41414
41455
|
{
|
|
@@ -41445,10 +41486,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41445
41486
|
sfstringValues (field)
|
|
41446
41487
|
{
|
|
41447
41488
|
field .length = 0;
|
|
41448
|
-
|
|
41489
|
+
|
|
41490
|
+
const target = field .getTarget ();
|
|
41449
41491
|
|
|
41450
41492
|
while (this .string ())
|
|
41451
|
-
|
|
41493
|
+
target .push (this .value);
|
|
41494
|
+
|
|
41495
|
+
return field .length !== 0;
|
|
41452
41496
|
},
|
|
41453
41497
|
sfvec2Value (field, unit)
|
|
41454
41498
|
{
|
|
@@ -41494,14 +41538,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41494
41538
|
sfvec2Values (field)
|
|
41495
41539
|
{
|
|
41496
41540
|
field .length = 0;
|
|
41497
|
-
field = field .getTarget ();
|
|
41498
41541
|
|
|
41499
41542
|
const
|
|
41500
|
-
|
|
41501
|
-
|
|
41543
|
+
target = field .getTarget (),
|
|
41544
|
+
value = this .Vector2,
|
|
41545
|
+
unit = target .getUnit ();
|
|
41502
41546
|
|
|
41503
41547
|
while (this .sfvec2Value (value, unit))
|
|
41504
|
-
|
|
41548
|
+
target .push (value);
|
|
41549
|
+
|
|
41550
|
+
return field .length !== 0;
|
|
41505
41551
|
},
|
|
41506
41552
|
sfvec3Value (field, unit)
|
|
41507
41553
|
{
|
|
@@ -41553,14 +41599,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41553
41599
|
sfvec3Values (field)
|
|
41554
41600
|
{
|
|
41555
41601
|
field .length = 0;
|
|
41556
|
-
field = field .getTarget ();
|
|
41557
41602
|
|
|
41558
41603
|
const
|
|
41559
|
-
|
|
41560
|
-
|
|
41604
|
+
target = field .getTarget (),
|
|
41605
|
+
value = this .Vector3,
|
|
41606
|
+
unit = target .getUnit ();
|
|
41561
41607
|
|
|
41562
41608
|
while (this .sfvec3Value (value, unit))
|
|
41563
|
-
|
|
41609
|
+
target .push (value);
|
|
41610
|
+
|
|
41611
|
+
return field .length !== 0;
|
|
41564
41612
|
},
|
|
41565
41613
|
sfvec4Value (field, unit)
|
|
41566
41614
|
{
|
|
@@ -41618,14 +41666,79 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
41618
41666
|
sfvec4Values (field)
|
|
41619
41667
|
{
|
|
41620
41668
|
field .length = 0;
|
|
41621
|
-
field = field .getTarget ();
|
|
41622
41669
|
|
|
41623
41670
|
const
|
|
41624
|
-
|
|
41625
|
-
|
|
41671
|
+
target = field .getTarget (),
|
|
41672
|
+
value = this .Vector4,
|
|
41673
|
+
unit = target .getUnit ();
|
|
41626
41674
|
|
|
41627
41675
|
while (this .sfvec4Value (value, unit))
|
|
41628
|
-
|
|
41676
|
+
target .push (value);
|
|
41677
|
+
|
|
41678
|
+
return field .length !== 0;
|
|
41679
|
+
},
|
|
41680
|
+
unknownValue ()
|
|
41681
|
+
{
|
|
41682
|
+
try
|
|
41683
|
+
{
|
|
41684
|
+
++ this .unknownLevel;
|
|
41685
|
+
|
|
41686
|
+
if (Grammar .IS .parse (this))
|
|
41687
|
+
{
|
|
41688
|
+
if (this .isInsideProtoDeclaration ())
|
|
41689
|
+
{
|
|
41690
|
+
if (this .Id ())
|
|
41691
|
+
return true;
|
|
41692
|
+
}
|
|
41693
|
+
}
|
|
41694
|
+
|
|
41695
|
+
if (this .mfunknownValue ())
|
|
41696
|
+
return true;
|
|
41697
|
+
|
|
41698
|
+
return false;
|
|
41699
|
+
}
|
|
41700
|
+
finally
|
|
41701
|
+
{
|
|
41702
|
+
-- this .unknownLevel;
|
|
41703
|
+
}
|
|
41704
|
+
},
|
|
41705
|
+
sfunknownValue ()
|
|
41706
|
+
{
|
|
41707
|
+
if (this .sfboolValue (new x_ite_Fields .SFBool ()))
|
|
41708
|
+
return true;
|
|
41709
|
+
|
|
41710
|
+
if (this .sfdoubleValues (new x_ite_Fields .MFFloat ()))
|
|
41711
|
+
return true;
|
|
41712
|
+
|
|
41713
|
+
if (this .sfstringValue (new x_ite_Fields .SFString ()))
|
|
41714
|
+
return true;
|
|
41715
|
+
|
|
41716
|
+
if (this .sfnodeValue (new x_ite_Fields .SFNode ()))
|
|
41717
|
+
return true;
|
|
41718
|
+
|
|
41719
|
+
return false;
|
|
41720
|
+
},
|
|
41721
|
+
mfunknownValue ()
|
|
41722
|
+
{
|
|
41723
|
+
if (this .sfunknownValue ())
|
|
41724
|
+
return true;
|
|
41725
|
+
|
|
41726
|
+
if (Grammar .OpenBracket .parse (this))
|
|
41727
|
+
{
|
|
41728
|
+
this .sfunknownValues ();
|
|
41729
|
+
|
|
41730
|
+
if (Grammar .CloseBracket .parse (this))
|
|
41731
|
+
return true;
|
|
41732
|
+
|
|
41733
|
+
throw new Error ("Expected ']'.");
|
|
41734
|
+
}
|
|
41735
|
+
|
|
41736
|
+
return false;
|
|
41737
|
+
},
|
|
41738
|
+
sfunknownValues ()
|
|
41739
|
+
{
|
|
41740
|
+
while (this .sfunknownValue ())
|
|
41741
|
+
;
|
|
41629
41742
|
},
|
|
41630
41743
|
accessTypeToString (accessType)
|
|
41631
41744
|
{
|
|
@@ -41709,7 +41822,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41709
41822
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41710
41823
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41711
41824
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41712
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41825
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(831);
|
|
41713
41826
|
/*******************************************************************************
|
|
41714
41827
|
*
|
|
41715
41828
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42204,13 +42317,11 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42204
42317
|
case "ProtoBody":
|
|
42205
42318
|
case "PROTOBODY":
|
|
42206
42319
|
{
|
|
42207
|
-
this .pushPrototype (proto);
|
|
42208
42320
|
this .pushExecutionContext (proto .getBody ());
|
|
42209
42321
|
this .pushParent (proto);
|
|
42210
42322
|
this .protoBodyElement (childNode);
|
|
42211
42323
|
this .popParent ();
|
|
42212
42324
|
this .popExecutionContext ();
|
|
42213
|
-
this .popPrototype ();
|
|
42214
42325
|
break;
|
|
42215
42326
|
}
|
|
42216
42327
|
default:
|
|
@@ -42302,7 +42413,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42302
42413
|
},
|
|
42303
42414
|
isElement (xmlElement)
|
|
42304
42415
|
{
|
|
42305
|
-
if (this .
|
|
42416
|
+
if (this .isInsideProtoDeclaration ())
|
|
42306
42417
|
{
|
|
42307
42418
|
for (const childNode of xmlElement .childNodes)
|
|
42308
42419
|
this .isElementChild (childNode);
|
|
@@ -42337,7 +42448,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42337
42448
|
|
|
42338
42449
|
const
|
|
42339
42450
|
node = this .getParent (),
|
|
42340
|
-
proto = this .
|
|
42451
|
+
proto = this .getOuterNode ();
|
|
42341
42452
|
|
|
42342
42453
|
if (!(node instanceof Core_X3DNode))
|
|
42343
42454
|
return;
|
|
@@ -42385,7 +42496,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42385
42496
|
this .pushParent (node);
|
|
42386
42497
|
this .childrenElements (xmlElement);
|
|
42387
42498
|
|
|
42388
|
-
if (!this .
|
|
42499
|
+
if (!this .isInsideProtoDeclaration ())
|
|
42389
42500
|
node .setup ();
|
|
42390
42501
|
|
|
42391
42502
|
this .popParent ();
|
|
@@ -42465,7 +42576,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42465
42576
|
this .nodeAttributes (xmlElement, node);
|
|
42466
42577
|
this .childrenElements (xmlElement);
|
|
42467
42578
|
|
|
42468
|
-
if (!this .
|
|
42579
|
+
if (!this .isInsideProtoDeclaration ())
|
|
42469
42580
|
node .setup ();
|
|
42470
42581
|
|
|
42471
42582
|
this .popParent ();
|
|
@@ -43802,7 +43913,7 @@ const URLs_default_ = URLs;
|
|
|
43802
43913
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43803
43914
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43804
43915
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43805
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43916
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(831);
|
|
43806
43917
|
/*******************************************************************************
|
|
43807
43918
|
*
|
|
43808
43919
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47103,7 +47214,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
47103
47214
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47104
47215
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47105
47216
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47106
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47217
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(831);
|
|
47107
47218
|
/*******************************************************************************
|
|
47108
47219
|
*
|
|
47109
47220
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47255,7 +47366,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47255
47366
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47256
47367
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47257
47368
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47258
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47369
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(831);
|
|
47259
47370
|
/*******************************************************************************
|
|
47260
47371
|
*
|
|
47261
47372
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50610,8 +50721,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50610
50721
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50611
50722
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50612
50723
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50613
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50614
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50724
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(831);
|
|
50725
|
+
/* provided dependency */ var libtess = __webpack_require__(864);
|
|
50615
50726
|
/*******************************************************************************
|
|
50616
50727
|
*
|
|
50617
50728
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53379,7 +53490,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53379
53490
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53380
53491
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53381
53492
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53382
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53493
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(831);
|
|
53383
53494
|
/*******************************************************************************
|
|
53384
53495
|
*
|
|
53385
53496
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53716,7 +53827,7 @@ const Plane3_default_ = Plane3;
|
|
|
53716
53827
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53717
53828
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53718
53829
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53719
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53830
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(864);
|
|
53720
53831
|
/*******************************************************************************
|
|
53721
53832
|
*
|
|
53722
53833
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61223,7 +61334,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61223
61334
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61224
61335
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61225
61336
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61226
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
61337
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(831);
|
|
61227
61338
|
/*******************************************************************************
|
|
61228
61339
|
*
|
|
61229
61340
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65810,7 +65921,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65810
65921
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65811
65922
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65812
65923
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65813
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65924
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(831);
|
|
65814
65925
|
/*******************************************************************************
|
|
65815
65926
|
*
|
|
65816
65927
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66804,9 +66915,9 @@ function X3DRoute (executionContext, sourceNode, sourceField, destinationNode, d
|
|
|
66804
66915
|
Base_X3DObject .call (this, executionContext);
|
|
66805
66916
|
|
|
66806
66917
|
this [X3DRoute_executionContext] = executionContext;
|
|
66807
|
-
this [_sourceNode] =
|
|
66918
|
+
this [_sourceNode] = sourceNode;
|
|
66808
66919
|
this [_sourceField] = sourceField;
|
|
66809
|
-
this [_destinationNode] =
|
|
66920
|
+
this [_destinationNode] = destinationNode;
|
|
66810
66921
|
this [_destinationField] = destinationField;
|
|
66811
66922
|
|
|
66812
66923
|
// Must connect in every context, to make X3DBaseNode.hasRoutes work.
|
|
@@ -66830,7 +66941,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66830
66941
|
getSourceNode ()
|
|
66831
66942
|
{
|
|
66832
66943
|
/// SAI
|
|
66833
|
-
return this [_sourceNode]
|
|
66944
|
+
return this [_sourceNode];
|
|
66834
66945
|
},
|
|
66835
66946
|
getSourceField ()
|
|
66836
66947
|
{
|
|
@@ -66840,7 +66951,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66840
66951
|
getDestinationNode ()
|
|
66841
66952
|
{
|
|
66842
66953
|
/// SAI
|
|
66843
|
-
return this [_destinationNode]
|
|
66954
|
+
return this [_destinationNode];
|
|
66844
66955
|
},
|
|
66845
66956
|
getDestinationField ()
|
|
66846
66957
|
{
|
|
@@ -67009,7 +67120,7 @@ Object .defineProperties (X3DRoute .prototype,
|
|
|
67009
67120
|
{
|
|
67010
67121
|
get ()
|
|
67011
67122
|
{
|
|
67012
|
-
return this [_sourceNode];
|
|
67123
|
+
return Fields_SFNodeCache .get (this [_sourceNode]);
|
|
67013
67124
|
},
|
|
67014
67125
|
enumerable: true,
|
|
67015
67126
|
},
|
|
@@ -67025,7 +67136,7 @@ Object .defineProperties (X3DRoute .prototype,
|
|
|
67025
67136
|
{
|
|
67026
67137
|
get ()
|
|
67027
67138
|
{
|
|
67028
|
-
return this [_destinationNode];
|
|
67139
|
+
return Fields_SFNodeCache .get (this [_destinationNode]);
|
|
67029
67140
|
},
|
|
67030
67141
|
enumerable: true,
|
|
67031
67142
|
},
|
|
@@ -67524,6 +67635,10 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67524
67635
|
{
|
|
67525
67636
|
return this [_importedNodes];
|
|
67526
67637
|
},
|
|
67638
|
+
getUniqueImportName (name)
|
|
67639
|
+
{
|
|
67640
|
+
return getUniqueName (this [_importedNodes], name);
|
|
67641
|
+
},
|
|
67527
67642
|
getLocalNode (name)
|
|
67528
67643
|
{
|
|
67529
67644
|
name = String (name);
|
|
@@ -67537,7 +67652,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67537
67652
|
const importedNode = this [_importedNodes] .get (name);
|
|
67538
67653
|
|
|
67539
67654
|
if (importedNode)
|
|
67540
|
-
return
|
|
67655
|
+
return importedNode;
|
|
67541
67656
|
|
|
67542
67657
|
throw new Error (`Unknown named or imported node '${name}'.`);
|
|
67543
67658
|
}
|
|
@@ -67718,28 +67833,28 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67718
67833
|
},
|
|
67719
67834
|
addRoute (sourceNode, sourceField, destinationNode, destinationField)
|
|
67720
67835
|
{
|
|
67836
|
+
let
|
|
67837
|
+
importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
|
|
67838
|
+
importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
|
|
67839
|
+
|
|
67721
67840
|
sourceNode = Base_X3DCast (Base_X3DConstants .X3DNode, sourceNode, false);
|
|
67722
67841
|
sourceField = String (sourceField);
|
|
67723
67842
|
destinationNode = Base_X3DCast (Base_X3DConstants .X3DNode, destinationNode, false);
|
|
67724
67843
|
destinationField = String (destinationField);
|
|
67725
67844
|
|
|
67726
|
-
if (!sourceNode)
|
|
67845
|
+
if (!(sourceNode || importedSourceNode))
|
|
67727
67846
|
throw new Error ("Bad ROUTE specification: source node must be of type X3DNode.");
|
|
67728
67847
|
|
|
67729
|
-
if (!destinationNode)
|
|
67848
|
+
if (!(destinationNode || importedDestinationNode))
|
|
67730
67849
|
throw new Error ("Bad ROUTE specification: destination node must be of type X3DNode.");
|
|
67731
67850
|
|
|
67732
67851
|
// Imported nodes handling.
|
|
67733
67852
|
|
|
67734
|
-
let
|
|
67735
|
-
importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
|
|
67736
|
-
importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
|
|
67737
|
-
|
|
67738
67853
|
try
|
|
67739
67854
|
{
|
|
67740
67855
|
// If sourceNode is shared node try to find the corresponding X3DImportedNode.
|
|
67741
|
-
if (sourceNode .getExecutionContext () !== this)
|
|
67742
|
-
importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode))
|
|
67856
|
+
if (sourceNode && sourceNode .getExecutionContext () !== this)
|
|
67857
|
+
importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
|
|
67743
67858
|
}
|
|
67744
67859
|
catch
|
|
67745
67860
|
{
|
|
@@ -67749,8 +67864,8 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67749
67864
|
try
|
|
67750
67865
|
{
|
|
67751
67866
|
// If destinationNode is shared node try to find the corresponding X3DImportedNode.
|
|
67752
|
-
if (destinationNode .getExecutionContext () !== this)
|
|
67753
|
-
importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode))
|
|
67867
|
+
if (destinationNode && destinationNode .getExecutionContext () !== this)
|
|
67868
|
+
importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
|
|
67754
67869
|
}
|
|
67755
67870
|
catch
|
|
67756
67871
|
{
|
|
@@ -67770,21 +67885,17 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67770
67885
|
{
|
|
67771
67886
|
importedDestinationNode .addRoute (sourceNode, sourceField, importedDestinationNode, destinationField);
|
|
67772
67887
|
}
|
|
67773
|
-
|
|
67774
|
-
|
|
67775
|
-
|
|
67776
|
-
return;
|
|
67777
|
-
|
|
67778
|
-
// Create route and return.
|
|
67779
|
-
|
|
67780
|
-
return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
|
|
67888
|
+
else
|
|
67889
|
+
{
|
|
67890
|
+
// Create route and return.
|
|
67891
|
+
return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
|
|
67892
|
+
}
|
|
67781
67893
|
},
|
|
67782
67894
|
addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField)
|
|
67783
67895
|
{
|
|
67784
|
-
// Source and dest node are here X3DBaseNode.
|
|
67785
|
-
|
|
67786
67896
|
try
|
|
67787
67897
|
{
|
|
67898
|
+
// Source and dest node must be here X3DNode, no check here.
|
|
67788
67899
|
// Private function.
|
|
67789
67900
|
// Create route and return.
|
|
67790
67901
|
|
|
@@ -67855,7 +67966,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67855
67966
|
{
|
|
67856
67967
|
// If sourceNode is shared node try to find the corresponding X3DImportedNode.
|
|
67857
67968
|
if (sourceNode .getValue () .getExecutionContext () !== this)
|
|
67858
|
-
importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode))
|
|
67969
|
+
importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
|
|
67859
67970
|
}
|
|
67860
67971
|
catch
|
|
67861
67972
|
{
|
|
@@ -67866,7 +67977,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67866
67977
|
{
|
|
67867
67978
|
// If destinationNode is shared node try to find the corresponding X3DImportedNode.
|
|
67868
67979
|
if (destinationNode .getValue () .getExecutionContext () !== this)
|
|
67869
|
-
importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode))
|
|
67980
|
+
importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
|
|
67870
67981
|
}
|
|
67871
67982
|
catch
|
|
67872
67983
|
{
|
|
@@ -89500,7 +89611,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89500
89611
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89501
89612
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89502
89613
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89503
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89614
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(831);
|
|
89504
89615
|
/*******************************************************************************
|
|
89505
89616
|
*
|
|
89506
89617
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95141,7 +95252,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95141
95252
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95142
95253
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95143
95254
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95144
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95255
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(831);
|
|
95145
95256
|
/*******************************************************************************
|
|
95146
95257
|
*
|
|
95147
95258
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95798,7 +95909,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95798
95909
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95799
95910
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95800
95911
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95801
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95912
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(831);
|
|
95802
95913
|
/*******************************************************************************
|
|
95803
95914
|
*
|
|
95804
95915
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99216,7 +99327,7 @@ const Components_Shape_default_ = {
|
|
|
99216
99327
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99217
99328
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99218
99329
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99219
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99330
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(831);
|
|
99220
99331
|
/*******************************************************************************
|
|
99221
99332
|
*
|
|
99222
99333
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99856,7 +99967,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99856
99967
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99857
99968
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99858
99969
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99859
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99970
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(831);
|
|
99860
99971
|
/*******************************************************************************
|
|
99861
99972
|
*
|
|
99862
99973
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100158,7 +100269,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100158
100269
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100159
100270
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100160
100271
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100161
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100272
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(831);
|
|
100162
100273
|
/*******************************************************************************
|
|
100163
100274
|
*
|
|
100164
100275
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101808,7 +101919,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101808
101919
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101809
101920
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101810
101921
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101811
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101922
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(831);
|
|
101812
101923
|
/*******************************************************************************
|
|
101813
101924
|
*
|
|
101814
101925
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103477,8 +103588,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103477
103588
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103478
103589
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103479
103590
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103480
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103481
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103591
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(831);
|
|
103592
|
+
/* provided dependency */ var SuperGif = __webpack_require__(698);
|
|
103482
103593
|
/*******************************************************************************
|
|
103483
103594
|
*
|
|
103484
103595
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106753,7 +106864,7 @@ const gettext_default_ = gettext;
|
|
|
106753
106864
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106754
106865
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106755
106866
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106756
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106867
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(831);
|
|
106757
106868
|
/*******************************************************************************
|
|
106758
106869
|
*
|
|
106759
106870
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107183,7 +107294,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107183
107294
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107184
107295
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107185
107296
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107186
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107297
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(831);
|
|
107187
107298
|
/*******************************************************************************
|
|
107188
107299
|
*
|
|
107189
107300
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107773,7 +107884,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107773
107884
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107774
107885
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107775
107886
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107776
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107887
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(831);
|
|
107777
107888
|
/*******************************************************************************
|
|
107778
107889
|
*
|
|
107779
107890
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107896,8 +108007,8 @@ const Notification_default_ = Notification;
|
|
|
107896
108007
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107897
108008
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107898
108009
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107899
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107900
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
108010
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(561);
|
|
108011
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(831);
|
|
107901
108012
|
/*******************************************************************************
|
|
107902
108013
|
*
|
|
107903
108014
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109141,26 +109252,32 @@ x_ite_Namespace .add ("UnitInfoArray", "x_ite/Configuration/UnitInfoArray", Unit
|
|
|
109141
109252
|
|
|
109142
109253
|
|
|
109143
109254
|
const
|
|
109144
|
-
|
|
109145
|
-
|
|
109255
|
+
X3DExportedNode_executionContext = Symbol (),
|
|
109256
|
+
X3DExportedNode_exportedName = Symbol (),
|
|
109257
|
+
_localNode = Symbol ();
|
|
109146
109258
|
|
|
109147
|
-
function X3DExportedNode (exportedName, localNode)
|
|
109259
|
+
function X3DExportedNode (executionContext, exportedName, localNode)
|
|
109148
109260
|
{
|
|
109149
109261
|
Base_X3DObject .call (this);
|
|
109150
109262
|
|
|
109151
|
-
this [
|
|
109152
|
-
this [
|
|
109263
|
+
this [X3DExportedNode_executionContext] = executionContext;
|
|
109264
|
+
this [X3DExportedNode_exportedName] = exportedName;
|
|
109265
|
+
this [_localNode] = localNode;
|
|
109153
109266
|
}
|
|
109154
109267
|
|
|
109155
109268
|
Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObject .prototype),
|
|
109156
109269
|
{
|
|
109270
|
+
getExecutionContext ()
|
|
109271
|
+
{
|
|
109272
|
+
return this [X3DExportedNode_executionContext];
|
|
109273
|
+
},
|
|
109157
109274
|
getExportedName ()
|
|
109158
109275
|
{
|
|
109159
109276
|
return this [X3DExportedNode_exportedName];
|
|
109160
109277
|
},
|
|
109161
109278
|
getLocalNode ()
|
|
109162
109279
|
{
|
|
109163
|
-
return this [_localNode]
|
|
109280
|
+
return this [_localNode];
|
|
109164
109281
|
},
|
|
109165
109282
|
toVRMLStream (generator)
|
|
109166
109283
|
{
|
|
@@ -109275,7 +109392,7 @@ Object .defineProperties (X3DExportedNode .prototype,
|
|
|
109275
109392
|
{
|
|
109276
109393
|
get ()
|
|
109277
109394
|
{
|
|
109278
|
-
return this [_localNode];
|
|
109395
|
+
return Fields_SFNodeCache .get (this [_localNode]);
|
|
109279
109396
|
},
|
|
109280
109397
|
enumerable: true,
|
|
109281
109398
|
},
|
|
@@ -109729,7 +109846,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
109729
109846
|
|
|
109730
109847
|
this .removeExportedNode (exportedName);
|
|
109731
109848
|
|
|
109732
|
-
const exportedNode = new Execution_X3DExportedNode (exportedName, node);
|
|
109849
|
+
const exportedNode = new Execution_X3DExportedNode (this, exportedName, node);
|
|
109733
109850
|
|
|
109734
109851
|
this [_exportedNodes] .add (exportedName, exportedNode);
|
|
109735
109852
|
|
|
@@ -110645,7 +110762,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110645
110762
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110646
110763
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110647
110764
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110648
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110765
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(831);
|
|
110649
110766
|
/*******************************************************************************
|
|
110650
110767
|
*
|
|
110651
110768
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110856,10 +110973,6 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110856
110973
|
{
|
|
110857
110974
|
return this [_instanceId];
|
|
110858
110975
|
},
|
|
110859
|
-
isStrict ()
|
|
110860
|
-
{
|
|
110861
|
-
return false;
|
|
110862
|
-
},
|
|
110863
110976
|
getElement ()
|
|
110864
110977
|
{
|
|
110865
110978
|
return this [_element];
|
|
@@ -113172,8 +113285,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113172
113285
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113173
113286
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113174
113287
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113175
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113176
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113288
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(471);
|
|
113289
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(831);
|
|
113177
113290
|
/*******************************************************************************
|
|
113178
113291
|
*
|
|
113179
113292
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114045,8 +114158,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
114045
114158
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
114046
114159
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
114047
114160
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
114048
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
114049
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
114161
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(471);
|
|
114162
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(831);
|
|
114050
114163
|
/*******************************************************************************
|
|
114051
114164
|
*
|
|
114052
114165
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115055,8 +115168,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
115055
115168
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
115056
115169
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
115057
115170
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
115058
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
115059
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
115171
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(471);
|
|
115172
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(831);
|
|
115060
115173
|
/*******************************************************************************
|
|
115061
115174
|
*
|
|
115062
115175
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115387,8 +115500,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115387
115500
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115388
115501
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115389
115502
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115390
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115391
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115503
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(471);
|
|
115504
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(831);
|
|
115392
115505
|
/*******************************************************************************
|
|
115393
115506
|
*
|
|
115394
115507
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116527,8 +116640,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116527
116640
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116528
116641
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116529
116642
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116530
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116531
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116643
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(471);
|
|
116644
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(831);
|
|
116532
116645
|
/*******************************************************************************
|
|
116533
116646
|
*
|
|
116534
116647
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117807,7 +117920,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117807
117920
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117808
117921
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117809
117922
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117810
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117923
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(831);
|
|
117811
117924
|
/*******************************************************************************
|
|
117812
117925
|
*
|
|
117813
117926
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118710,7 +118823,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118710
118823
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118711
118824
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118712
118825
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118713
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118826
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(831);
|
|
118714
118827
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118715
118828
|
{
|
|
118716
118829
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120263,7 +120376,7 @@ const Components_default_ = Components;
|
|
|
120263
120376
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120264
120377
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120265
120378
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120266
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120379
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(831);
|
|
120267
120380
|
/*******************************************************************************
|
|
120268
120381
|
* MIT License
|
|
120269
120382
|
*
|
|
@@ -120701,13 +120814,14 @@ x_ite_Namespace .add ("DOMIntegration", "x_ite/Browser/DOMIntegration", DOMInteg
|
|
|
120701
120814
|
|
|
120702
120815
|
|
|
120703
120816
|
|
|
120817
|
+
|
|
120704
120818
|
function ProfileInfo (name, title, providerURL, components)
|
|
120705
120819
|
{
|
|
120706
120820
|
Object .defineProperties (this,
|
|
120707
120821
|
{
|
|
120708
120822
|
name: { value: name, enumerable: true },
|
|
120709
120823
|
title: { value: title, enumerable: true },
|
|
120710
|
-
providerURL: { value: providerURL, enumerable: true },
|
|
120824
|
+
providerURL: { value: providerURL || Networking_URLs .getProviderURL (), enumerable: true },
|
|
120711
120825
|
components: { value: components, enumerable: true },
|
|
120712
120826
|
});
|
|
120713
120827
|
}
|
|
@@ -121202,13 +121316,11 @@ x_ite_Namespace .add ("SupportedComponents", "x_ite/Configuration/SupportedCompo
|
|
|
121202
121316
|
|
|
121203
121317
|
|
|
121204
121318
|
|
|
121205
|
-
|
|
121206
121319
|
const SupportedProfiles = new Configuration_ProfileInfoArray ();
|
|
121207
121320
|
|
|
121208
121321
|
SupportedProfiles .add ("CADInterchange",
|
|
121209
121322
|
{
|
|
121210
121323
|
title: "Computer-Aided Design (CAD) interchange",
|
|
121211
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121212
121324
|
components: [
|
|
121213
121325
|
Configuration_SupportedComponents .get ("CADGeometry"),
|
|
121214
121326
|
Configuration_SupportedComponents .get ("Core"),
|
|
@@ -121226,7 +121338,6 @@ SupportedProfiles .add ("CADInterchange",
|
|
|
121226
121338
|
SupportedProfiles .add ("Core",
|
|
121227
121339
|
{
|
|
121228
121340
|
title: "Core",
|
|
121229
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121230
121341
|
components: [
|
|
121231
121342
|
Configuration_SupportedComponents .get ("Core"),
|
|
121232
121343
|
],
|
|
@@ -121235,7 +121346,6 @@ SupportedProfiles .add ("Core",
|
|
|
121235
121346
|
SupportedProfiles .add ("Full",
|
|
121236
121347
|
{
|
|
121237
121348
|
title: "Full",
|
|
121238
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121239
121349
|
components: [
|
|
121240
121350
|
//SupportedComponents .get ("Annotation"),
|
|
121241
121351
|
Configuration_SupportedComponents .get ("CADGeometry"),
|
|
@@ -121280,7 +121390,6 @@ SupportedProfiles .add ("Full",
|
|
|
121280
121390
|
SupportedProfiles .add ("Immersive",
|
|
121281
121391
|
{
|
|
121282
121392
|
title: "Immersive",
|
|
121283
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121284
121393
|
components: [
|
|
121285
121394
|
Configuration_SupportedComponents .get ("Core"),
|
|
121286
121395
|
Configuration_SupportedComponents .get ("EnvironmentalEffects"),
|
|
@@ -121308,7 +121417,6 @@ SupportedProfiles .add ("Immersive",
|
|
|
121308
121417
|
SupportedProfiles .add ("Interactive",
|
|
121309
121418
|
{
|
|
121310
121419
|
title: "Interactive",
|
|
121311
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121312
121420
|
components: [
|
|
121313
121421
|
Configuration_SupportedComponents .get ("Core"),
|
|
121314
121422
|
Configuration_SupportedComponents .get ("EnvironmentalEffects"),
|
|
@@ -121332,7 +121440,6 @@ SupportedProfiles .add ("Interactive",
|
|
|
121332
121440
|
SupportedProfiles .add ("Interchange",
|
|
121333
121441
|
{
|
|
121334
121442
|
title: "Interchange",
|
|
121335
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121336
121443
|
components: [
|
|
121337
121444
|
Configuration_SupportedComponents .get ("Core"),
|
|
121338
121445
|
Configuration_SupportedComponents .get ("EnvironmentalEffects"),
|
|
@@ -121352,7 +121459,6 @@ SupportedProfiles .add ("Interchange",
|
|
|
121352
121459
|
SupportedProfiles .add ("MedicalInterchange",
|
|
121353
121460
|
{
|
|
121354
121461
|
title: "Medical interchange",
|
|
121355
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121356
121462
|
components: [
|
|
121357
121463
|
Configuration_SupportedComponents .get ("Core"),
|
|
121358
121464
|
Configuration_SupportedComponents .get ("EnvironmentalEffects"),
|
|
@@ -121377,7 +121483,6 @@ SupportedProfiles .add ("MedicalInterchange",
|
|
|
121377
121483
|
SupportedProfiles .add ("MPEG-4",
|
|
121378
121484
|
{
|
|
121379
121485
|
title: "MPEG-4 interactive",
|
|
121380
|
-
providerURL: Networking_URLs .getProviderURL (),
|
|
121381
121486
|
components: [
|
|
121382
121487
|
Configuration_SupportedComponents .get ("Core"),
|
|
121383
121488
|
Configuration_SupportedComponents .get ("EnvironmentalEffects"),
|
|
@@ -121402,7 +121507,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121402
121507
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121403
121508
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121404
121509
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121405
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121510
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(831);
|
|
121406
121511
|
/*******************************************************************************
|
|
121407
121512
|
*
|
|
121408
121513
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122483,7 +122588,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122483
122588
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122484
122589
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122485
122590
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122486
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122591
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(831);
|
|
122487
122592
|
/*******************************************************************************
|
|
122488
122593
|
*
|
|
122489
122594
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122615,8 +122720,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122615
122720
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122616
122721
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122617
122722
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122618
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122619
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122723
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(831);
|
|
122724
|
+
/* provided dependency */ var pako = __webpack_require__(295);
|
|
122620
122725
|
Object .assign (jquery_$,
|
|
122621
122726
|
{
|
|
122622
122727
|
decodeText (input)
|
|
@@ -122693,14 +122798,14 @@ const jquery_default_ = jquery_$;
|
|
|
122693
122798
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122694
122799
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122695
122800
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122696
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122801
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(864);
|
|
122697
122802
|
const libtess_default_ = libtess_libtess;
|
|
122698
122803
|
;
|
|
122699
122804
|
|
|
122700
122805
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122701
122806
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122702
122807
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122703
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122808
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(831);
|
|
122704
122809
|
/*******************************************************************************
|
|
122705
122810
|
*
|
|
122706
122811
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -123008,7 +123113,7 @@ Object .assign (X3D,
|
|
|
123008
123113
|
|
|
123009
123114
|
// Assign X3D to global namespace.
|
|
123010
123115
|
|
|
123011
|
-
window [Symbol .for ("X_ITE.X3D-9.1.
|
|
123116
|
+
window [Symbol .for ("X_ITE.X3D-9.1.11")] = x_ite_X3D;
|
|
123012
123117
|
|
|
123013
123118
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
123014
123119
|
|