x_ite 9.2.1 → 9.2.2
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 +61 -52
- 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 +298 -271
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +298 -271
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.2.
|
|
1
|
+
/* X_ITE v9.2.2 */(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
|
+
/***/ 464:
|
|
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__(576);
|
|
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
|
+
/***/ 710:
|
|
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__(576)], __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
|
+
/***/ 576:
|
|
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
|
+
/***/ 85:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 905:
|
|
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
|
+
/***/ 606:
|
|
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.2.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.2.2")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -20905,6 +20905,7 @@ function Generator ({ style = "TIDY", indent = "", precision = 7, doublePrecisio
|
|
|
20905
20905
|
|
|
20906
20906
|
this .executionContextStack = [ ];
|
|
20907
20907
|
this .importedNodesIndex = new Map ();
|
|
20908
|
+
this .importedNames = new Map ();
|
|
20908
20909
|
this .exportedNodesIndex = new Map ();
|
|
20909
20910
|
this .nodes = new Set ();
|
|
20910
20911
|
this .names = new Map ();
|
|
@@ -21217,7 +21218,7 @@ Object .assign (Generator .prototype,
|
|
|
21217
21218
|
if (baseNode .hasRoutes ())
|
|
21218
21219
|
return true;
|
|
21219
21220
|
|
|
21220
|
-
const executionContext =
|
|
21221
|
+
const executionContext = this .ExecutionContext ();
|
|
21221
21222
|
|
|
21222
21223
|
if (this .importedNodesIndex .get (executionContext) ?.has (baseNode))
|
|
21223
21224
|
return true;
|
|
@@ -21227,15 +21228,19 @@ Object .assign (Generator .prototype,
|
|
|
21227
21228
|
|
|
21228
21229
|
return false;
|
|
21229
21230
|
},
|
|
21230
|
-
ImportedName (
|
|
21231
|
+
ImportedName (importedNode)
|
|
21231
21232
|
{
|
|
21233
|
+
if (this .importedNames .has (importedNode))
|
|
21234
|
+
return this .importedNames .get (importedNode);
|
|
21235
|
+
|
|
21232
21236
|
const
|
|
21233
21237
|
names = this .names .get (this .ExecutionContext ()),
|
|
21234
|
-
newName = getUniqueName (names,
|
|
21238
|
+
newName = getUniqueName (names, importedNode .getImportedName ());
|
|
21235
21239
|
|
|
21236
21240
|
// Add to indices.
|
|
21237
21241
|
|
|
21238
21242
|
names .add (newName);
|
|
21243
|
+
this .importedNames .set (importedNode, newName);
|
|
21239
21244
|
|
|
21240
21245
|
return newName;
|
|
21241
21246
|
},
|
|
@@ -21392,105 +21397,6 @@ const Generator_default_ = Generator;
|
|
|
21392
21397
|
|
|
21393
21398
|
x_ite_Namespace .add ("Generator", "x_ite/InputOutput/Generator", Generator_default_);
|
|
21394
21399
|
/* harmony default export */ const InputOutput_Generator = (Generator_default_);
|
|
21395
|
-
;// CONCATENATED MODULE: ./src/standard/Utility/MapUtilities.js
|
|
21396
|
-
/*******************************************************************************
|
|
21397
|
-
*
|
|
21398
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
21399
|
-
*
|
|
21400
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
21401
|
-
*
|
|
21402
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
21403
|
-
*
|
|
21404
|
-
* The copyright notice above does not evidence any actual of intended
|
|
21405
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
21406
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
21407
|
-
* create3000.
|
|
21408
|
-
*
|
|
21409
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
21410
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
21411
|
-
* permission of create3000.
|
|
21412
|
-
*
|
|
21413
|
-
* NON-MILITARY USE ONLY
|
|
21414
|
-
*
|
|
21415
|
-
* All create3000 software are effectively free software with a non-military use
|
|
21416
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
21417
|
-
* source in any way you please with the exception anything that uses it must be
|
|
21418
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
21419
|
-
*
|
|
21420
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
21421
|
-
*
|
|
21422
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
21423
|
-
*
|
|
21424
|
-
* This file is part of the X_ITE Project.
|
|
21425
|
-
*
|
|
21426
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
21427
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
21428
|
-
* Free Software Foundation.
|
|
21429
|
-
*
|
|
21430
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
21431
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
21432
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
21433
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
21434
|
-
*
|
|
21435
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
21436
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
21437
|
-
* copy of the GPLv3 License.
|
|
21438
|
-
*
|
|
21439
|
-
* For Silvio, Joy and Adi.
|
|
21440
|
-
*
|
|
21441
|
-
******************************************************************************/
|
|
21442
|
-
|
|
21443
|
-
const MapUtilities =
|
|
21444
|
-
{
|
|
21445
|
-
assign: (() =>
|
|
21446
|
-
{
|
|
21447
|
-
function set (value, key)
|
|
21448
|
-
{
|
|
21449
|
-
this .set (key, value);
|
|
21450
|
-
}
|
|
21451
|
-
|
|
21452
|
-
return function (m1, m2)
|
|
21453
|
-
{
|
|
21454
|
-
m1 .clear ();
|
|
21455
|
-
m2 .forEach (set, m1);
|
|
21456
|
-
|
|
21457
|
-
return m1;
|
|
21458
|
-
};
|
|
21459
|
-
})(),
|
|
21460
|
-
values: (() =>
|
|
21461
|
-
{
|
|
21462
|
-
function push (value) { this .push (value); }
|
|
21463
|
-
|
|
21464
|
-
const values = new WeakMap ();
|
|
21465
|
-
|
|
21466
|
-
return function (m)
|
|
21467
|
-
{
|
|
21468
|
-
if (m .size)
|
|
21469
|
-
{
|
|
21470
|
-
let a = values .get (m);
|
|
21471
|
-
|
|
21472
|
-
if (a)
|
|
21473
|
-
a .length = 0;
|
|
21474
|
-
else
|
|
21475
|
-
values .set (m, a = [ ]);
|
|
21476
|
-
|
|
21477
|
-
m .forEach (push, a);
|
|
21478
|
-
|
|
21479
|
-
return a;
|
|
21480
|
-
}
|
|
21481
|
-
else
|
|
21482
|
-
{
|
|
21483
|
-
return m .values ();
|
|
21484
|
-
}
|
|
21485
|
-
};
|
|
21486
|
-
})(),
|
|
21487
|
-
};
|
|
21488
|
-
|
|
21489
|
-
const MapUtilities_default_ = MapUtilities;
|
|
21490
|
-
;
|
|
21491
|
-
|
|
21492
|
-
x_ite_Namespace .add ("MapUtilities", "standard/Utility/MapUtilities", MapUtilities_default_);
|
|
21493
|
-
/* harmony default export */ const Utility_MapUtilities = (MapUtilities_default_);
|
|
21494
21400
|
;// CONCATENATED MODULE: ./src/x_ite/DEVELOPMENT.js
|
|
21495
21401
|
/*******************************************************************************
|
|
21496
21402
|
*
|
|
@@ -21597,7 +21503,6 @@ x_ite_Namespace .add ("DEVELOPMENT", "x_ite/DEVELOPMENT", DEVELOPMENT_default_);
|
|
|
21597
21503
|
|
|
21598
21504
|
|
|
21599
21505
|
|
|
21600
|
-
|
|
21601
21506
|
const
|
|
21602
21507
|
_name = Symbol (),
|
|
21603
21508
|
_interests = Symbol (),
|
|
@@ -21637,17 +21542,18 @@ Object .assign (X3DObject .prototype,
|
|
|
21637
21542
|
},
|
|
21638
21543
|
addInterest (callbackName, object, ... args)
|
|
21639
21544
|
{
|
|
21640
|
-
if (this [_interests] === X3DObject .prototype [_interests])
|
|
21641
|
-
this [_interests] = new Map ();
|
|
21642
|
-
|
|
21643
21545
|
const
|
|
21644
21546
|
interestId = X3DObject .getInterestId (callbackName, object),
|
|
21645
21547
|
callback = object [callbackName];
|
|
21646
21548
|
|
|
21549
|
+
this [_interests] = new Map (this [_interests]);
|
|
21550
|
+
|
|
21647
21551
|
this [_interests] .set (interestId, callback .bind (object, ... args, this));
|
|
21648
21552
|
},
|
|
21649
21553
|
removeInterest (callbackName, object)
|
|
21650
21554
|
{
|
|
21555
|
+
this [_interests] = new Map (this [_interests]);
|
|
21556
|
+
|
|
21651
21557
|
this [_interests] .delete (X3DObject .getInterestId (callbackName, object));
|
|
21652
21558
|
},
|
|
21653
21559
|
getInterests ()
|
|
@@ -21656,7 +21562,7 @@ Object .assign (X3DObject .prototype,
|
|
|
21656
21562
|
},
|
|
21657
21563
|
processInterests ()
|
|
21658
21564
|
{
|
|
21659
|
-
for (const interest of
|
|
21565
|
+
for (const interest of this [_interests] .values ())
|
|
21660
21566
|
interest ();
|
|
21661
21567
|
},
|
|
21662
21568
|
getUserData (key)
|
|
@@ -22424,6 +22330,13 @@ Object .assign (Object .setPrototypeOf (X3DInfoArray .prototype, Base_X3DChildOb
|
|
|
22424
22330
|
|
|
22425
22331
|
return copy;
|
|
22426
22332
|
},
|
|
22333
|
+
clear ()
|
|
22334
|
+
{
|
|
22335
|
+
this [_array] .length = 0;
|
|
22336
|
+
this [_index] .clear ();
|
|
22337
|
+
|
|
22338
|
+
this .addEvent ();
|
|
22339
|
+
},
|
|
22427
22340
|
assign (array)
|
|
22428
22341
|
{
|
|
22429
22342
|
if (!(array instanceof this .constructor))
|
|
@@ -22795,7 +22708,6 @@ x_ite_Namespace .add ("FieldDefinitionArray", "x_ite/Base/FieldDefinitionArray",
|
|
|
22795
22708
|
|
|
22796
22709
|
|
|
22797
22710
|
|
|
22798
|
-
|
|
22799
22711
|
const
|
|
22800
22712
|
_value = Symbol (),
|
|
22801
22713
|
_accessType = Symbol (),
|
|
@@ -22972,13 +22884,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22972
22884
|
},
|
|
22973
22885
|
addReferencesCallback (key, object)
|
|
22974
22886
|
{
|
|
22975
|
-
|
|
22976
|
-
this [_referencesCallbacks] = new Map ();
|
|
22887
|
+
this [_referencesCallbacks] = new Map (this [_referencesCallbacks]);
|
|
22977
22888
|
|
|
22978
22889
|
this [_referencesCallbacks] .set (key, object);
|
|
22979
22890
|
},
|
|
22980
22891
|
removeReferencesCallback (key)
|
|
22981
22892
|
{
|
|
22893
|
+
this [_referencesCallbacks] = new Map (this [_referencesCallbacks]);
|
|
22894
|
+
|
|
22982
22895
|
this [_referencesCallbacks] .delete (key);
|
|
22983
22896
|
},
|
|
22984
22897
|
getReferencesCallbacks ()
|
|
@@ -22987,7 +22900,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22987
22900
|
},
|
|
22988
22901
|
processReferencesCallbacks ()
|
|
22989
22902
|
{
|
|
22990
|
-
for (const callback of
|
|
22903
|
+
for (const callback of this [_referencesCallbacks] .values ())
|
|
22991
22904
|
callback ();
|
|
22992
22905
|
},
|
|
22993
22906
|
addFieldInterest (field)
|
|
@@ -23007,13 +22920,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23007
22920
|
},
|
|
23008
22921
|
addFieldCallback (key, object)
|
|
23009
22922
|
{
|
|
23010
|
-
|
|
23011
|
-
this [_fieldCallbacks] = new Map ();
|
|
22923
|
+
this [_fieldCallbacks] = new Map (this [_fieldCallbacks]);
|
|
23012
22924
|
|
|
23013
22925
|
this [_fieldCallbacks] .set (key, object);
|
|
23014
22926
|
},
|
|
23015
22927
|
removeFieldCallback (key)
|
|
23016
22928
|
{
|
|
22929
|
+
this [_fieldCallbacks] = new Map (this [_fieldCallbacks]);
|
|
22930
|
+
|
|
23017
22931
|
this [_fieldCallbacks] .delete (key);
|
|
23018
22932
|
},
|
|
23019
22933
|
getFieldCallbacks ()
|
|
@@ -23062,13 +22976,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23062
22976
|
{
|
|
23063
22977
|
// Processed if routes are changed.
|
|
23064
22978
|
|
|
23065
|
-
|
|
23066
|
-
this [_routeCallbacks] = new Map ();
|
|
22979
|
+
this [_routeCallbacks] = new Map (this [_routeCallbacks]);
|
|
23067
22980
|
|
|
23068
22981
|
this [_routeCallbacks] .set (key, object);
|
|
23069
22982
|
},
|
|
23070
22983
|
removeRouteCallback (key)
|
|
23071
22984
|
{
|
|
22985
|
+
this [_routeCallbacks] = new Map (this [_routeCallbacks]);
|
|
22986
|
+
|
|
23072
22987
|
this [_routeCallbacks] .delete (key);
|
|
23073
22988
|
},
|
|
23074
22989
|
getRouteCallbacks ()
|
|
@@ -23077,7 +22992,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23077
22992
|
},
|
|
23078
22993
|
processRouteCallbacks ()
|
|
23079
22994
|
{
|
|
23080
|
-
for (const callback of
|
|
22995
|
+
for (const callback of this [_routeCallbacks] .values ())
|
|
23081
22996
|
callback ();
|
|
23082
22997
|
},
|
|
23083
22998
|
processEvent (event = Base_Events .create (this))
|
|
@@ -23120,7 +23035,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23120
23035
|
|
|
23121
23036
|
// Process field callbacks.
|
|
23122
23037
|
|
|
23123
|
-
for (const callback of
|
|
23038
|
+
for (const callback of this [_fieldCallbacks] .values ())
|
|
23124
23039
|
callback (this .valueOf ());
|
|
23125
23040
|
},
|
|
23126
23041
|
fromString (string, scene)
|
|
@@ -34305,7 +34220,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34305
34220
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34306
34221
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34307
34222
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34308
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34223
|
+
/* provided dependency */ var $ = __webpack_require__(576);
|
|
34309
34224
|
/*******************************************************************************
|
|
34310
34225
|
*
|
|
34311
34226
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34442,7 +34357,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34442
34357
|
*
|
|
34443
34358
|
******************************************************************************/
|
|
34444
34359
|
|
|
34445
|
-
const BROWSER_VERSION_default_ = "9.2.
|
|
34360
|
+
const BROWSER_VERSION_default_ = "9.2.2";
|
|
34446
34361
|
;
|
|
34447
34362
|
|
|
34448
34363
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37302,6 +37217,10 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37302
37217
|
{
|
|
37303
37218
|
return this [_importedName];
|
|
37304
37219
|
},
|
|
37220
|
+
[Symbol .for ("X_ITE.X3DImportedNode.setImportName")] (importName)
|
|
37221
|
+
{
|
|
37222
|
+
this [_importedName] = importName;
|
|
37223
|
+
},
|
|
37305
37224
|
toVRMLStream (generator)
|
|
37306
37225
|
{
|
|
37307
37226
|
if (!generator .ExistsNode (this .getInlineNode ()))
|
|
@@ -37309,7 +37228,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37309
37228
|
|
|
37310
37229
|
generator .AddRouteNode (this);
|
|
37311
37230
|
|
|
37312
|
-
const importedName = generator .ImportedName (this
|
|
37231
|
+
const importedName = generator .ImportedName (this);
|
|
37313
37232
|
|
|
37314
37233
|
generator .string += generator .Indent ();
|
|
37315
37234
|
generator .string += "IMPORT";
|
|
@@ -37333,7 +37252,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37333
37252
|
|
|
37334
37253
|
generator .AddRouteNode (this);
|
|
37335
37254
|
|
|
37336
|
-
const importedName = generator .ImportedName (this
|
|
37255
|
+
const importedName = generator .ImportedName (this);
|
|
37337
37256
|
|
|
37338
37257
|
generator .string += generator .Indent ();
|
|
37339
37258
|
generator .string += "<IMPORT";
|
|
@@ -37363,7 +37282,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37363
37282
|
|
|
37364
37283
|
generator .AddRouteNode (this);
|
|
37365
37284
|
|
|
37366
|
-
const importedName = generator .ImportedName (this
|
|
37285
|
+
const importedName = generator .ImportedName (this);
|
|
37367
37286
|
|
|
37368
37287
|
generator .string += generator .Indent ();
|
|
37369
37288
|
generator .string += '{';
|
|
@@ -37751,7 +37670,7 @@ Object .assign (X3DUrlObject .prototype,
|
|
|
37751
37670
|
|
|
37752
37671
|
const browser = this .getBrowser ();
|
|
37753
37672
|
|
|
37754
|
-
if (!browser .getBrowserOption ("LoadUrlObjects") && this .getExecutionContext () !== browser .getPrivateScene ()
|
|
37673
|
+
if (!browser .getBrowserOption ("LoadUrlObjects") && this .getExecutionContext () !== browser .getPrivateScene ())
|
|
37755
37674
|
{
|
|
37756
37675
|
resolve ();
|
|
37757
37676
|
return;
|
|
@@ -38582,7 +38501,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38582
38501
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38583
38502
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38584
38503
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38585
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38504
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(576);
|
|
38586
38505
|
/*******************************************************************************
|
|
38587
38506
|
*
|
|
38588
38507
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -38726,6 +38645,26 @@ Object .assign (X3DParser .prototype,
|
|
|
38726
38645
|
|
|
38727
38646
|
return name;
|
|
38728
38647
|
},
|
|
38648
|
+
renameExistingNode (name)
|
|
38649
|
+
{
|
|
38650
|
+
try
|
|
38651
|
+
{
|
|
38652
|
+
const namedNode = this .getExecutionContext () .getNamedNode (name);
|
|
38653
|
+
|
|
38654
|
+
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (name), namedNode);
|
|
38655
|
+
}
|
|
38656
|
+
catch
|
|
38657
|
+
{ }
|
|
38658
|
+
|
|
38659
|
+
try
|
|
38660
|
+
{
|
|
38661
|
+
const importedName = this .getExecutionContext () .getUniqueImportName (name);
|
|
38662
|
+
|
|
38663
|
+
this .getExecutionContext () .renameImportedNode (name, importedName);
|
|
38664
|
+
}
|
|
38665
|
+
catch
|
|
38666
|
+
{ }
|
|
38667
|
+
},
|
|
38729
38668
|
});
|
|
38730
38669
|
|
|
38731
38670
|
const X3DParser_default_ = X3DParser;
|
|
@@ -38824,7 +38763,7 @@ const Expressions_default_ = Expressions;
|
|
|
38824
38763
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
38825
38764
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
38826
38765
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
38827
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
38766
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(576);
|
|
38828
38767
|
/*******************************************************************************
|
|
38829
38768
|
*
|
|
38830
38769
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39404,13 +39343,17 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39404
39343
|
var exportedNodeNameId = localNodeNameId;
|
|
39405
39344
|
}
|
|
39406
39345
|
|
|
39407
|
-
|
|
39346
|
+
try
|
|
39408
39347
|
{
|
|
39409
|
-
this .getScene () .
|
|
39410
|
-
|
|
39348
|
+
const existingNode = this .getScene () .getExportedNode (exportedNodeNameId);
|
|
39349
|
+
|
|
39350
|
+
this .getScene () .addExportedNode (this .getScene () .getUniqueExportName (exportedNodeNameId), existingNode);
|
|
39411
39351
|
}
|
|
39352
|
+
catch
|
|
39353
|
+
{ }
|
|
39412
39354
|
|
|
39413
|
-
|
|
39355
|
+
this .getScene () .updateExportedNode (exportedNodeNameId, node);
|
|
39356
|
+
return true;
|
|
39414
39357
|
}
|
|
39415
39358
|
|
|
39416
39359
|
throw new Error ("No name given after EXPORT.");
|
|
@@ -39453,7 +39396,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39453
39396
|
var nodeNameId = exportedNodeNameId;
|
|
39454
39397
|
}
|
|
39455
39398
|
|
|
39456
|
-
|
|
39399
|
+
// Rename existing imported node.
|
|
39400
|
+
|
|
39401
|
+
this .renameExistingNode (nodeNameId);
|
|
39402
|
+
|
|
39403
|
+
// Add new imported node.
|
|
39404
|
+
|
|
39405
|
+
this .getExecutionContext () .addImportedNode (namedNode, exportedNodeNameId, nodeNameId);
|
|
39457
39406
|
return true;
|
|
39458
39407
|
}
|
|
39459
39408
|
|
|
@@ -40075,14 +40024,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40075
40024
|
|
|
40076
40025
|
if (nodeNameId .length)
|
|
40077
40026
|
{
|
|
40078
|
-
|
|
40079
|
-
{
|
|
40080
|
-
const namedNode = this .getExecutionContext () .getNamedNode (nodeNameId);
|
|
40081
|
-
|
|
40082
|
-
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (nodeNameId), namedNode);
|
|
40083
|
-
}
|
|
40084
|
-
catch
|
|
40085
|
-
{ }
|
|
40027
|
+
this .renameExistingNode (nodeNameId);
|
|
40086
40028
|
|
|
40087
40029
|
this .getExecutionContext () .updateNamedNode (nodeNameId, baseNode);
|
|
40088
40030
|
}
|
|
@@ -41507,7 +41449,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41507
41449
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41508
41450
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41509
41451
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41510
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41452
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(576);
|
|
41511
41453
|
/*******************************************************************************
|
|
41512
41454
|
*
|
|
41513
41455
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41815,10 +41757,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41815
41757
|
componentSupportLevel = parseInt (xmlElement .getAttribute ("level"));
|
|
41816
41758
|
|
|
41817
41759
|
if (componentNameIdCharacters === null)
|
|
41818
|
-
return console .warn ("XML Parser
|
|
41760
|
+
return console .warn ("XML Parser: Bad component statement. Expected name attribute.");
|
|
41819
41761
|
|
|
41820
41762
|
if (componentSupportLevel === null)
|
|
41821
|
-
return console .warn ("XML Parser
|
|
41763
|
+
return console .warn ("XML Parser: Bad component statement. Expected level attribute.");
|
|
41822
41764
|
|
|
41823
41765
|
const component = this .getBrowser () .getComponent (componentNameIdCharacters, componentSupportLevel);
|
|
41824
41766
|
|
|
@@ -41837,13 +41779,13 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41837
41779
|
conversionFactor = xmlElement .getAttribute ("conversionFactor"); //works for html5 as well
|
|
41838
41780
|
|
|
41839
41781
|
if (category === null)
|
|
41840
|
-
return console .warn ("XML Parser
|
|
41782
|
+
return console .warn ("XML Parser: Bad unit statement. Expected category attribute.");
|
|
41841
41783
|
|
|
41842
41784
|
if (name === null)
|
|
41843
|
-
return console .warn ("XML Parser
|
|
41785
|
+
return console .warn ("XML Parser: Bad unit statement. Expected name attribute.");
|
|
41844
41786
|
|
|
41845
41787
|
if (conversionFactor === null)
|
|
41846
|
-
return console .warn ("XML Parser
|
|
41788
|
+
return console .warn ("XML Parser: Bad unit statement. Expected conversionFactor attribute.");
|
|
41847
41789
|
|
|
41848
41790
|
this .getScene () .updateUnit (category, name, parseFloat (conversionFactor));
|
|
41849
41791
|
},
|
|
@@ -41854,10 +41796,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41854
41796
|
metavalue = xmlElement .getAttribute ("content");
|
|
41855
41797
|
|
|
41856
41798
|
if (metakey === null)
|
|
41857
|
-
return console .warn ("XML Parser
|
|
41799
|
+
return console .warn ("XML Parser: Bad meta statement. Expected name attribute.");
|
|
41858
41800
|
|
|
41859
41801
|
if (metavalue === null)
|
|
41860
|
-
return console .warn ("XML Parser
|
|
41802
|
+
return console .warn ("XML Parser: Bad meta statement. Expected content attribute.");
|
|
41861
41803
|
|
|
41862
41804
|
this .getScene () .addMetaData (metakey, metavalue);
|
|
41863
41805
|
},
|
|
@@ -41942,7 +41884,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41942
41884
|
this .parser .sfstringValues (this .url);
|
|
41943
41885
|
|
|
41944
41886
|
if (!this .url .length)
|
|
41945
|
-
console .warn ("XML Parser
|
|
41887
|
+
console .warn ("XML Parser: Bad ExternProtoDeclare statement. Expected url attribute with value.");
|
|
41946
41888
|
|
|
41947
41889
|
const externproto = new Prototype_X3DExternProtoDeclaration (this .getExecutionContext (), this .url);
|
|
41948
41890
|
|
|
@@ -42121,10 +42063,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42121
42063
|
protoFieldName = xmlElement .getAttribute ("protoField");
|
|
42122
42064
|
|
|
42123
42065
|
if (nodeFieldName === null)
|
|
42124
|
-
return console .warn ("XML Parser
|
|
42066
|
+
return console .warn ("XML Parser: Bad connect statement. Expected nodeField attribute.");
|
|
42125
42067
|
|
|
42126
42068
|
if (protoFieldName === null)
|
|
42127
|
-
return console .warn ("XML Parser
|
|
42069
|
+
return console .warn ("XML Parser: Bad connect statement. Expected protoField attribute.");
|
|
42128
42070
|
|
|
42129
42071
|
try
|
|
42130
42072
|
{
|
|
@@ -42154,7 +42096,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42154
42096
|
}
|
|
42155
42097
|
catch (error)
|
|
42156
42098
|
{
|
|
42157
|
-
console .warn (`XML Parser
|
|
42099
|
+
console .warn (`XML Parser: Couldn't create IS reference. ${error .message}`);
|
|
42158
42100
|
}
|
|
42159
42101
|
},
|
|
42160
42102
|
protoInstanceElement (xmlElement)
|
|
@@ -42189,7 +42131,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42189
42131
|
}
|
|
42190
42132
|
catch (error)
|
|
42191
42133
|
{
|
|
42192
|
-
console .warn ("XML Parser
|
|
42134
|
+
console .warn ("XML Parser: ", error .message);
|
|
42193
42135
|
|
|
42194
42136
|
if (DEVELOPMENT)
|
|
42195
42137
|
console .error (error);
|
|
@@ -42232,7 +42174,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42232
42174
|
}
|
|
42233
42175
|
catch (error)
|
|
42234
42176
|
{
|
|
42235
|
-
console .warn (`XML Parser
|
|
42177
|
+
console .warn (`XML Parser: Couldn't assign field value. ${error .message}`);
|
|
42236
42178
|
}
|
|
42237
42179
|
},
|
|
42238
42180
|
nodeElement (xmlElement)
|
|
@@ -42279,7 +42221,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42279
42221
|
if (DEVELOPMENT)
|
|
42280
42222
|
console .error (error);
|
|
42281
42223
|
else
|
|
42282
|
-
console .error (`XML Parser
|
|
42224
|
+
console .error (`XML Parser: ${error .message}`);
|
|
42283
42225
|
}
|
|
42284
42226
|
},
|
|
42285
42227
|
scriptElement (element)
|
|
@@ -42331,7 +42273,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42331
42273
|
}
|
|
42332
42274
|
catch (error)
|
|
42333
42275
|
{
|
|
42334
|
-
console .warn (`XML Parser
|
|
42276
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42335
42277
|
|
|
42336
42278
|
if (DEVELOPMENT)
|
|
42337
42279
|
console .error (error);
|
|
@@ -42354,23 +42296,23 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42354
42296
|
|
|
42355
42297
|
const inlineNode = this .getExecutionContext () .getNamedNode (inlineNodeName);
|
|
42356
42298
|
|
|
42357
|
-
|
|
42299
|
+
// Rename existing imported node.
|
|
42300
|
+
|
|
42301
|
+
this .renameExistingNode (localNodeName);
|
|
42302
|
+
|
|
42303
|
+
// Add new imported node.
|
|
42304
|
+
|
|
42305
|
+
this .getExecutionContext () .addImportedNode (inlineNode, exportedNodeName, localNodeName);
|
|
42358
42306
|
}
|
|
42359
42307
|
catch (error)
|
|
42360
42308
|
{
|
|
42361
|
-
console .warn (`XML Parser
|
|
42309
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42362
42310
|
}
|
|
42363
42311
|
},
|
|
42364
42312
|
exportElement (xmlElement)
|
|
42365
42313
|
{
|
|
42366
42314
|
try
|
|
42367
42315
|
{
|
|
42368
|
-
if (this .getScene () !== this .getExecutionContext ())
|
|
42369
|
-
{
|
|
42370
|
-
console .warn ("XML Parser Error: Export statement not allowed here.");
|
|
42371
|
-
return;
|
|
42372
|
-
}
|
|
42373
|
-
|
|
42374
42316
|
const
|
|
42375
42317
|
localNodeName = xmlElement .getAttribute ("localDEF"),
|
|
42376
42318
|
exportedNodeName = xmlElement .getAttribute ("AS") || localNodeName;
|
|
@@ -42380,11 +42322,20 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42380
42322
|
|
|
42381
42323
|
const localNode = this .getExecutionContext () .getLocalNode (localNodeName);
|
|
42382
42324
|
|
|
42325
|
+
try
|
|
42326
|
+
{
|
|
42327
|
+
const existingNode = this .getScene () .getExportedNode (exportedNodeName);
|
|
42328
|
+
|
|
42329
|
+
this .getScene () .addExportedNode (this .getScene () .getUniqueExportName (exportedNodeName), existingNode);
|
|
42330
|
+
}
|
|
42331
|
+
catch
|
|
42332
|
+
{ }
|
|
42333
|
+
|
|
42383
42334
|
this .getScene () .updateExportedNode (exportedNodeName, localNode);
|
|
42384
42335
|
}
|
|
42385
42336
|
catch (error)
|
|
42386
42337
|
{
|
|
42387
|
-
console .warn (`XML Parser
|
|
42338
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42388
42339
|
}
|
|
42389
42340
|
},
|
|
42390
42341
|
cdataNode (xmlElement)
|
|
@@ -42407,13 +42358,16 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42407
42358
|
{
|
|
42408
42359
|
const node = this .getExecutionContext () .getNamedNode (name);
|
|
42409
42360
|
|
|
42361
|
+
if (xmlElement .nodeName !== node .getNodeTypeName ())
|
|
42362
|
+
console .warn (`XML Parser: DEF/USE mismatch, '${name}', ${xmlElement .nodeName} != ${node .getNodeTypeName ()}.`);
|
|
42363
|
+
|
|
42410
42364
|
this .addNode (xmlElement, node .getValue ());
|
|
42411
42365
|
return true;
|
|
42412
42366
|
}
|
|
42413
42367
|
}
|
|
42414
42368
|
catch (error)
|
|
42415
42369
|
{
|
|
42416
|
-
console .warn (`Invalid USE name: ${error .message}`);
|
|
42370
|
+
console .warn (`XML Parser: Invalid USE name: ${error .message}`);
|
|
42417
42371
|
}
|
|
42418
42372
|
|
|
42419
42373
|
return false;
|
|
@@ -42426,21 +42380,14 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42426
42380
|
|
|
42427
42381
|
if (name)
|
|
42428
42382
|
{
|
|
42429
|
-
|
|
42430
|
-
{
|
|
42431
|
-
const namedNode = this .getExecutionContext () .getNamedNode (name);
|
|
42432
|
-
|
|
42433
|
-
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (name), namedNode);
|
|
42434
|
-
}
|
|
42435
|
-
catch
|
|
42436
|
-
{ }
|
|
42383
|
+
this .renameExistingNode (name);
|
|
42437
42384
|
|
|
42438
42385
|
this .getExecutionContext () .updateNamedNode (name, node);
|
|
42439
42386
|
}
|
|
42440
42387
|
}
|
|
42441
42388
|
catch (error)
|
|
42442
42389
|
{
|
|
42443
|
-
console .warn (`Invalid DEF name: ${error .message}`);
|
|
42390
|
+
console .warn (`XML Parser: Invalid DEF name: ${error .message}`);
|
|
42444
42391
|
}
|
|
42445
42392
|
},
|
|
42446
42393
|
nodeAttributes (xmlElement, node)
|
|
@@ -42535,7 +42482,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42535
42482
|
|
|
42536
42483
|
if (!containerField)
|
|
42537
42484
|
{
|
|
42538
|
-
console .warn ("Node must have a container field attribute.");
|
|
42485
|
+
console .warn ("XML Parser: Node must have a container field attribute.");
|
|
42539
42486
|
return;
|
|
42540
42487
|
}
|
|
42541
42488
|
|
|
@@ -43598,7 +43545,7 @@ const URLs_default_ = URLs;
|
|
|
43598
43545
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43599
43546
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43600
43547
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43601
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43548
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(576);
|
|
43602
43549
|
/*******************************************************************************
|
|
43603
43550
|
*
|
|
43604
43551
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46899,7 +46846,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46899
46846
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46900
46847
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46901
46848
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46902
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46849
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(576);
|
|
46903
46850
|
/*******************************************************************************
|
|
46904
46851
|
*
|
|
46905
46852
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47051,7 +46998,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47051
46998
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47052
46999
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47053
47000
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47054
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47001
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(576);
|
|
47055
47002
|
/*******************************************************************************
|
|
47056
47003
|
*
|
|
47057
47004
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50406,8 +50353,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50406
50353
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50407
50354
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50408
50355
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50409
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50410
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50356
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(576);
|
|
50357
|
+
/* provided dependency */ var libtess = __webpack_require__(85);
|
|
50411
50358
|
/*******************************************************************************
|
|
50412
50359
|
*
|
|
50413
50360
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53175,7 +53122,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53175
53122
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53176
53123
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53177
53124
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53178
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53125
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(576);
|
|
53179
53126
|
/*******************************************************************************
|
|
53180
53127
|
*
|
|
53181
53128
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53512,7 +53459,7 @@ const Plane3_default_ = Plane3;
|
|
|
53512
53459
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53513
53460
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53514
53461
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53515
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53462
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(85);
|
|
53516
53463
|
/*******************************************************************************
|
|
53517
53464
|
*
|
|
53518
53465
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61018,7 +60965,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61018
60965
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61019
60966
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61020
60967
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61021
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
60968
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(576);
|
|
61022
60969
|
/*******************************************************************************
|
|
61023
60970
|
*
|
|
61024
60971
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -63495,22 +63442,34 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
63495
63442
|
{
|
|
63496
63443
|
return this ._position .getValue ();
|
|
63497
63444
|
},
|
|
63498
|
-
|
|
63445
|
+
setPosition (value)
|
|
63499
63446
|
{
|
|
63500
|
-
|
|
63447
|
+
this ._position = value;
|
|
63501
63448
|
},
|
|
63502
63449
|
getOrientation ()
|
|
63503
63450
|
{
|
|
63504
63451
|
return this ._orientation .getValue ();
|
|
63505
63452
|
},
|
|
63506
|
-
|
|
63453
|
+
setOrientation (value)
|
|
63507
63454
|
{
|
|
63508
|
-
|
|
63455
|
+
this ._orientation = value;
|
|
63509
63456
|
},
|
|
63510
63457
|
getCenterOfRotation ()
|
|
63511
63458
|
{
|
|
63512
63459
|
return this ._centerOfRotation .getValue ();
|
|
63513
63460
|
},
|
|
63461
|
+
setCenterOfRotation (value)
|
|
63462
|
+
{
|
|
63463
|
+
this ._centerOfRotation = value;
|
|
63464
|
+
},
|
|
63465
|
+
getUserPosition ()
|
|
63466
|
+
{
|
|
63467
|
+
return this .userPosition .assign (this .getPosition ()) .add (this ._positionOffset .getValue ());
|
|
63468
|
+
},
|
|
63469
|
+
getUserOrientation ()
|
|
63470
|
+
{
|
|
63471
|
+
return this .userOrientation .assign (this .getOrientation ()) .multRight (this ._orientationOffset .getValue ());
|
|
63472
|
+
},
|
|
63514
63473
|
getUserCenterOfRotation ()
|
|
63515
63474
|
{
|
|
63516
63475
|
return this .userCenterOfRotation .assign (this .getCenterOfRotation ()) .add (this ._centerOfRotationOffset .getValue ());
|
|
@@ -63980,7 +63939,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
63980
63939
|
const relative = Navigation_X3DViewpointNode .prototype .getRelativeTransformation .call (this, fromViewpointNode);
|
|
63981
63940
|
|
|
63982
63941
|
if (fromViewpointNode .constructor === this .constructor)
|
|
63983
|
-
relative .fieldOfView = fromViewpointNode .
|
|
63942
|
+
relative .fieldOfView = fromViewpointNode .getUserFieldOfView ();
|
|
63984
63943
|
|
|
63985
63944
|
return relative;
|
|
63986
63945
|
},
|
|
@@ -63988,7 +63947,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
63988
63947
|
{
|
|
63989
63948
|
if (fromViewpointNode .constructor === this .constructor)
|
|
63990
63949
|
{
|
|
63991
|
-
const scale = relative .fieldOfView / this .
|
|
63950
|
+
const scale = relative .fieldOfView / this .getUserFieldOfView ();
|
|
63992
63951
|
|
|
63993
63952
|
this .fieldOfViewScaleInterpolator ._keyValue = new x_ite_Fields .MFFloat (scale, this ._fieldOfViewScale .getValue ());
|
|
63994
63953
|
|
|
@@ -64006,6 +63965,12 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64006
63965
|
return false;
|
|
64007
63966
|
},
|
|
64008
63967
|
getFieldOfView ()
|
|
63968
|
+
{
|
|
63969
|
+
const fov = this ._fieldOfView .getValue ();
|
|
63970
|
+
|
|
63971
|
+
return fov > 0 && fov < Math .PI ? fov : Math .PI / 4;
|
|
63972
|
+
},
|
|
63973
|
+
getUserFieldOfView ()
|
|
64009
63974
|
{
|
|
64010
63975
|
const fov = this ._fieldOfView .getValue () * this ._fieldOfViewScale .getValue ();
|
|
64011
63976
|
|
|
@@ -64019,7 +63984,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64019
63984
|
width = viewport [2],
|
|
64020
63985
|
height = viewport [3];
|
|
64021
63986
|
|
|
64022
|
-
let size = Math .abs (point .z) * Math .tan (this .
|
|
63987
|
+
let size = Math .abs (point .z) * Math .tan (this .getUserFieldOfView () / 2) * 2;
|
|
64023
63988
|
|
|
64024
63989
|
if (width > height)
|
|
64025
63990
|
size /= height;
|
|
@@ -64039,7 +64004,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64039
64004
|
const
|
|
64040
64005
|
width = viewport [2],
|
|
64041
64006
|
height = viewport [3],
|
|
64042
|
-
size = nearValue * Math .tan (this .
|
|
64007
|
+
size = nearValue * Math .tan (this .getUserFieldOfView () / 2) * 2,
|
|
64043
64008
|
aspect = width / height;
|
|
64044
64009
|
|
|
64045
64010
|
if (aspect > 1)
|
|
@@ -64050,11 +64015,11 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64050
64015
|
})(),
|
|
64051
64016
|
getLookAtDistance (bbox)
|
|
64052
64017
|
{
|
|
64053
|
-
return (bbox .size .magnitude () / 2) / Math .tan (this .
|
|
64018
|
+
return (bbox .size .magnitude () / 2) / Math .tan (this .getUserFieldOfView () / 2);
|
|
64054
64019
|
},
|
|
64055
64020
|
getProjectionMatrixWithLimits (nearValue, farValue, viewport)
|
|
64056
64021
|
{
|
|
64057
|
-
return Geometry_Camera .perspective (this .
|
|
64022
|
+
return Geometry_Camera .perspective (this .getUserFieldOfView (), nearValue, farValue, viewport [2], viewport [3], this .projectionMatrix);
|
|
64058
64023
|
},
|
|
64059
64024
|
});
|
|
64060
64025
|
|
|
@@ -64386,16 +64351,16 @@ Object .assign (Object .setPrototypeOf (X3DGroupingNode .prototype, Core_X3DChil
|
|
|
64386
64351
|
this .set_children__ ();
|
|
64387
64352
|
},
|
|
64388
64353
|
getBBox (bbox, shadows)
|
|
64389
|
-
{
|
|
64390
|
-
return this .getSubBBox (bbox, shadows);
|
|
64391
|
-
},
|
|
64392
|
-
getSubBBox (bbox, shadows)
|
|
64393
64354
|
{
|
|
64394
64355
|
if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
|
|
64395
|
-
return
|
|
64356
|
+
return this .getSubBBox (bbox, shadows);
|
|
64396
64357
|
|
|
64397
64358
|
return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
|
|
64398
64359
|
},
|
|
64360
|
+
getSubBBox (bbox, shadows)
|
|
64361
|
+
{
|
|
64362
|
+
return Grouping_X3DBoundedObject .prototype .getBBox .call (this, this .visibleNodes, bbox, shadows);
|
|
64363
|
+
},
|
|
64399
64364
|
setAllowedTypes (/* type, ... */)
|
|
64400
64365
|
{
|
|
64401
64366
|
const allowedTypes = this .allowedTypes;
|
|
@@ -65605,7 +65570,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65605
65570
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65606
65571
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65607
65572
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65608
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65573
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(576);
|
|
65609
65574
|
/*******************************************************************************
|
|
65610
65575
|
*
|
|
65611
65576
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66536,7 +66501,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66536
66501
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66537
66502
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66538
66503
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66539
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66504
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(576);
|
|
66540
66505
|
/*******************************************************************************
|
|
66541
66506
|
*
|
|
66542
66507
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66756,11 +66721,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66756
66721
|
|
|
66757
66722
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66758
66723
|
? generator .Name (this [_sourceNode])
|
|
66759
|
-
: this [_sourceNode]
|
|
66724
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66760
66725
|
|
|
66761
66726
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66762
66727
|
? generator .Name (this [_destinationNode])
|
|
66763
|
-
: this [_destinationNode]
|
|
66728
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66764
66729
|
|
|
66765
66730
|
generator .string += generator .Indent ();
|
|
66766
66731
|
generator .string += "ROUTE";
|
|
@@ -66785,11 +66750,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66785
66750
|
|
|
66786
66751
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66787
66752
|
? generator .Name (this [_sourceNode])
|
|
66788
|
-
: this [_sourceNode]
|
|
66753
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66789
66754
|
|
|
66790
66755
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66791
66756
|
? generator .Name (this [_destinationNode])
|
|
66792
|
-
: this [_destinationNode]
|
|
66757
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66793
66758
|
|
|
66794
66759
|
generator .string += generator .Indent ();
|
|
66795
66760
|
generator .string += "<ROUTE";
|
|
@@ -66821,11 +66786,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66821
66786
|
|
|
66822
66787
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66823
66788
|
? generator .Name (this [_sourceNode])
|
|
66824
|
-
: this [_sourceNode]
|
|
66789
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66825
66790
|
|
|
66826
66791
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66827
66792
|
? generator .Name (this [_destinationNode])
|
|
66828
|
-
: this [_destinationNode]
|
|
66793
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66829
66794
|
|
|
66830
66795
|
generator .string += generator .Indent ();
|
|
66831
66796
|
generator .string += '{';
|
|
@@ -67353,14 +67318,13 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67353
67318
|
|
|
67354
67319
|
// Remove named node.
|
|
67355
67320
|
|
|
67356
|
-
this .removeNamedNode (node .getName ());
|
|
67357
67321
|
this .removeNamedNode (name);
|
|
67358
67322
|
|
|
67359
67323
|
// Update named node.
|
|
67360
67324
|
|
|
67361
|
-
node .
|
|
67325
|
+
this [_namedNodes] .update (node .getName (), name, Fields_SFNodeCache .get (node));
|
|
67362
67326
|
|
|
67363
|
-
|
|
67327
|
+
node .setName (name);
|
|
67364
67328
|
|
|
67365
67329
|
this ._namedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67366
67330
|
},
|
|
@@ -67436,6 +67400,20 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67436
67400
|
|
|
67437
67401
|
this ._importedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67438
67402
|
},
|
|
67403
|
+
renameImportedNode (oldImportedName, newImportedName)
|
|
67404
|
+
{
|
|
67405
|
+
const importedNode = this [_importedNodes] .get (oldImportedName);
|
|
67406
|
+
|
|
67407
|
+
if (!importedNode)
|
|
67408
|
+
throw new Error ("Couldn't rename imported node: imported node does not exists.");
|
|
67409
|
+
|
|
67410
|
+
if (this [_importedNodes] .get (newImportedName))
|
|
67411
|
+
throw new Error ("Couldn't rename imported node: new imported name does already exists.");
|
|
67412
|
+
|
|
67413
|
+
importedNode [Symbol .for ("X_ITE.X3DImportedNode.setImportName")] (newImportedName);
|
|
67414
|
+
|
|
67415
|
+
this [_importedNodes] .update (oldImportedName, newImportedName, importedNode);
|
|
67416
|
+
},
|
|
67439
67417
|
removeImportedNode (importedName)
|
|
67440
67418
|
{
|
|
67441
67419
|
importedName = String (importedName);
|
|
@@ -68224,7 +68202,7 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68224
68202
|
|
|
68225
68203
|
for (const protoField of this [_protoFields] .keys ())
|
|
68226
68204
|
{
|
|
68227
|
-
const oldFieldName = oldProtoFields .get (protoField);
|
|
68205
|
+
const oldFieldName = oldProtoFields .get (protoField) ?? protoField .getName ();
|
|
68228
68206
|
|
|
68229
68207
|
if (!oldFieldName)
|
|
68230
68208
|
continue;
|
|
@@ -76949,7 +76927,10 @@ Object .assign (Object .setPrototypeOf (X3DTransformMatrix3DNode .prototype, Gro
|
|
|
76949
76927
|
},
|
|
76950
76928
|
getBBox (bbox, shadows)
|
|
76951
76929
|
{
|
|
76952
|
-
|
|
76930
|
+
if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
|
|
76931
|
+
return this .getSubBBox (bbox, shadows) .multRight (this .matrix);
|
|
76932
|
+
|
|
76933
|
+
return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
|
|
76953
76934
|
},
|
|
76954
76935
|
traverse (type, renderObject)
|
|
76955
76936
|
{
|
|
@@ -82100,6 +82081,24 @@ Object .assign (Object .setPrototypeOf (OrthoViewpoint .prototype, Navigation_X3
|
|
|
82100
82081
|
{
|
|
82101
82082
|
return false;
|
|
82102
82083
|
},
|
|
82084
|
+
getFieldOfView ()
|
|
82085
|
+
{
|
|
82086
|
+
return [
|
|
82087
|
+
this .getMinimumX (),
|
|
82088
|
+
this .getMinimumY (),
|
|
82089
|
+
this .getMaximumX (),
|
|
82090
|
+
this .getMaximumY (),
|
|
82091
|
+
];
|
|
82092
|
+
},
|
|
82093
|
+
getUserFieldOfView ()
|
|
82094
|
+
{
|
|
82095
|
+
return [
|
|
82096
|
+
this .getUserMinimumX (),
|
|
82097
|
+
this .getUserMinimumY (),
|
|
82098
|
+
this .getUserMaximumX (),
|
|
82099
|
+
this .getUserMaximumY (),
|
|
82100
|
+
];
|
|
82101
|
+
},
|
|
82103
82102
|
getMinimumX ()
|
|
82104
82103
|
{
|
|
82105
82104
|
return this ._fieldOfView .length > 0 ? this ._fieldOfView [0] : -1;
|
|
@@ -89371,7 +89370,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89371
89370
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89372
89371
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89373
89372
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89374
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89373
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(576);
|
|
89375
89374
|
/*******************************************************************************
|
|
89376
89375
|
*
|
|
89377
89376
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95012,7 +95011,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95012
95011
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95013
95012
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95014
95013
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95015
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95014
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(576);
|
|
95016
95015
|
/*******************************************************************************
|
|
95017
95016
|
*
|
|
95018
95017
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95669,7 +95668,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95669
95668
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95670
95669
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95671
95670
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95672
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95671
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(576);
|
|
95673
95672
|
/*******************************************************************************
|
|
95674
95673
|
*
|
|
95675
95674
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99087,7 +99086,7 @@ const Components_Shape_default_ = {
|
|
|
99087
99086
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99088
99087
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99089
99088
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99090
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99089
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(576);
|
|
99091
99090
|
/*******************************************************************************
|
|
99092
99091
|
*
|
|
99093
99092
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99727,7 +99726,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99727
99726
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99728
99727
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99729
99728
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99730
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99729
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(576);
|
|
99731
99730
|
/*******************************************************************************
|
|
99732
99731
|
*
|
|
99733
99732
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100029,7 +100028,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100029
100028
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100030
100029
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100031
100030
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100032
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100031
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(576);
|
|
100033
100032
|
/*******************************************************************************
|
|
100034
100033
|
*
|
|
100035
100034
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101679,7 +101678,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101679
101678
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101680
101679
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101681
101680
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101682
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101681
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(576);
|
|
101683
101682
|
/*******************************************************************************
|
|
101684
101683
|
*
|
|
101685
101684
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103348,8 +103347,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103348
103347
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103349
103348
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103350
103349
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103351
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103352
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103350
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(576);
|
|
103351
|
+
/* provided dependency */ var SuperGif = __webpack_require__(606);
|
|
103353
103352
|
/*******************************************************************************
|
|
103354
103353
|
*
|
|
103355
103354
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106624,7 +106623,7 @@ const gettext_default_ = gettext;
|
|
|
106624
106623
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106625
106624
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106626
106625
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106627
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106626
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(576);
|
|
106628
106627
|
/*******************************************************************************
|
|
106629
106628
|
*
|
|
106630
106629
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107054,7 +107053,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107054
107053
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107055
107054
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107056
107055
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107057
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107056
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(576);
|
|
107058
107057
|
/*******************************************************************************
|
|
107059
107058
|
*
|
|
107060
107059
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107644,7 +107643,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107644
107643
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107645
107644
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107646
107645
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107647
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107646
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(576);
|
|
107648
107647
|
/*******************************************************************************
|
|
107649
107648
|
*
|
|
107650
107649
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107767,8 +107766,8 @@ const Notification_default_ = Notification;
|
|
|
107767
107766
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107768
107767
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107769
107768
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107770
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107771
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107769
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(464);
|
|
107770
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(576);
|
|
107772
107771
|
/*******************************************************************************
|
|
107773
107772
|
*
|
|
107774
107773
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109604,11 +109603,9 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
109604
109603
|
//if (node .getExecutionContext () !== this)
|
|
109605
109604
|
// throw new Error ("Couldn't update exported node: node does not belong to this execution context.");
|
|
109606
109605
|
|
|
109607
|
-
this .removeExportedNode (exportedName);
|
|
109608
|
-
|
|
109609
109606
|
const exportedNode = new Execution_X3DExportedNode (this, exportedName, node);
|
|
109610
109607
|
|
|
109611
|
-
this [_exportedNodes] .
|
|
109608
|
+
this [_exportedNodes] .update (exportedName, exportedName, exportedNode);
|
|
109612
109609
|
|
|
109613
109610
|
this ._exportedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
109614
109611
|
},
|
|
@@ -110522,7 +110519,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110522
110519
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110523
110520
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110524
110521
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110525
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110522
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(576);
|
|
110526
110523
|
/*******************************************************************************
|
|
110527
110524
|
*
|
|
110528
110525
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -111182,7 +111179,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111182
111179
|
vp .position = viewpoint .getUserPosition ();
|
|
111183
111180
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111184
111181
|
vp .centerOfRotation = viewpoint .getUserCenterOfRotation ();
|
|
111185
|
-
vp .fieldOfView = viewpoint .
|
|
111182
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111186
111183
|
break;
|
|
111187
111184
|
}
|
|
111188
111185
|
case "OrthoViewpoint":
|
|
@@ -111190,7 +111187,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111190
111187
|
vp .position = viewpoint .getUserPosition ();
|
|
111191
111188
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111192
111189
|
vp .centerOfRotation = viewpoint .getUserCenterOfRotation ();
|
|
111193
|
-
vp .fieldOfView =
|
|
111190
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111194
111191
|
break;
|
|
111195
111192
|
}
|
|
111196
111193
|
case "GeoViewpoint":
|
|
@@ -111213,7 +111210,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111213
111210
|
vp .position = viewpoint .getGeoCoord (viewpoint .getUserPosition (), geoCoord);
|
|
111214
111211
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111215
111212
|
vp .centerOfRotation = viewpoint .getGeoCoord (viewpoint .getUserCenterOfRotation (), geoCoord);
|
|
111216
|
-
vp .fieldOfView = viewpoint .
|
|
111213
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111217
111214
|
break;
|
|
111218
111215
|
}
|
|
111219
111216
|
}
|
|
@@ -113045,8 +113042,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113045
113042
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113046
113043
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113047
113044
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113048
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113049
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113045
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(710);
|
|
113046
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(576);
|
|
113050
113047
|
/*******************************************************************************
|
|
113051
113048
|
*
|
|
113052
113049
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113918,8 +113915,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113918
113915
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113919
113916
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113920
113917
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113921
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113922
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
113918
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(710);
|
|
113919
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(576);
|
|
113923
113920
|
/*******************************************************************************
|
|
113924
113921
|
*
|
|
113925
113922
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114928,8 +114925,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114928
114925
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114929
114926
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114930
114927
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114931
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114932
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
114928
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(710);
|
|
114929
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(576);
|
|
114933
114930
|
/*******************************************************************************
|
|
114934
114931
|
*
|
|
114935
114932
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115260,8 +115257,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115260
115257
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115261
115258
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115262
115259
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115263
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115264
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115260
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(710);
|
|
115261
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(576);
|
|
115265
115262
|
/*******************************************************************************
|
|
115266
115263
|
*
|
|
115267
115264
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116400,8 +116397,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116400
116397
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116401
116398
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116402
116399
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116403
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116404
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116400
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(710);
|
|
116401
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(576);
|
|
116405
116402
|
/*******************************************************************************
|
|
116406
116403
|
*
|
|
116407
116404
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117680,7 +117677,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117680
117677
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117681
117678
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117682
117679
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117683
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117680
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(576);
|
|
117684
117681
|
/*******************************************************************************
|
|
117685
117682
|
*
|
|
117686
117683
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118582,7 +118579,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118582
118579
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118583
118580
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118584
118581
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118585
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118582
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(576);
|
|
118586
118583
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118587
118584
|
{
|
|
118588
118585
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120135,7 +120132,7 @@ const Components_default_ = Components;
|
|
|
120135
120132
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120136
120133
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120137
120134
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120138
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120135
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(576);
|
|
120139
120136
|
/*******************************************************************************
|
|
120140
120137
|
* MIT License
|
|
120141
120138
|
*
|
|
@@ -121266,7 +121263,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121266
121263
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121267
121264
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121268
121265
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121269
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121266
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(576);
|
|
121270
121267
|
/*******************************************************************************
|
|
121271
121268
|
*
|
|
121272
121269
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121336,7 +121333,6 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
|
|
|
121336
121333
|
|
|
121337
121334
|
|
|
121338
121335
|
|
|
121339
|
-
|
|
121340
121336
|
|
|
121341
121337
|
|
|
121342
121338
|
const
|
|
@@ -121954,24 +121950,55 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121954
121950
|
{
|
|
121955
121951
|
const [key, object] = args;
|
|
121956
121952
|
|
|
121957
|
-
|
|
121953
|
+
for (const [event, map] of this [_browserCallbacks])
|
|
121954
|
+
this [_browserCallbacks] .set (event, new Map (map) .set (key, object));
|
|
121955
|
+
|
|
121958
121956
|
break;
|
|
121959
121957
|
}
|
|
121960
121958
|
case 3:
|
|
121961
121959
|
{
|
|
121962
|
-
const
|
|
121960
|
+
const
|
|
121961
|
+
[key, event, object] = args,
|
|
121962
|
+
map = new Map (this [_browserCallbacks] .get (event));
|
|
121963
121963
|
|
|
121964
|
-
this [_browserCallbacks] .
|
|
121964
|
+
this [_browserCallbacks] .set (event, map);
|
|
121965
|
+
|
|
121966
|
+
map .set (key, object);
|
|
121965
121967
|
break;
|
|
121966
121968
|
}
|
|
121967
121969
|
}
|
|
121968
121970
|
},
|
|
121969
|
-
removeBrowserCallback (
|
|
121971
|
+
removeBrowserCallback (... args)
|
|
121970
121972
|
{
|
|
121971
|
-
|
|
121972
|
-
|
|
121973
|
-
|
|
121974
|
-
|
|
121973
|
+
switch (args .length)
|
|
121974
|
+
{
|
|
121975
|
+
case 1:
|
|
121976
|
+
{
|
|
121977
|
+
const [key] = args;
|
|
121978
|
+
|
|
121979
|
+
for (const [event, original] of this [_browserCallbacks])
|
|
121980
|
+
{
|
|
121981
|
+
const map = new Map (original);
|
|
121982
|
+
|
|
121983
|
+
this [_browserCallbacks] .set (event, map);
|
|
121984
|
+
|
|
121985
|
+
map .delete (key);
|
|
121986
|
+
}
|
|
121987
|
+
|
|
121988
|
+
break;
|
|
121989
|
+
}
|
|
121990
|
+
case 2:
|
|
121991
|
+
{
|
|
121992
|
+
const
|
|
121993
|
+
[key, event] = args,
|
|
121994
|
+
map = new Map (this [_browserCallbacks] .get (event));
|
|
121995
|
+
|
|
121996
|
+
this [_browserCallbacks] .set (event, map);
|
|
121997
|
+
|
|
121998
|
+
map .delete (key);
|
|
121999
|
+
break;
|
|
122000
|
+
}
|
|
122001
|
+
}
|
|
121975
122002
|
},
|
|
121976
122003
|
getBrowserCallbacks (event)
|
|
121977
122004
|
{
|
|
@@ -121982,7 +122009,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121982
122009
|
},
|
|
121983
122010
|
callBrowserCallbacks (event)
|
|
121984
122011
|
{
|
|
121985
|
-
for (const callback of
|
|
122012
|
+
for (const callback of this [_browserCallbacks] .get (event) .values ())
|
|
121986
122013
|
callback (event);
|
|
121987
122014
|
},
|
|
121988
122015
|
importDocument (dom)
|
|
@@ -122327,7 +122354,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122327
122354
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122328
122355
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122329
122356
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122330
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122357
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(576);
|
|
122331
122358
|
/*******************************************************************************
|
|
122332
122359
|
*
|
|
122333
122360
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122459,8 +122486,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122459
122486
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122460
122487
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122461
122488
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122462
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122463
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122489
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(576);
|
|
122490
|
+
/* provided dependency */ var pako = __webpack_require__(905);
|
|
122464
122491
|
Object .assign (jquery_$,
|
|
122465
122492
|
{
|
|
122466
122493
|
decodeText (input)
|
|
@@ -122537,14 +122564,14 @@ const jquery_default_ = jquery_$;
|
|
|
122537
122564
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122538
122565
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122539
122566
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122540
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122567
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(85);
|
|
122541
122568
|
const libtess_default_ = libtess_libtess;
|
|
122542
122569
|
;
|
|
122543
122570
|
|
|
122544
122571
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122545
122572
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122546
122573
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122547
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122574
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(576);
|
|
122548
122575
|
/*******************************************************************************
|
|
122549
122576
|
*
|
|
122550
122577
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122852,7 +122879,7 @@ Object .assign (X3D,
|
|
|
122852
122879
|
|
|
122853
122880
|
// Assign X3D to global namespace.
|
|
122854
122881
|
|
|
122855
|
-
window [Symbol .for ("X_ITE.X3D-9.2.
|
|
122882
|
+
window [Symbol .for ("X_ITE.X3D-9.2.2")] = x_ite_X3D;
|
|
122856
122883
|
|
|
122857
122884
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122858
122885
|
|