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.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v9.2.
|
|
1
|
+
/* X_ITE v9.2.2 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 464:
|
|
4
4
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
5
5
|
|
|
6
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
6
|
+
/* provided dependency */ var jQuery = __webpack_require__(576);
|
|
7
7
|
/**
|
|
8
8
|
* @preserve jquery.fullscreen 1.1.5
|
|
9
9
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -199,7 +199,7 @@ installFullScreenHandlers();
|
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
|
-
/***/
|
|
202
|
+
/***/ 710:
|
|
203
203
|
/***/ ((module, exports, __webpack_require__) => {
|
|
204
204
|
|
|
205
205
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
213
213
|
(function (factory) {
|
|
214
214
|
if ( true ) {
|
|
215
215
|
// AMD. Register as an anonymous module.
|
|
216
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
216
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(576)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
217
217
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
218
218
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
219
219
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
424
424
|
|
|
425
425
|
/***/ }),
|
|
426
426
|
|
|
427
|
-
/***/
|
|
427
|
+
/***/ 576:
|
|
428
428
|
/***/ (function(module, exports) {
|
|
429
429
|
|
|
430
430
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11148,7 +11148,7 @@ return jQuery;
|
|
|
11148
11148
|
|
|
11149
11149
|
/***/ }),
|
|
11150
11150
|
|
|
11151
|
-
/***/
|
|
11151
|
+
/***/ 85:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 905:
|
|
15931
15931
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15932
15932
|
|
|
15933
15933
|
|
|
@@ -19172,7 +19172,7 @@ if (true) {
|
|
|
19172
19172
|
|
|
19173
19173
|
/***/ }),
|
|
19174
19174
|
|
|
19175
|
-
/***/
|
|
19175
|
+
/***/ 606:
|
|
19176
19176
|
/***/ (function(module, exports) {
|
|
19177
19177
|
|
|
19178
19178
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20299
20299
|
}
|
|
20300
20300
|
else
|
|
20301
20301
|
{
|
|
20302
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-9.2.
|
|
20302
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.2.2")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -20893,6 +20893,7 @@ function Generator ({ style = "TIDY", indent = "", precision = 7, doublePrecisio
|
|
|
20893
20893
|
|
|
20894
20894
|
this .executionContextStack = [ ];
|
|
20895
20895
|
this .importedNodesIndex = new Map ();
|
|
20896
|
+
this .importedNames = new Map ();
|
|
20896
20897
|
this .exportedNodesIndex = new Map ();
|
|
20897
20898
|
this .nodes = new Set ();
|
|
20898
20899
|
this .names = new Map ();
|
|
@@ -21205,7 +21206,7 @@ Object .assign (Generator .prototype,
|
|
|
21205
21206
|
if (baseNode .hasRoutes ())
|
|
21206
21207
|
return true;
|
|
21207
21208
|
|
|
21208
|
-
const executionContext =
|
|
21209
|
+
const executionContext = this .ExecutionContext ();
|
|
21209
21210
|
|
|
21210
21211
|
if (this .importedNodesIndex .get (executionContext) ?.has (baseNode))
|
|
21211
21212
|
return true;
|
|
@@ -21215,15 +21216,19 @@ Object .assign (Generator .prototype,
|
|
|
21215
21216
|
|
|
21216
21217
|
return false;
|
|
21217
21218
|
},
|
|
21218
|
-
ImportedName (
|
|
21219
|
+
ImportedName (importedNode)
|
|
21219
21220
|
{
|
|
21221
|
+
if (this .importedNames .has (importedNode))
|
|
21222
|
+
return this .importedNames .get (importedNode);
|
|
21223
|
+
|
|
21220
21224
|
const
|
|
21221
21225
|
names = this .names .get (this .ExecutionContext ()),
|
|
21222
|
-
newName = getUniqueName (names,
|
|
21226
|
+
newName = getUniqueName (names, importedNode .getImportedName ());
|
|
21223
21227
|
|
|
21224
21228
|
// Add to indices.
|
|
21225
21229
|
|
|
21226
21230
|
names .add (newName);
|
|
21231
|
+
this .importedNames .set (importedNode, newName);
|
|
21227
21232
|
|
|
21228
21233
|
return newName;
|
|
21229
21234
|
},
|
|
@@ -21380,105 +21385,6 @@ const Generator_default_ = Generator;
|
|
|
21380
21385
|
|
|
21381
21386
|
x_ite_Namespace .add ("Generator", "x_ite/InputOutput/Generator", Generator_default_);
|
|
21382
21387
|
/* harmony default export */ const InputOutput_Generator = (Generator_default_);
|
|
21383
|
-
;// CONCATENATED MODULE: ./src/standard/Utility/MapUtilities.js
|
|
21384
|
-
/*******************************************************************************
|
|
21385
|
-
*
|
|
21386
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
21387
|
-
*
|
|
21388
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
21389
|
-
*
|
|
21390
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
21391
|
-
*
|
|
21392
|
-
* The copyright notice above does not evidence any actual of intended
|
|
21393
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
21394
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
21395
|
-
* create3000.
|
|
21396
|
-
*
|
|
21397
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
21398
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
21399
|
-
* permission of create3000.
|
|
21400
|
-
*
|
|
21401
|
-
* NON-MILITARY USE ONLY
|
|
21402
|
-
*
|
|
21403
|
-
* All create3000 software are effectively free software with a non-military use
|
|
21404
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
21405
|
-
* source in any way you please with the exception anything that uses it must be
|
|
21406
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
21407
|
-
*
|
|
21408
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
21409
|
-
*
|
|
21410
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
21411
|
-
*
|
|
21412
|
-
* This file is part of the X_ITE Project.
|
|
21413
|
-
*
|
|
21414
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
21415
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
21416
|
-
* Free Software Foundation.
|
|
21417
|
-
*
|
|
21418
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
21419
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
21420
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
21421
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
21422
|
-
*
|
|
21423
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
21424
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
21425
|
-
* copy of the GPLv3 License.
|
|
21426
|
-
*
|
|
21427
|
-
* For Silvio, Joy and Adi.
|
|
21428
|
-
*
|
|
21429
|
-
******************************************************************************/
|
|
21430
|
-
|
|
21431
|
-
const MapUtilities =
|
|
21432
|
-
{
|
|
21433
|
-
assign: (() =>
|
|
21434
|
-
{
|
|
21435
|
-
function set (value, key)
|
|
21436
|
-
{
|
|
21437
|
-
this .set (key, value);
|
|
21438
|
-
}
|
|
21439
|
-
|
|
21440
|
-
return function (m1, m2)
|
|
21441
|
-
{
|
|
21442
|
-
m1 .clear ();
|
|
21443
|
-
m2 .forEach (set, m1);
|
|
21444
|
-
|
|
21445
|
-
return m1;
|
|
21446
|
-
};
|
|
21447
|
-
})(),
|
|
21448
|
-
values: (() =>
|
|
21449
|
-
{
|
|
21450
|
-
function push (value) { this .push (value); }
|
|
21451
|
-
|
|
21452
|
-
const values = new WeakMap ();
|
|
21453
|
-
|
|
21454
|
-
return function (m)
|
|
21455
|
-
{
|
|
21456
|
-
if (m .size)
|
|
21457
|
-
{
|
|
21458
|
-
let a = values .get (m);
|
|
21459
|
-
|
|
21460
|
-
if (a)
|
|
21461
|
-
a .length = 0;
|
|
21462
|
-
else
|
|
21463
|
-
values .set (m, a = [ ]);
|
|
21464
|
-
|
|
21465
|
-
m .forEach (push, a);
|
|
21466
|
-
|
|
21467
|
-
return a;
|
|
21468
|
-
}
|
|
21469
|
-
else
|
|
21470
|
-
{
|
|
21471
|
-
return m .values ();
|
|
21472
|
-
}
|
|
21473
|
-
};
|
|
21474
|
-
})(),
|
|
21475
|
-
};
|
|
21476
|
-
|
|
21477
|
-
const MapUtilities_default_ = MapUtilities;
|
|
21478
|
-
;
|
|
21479
|
-
|
|
21480
|
-
x_ite_Namespace .add ("MapUtilities", "standard/Utility/MapUtilities", MapUtilities_default_);
|
|
21481
|
-
/* harmony default export */ const Utility_MapUtilities = (MapUtilities_default_);
|
|
21482
21388
|
;// CONCATENATED MODULE: ./src/x_ite/DEVELOPMENT.js
|
|
21483
21389
|
/*******************************************************************************
|
|
21484
21390
|
*
|
|
@@ -21585,7 +21491,6 @@ x_ite_Namespace .add ("DEVELOPMENT", "x_ite/DEVELOPMENT", DEVELOPMENT_default_);
|
|
|
21585
21491
|
|
|
21586
21492
|
|
|
21587
21493
|
|
|
21588
|
-
|
|
21589
21494
|
const
|
|
21590
21495
|
_name = Symbol (),
|
|
21591
21496
|
_interests = Symbol (),
|
|
@@ -21625,17 +21530,18 @@ Object .assign (X3DObject .prototype,
|
|
|
21625
21530
|
},
|
|
21626
21531
|
addInterest (callbackName, object, ... args)
|
|
21627
21532
|
{
|
|
21628
|
-
if (this [_interests] === X3DObject .prototype [_interests])
|
|
21629
|
-
this [_interests] = new Map ();
|
|
21630
|
-
|
|
21631
21533
|
const
|
|
21632
21534
|
interestId = X3DObject .getInterestId (callbackName, object),
|
|
21633
21535
|
callback = object [callbackName];
|
|
21634
21536
|
|
|
21537
|
+
this [_interests] = new Map (this [_interests]);
|
|
21538
|
+
|
|
21635
21539
|
this [_interests] .set (interestId, callback .bind (object, ... args, this));
|
|
21636
21540
|
},
|
|
21637
21541
|
removeInterest (callbackName, object)
|
|
21638
21542
|
{
|
|
21543
|
+
this [_interests] = new Map (this [_interests]);
|
|
21544
|
+
|
|
21639
21545
|
this [_interests] .delete (X3DObject .getInterestId (callbackName, object));
|
|
21640
21546
|
},
|
|
21641
21547
|
getInterests ()
|
|
@@ -21644,7 +21550,7 @@ Object .assign (X3DObject .prototype,
|
|
|
21644
21550
|
},
|
|
21645
21551
|
processInterests ()
|
|
21646
21552
|
{
|
|
21647
|
-
for (const interest of
|
|
21553
|
+
for (const interest of this [_interests] .values ())
|
|
21648
21554
|
interest ();
|
|
21649
21555
|
},
|
|
21650
21556
|
getUserData (key)
|
|
@@ -22412,6 +22318,13 @@ Object .assign (Object .setPrototypeOf (X3DInfoArray .prototype, Base_X3DChildOb
|
|
|
22412
22318
|
|
|
22413
22319
|
return copy;
|
|
22414
22320
|
},
|
|
22321
|
+
clear ()
|
|
22322
|
+
{
|
|
22323
|
+
this [_array] .length = 0;
|
|
22324
|
+
this [_index] .clear ();
|
|
22325
|
+
|
|
22326
|
+
this .addEvent ();
|
|
22327
|
+
},
|
|
22415
22328
|
assign (array)
|
|
22416
22329
|
{
|
|
22417
22330
|
if (!(array instanceof this .constructor))
|
|
@@ -22783,7 +22696,6 @@ x_ite_Namespace .add ("FieldDefinitionArray", "x_ite/Base/FieldDefinitionArray",
|
|
|
22783
22696
|
|
|
22784
22697
|
|
|
22785
22698
|
|
|
22786
|
-
|
|
22787
22699
|
const
|
|
22788
22700
|
_value = Symbol (),
|
|
22789
22701
|
_accessType = Symbol (),
|
|
@@ -22960,13 +22872,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22960
22872
|
},
|
|
22961
22873
|
addReferencesCallback (key, object)
|
|
22962
22874
|
{
|
|
22963
|
-
|
|
22964
|
-
this [_referencesCallbacks] = new Map ();
|
|
22875
|
+
this [_referencesCallbacks] = new Map (this [_referencesCallbacks]);
|
|
22965
22876
|
|
|
22966
22877
|
this [_referencesCallbacks] .set (key, object);
|
|
22967
22878
|
},
|
|
22968
22879
|
removeReferencesCallback (key)
|
|
22969
22880
|
{
|
|
22881
|
+
this [_referencesCallbacks] = new Map (this [_referencesCallbacks]);
|
|
22882
|
+
|
|
22970
22883
|
this [_referencesCallbacks] .delete (key);
|
|
22971
22884
|
},
|
|
22972
22885
|
getReferencesCallbacks ()
|
|
@@ -22975,7 +22888,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22975
22888
|
},
|
|
22976
22889
|
processReferencesCallbacks ()
|
|
22977
22890
|
{
|
|
22978
|
-
for (const callback of
|
|
22891
|
+
for (const callback of this [_referencesCallbacks] .values ())
|
|
22979
22892
|
callback ();
|
|
22980
22893
|
},
|
|
22981
22894
|
addFieldInterest (field)
|
|
@@ -22995,13 +22908,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22995
22908
|
},
|
|
22996
22909
|
addFieldCallback (key, object)
|
|
22997
22910
|
{
|
|
22998
|
-
|
|
22999
|
-
this [_fieldCallbacks] = new Map ();
|
|
22911
|
+
this [_fieldCallbacks] = new Map (this [_fieldCallbacks]);
|
|
23000
22912
|
|
|
23001
22913
|
this [_fieldCallbacks] .set (key, object);
|
|
23002
22914
|
},
|
|
23003
22915
|
removeFieldCallback (key)
|
|
23004
22916
|
{
|
|
22917
|
+
this [_fieldCallbacks] = new Map (this [_fieldCallbacks]);
|
|
22918
|
+
|
|
23005
22919
|
this [_fieldCallbacks] .delete (key);
|
|
23006
22920
|
},
|
|
23007
22921
|
getFieldCallbacks ()
|
|
@@ -23050,13 +22964,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23050
22964
|
{
|
|
23051
22965
|
// Processed if routes are changed.
|
|
23052
22966
|
|
|
23053
|
-
|
|
23054
|
-
this [_routeCallbacks] = new Map ();
|
|
22967
|
+
this [_routeCallbacks] = new Map (this [_routeCallbacks]);
|
|
23055
22968
|
|
|
23056
22969
|
this [_routeCallbacks] .set (key, object);
|
|
23057
22970
|
},
|
|
23058
22971
|
removeRouteCallback (key)
|
|
23059
22972
|
{
|
|
22973
|
+
this [_routeCallbacks] = new Map (this [_routeCallbacks]);
|
|
22974
|
+
|
|
23060
22975
|
this [_routeCallbacks] .delete (key);
|
|
23061
22976
|
},
|
|
23062
22977
|
getRouteCallbacks ()
|
|
@@ -23065,7 +22980,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23065
22980
|
},
|
|
23066
22981
|
processRouteCallbacks ()
|
|
23067
22982
|
{
|
|
23068
|
-
for (const callback of
|
|
22983
|
+
for (const callback of this [_routeCallbacks] .values ())
|
|
23069
22984
|
callback ();
|
|
23070
22985
|
},
|
|
23071
22986
|
processEvent (event = Base_Events .create (this))
|
|
@@ -23108,7 +23023,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23108
23023
|
|
|
23109
23024
|
// Process field callbacks.
|
|
23110
23025
|
|
|
23111
|
-
for (const callback of
|
|
23026
|
+
for (const callback of this [_fieldCallbacks] .values ())
|
|
23112
23027
|
callback (this .valueOf ());
|
|
23113
23028
|
},
|
|
23114
23029
|
fromString (string, scene)
|
|
@@ -34293,7 +34208,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34293
34208
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34294
34209
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34295
34210
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34296
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34211
|
+
/* provided dependency */ var $ = __webpack_require__(576);
|
|
34297
34212
|
/*******************************************************************************
|
|
34298
34213
|
*
|
|
34299
34214
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34430,7 +34345,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34430
34345
|
*
|
|
34431
34346
|
******************************************************************************/
|
|
34432
34347
|
|
|
34433
|
-
const BROWSER_VERSION_default_ = "9.2.
|
|
34348
|
+
const BROWSER_VERSION_default_ = "9.2.2";
|
|
34434
34349
|
;
|
|
34435
34350
|
|
|
34436
34351
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37290,6 +37205,10 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37290
37205
|
{
|
|
37291
37206
|
return this [_importedName];
|
|
37292
37207
|
},
|
|
37208
|
+
[Symbol .for ("X_ITE.X3DImportedNode.setImportName")] (importName)
|
|
37209
|
+
{
|
|
37210
|
+
this [_importedName] = importName;
|
|
37211
|
+
},
|
|
37293
37212
|
toVRMLStream (generator)
|
|
37294
37213
|
{
|
|
37295
37214
|
if (!generator .ExistsNode (this .getInlineNode ()))
|
|
@@ -37297,7 +37216,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37297
37216
|
|
|
37298
37217
|
generator .AddRouteNode (this);
|
|
37299
37218
|
|
|
37300
|
-
const importedName = generator .ImportedName (this
|
|
37219
|
+
const importedName = generator .ImportedName (this);
|
|
37301
37220
|
|
|
37302
37221
|
generator .string += generator .Indent ();
|
|
37303
37222
|
generator .string += "IMPORT";
|
|
@@ -37321,7 +37240,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37321
37240
|
|
|
37322
37241
|
generator .AddRouteNode (this);
|
|
37323
37242
|
|
|
37324
|
-
const importedName = generator .ImportedName (this
|
|
37243
|
+
const importedName = generator .ImportedName (this);
|
|
37325
37244
|
|
|
37326
37245
|
generator .string += generator .Indent ();
|
|
37327
37246
|
generator .string += "<IMPORT";
|
|
@@ -37351,7 +37270,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
37351
37270
|
|
|
37352
37271
|
generator .AddRouteNode (this);
|
|
37353
37272
|
|
|
37354
|
-
const importedName = generator .ImportedName (this
|
|
37273
|
+
const importedName = generator .ImportedName (this);
|
|
37355
37274
|
|
|
37356
37275
|
generator .string += generator .Indent ();
|
|
37357
37276
|
generator .string += '{';
|
|
@@ -37739,7 +37658,7 @@ Object .assign (X3DUrlObject .prototype,
|
|
|
37739
37658
|
|
|
37740
37659
|
const browser = this .getBrowser ();
|
|
37741
37660
|
|
|
37742
|
-
if (!browser .getBrowserOption ("LoadUrlObjects") && this .getExecutionContext () !== browser .getPrivateScene ()
|
|
37661
|
+
if (!browser .getBrowserOption ("LoadUrlObjects") && this .getExecutionContext () !== browser .getPrivateScene ())
|
|
37743
37662
|
{
|
|
37744
37663
|
resolve ();
|
|
37745
37664
|
return;
|
|
@@ -38570,7 +38489,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38570
38489
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38571
38490
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38572
38491
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38573
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38492
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(576);
|
|
38574
38493
|
/*******************************************************************************
|
|
38575
38494
|
*
|
|
38576
38495
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -38714,6 +38633,26 @@ Object .assign (X3DParser .prototype,
|
|
|
38714
38633
|
|
|
38715
38634
|
return name;
|
|
38716
38635
|
},
|
|
38636
|
+
renameExistingNode (name)
|
|
38637
|
+
{
|
|
38638
|
+
try
|
|
38639
|
+
{
|
|
38640
|
+
const namedNode = this .getExecutionContext () .getNamedNode (name);
|
|
38641
|
+
|
|
38642
|
+
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (name), namedNode);
|
|
38643
|
+
}
|
|
38644
|
+
catch
|
|
38645
|
+
{ }
|
|
38646
|
+
|
|
38647
|
+
try
|
|
38648
|
+
{
|
|
38649
|
+
const importedName = this .getExecutionContext () .getUniqueImportName (name);
|
|
38650
|
+
|
|
38651
|
+
this .getExecutionContext () .renameImportedNode (name, importedName);
|
|
38652
|
+
}
|
|
38653
|
+
catch
|
|
38654
|
+
{ }
|
|
38655
|
+
},
|
|
38717
38656
|
});
|
|
38718
38657
|
|
|
38719
38658
|
const X3DParser_default_ = X3DParser;
|
|
@@ -38812,7 +38751,7 @@ const Expressions_default_ = Expressions;
|
|
|
38812
38751
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
38813
38752
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
38814
38753
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
38815
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
38754
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(576);
|
|
38816
38755
|
/*******************************************************************************
|
|
38817
38756
|
*
|
|
38818
38757
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39392,13 +39331,17 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39392
39331
|
var exportedNodeNameId = localNodeNameId;
|
|
39393
39332
|
}
|
|
39394
39333
|
|
|
39395
|
-
|
|
39334
|
+
try
|
|
39396
39335
|
{
|
|
39397
|
-
this .getScene () .
|
|
39398
|
-
|
|
39336
|
+
const existingNode = this .getScene () .getExportedNode (exportedNodeNameId);
|
|
39337
|
+
|
|
39338
|
+
this .getScene () .addExportedNode (this .getScene () .getUniqueExportName (exportedNodeNameId), existingNode);
|
|
39399
39339
|
}
|
|
39340
|
+
catch
|
|
39341
|
+
{ }
|
|
39400
39342
|
|
|
39401
|
-
|
|
39343
|
+
this .getScene () .updateExportedNode (exportedNodeNameId, node);
|
|
39344
|
+
return true;
|
|
39402
39345
|
}
|
|
39403
39346
|
|
|
39404
39347
|
throw new Error ("No name given after EXPORT.");
|
|
@@ -39441,7 +39384,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39441
39384
|
var nodeNameId = exportedNodeNameId;
|
|
39442
39385
|
}
|
|
39443
39386
|
|
|
39444
|
-
|
|
39387
|
+
// Rename existing imported node.
|
|
39388
|
+
|
|
39389
|
+
this .renameExistingNode (nodeNameId);
|
|
39390
|
+
|
|
39391
|
+
// Add new imported node.
|
|
39392
|
+
|
|
39393
|
+
this .getExecutionContext () .addImportedNode (namedNode, exportedNodeNameId, nodeNameId);
|
|
39445
39394
|
return true;
|
|
39446
39395
|
}
|
|
39447
39396
|
|
|
@@ -40063,14 +40012,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
40063
40012
|
|
|
40064
40013
|
if (nodeNameId .length)
|
|
40065
40014
|
{
|
|
40066
|
-
|
|
40067
|
-
{
|
|
40068
|
-
const namedNode = this .getExecutionContext () .getNamedNode (nodeNameId);
|
|
40069
|
-
|
|
40070
|
-
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (nodeNameId), namedNode);
|
|
40071
|
-
}
|
|
40072
|
-
catch
|
|
40073
|
-
{ }
|
|
40015
|
+
this .renameExistingNode (nodeNameId);
|
|
40074
40016
|
|
|
40075
40017
|
this .getExecutionContext () .updateNamedNode (nodeNameId, baseNode);
|
|
40076
40018
|
}
|
|
@@ -41495,7 +41437,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41495
41437
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41496
41438
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41497
41439
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41498
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41440
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(576);
|
|
41499
41441
|
/*******************************************************************************
|
|
41500
41442
|
*
|
|
41501
41443
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41803,10 +41745,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41803
41745
|
componentSupportLevel = parseInt (xmlElement .getAttribute ("level"));
|
|
41804
41746
|
|
|
41805
41747
|
if (componentNameIdCharacters === null)
|
|
41806
|
-
return console .warn ("XML Parser
|
|
41748
|
+
return console .warn ("XML Parser: Bad component statement. Expected name attribute.");
|
|
41807
41749
|
|
|
41808
41750
|
if (componentSupportLevel === null)
|
|
41809
|
-
return console .warn ("XML Parser
|
|
41751
|
+
return console .warn ("XML Parser: Bad component statement. Expected level attribute.");
|
|
41810
41752
|
|
|
41811
41753
|
const component = this .getBrowser () .getComponent (componentNameIdCharacters, componentSupportLevel);
|
|
41812
41754
|
|
|
@@ -41825,13 +41767,13 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41825
41767
|
conversionFactor = xmlElement .getAttribute ("conversionFactor"); //works for html5 as well
|
|
41826
41768
|
|
|
41827
41769
|
if (category === null)
|
|
41828
|
-
return console .warn ("XML Parser
|
|
41770
|
+
return console .warn ("XML Parser: Bad unit statement. Expected category attribute.");
|
|
41829
41771
|
|
|
41830
41772
|
if (name === null)
|
|
41831
|
-
return console .warn ("XML Parser
|
|
41773
|
+
return console .warn ("XML Parser: Bad unit statement. Expected name attribute.");
|
|
41832
41774
|
|
|
41833
41775
|
if (conversionFactor === null)
|
|
41834
|
-
return console .warn ("XML Parser
|
|
41776
|
+
return console .warn ("XML Parser: Bad unit statement. Expected conversionFactor attribute.");
|
|
41835
41777
|
|
|
41836
41778
|
this .getScene () .updateUnit (category, name, parseFloat (conversionFactor));
|
|
41837
41779
|
},
|
|
@@ -41842,10 +41784,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41842
41784
|
metavalue = xmlElement .getAttribute ("content");
|
|
41843
41785
|
|
|
41844
41786
|
if (metakey === null)
|
|
41845
|
-
return console .warn ("XML Parser
|
|
41787
|
+
return console .warn ("XML Parser: Bad meta statement. Expected name attribute.");
|
|
41846
41788
|
|
|
41847
41789
|
if (metavalue === null)
|
|
41848
|
-
return console .warn ("XML Parser
|
|
41790
|
+
return console .warn ("XML Parser: Bad meta statement. Expected content attribute.");
|
|
41849
41791
|
|
|
41850
41792
|
this .getScene () .addMetaData (metakey, metavalue);
|
|
41851
41793
|
},
|
|
@@ -41930,7 +41872,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
41930
41872
|
this .parser .sfstringValues (this .url);
|
|
41931
41873
|
|
|
41932
41874
|
if (!this .url .length)
|
|
41933
|
-
console .warn ("XML Parser
|
|
41875
|
+
console .warn ("XML Parser: Bad ExternProtoDeclare statement. Expected url attribute with value.");
|
|
41934
41876
|
|
|
41935
41877
|
const externproto = new Prototype_X3DExternProtoDeclaration (this .getExecutionContext (), this .url);
|
|
41936
41878
|
|
|
@@ -42109,10 +42051,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42109
42051
|
protoFieldName = xmlElement .getAttribute ("protoField");
|
|
42110
42052
|
|
|
42111
42053
|
if (nodeFieldName === null)
|
|
42112
|
-
return console .warn ("XML Parser
|
|
42054
|
+
return console .warn ("XML Parser: Bad connect statement. Expected nodeField attribute.");
|
|
42113
42055
|
|
|
42114
42056
|
if (protoFieldName === null)
|
|
42115
|
-
return console .warn ("XML Parser
|
|
42057
|
+
return console .warn ("XML Parser: Bad connect statement. Expected protoField attribute.");
|
|
42116
42058
|
|
|
42117
42059
|
try
|
|
42118
42060
|
{
|
|
@@ -42142,7 +42084,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42142
42084
|
}
|
|
42143
42085
|
catch (error)
|
|
42144
42086
|
{
|
|
42145
|
-
console .warn (`XML Parser
|
|
42087
|
+
console .warn (`XML Parser: Couldn't create IS reference. ${error .message}`);
|
|
42146
42088
|
}
|
|
42147
42089
|
},
|
|
42148
42090
|
protoInstanceElement (xmlElement)
|
|
@@ -42177,7 +42119,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42177
42119
|
}
|
|
42178
42120
|
catch (error)
|
|
42179
42121
|
{
|
|
42180
|
-
console .warn ("XML Parser
|
|
42122
|
+
console .warn ("XML Parser: ", error .message);
|
|
42181
42123
|
|
|
42182
42124
|
if (DEVELOPMENT)
|
|
42183
42125
|
console .error (error);
|
|
@@ -42220,7 +42162,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42220
42162
|
}
|
|
42221
42163
|
catch (error)
|
|
42222
42164
|
{
|
|
42223
|
-
console .warn (`XML Parser
|
|
42165
|
+
console .warn (`XML Parser: Couldn't assign field value. ${error .message}`);
|
|
42224
42166
|
}
|
|
42225
42167
|
},
|
|
42226
42168
|
nodeElement (xmlElement)
|
|
@@ -42267,7 +42209,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42267
42209
|
if (DEVELOPMENT)
|
|
42268
42210
|
console .error (error);
|
|
42269
42211
|
else
|
|
42270
|
-
console .error (`XML Parser
|
|
42212
|
+
console .error (`XML Parser: ${error .message}`);
|
|
42271
42213
|
}
|
|
42272
42214
|
},
|
|
42273
42215
|
scriptElement (element)
|
|
@@ -42319,7 +42261,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42319
42261
|
}
|
|
42320
42262
|
catch (error)
|
|
42321
42263
|
{
|
|
42322
|
-
console .warn (`XML Parser
|
|
42264
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42323
42265
|
|
|
42324
42266
|
if (DEVELOPMENT)
|
|
42325
42267
|
console .error (error);
|
|
@@ -42342,23 +42284,23 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42342
42284
|
|
|
42343
42285
|
const inlineNode = this .getExecutionContext () .getNamedNode (inlineNodeName);
|
|
42344
42286
|
|
|
42345
|
-
|
|
42287
|
+
// Rename existing imported node.
|
|
42288
|
+
|
|
42289
|
+
this .renameExistingNode (localNodeName);
|
|
42290
|
+
|
|
42291
|
+
// Add new imported node.
|
|
42292
|
+
|
|
42293
|
+
this .getExecutionContext () .addImportedNode (inlineNode, exportedNodeName, localNodeName);
|
|
42346
42294
|
}
|
|
42347
42295
|
catch (error)
|
|
42348
42296
|
{
|
|
42349
|
-
console .warn (`XML Parser
|
|
42297
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42350
42298
|
}
|
|
42351
42299
|
},
|
|
42352
42300
|
exportElement (xmlElement)
|
|
42353
42301
|
{
|
|
42354
42302
|
try
|
|
42355
42303
|
{
|
|
42356
|
-
if (this .getScene () !== this .getExecutionContext ())
|
|
42357
|
-
{
|
|
42358
|
-
console .warn ("XML Parser Error: Export statement not allowed here.");
|
|
42359
|
-
return;
|
|
42360
|
-
}
|
|
42361
|
-
|
|
42362
42304
|
const
|
|
42363
42305
|
localNodeName = xmlElement .getAttribute ("localDEF"),
|
|
42364
42306
|
exportedNodeName = xmlElement .getAttribute ("AS") || localNodeName;
|
|
@@ -42368,11 +42310,20 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42368
42310
|
|
|
42369
42311
|
const localNode = this .getExecutionContext () .getLocalNode (localNodeName);
|
|
42370
42312
|
|
|
42313
|
+
try
|
|
42314
|
+
{
|
|
42315
|
+
const existingNode = this .getScene () .getExportedNode (exportedNodeName);
|
|
42316
|
+
|
|
42317
|
+
this .getScene () .addExportedNode (this .getScene () .getUniqueExportName (exportedNodeName), existingNode);
|
|
42318
|
+
}
|
|
42319
|
+
catch
|
|
42320
|
+
{ }
|
|
42321
|
+
|
|
42371
42322
|
this .getScene () .updateExportedNode (exportedNodeName, localNode);
|
|
42372
42323
|
}
|
|
42373
42324
|
catch (error)
|
|
42374
42325
|
{
|
|
42375
|
-
console .warn (`XML Parser
|
|
42326
|
+
console .warn (`XML Parser: ${error .message}`);
|
|
42376
42327
|
}
|
|
42377
42328
|
},
|
|
42378
42329
|
cdataNode (xmlElement)
|
|
@@ -42395,13 +42346,16 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42395
42346
|
{
|
|
42396
42347
|
const node = this .getExecutionContext () .getNamedNode (name);
|
|
42397
42348
|
|
|
42349
|
+
if (xmlElement .nodeName !== node .getNodeTypeName ())
|
|
42350
|
+
console .warn (`XML Parser: DEF/USE mismatch, '${name}', ${xmlElement .nodeName} != ${node .getNodeTypeName ()}.`);
|
|
42351
|
+
|
|
42398
42352
|
this .addNode (xmlElement, node .getValue ());
|
|
42399
42353
|
return true;
|
|
42400
42354
|
}
|
|
42401
42355
|
}
|
|
42402
42356
|
catch (error)
|
|
42403
42357
|
{
|
|
42404
|
-
console .warn (`Invalid USE name: ${error .message}`);
|
|
42358
|
+
console .warn (`XML Parser: Invalid USE name: ${error .message}`);
|
|
42405
42359
|
}
|
|
42406
42360
|
|
|
42407
42361
|
return false;
|
|
@@ -42414,21 +42368,14 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42414
42368
|
|
|
42415
42369
|
if (name)
|
|
42416
42370
|
{
|
|
42417
|
-
|
|
42418
|
-
{
|
|
42419
|
-
const namedNode = this .getExecutionContext () .getNamedNode (name);
|
|
42420
|
-
|
|
42421
|
-
this .getExecutionContext () .updateNamedNode (this .getExecutionContext () .getUniqueName (name), namedNode);
|
|
42422
|
-
}
|
|
42423
|
-
catch
|
|
42424
|
-
{ }
|
|
42371
|
+
this .renameExistingNode (name);
|
|
42425
42372
|
|
|
42426
42373
|
this .getExecutionContext () .updateNamedNode (name, node);
|
|
42427
42374
|
}
|
|
42428
42375
|
}
|
|
42429
42376
|
catch (error)
|
|
42430
42377
|
{
|
|
42431
|
-
console .warn (`Invalid DEF name: ${error .message}`);
|
|
42378
|
+
console .warn (`XML Parser: Invalid DEF name: ${error .message}`);
|
|
42432
42379
|
}
|
|
42433
42380
|
},
|
|
42434
42381
|
nodeAttributes (xmlElement, node)
|
|
@@ -42523,7 +42470,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42523
42470
|
|
|
42524
42471
|
if (!containerField)
|
|
42525
42472
|
{
|
|
42526
|
-
console .warn ("Node must have a container field attribute.");
|
|
42473
|
+
console .warn ("XML Parser: Node must have a container field attribute.");
|
|
42527
42474
|
return;
|
|
42528
42475
|
}
|
|
42529
42476
|
|
|
@@ -43586,7 +43533,7 @@ const URLs_default_ = URLs;
|
|
|
43586
43533
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43587
43534
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43588
43535
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43589
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43536
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(576);
|
|
43590
43537
|
/*******************************************************************************
|
|
43591
43538
|
*
|
|
43592
43539
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46887,7 +46834,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46887
46834
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46888
46835
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46889
46836
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46890
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46837
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(576);
|
|
46891
46838
|
/*******************************************************************************
|
|
46892
46839
|
*
|
|
46893
46840
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47039,7 +46986,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47039
46986
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47040
46987
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47041
46988
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47042
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
46989
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(576);
|
|
47043
46990
|
/*******************************************************************************
|
|
47044
46991
|
*
|
|
47045
46992
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50394,8 +50341,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50394
50341
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50395
50342
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50396
50343
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50397
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50398
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50344
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(576);
|
|
50345
|
+
/* provided dependency */ var libtess = __webpack_require__(85);
|
|
50399
50346
|
/*******************************************************************************
|
|
50400
50347
|
*
|
|
50401
50348
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53163,7 +53110,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53163
53110
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53164
53111
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53165
53112
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53166
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53113
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(576);
|
|
53167
53114
|
/*******************************************************************************
|
|
53168
53115
|
*
|
|
53169
53116
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53500,7 +53447,7 @@ const Plane3_default_ = Plane3;
|
|
|
53500
53447
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53501
53448
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53502
53449
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53503
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53450
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(85);
|
|
53504
53451
|
/*******************************************************************************
|
|
53505
53452
|
*
|
|
53506
53453
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61006,7 +60953,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61006
60953
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61007
60954
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61008
60955
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61009
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
60956
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(576);
|
|
61010
60957
|
/*******************************************************************************
|
|
61011
60958
|
*
|
|
61012
60959
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -63483,22 +63430,34 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
63483
63430
|
{
|
|
63484
63431
|
return this ._position .getValue ();
|
|
63485
63432
|
},
|
|
63486
|
-
|
|
63433
|
+
setPosition (value)
|
|
63487
63434
|
{
|
|
63488
|
-
|
|
63435
|
+
this ._position = value;
|
|
63489
63436
|
},
|
|
63490
63437
|
getOrientation ()
|
|
63491
63438
|
{
|
|
63492
63439
|
return this ._orientation .getValue ();
|
|
63493
63440
|
},
|
|
63494
|
-
|
|
63441
|
+
setOrientation (value)
|
|
63495
63442
|
{
|
|
63496
|
-
|
|
63443
|
+
this ._orientation = value;
|
|
63497
63444
|
},
|
|
63498
63445
|
getCenterOfRotation ()
|
|
63499
63446
|
{
|
|
63500
63447
|
return this ._centerOfRotation .getValue ();
|
|
63501
63448
|
},
|
|
63449
|
+
setCenterOfRotation (value)
|
|
63450
|
+
{
|
|
63451
|
+
this ._centerOfRotation = value;
|
|
63452
|
+
},
|
|
63453
|
+
getUserPosition ()
|
|
63454
|
+
{
|
|
63455
|
+
return this .userPosition .assign (this .getPosition ()) .add (this ._positionOffset .getValue ());
|
|
63456
|
+
},
|
|
63457
|
+
getUserOrientation ()
|
|
63458
|
+
{
|
|
63459
|
+
return this .userOrientation .assign (this .getOrientation ()) .multRight (this ._orientationOffset .getValue ());
|
|
63460
|
+
},
|
|
63502
63461
|
getUserCenterOfRotation ()
|
|
63503
63462
|
{
|
|
63504
63463
|
return this .userCenterOfRotation .assign (this .getCenterOfRotation ()) .add (this ._centerOfRotationOffset .getValue ());
|
|
@@ -63968,7 +63927,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
63968
63927
|
const relative = Navigation_X3DViewpointNode .prototype .getRelativeTransformation .call (this, fromViewpointNode);
|
|
63969
63928
|
|
|
63970
63929
|
if (fromViewpointNode .constructor === this .constructor)
|
|
63971
|
-
relative .fieldOfView = fromViewpointNode .
|
|
63930
|
+
relative .fieldOfView = fromViewpointNode .getUserFieldOfView ();
|
|
63972
63931
|
|
|
63973
63932
|
return relative;
|
|
63974
63933
|
},
|
|
@@ -63976,7 +63935,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
63976
63935
|
{
|
|
63977
63936
|
if (fromViewpointNode .constructor === this .constructor)
|
|
63978
63937
|
{
|
|
63979
|
-
const scale = relative .fieldOfView / this .
|
|
63938
|
+
const scale = relative .fieldOfView / this .getUserFieldOfView ();
|
|
63980
63939
|
|
|
63981
63940
|
this .fieldOfViewScaleInterpolator ._keyValue = new x_ite_Fields .MFFloat (scale, this ._fieldOfViewScale .getValue ());
|
|
63982
63941
|
|
|
@@ -63994,6 +63953,12 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
63994
63953
|
return false;
|
|
63995
63954
|
},
|
|
63996
63955
|
getFieldOfView ()
|
|
63956
|
+
{
|
|
63957
|
+
const fov = this ._fieldOfView .getValue ();
|
|
63958
|
+
|
|
63959
|
+
return fov > 0 && fov < Math .PI ? fov : Math .PI / 4;
|
|
63960
|
+
},
|
|
63961
|
+
getUserFieldOfView ()
|
|
63997
63962
|
{
|
|
63998
63963
|
const fov = this ._fieldOfView .getValue () * this ._fieldOfViewScale .getValue ();
|
|
63999
63964
|
|
|
@@ -64007,7 +63972,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64007
63972
|
width = viewport [2],
|
|
64008
63973
|
height = viewport [3];
|
|
64009
63974
|
|
|
64010
|
-
let size = Math .abs (point .z) * Math .tan (this .
|
|
63975
|
+
let size = Math .abs (point .z) * Math .tan (this .getUserFieldOfView () / 2) * 2;
|
|
64011
63976
|
|
|
64012
63977
|
if (width > height)
|
|
64013
63978
|
size /= height;
|
|
@@ -64027,7 +63992,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64027
63992
|
const
|
|
64028
63993
|
width = viewport [2],
|
|
64029
63994
|
height = viewport [3],
|
|
64030
|
-
size = nearValue * Math .tan (this .
|
|
63995
|
+
size = nearValue * Math .tan (this .getUserFieldOfView () / 2) * 2,
|
|
64031
63996
|
aspect = width / height;
|
|
64032
63997
|
|
|
64033
63998
|
if (aspect > 1)
|
|
@@ -64038,11 +64003,11 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
64038
64003
|
})(),
|
|
64039
64004
|
getLookAtDistance (bbox)
|
|
64040
64005
|
{
|
|
64041
|
-
return (bbox .size .magnitude () / 2) / Math .tan (this .
|
|
64006
|
+
return (bbox .size .magnitude () / 2) / Math .tan (this .getUserFieldOfView () / 2);
|
|
64042
64007
|
},
|
|
64043
64008
|
getProjectionMatrixWithLimits (nearValue, farValue, viewport)
|
|
64044
64009
|
{
|
|
64045
|
-
return Geometry_Camera .perspective (this .
|
|
64010
|
+
return Geometry_Camera .perspective (this .getUserFieldOfView (), nearValue, farValue, viewport [2], viewport [3], this .projectionMatrix);
|
|
64046
64011
|
},
|
|
64047
64012
|
});
|
|
64048
64013
|
|
|
@@ -64374,16 +64339,16 @@ Object .assign (Object .setPrototypeOf (X3DGroupingNode .prototype, Core_X3DChil
|
|
|
64374
64339
|
this .set_children__ ();
|
|
64375
64340
|
},
|
|
64376
64341
|
getBBox (bbox, shadows)
|
|
64377
|
-
{
|
|
64378
|
-
return this .getSubBBox (bbox, shadows);
|
|
64379
|
-
},
|
|
64380
|
-
getSubBBox (bbox, shadows)
|
|
64381
64342
|
{
|
|
64382
64343
|
if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
|
|
64383
|
-
return
|
|
64344
|
+
return this .getSubBBox (bbox, shadows);
|
|
64384
64345
|
|
|
64385
64346
|
return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
|
|
64386
64347
|
},
|
|
64348
|
+
getSubBBox (bbox, shadows)
|
|
64349
|
+
{
|
|
64350
|
+
return Grouping_X3DBoundedObject .prototype .getBBox .call (this, this .visibleNodes, bbox, shadows);
|
|
64351
|
+
},
|
|
64387
64352
|
setAllowedTypes (/* type, ... */)
|
|
64388
64353
|
{
|
|
64389
64354
|
const allowedTypes = this .allowedTypes;
|
|
@@ -65593,7 +65558,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65593
65558
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65594
65559
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65595
65560
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65596
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65561
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(576);
|
|
65597
65562
|
/*******************************************************************************
|
|
65598
65563
|
*
|
|
65599
65564
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66524,7 +66489,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66524
66489
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66525
66490
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66526
66491
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66527
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66492
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(576);
|
|
66528
66493
|
/*******************************************************************************
|
|
66529
66494
|
*
|
|
66530
66495
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66744,11 +66709,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66744
66709
|
|
|
66745
66710
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66746
66711
|
? generator .Name (this [_sourceNode])
|
|
66747
|
-
: this [_sourceNode]
|
|
66712
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66748
66713
|
|
|
66749
66714
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66750
66715
|
? generator .Name (this [_destinationNode])
|
|
66751
|
-
: this [_destinationNode]
|
|
66716
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66752
66717
|
|
|
66753
66718
|
generator .string += generator .Indent ();
|
|
66754
66719
|
generator .string += "ROUTE";
|
|
@@ -66773,11 +66738,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66773
66738
|
|
|
66774
66739
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66775
66740
|
? generator .Name (this [_sourceNode])
|
|
66776
|
-
: this [_sourceNode]
|
|
66741
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66777
66742
|
|
|
66778
66743
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66779
66744
|
? generator .Name (this [_destinationNode])
|
|
66780
|
-
: this [_destinationNode]
|
|
66745
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66781
66746
|
|
|
66782
66747
|
generator .string += generator .Indent ();
|
|
66783
66748
|
generator .string += "<ROUTE";
|
|
@@ -66809,11 +66774,11 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
|
|
|
66809
66774
|
|
|
66810
66775
|
const sourceNodeName = this [_sourceNode] instanceof Core_X3DNode
|
|
66811
66776
|
? generator .Name (this [_sourceNode])
|
|
66812
|
-
: this [_sourceNode]
|
|
66777
|
+
: generator .ImportedName (this [_sourceNode]);
|
|
66813
66778
|
|
|
66814
66779
|
const destinationNodeName = this [_destinationNode] instanceof Core_X3DNode
|
|
66815
66780
|
? generator .Name (this [_destinationNode])
|
|
66816
|
-
: this [_destinationNode]
|
|
66781
|
+
: generator .ImportedName (this [_destinationNode]);
|
|
66817
66782
|
|
|
66818
66783
|
generator .string += generator .Indent ();
|
|
66819
66784
|
generator .string += '{';
|
|
@@ -67341,14 +67306,13 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67341
67306
|
|
|
67342
67307
|
// Remove named node.
|
|
67343
67308
|
|
|
67344
|
-
this .removeNamedNode (node .getName ());
|
|
67345
67309
|
this .removeNamedNode (name);
|
|
67346
67310
|
|
|
67347
67311
|
// Update named node.
|
|
67348
67312
|
|
|
67349
|
-
node .
|
|
67313
|
+
this [_namedNodes] .update (node .getName (), name, Fields_SFNodeCache .get (node));
|
|
67350
67314
|
|
|
67351
|
-
|
|
67315
|
+
node .setName (name);
|
|
67352
67316
|
|
|
67353
67317
|
this ._namedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67354
67318
|
},
|
|
@@ -67424,6 +67388,20 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67424
67388
|
|
|
67425
67389
|
this ._importedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
67426
67390
|
},
|
|
67391
|
+
renameImportedNode (oldImportedName, newImportedName)
|
|
67392
|
+
{
|
|
67393
|
+
const importedNode = this [_importedNodes] .get (oldImportedName);
|
|
67394
|
+
|
|
67395
|
+
if (!importedNode)
|
|
67396
|
+
throw new Error ("Couldn't rename imported node: imported node does not exists.");
|
|
67397
|
+
|
|
67398
|
+
if (this [_importedNodes] .get (newImportedName))
|
|
67399
|
+
throw new Error ("Couldn't rename imported node: new imported name does already exists.");
|
|
67400
|
+
|
|
67401
|
+
importedNode [Symbol .for ("X_ITE.X3DImportedNode.setImportName")] (newImportedName);
|
|
67402
|
+
|
|
67403
|
+
this [_importedNodes] .update (oldImportedName, newImportedName, importedNode);
|
|
67404
|
+
},
|
|
67427
67405
|
removeImportedNode (importedName)
|
|
67428
67406
|
{
|
|
67429
67407
|
importedName = String (importedName);
|
|
@@ -68212,7 +68190,7 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68212
68190
|
|
|
68213
68191
|
for (const protoField of this [_protoFields] .keys ())
|
|
68214
68192
|
{
|
|
68215
|
-
const oldFieldName = oldProtoFields .get (protoField);
|
|
68193
|
+
const oldFieldName = oldProtoFields .get (protoField) ?? protoField .getName ();
|
|
68216
68194
|
|
|
68217
68195
|
if (!oldFieldName)
|
|
68218
68196
|
continue;
|
|
@@ -76937,7 +76915,10 @@ Object .assign (Object .setPrototypeOf (X3DTransformMatrix3DNode .prototype, Gro
|
|
|
76937
76915
|
},
|
|
76938
76916
|
getBBox (bbox, shadows)
|
|
76939
76917
|
{
|
|
76940
|
-
|
|
76918
|
+
if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
|
|
76919
|
+
return this .getSubBBox (bbox, shadows) .multRight (this .matrix);
|
|
76920
|
+
|
|
76921
|
+
return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
|
|
76941
76922
|
},
|
|
76942
76923
|
traverse (type, renderObject)
|
|
76943
76924
|
{
|
|
@@ -82088,6 +82069,24 @@ Object .assign (Object .setPrototypeOf (OrthoViewpoint .prototype, Navigation_X3
|
|
|
82088
82069
|
{
|
|
82089
82070
|
return false;
|
|
82090
82071
|
},
|
|
82072
|
+
getFieldOfView ()
|
|
82073
|
+
{
|
|
82074
|
+
return [
|
|
82075
|
+
this .getMinimumX (),
|
|
82076
|
+
this .getMinimumY (),
|
|
82077
|
+
this .getMaximumX (),
|
|
82078
|
+
this .getMaximumY (),
|
|
82079
|
+
];
|
|
82080
|
+
},
|
|
82081
|
+
getUserFieldOfView ()
|
|
82082
|
+
{
|
|
82083
|
+
return [
|
|
82084
|
+
this .getUserMinimumX (),
|
|
82085
|
+
this .getUserMinimumY (),
|
|
82086
|
+
this .getUserMaximumX (),
|
|
82087
|
+
this .getUserMaximumY (),
|
|
82088
|
+
];
|
|
82089
|
+
},
|
|
82091
82090
|
getMinimumX ()
|
|
82092
82091
|
{
|
|
82093
82092
|
return this ._fieldOfView .length > 0 ? this ._fieldOfView [0] : -1;
|
|
@@ -89359,7 +89358,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89359
89358
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89360
89359
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89361
89360
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89362
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89361
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(576);
|
|
89363
89362
|
/*******************************************************************************
|
|
89364
89363
|
*
|
|
89365
89364
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95000,7 +94999,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95000
94999
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95001
95000
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95002
95001
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95003
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95002
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(576);
|
|
95004
95003
|
/*******************************************************************************
|
|
95005
95004
|
*
|
|
95006
95005
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95657,7 +95656,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95657
95656
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95658
95657
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95659
95658
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95660
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95659
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(576);
|
|
95661
95660
|
/*******************************************************************************
|
|
95662
95661
|
*
|
|
95663
95662
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99075,7 +99074,7 @@ const Components_Shape_default_ = {
|
|
|
99075
99074
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99076
99075
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99077
99076
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99078
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99077
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(576);
|
|
99079
99078
|
/*******************************************************************************
|
|
99080
99079
|
*
|
|
99081
99080
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99715,7 +99714,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99715
99714
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99716
99715
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99717
99716
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99718
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99717
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(576);
|
|
99719
99718
|
/*******************************************************************************
|
|
99720
99719
|
*
|
|
99721
99720
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100017,7 +100016,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100017
100016
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100018
100017
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100019
100018
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100020
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100019
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(576);
|
|
100021
100020
|
/*******************************************************************************
|
|
100022
100021
|
*
|
|
100023
100022
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101667,7 +101666,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101667
101666
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101668
101667
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101669
101668
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101670
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101669
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(576);
|
|
101671
101670
|
/*******************************************************************************
|
|
101672
101671
|
*
|
|
101673
101672
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103336,8 +103335,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103336
103335
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103337
103336
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103338
103337
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103339
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103340
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103338
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(576);
|
|
103339
|
+
/* provided dependency */ var SuperGif = __webpack_require__(606);
|
|
103341
103340
|
/*******************************************************************************
|
|
103342
103341
|
*
|
|
103343
103342
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106612,7 +106611,7 @@ const gettext_default_ = gettext;
|
|
|
106612
106611
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106613
106612
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106614
106613
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106615
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106614
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(576);
|
|
106616
106615
|
/*******************************************************************************
|
|
106617
106616
|
*
|
|
106618
106617
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107042,7 +107041,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107042
107041
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107043
107042
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107044
107043
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107045
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107044
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(576);
|
|
107046
107045
|
/*******************************************************************************
|
|
107047
107046
|
*
|
|
107048
107047
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107632,7 +107631,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107632
107631
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107633
107632
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107634
107633
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107635
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107634
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(576);
|
|
107636
107635
|
/*******************************************************************************
|
|
107637
107636
|
*
|
|
107638
107637
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107755,8 +107754,8 @@ const Notification_default_ = Notification;
|
|
|
107755
107754
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107756
107755
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107757
107756
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107758
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107759
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107757
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(464);
|
|
107758
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(576);
|
|
107760
107759
|
/*******************************************************************************
|
|
107761
107760
|
*
|
|
107762
107761
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109592,11 +109591,9 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
109592
109591
|
//if (node .getExecutionContext () !== this)
|
|
109593
109592
|
// throw new Error ("Couldn't update exported node: node does not belong to this execution context.");
|
|
109594
109593
|
|
|
109595
|
-
this .removeExportedNode (exportedName);
|
|
109596
|
-
|
|
109597
109594
|
const exportedNode = new Execution_X3DExportedNode (this, exportedName, node);
|
|
109598
109595
|
|
|
109599
|
-
this [_exportedNodes] .
|
|
109596
|
+
this [_exportedNodes] .update (exportedName, exportedName, exportedNode);
|
|
109600
109597
|
|
|
109601
109598
|
this ._exportedNodes_changed = this .getBrowser () .getCurrentTime ();
|
|
109602
109599
|
},
|
|
@@ -110510,7 +110507,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110510
110507
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110511
110508
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110512
110509
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110513
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110510
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(576);
|
|
110514
110511
|
/*******************************************************************************
|
|
110515
110512
|
*
|
|
110516
110513
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -111170,7 +111167,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111170
111167
|
vp .position = viewpoint .getUserPosition ();
|
|
111171
111168
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111172
111169
|
vp .centerOfRotation = viewpoint .getUserCenterOfRotation ();
|
|
111173
|
-
vp .fieldOfView = viewpoint .
|
|
111170
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111174
111171
|
break;
|
|
111175
111172
|
}
|
|
111176
111173
|
case "OrthoViewpoint":
|
|
@@ -111178,7 +111175,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111178
111175
|
vp .position = viewpoint .getUserPosition ();
|
|
111179
111176
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111180
111177
|
vp .centerOfRotation = viewpoint .getUserCenterOfRotation ();
|
|
111181
|
-
vp .fieldOfView =
|
|
111178
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111182
111179
|
break;
|
|
111183
111180
|
}
|
|
111184
111181
|
case "GeoViewpoint":
|
|
@@ -111201,7 +111198,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111201
111198
|
vp .position = viewpoint .getGeoCoord (viewpoint .getUserPosition (), geoCoord);
|
|
111202
111199
|
vp .orientation = viewpoint .getUserOrientation ();
|
|
111203
111200
|
vp .centerOfRotation = viewpoint .getGeoCoord (viewpoint .getUserCenterOfRotation (), geoCoord);
|
|
111204
|
-
vp .fieldOfView = viewpoint .
|
|
111201
|
+
vp .fieldOfView = viewpoint .getUserFieldOfView ();
|
|
111205
111202
|
break;
|
|
111206
111203
|
}
|
|
111207
111204
|
}
|
|
@@ -113033,8 +113030,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113033
113030
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113034
113031
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113035
113032
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113036
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113037
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113033
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(710);
|
|
113034
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(576);
|
|
113038
113035
|
/*******************************************************************************
|
|
113039
113036
|
*
|
|
113040
113037
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113906,8 +113903,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113906
113903
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113907
113904
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113908
113905
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113909
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113910
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
113906
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(710);
|
|
113907
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(576);
|
|
113911
113908
|
/*******************************************************************************
|
|
113912
113909
|
*
|
|
113913
113910
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114916,8 +114913,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114916
114913
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114917
114914
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114918
114915
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114919
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114920
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
114916
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(710);
|
|
114917
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(576);
|
|
114921
114918
|
/*******************************************************************************
|
|
114922
114919
|
*
|
|
114923
114920
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115248,8 +115245,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115248
115245
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115249
115246
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115250
115247
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115251
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115252
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115248
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(710);
|
|
115249
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(576);
|
|
115253
115250
|
/*******************************************************************************
|
|
115254
115251
|
*
|
|
115255
115252
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116388,8 +116385,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116388
116385
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116389
116386
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116390
116387
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116391
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116392
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116388
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(710);
|
|
116389
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(576);
|
|
116393
116390
|
/*******************************************************************************
|
|
116394
116391
|
*
|
|
116395
116392
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117668,7 +117665,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117668
117665
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117669
117666
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117670
117667
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117671
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117668
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(576);
|
|
117672
117669
|
/*******************************************************************************
|
|
117673
117670
|
*
|
|
117674
117671
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118570,7 +118567,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118570
118567
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118571
118568
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118572
118569
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118573
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118570
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(576);
|
|
118574
118571
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118575
118572
|
{
|
|
118576
118573
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120123,7 +120120,7 @@ const Components_default_ = Components;
|
|
|
120123
120120
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120124
120121
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120125
120122
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120126
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120123
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(576);
|
|
120127
120124
|
/*******************************************************************************
|
|
120128
120125
|
* MIT License
|
|
120129
120126
|
*
|
|
@@ -121254,7 +121251,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121254
121251
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121255
121252
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121256
121253
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121257
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121254
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(576);
|
|
121258
121255
|
/*******************************************************************************
|
|
121259
121256
|
*
|
|
121260
121257
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121324,7 +121321,6 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
|
|
|
121324
121321
|
|
|
121325
121322
|
|
|
121326
121323
|
|
|
121327
|
-
|
|
121328
121324
|
|
|
121329
121325
|
|
|
121330
121326
|
const
|
|
@@ -121942,24 +121938,55 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121942
121938
|
{
|
|
121943
121939
|
const [key, object] = args;
|
|
121944
121940
|
|
|
121945
|
-
|
|
121941
|
+
for (const [event, map] of this [_browserCallbacks])
|
|
121942
|
+
this [_browserCallbacks] .set (event, new Map (map) .set (key, object));
|
|
121943
|
+
|
|
121946
121944
|
break;
|
|
121947
121945
|
}
|
|
121948
121946
|
case 3:
|
|
121949
121947
|
{
|
|
121950
|
-
const
|
|
121948
|
+
const
|
|
121949
|
+
[key, event, object] = args,
|
|
121950
|
+
map = new Map (this [_browserCallbacks] .get (event));
|
|
121951
121951
|
|
|
121952
|
-
this [_browserCallbacks] .
|
|
121952
|
+
this [_browserCallbacks] .set (event, map);
|
|
121953
|
+
|
|
121954
|
+
map .set (key, object);
|
|
121953
121955
|
break;
|
|
121954
121956
|
}
|
|
121955
121957
|
}
|
|
121956
121958
|
},
|
|
121957
|
-
removeBrowserCallback (
|
|
121959
|
+
removeBrowserCallback (... args)
|
|
121958
121960
|
{
|
|
121959
|
-
|
|
121960
|
-
|
|
121961
|
-
|
|
121962
|
-
|
|
121961
|
+
switch (args .length)
|
|
121962
|
+
{
|
|
121963
|
+
case 1:
|
|
121964
|
+
{
|
|
121965
|
+
const [key] = args;
|
|
121966
|
+
|
|
121967
|
+
for (const [event, original] of this [_browserCallbacks])
|
|
121968
|
+
{
|
|
121969
|
+
const map = new Map (original);
|
|
121970
|
+
|
|
121971
|
+
this [_browserCallbacks] .set (event, map);
|
|
121972
|
+
|
|
121973
|
+
map .delete (key);
|
|
121974
|
+
}
|
|
121975
|
+
|
|
121976
|
+
break;
|
|
121977
|
+
}
|
|
121978
|
+
case 2:
|
|
121979
|
+
{
|
|
121980
|
+
const
|
|
121981
|
+
[key, event] = args,
|
|
121982
|
+
map = new Map (this [_browserCallbacks] .get (event));
|
|
121983
|
+
|
|
121984
|
+
this [_browserCallbacks] .set (event, map);
|
|
121985
|
+
|
|
121986
|
+
map .delete (key);
|
|
121987
|
+
break;
|
|
121988
|
+
}
|
|
121989
|
+
}
|
|
121963
121990
|
},
|
|
121964
121991
|
getBrowserCallbacks (event)
|
|
121965
121992
|
{
|
|
@@ -121970,7 +121997,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121970
121997
|
},
|
|
121971
121998
|
callBrowserCallbacks (event)
|
|
121972
121999
|
{
|
|
121973
|
-
for (const callback of
|
|
122000
|
+
for (const callback of this [_browserCallbacks] .get (event) .values ())
|
|
121974
122001
|
callback (event);
|
|
121975
122002
|
},
|
|
121976
122003
|
importDocument (dom)
|
|
@@ -122315,7 +122342,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122315
122342
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122316
122343
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122317
122344
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122318
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122345
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(576);
|
|
122319
122346
|
/*******************************************************************************
|
|
122320
122347
|
*
|
|
122321
122348
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122447,8 +122474,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122447
122474
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122448
122475
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122449
122476
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122450
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122451
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122477
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(576);
|
|
122478
|
+
/* provided dependency */ var pako = __webpack_require__(905);
|
|
122452
122479
|
Object .assign (jquery_$,
|
|
122453
122480
|
{
|
|
122454
122481
|
decodeText (input)
|
|
@@ -122525,14 +122552,14 @@ const jquery_default_ = jquery_$;
|
|
|
122525
122552
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122526
122553
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122527
122554
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122528
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122555
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(85);
|
|
122529
122556
|
const libtess_default_ = libtess_libtess;
|
|
122530
122557
|
;
|
|
122531
122558
|
|
|
122532
122559
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122533
122560
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122534
122561
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122535
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122562
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(576);
|
|
122536
122563
|
/*******************************************************************************
|
|
122537
122564
|
*
|
|
122538
122565
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122840,7 +122867,7 @@ Object .assign (X3D,
|
|
|
122840
122867
|
|
|
122841
122868
|
// Assign X3D to global namespace.
|
|
122842
122869
|
|
|
122843
|
-
window [Symbol .for ("X_ITE.X3D-9.2.
|
|
122870
|
+
window [Symbol .for ("X_ITE.X3D-9.2.2")] = x_ite_X3D;
|
|
122844
122871
|
|
|
122845
122872
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122846
122873
|
|