x_ite 9.5.2 → 9.6.0
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/README.md +83 -7
- 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 +18 -18
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +693 -364
- 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 +49 -50
- 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 +80 -37
- 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 +14 -14
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/fonts/DroidSerif Apache License.txt +201 -0
- package/dist/assets/fonts/Ubuntu LICENCE.txt +96 -0
- package/dist/assets/fonts/Ubuntu-B.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-BI.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-R.ttf +0 -0
- package/dist/assets/fonts/Ubuntu-RI.ttf +0 -0
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +136 -107
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +136 -107
- 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.
|
|
1
|
+
/* X_ITE v9.6.0 */(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
|
+
/***/ 600:
|
|
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__(268);
|
|
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
|
+
/***/ 482:
|
|
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__(268)], __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
|
+
/***/ 268:
|
|
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
|
+
/***/ 937:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 752:
|
|
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
|
+
/***/ 719:
|
|
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.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.6.0")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -34211,7 +34211,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34211
34211
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34212
34212
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34213
34213
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34214
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34214
|
+
/* provided dependency */ var $ = __webpack_require__(268);
|
|
34215
34215
|
/*******************************************************************************
|
|
34216
34216
|
*
|
|
34217
34217
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34348,7 +34348,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34348
34348
|
*
|
|
34349
34349
|
******************************************************************************/
|
|
34350
34350
|
|
|
34351
|
-
const BROWSER_VERSION_default_ = "9.
|
|
34351
|
+
const BROWSER_VERSION_default_ = "9.6.0";
|
|
34352
34352
|
;
|
|
34353
34353
|
|
|
34354
34354
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38953,7 +38953,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38953
38953
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38954
38954
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38955
38955
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38956
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38956
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(268);
|
|
38957
38957
|
/*******************************************************************************
|
|
38958
38958
|
*
|
|
38959
38959
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39215,7 +39215,7 @@ const Expressions_default_ = Expressions;
|
|
|
39215
39215
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
39216
39216
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
39217
39217
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39218
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39218
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(268);
|
|
39219
39219
|
/*******************************************************************************
|
|
39220
39220
|
*
|
|
39221
39221
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41915,7 +41915,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41915
41915
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41916
41916
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41917
41917
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41918
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41918
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(268);
|
|
41919
41919
|
/*******************************************************************************
|
|
41920
41920
|
*
|
|
41921
41921
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44021,7 +44021,7 @@ const URLs_default_ = URLs;
|
|
|
44021
44021
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
44022
44022
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
44023
44023
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
44024
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
44024
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(268);
|
|
44025
44025
|
/*******************************************************************************
|
|
44026
44026
|
*
|
|
44027
44027
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47323,7 +47323,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
47323
47323
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47324
47324
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47325
47325
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47326
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47326
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(268);
|
|
47327
47327
|
/*******************************************************************************
|
|
47328
47328
|
*
|
|
47329
47329
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47475,7 +47475,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47475
47475
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47476
47476
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47477
47477
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47478
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47478
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(268);
|
|
47479
47479
|
/*******************************************************************************
|
|
47480
47480
|
*
|
|
47481
47481
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50833,8 +50833,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50833
50833
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50834
50834
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50835
50835
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50836
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50837
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50836
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(268);
|
|
50837
|
+
/* provided dependency */ var libtess = __webpack_require__(937);
|
|
50838
50838
|
/*******************************************************************************
|
|
50839
50839
|
*
|
|
50840
50840
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53602,7 +53602,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53602
53602
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53603
53603
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53604
53604
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53605
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53605
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(268);
|
|
53606
53606
|
/*******************************************************************************
|
|
53607
53607
|
*
|
|
53608
53608
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53952,7 +53952,7 @@ const Plane3_default_ = Plane3;
|
|
|
53952
53952
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53953
53953
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53954
53954
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53955
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53955
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(937);
|
|
53956
53956
|
/*******************************************************************************
|
|
53957
53957
|
*
|
|
53958
53958
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62481,7 +62481,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62481
62481
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62482
62482
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62483
62483
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62484
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62484
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(268);
|
|
62485
62485
|
/*******************************************************************************
|
|
62486
62486
|
*
|
|
62487
62487
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66065,7 +66065,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66065
66065
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66066
66066
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66067
66067
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66068
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66068
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(268);
|
|
66069
66069
|
/*******************************************************************************
|
|
66070
66070
|
*
|
|
66071
66071
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66180,6 +66180,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66180
66180
|
if (!(this .node instanceof Execution_X3DWorld))
|
|
66181
66181
|
scene .setExecutionContext (this .executionContext);
|
|
66182
66182
|
|
|
66183
|
+
scene .setLive (false);
|
|
66183
66184
|
scene .setWorldURL (new URL (worldURL, this .getBaseURL ()) .href);
|
|
66184
66185
|
|
|
66185
66186
|
if (resolve)
|
|
@@ -66270,11 +66271,11 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66270
66271
|
|
|
66271
66272
|
// Script
|
|
66272
66273
|
{
|
|
66273
|
-
const result = url .match (/^\s*(?:
|
|
66274
|
+
const result = url .match (/^\s*(?:ecmascript|javascript|vrmlscript)\:/s);
|
|
66274
66275
|
|
|
66275
66276
|
if (result)
|
|
66276
66277
|
{
|
|
66277
|
-
this .callback (result [
|
|
66278
|
+
this .callback (url .substring (result [0] .length));
|
|
66278
66279
|
return;
|
|
66279
66280
|
}
|
|
66280
66281
|
}
|
|
@@ -66283,16 +66284,16 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66283
66284
|
|
|
66284
66285
|
// Data URL
|
|
66285
66286
|
{
|
|
66286
|
-
const result = url .match (
|
|
66287
|
+
const result = url .match (/^\s*data:(.*?)(?:;charset=(.*?))?(?:;(base64))?,/s);
|
|
66287
66288
|
|
|
66288
66289
|
if (result && result [3] !== "base64")
|
|
66289
66290
|
{
|
|
66290
|
-
// const mimeType = result [1];
|
|
66291
|
+
// const mimeType = result [1] || "text/plain"";
|
|
66291
66292
|
|
|
66292
66293
|
let data = url .substring (result [0] .length);
|
|
66293
66294
|
|
|
66294
|
-
data =
|
|
66295
|
-
data = data .replace (/^/, "");
|
|
66295
|
+
data = FileLoader_$.try (() => decodeURIComponent (data)) ?? data; // Decode data.
|
|
66296
|
+
data = data .replace (/^/, ""); // Remove BOM.
|
|
66296
66297
|
|
|
66297
66298
|
this .callback (data);
|
|
66298
66299
|
return;
|
|
@@ -67001,7 +67002,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67001
67002
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
67002
67003
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
67003
67004
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
67004
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67005
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(268);
|
|
67005
67006
|
/*******************************************************************************
|
|
67006
67007
|
*
|
|
67007
67008
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67625,8 +67626,11 @@ function X3DExecutionContext (executionContext, outerNode = null, browser = exec
|
|
|
67625
67626
|
this ._rootNodes .setPrivate (false);
|
|
67626
67627
|
this ._rootNodes .collectCloneCount = () => 1;
|
|
67627
67628
|
|
|
67628
|
-
|
|
67629
|
-
|
|
67629
|
+
if (executionContext !== this)
|
|
67630
|
+
{
|
|
67631
|
+
this ._countPrimitives .addReference (executionContext ._countPrimitives);
|
|
67632
|
+
this ._sceneGraph_changed .addFieldInterest (executionContext ._sceneGraph_changed);
|
|
67633
|
+
}
|
|
67630
67634
|
|
|
67631
67635
|
this [_outerNode] = outerNode;
|
|
67632
67636
|
this [_namedNodes] = new Execution_NamedNodesArray ();
|
|
@@ -67651,8 +67655,11 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67651
67655
|
|
|
67652
67656
|
Base_X3DBaseNode .prototype .setExecutionContext .call (this, executionContext);
|
|
67653
67657
|
|
|
67654
|
-
|
|
67655
|
-
|
|
67658
|
+
if (executionContext !== this)
|
|
67659
|
+
{
|
|
67660
|
+
this ._countPrimitives .addReference (executionContext ._countPrimitives);
|
|
67661
|
+
this ._sceneGraph_changed .addFieldInterest (executionContext ._sceneGraph_changed);
|
|
67662
|
+
}
|
|
67656
67663
|
},
|
|
67657
67664
|
isScene ()
|
|
67658
67665
|
{
|
|
@@ -90124,7 +90131,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
90124
90131
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
90125
90132
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
90126
90133
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
90127
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
90134
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(268);
|
|
90128
90135
|
/*******************************************************************************
|
|
90129
90136
|
*
|
|
90130
90137
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -93070,11 +93077,10 @@ const ShaderSource =
|
|
|
93070
93077
|
PRAGMA = "#pragma\\s+.*?\\n",
|
|
93071
93078
|
PREPROCESSOR = LINE + "|" + IF + "|" + ELIF + "|" + IFDEF + "|" + IFNDEF + "|" + ELSE + "|" + ENDIF + "|" + DEFINE + "|" + UNDEF + "|" + PRAGMA,
|
|
93072
93079
|
VERSION = "#version\\s+.*?\\n",
|
|
93073
|
-
EXTENSION = "#extension\\s+.*?\\n"
|
|
93074
|
-
ANY = ".*";
|
|
93080
|
+
EXTENSION = "#extension\\s+.*?\\n";
|
|
93075
93081
|
|
|
93076
93082
|
const
|
|
93077
|
-
GLSL = new RegExp ("^((?:" + COMMENTS + "|" + PREPROCESSOR + ")*(?:" + VERSION + ")?(?:" + COMMENTS + "|" + PREPROCESSOR + "|" + EXTENSION + ")*)
|
|
93083
|
+
GLSL = new RegExp ("^((?:" + COMMENTS + "|" + PREPROCESSOR + ")*(?:" + VERSION + ")?(?:" + COMMENTS + "|" + PREPROCESSOR + "|" + EXTENSION + ")*)", "s"),
|
|
93078
93084
|
match = source .match (GLSL);
|
|
93079
93085
|
|
|
93080
93086
|
// const
|
|
@@ -93179,10 +93185,10 @@ const ShaderSource =
|
|
|
93179
93185
|
// Adjust precision of struct types;
|
|
93180
93186
|
|
|
93181
93187
|
const
|
|
93182
|
-
matchFloat
|
|
93183
|
-
matchInt
|
|
93184
|
-
precisionFloat
|
|
93185
|
-
precisionInt
|
|
93188
|
+
matchFloat = source .match (/\s*precision\s+(lowp|mediump|highp)\s+float\s*;/),
|
|
93189
|
+
matchInt = source .match (/\s*precision\s+(lowp|mediump|highp)\s+int\s*;/),
|
|
93190
|
+
precisionFloat = matchFloat ?.[1] ?? "mediump",
|
|
93191
|
+
precisionInt = matchInt ?.[1] ?? "mediump";
|
|
93186
93192
|
|
|
93187
93193
|
const types = Types_glsl
|
|
93188
93194
|
.replace (/mediump\s+(float|vec2|vec3|mat3|mat4)/g, precisionFloat + " $1")
|
|
@@ -93190,7 +93196,7 @@ const ShaderSource =
|
|
|
93190
93196
|
|
|
93191
93197
|
const lines = (match [1] .match (/\n/g) || [ ]) .length + 1;
|
|
93192
93198
|
|
|
93193
|
-
return match [1]
|
|
93199
|
+
return `${match [1]}${constants}${definitions}${types}#line ${lines + 1} -1\n${source .substring (match [0] .length)}`;
|
|
93194
93200
|
},
|
|
93195
93201
|
};
|
|
93196
93202
|
|
|
@@ -95833,7 +95839,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95833
95839
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95834
95840
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95835
95841
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95836
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95842
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(268);
|
|
95837
95843
|
/*******************************************************************************
|
|
95838
95844
|
*
|
|
95839
95845
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96490,7 +96496,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
96490
96496
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
96491
96497
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
96492
96498
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
96493
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
96499
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(268);
|
|
96494
96500
|
/*******************************************************************************
|
|
96495
96501
|
*
|
|
96496
96502
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105442,8 +105448,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
105442
105448
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
105443
105449
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
105444
105450
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
105445
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
105446
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
105451
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(268);
|
|
105452
|
+
/* provided dependency */ var SuperGif = __webpack_require__(719);
|
|
105447
105453
|
/*******************************************************************************
|
|
105448
105454
|
*
|
|
105449
105455
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107102,6 +107108,30 @@ Object .assign (Object .setPrototypeOf (TextureCoordinate .prototype, Texturing_
|
|
|
107102
107108
|
{
|
|
107103
107109
|
return this .length;
|
|
107104
107110
|
},
|
|
107111
|
+
get1Point (index, result)
|
|
107112
|
+
{
|
|
107113
|
+
if (index < this .length)
|
|
107114
|
+
{
|
|
107115
|
+
const point = this .point;
|
|
107116
|
+
|
|
107117
|
+
index *= 2;
|
|
107118
|
+
|
|
107119
|
+
return result .set (point [index], point [index + 1], 0, 1);
|
|
107120
|
+
}
|
|
107121
|
+
else
|
|
107122
|
+
{
|
|
107123
|
+
return result .set (0, 0, 0, 1);
|
|
107124
|
+
}
|
|
107125
|
+
},
|
|
107126
|
+
set1Point: (function ()
|
|
107127
|
+
{
|
|
107128
|
+
const point = new Numbers_Vector2 ();
|
|
107129
|
+
|
|
107130
|
+
return function (index, { x, y, w })
|
|
107131
|
+
{
|
|
107132
|
+
this ._point [index] = point .set (x, y) .divide (w);
|
|
107133
|
+
};
|
|
107134
|
+
})(),
|
|
107105
107135
|
addPointToChannel (index, array)
|
|
107106
107136
|
{
|
|
107107
107137
|
if (index >= 0 && this .length)
|
|
@@ -108827,7 +108857,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
108827
108857
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
108828
108858
|
/* harmony default export */ const gettext = (gettext_default_);
|
|
108829
108859
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
108830
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
108860
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(268);
|
|
108831
108861
|
/*******************************************************************************
|
|
108832
108862
|
*
|
|
108833
108863
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109400,7 +109430,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
109400
109430
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
109401
109431
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
109402
109432
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
109403
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
109433
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(268);
|
|
109404
109434
|
/*******************************************************************************
|
|
109405
109435
|
*
|
|
109406
109436
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109994,7 +110024,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
109994
110024
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
109995
110025
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
109996
110026
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
109997
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
110027
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(268);
|
|
109998
110028
|
/*******************************************************************************
|
|
109999
110029
|
*
|
|
110000
110030
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110117,8 +110147,8 @@ const Notification_default_ = Notification;
|
|
|
110117
110147
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
110118
110148
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
110119
110149
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
110120
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
110121
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
110150
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(600);
|
|
110151
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(268);
|
|
110122
110152
|
/*******************************************************************************
|
|
110123
110153
|
*
|
|
110124
110154
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112879,7 +112909,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
112879
112909
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
112880
112910
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
112881
112911
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
112882
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
112912
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(268);
|
|
112883
112913
|
/*******************************************************************************
|
|
112884
112914
|
*
|
|
112885
112915
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115402,8 +115432,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
115402
115432
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
115403
115433
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
115404
115434
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
115405
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
115406
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
115435
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(482);
|
|
115436
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(268);
|
|
115407
115437
|
/*******************************************************************************
|
|
115408
115438
|
*
|
|
115409
115439
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116275,8 +116305,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
116275
116305
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
116276
116306
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
116277
116307
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
116278
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
116279
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
116308
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(482);
|
|
116309
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(268);
|
|
116280
116310
|
/*******************************************************************************
|
|
116281
116311
|
*
|
|
116282
116312
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117285,8 +117315,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
117285
117315
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
117286
117316
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
117287
117317
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
117288
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
117289
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
117318
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(482);
|
|
117319
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(268);
|
|
117290
117320
|
/*******************************************************************************
|
|
117291
117321
|
*
|
|
117292
117322
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117617,8 +117647,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
117617
117647
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
117618
117648
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
117619
117649
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
117620
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
117621
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
117650
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(482);
|
|
117651
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(268);
|
|
117622
117652
|
/*******************************************************************************
|
|
117623
117653
|
*
|
|
117624
117654
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118604,7 +118634,6 @@ Object .assign (X3DNetworkingContext .prototype,
|
|
|
118604
118634
|
// Inline node's empty scene.
|
|
118605
118635
|
|
|
118606
118636
|
this [_defaultScene] = this .createScene ();
|
|
118607
|
-
this [_defaultScene] .setLive (true);
|
|
118608
118637
|
|
|
118609
118638
|
this .getDefaultScene = function () { return this [_defaultScene]; };
|
|
118610
118639
|
|
|
@@ -118757,8 +118786,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
118757
118786
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
118758
118787
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
118759
118788
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
118760
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
118761
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
118789
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(482);
|
|
118790
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(268);
|
|
118762
118791
|
/*******************************************************************************
|
|
118763
118792
|
*
|
|
118764
118793
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120062,7 +120091,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
120062
120091
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
120063
120092
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
120064
120093
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
120065
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
120094
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(268);
|
|
120066
120095
|
/*******************************************************************************
|
|
120067
120096
|
*
|
|
120068
120097
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121010,7 +121039,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
121010
121039
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
121011
121040
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
121012
121041
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
121013
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
121042
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(268);
|
|
121014
121043
|
const KTXDecoder_default_ = class KTXDecoder
|
|
121015
121044
|
{
|
|
121016
121045
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -122564,7 +122593,7 @@ const Components_default_ = Components;
|
|
|
122564
122593
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
122565
122594
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
122566
122595
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
122567
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
122596
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(268);
|
|
122568
122597
|
/*******************************************************************************
|
|
122569
122598
|
* MIT License
|
|
122570
122599
|
*
|
|
@@ -122594,6 +122623,7 @@ x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
|
122594
122623
|
|
|
122595
122624
|
|
|
122596
122625
|
|
|
122626
|
+
|
|
122597
122627
|
class DOMIntegration
|
|
122598
122628
|
{
|
|
122599
122629
|
constructor (browser)
|
|
@@ -122632,7 +122662,7 @@ class DOMIntegration
|
|
|
122632
122662
|
|
|
122633
122663
|
// Now also attached node property to each node element.
|
|
122634
122664
|
|
|
122635
|
-
const scene =
|
|
122665
|
+
const scene = new Execution_X3DScene (browser);
|
|
122636
122666
|
|
|
122637
122667
|
this .parser = new Parser_XMLParser (scene);
|
|
122638
122668
|
|
|
@@ -123697,7 +123727,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
123697
123727
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
123698
123728
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
123699
123729
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
123700
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
123730
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(268);
|
|
123701
123731
|
/*******************************************************************************
|
|
123702
123732
|
*
|
|
123703
123733
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124085,6 +124115,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124085
124115
|
}
|
|
124086
124116
|
|
|
124087
124117
|
scene .setup ();
|
|
124118
|
+
scene .setLive (true);
|
|
124088
124119
|
|
|
124089
124120
|
return scene;
|
|
124090
124121
|
},
|
|
@@ -124168,14 +124199,13 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124168
124199
|
scene = fileLoader .createX3DFromString (worldURL, `#VRML V2.0 utf8\n\n${vrmlSyntax}`);
|
|
124169
124200
|
|
|
124170
124201
|
if (!external)
|
|
124171
|
-
{
|
|
124172
124202
|
scene .setExecutionContext (currentScene);
|
|
124173
|
-
|
|
124174
|
-
|
|
124203
|
+
|
|
124204
|
+
scene .setLive (true);
|
|
124175
124205
|
|
|
124176
124206
|
return scene .rootNodes;
|
|
124177
124207
|
},
|
|
124178
|
-
|
|
124208
|
+
async createX3DFromString (x3dSyntax)
|
|
124179
124209
|
{
|
|
124180
124210
|
x3dSyntax = String (x3dSyntax);
|
|
124181
124211
|
|
|
@@ -124191,10 +124221,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124191
124221
|
});
|
|
124192
124222
|
|
|
124193
124223
|
if (!external)
|
|
124194
|
-
{
|
|
124195
124224
|
scene .setExecutionContext (currentScene);
|
|
124196
|
-
|
|
124197
|
-
|
|
124225
|
+
|
|
124226
|
+
scene .setLive (true);
|
|
124198
124227
|
|
|
124199
124228
|
return scene;
|
|
124200
124229
|
},
|
|
@@ -124233,10 +124262,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124233
124262
|
// Handle getLive for script scenes here:
|
|
124234
124263
|
|
|
124235
124264
|
if (!external)
|
|
124236
|
-
{
|
|
124237
124265
|
scene .setExecutionContext (currentScene);
|
|
124238
|
-
|
|
124239
|
-
|
|
124266
|
+
|
|
124267
|
+
scene .setLive (true);
|
|
124240
124268
|
|
|
124241
124269
|
// Wait until scene is completely loaded, scene ._loadCount must be 0.
|
|
124242
124270
|
field .setValue (scene .rootNodes);
|
|
@@ -124269,10 +124297,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124269
124297
|
if (scene)
|
|
124270
124298
|
{
|
|
124271
124299
|
if (!external)
|
|
124272
|
-
{
|
|
124273
124300
|
scene .setExecutionContext (currentScene);
|
|
124274
|
-
|
|
124275
|
-
|
|
124301
|
+
|
|
124302
|
+
scene .setLive (true);
|
|
124276
124303
|
|
|
124277
124304
|
resolve (scene);
|
|
124278
124305
|
}
|
|
@@ -124441,43 +124468,45 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124441
124468
|
for (const callback of this [_browserCallbacks] .get (event) .values ())
|
|
124442
124469
|
callback (event);
|
|
124443
124470
|
},
|
|
124444
|
-
importDocument (dom)
|
|
124471
|
+
async importDocument (dom)
|
|
124445
124472
|
{
|
|
124446
124473
|
const
|
|
124447
124474
|
currentScene = this .currentScene,
|
|
124448
|
-
scene =
|
|
124475
|
+
scene = new Execution_X3DScene (this),
|
|
124449
124476
|
external = this .isExternal ();
|
|
124450
124477
|
|
|
124451
|
-
if (!external)
|
|
124452
|
-
{
|
|
124453
|
-
scene .setExecutionContext (currentScene);
|
|
124454
|
-
scene .setLive (true);
|
|
124455
|
-
}
|
|
124456
|
-
|
|
124457
124478
|
const parser = new Parser_XMLParser (scene);
|
|
124458
124479
|
|
|
124459
124480
|
parser .setInput (dom)
|
|
124460
124481
|
|
|
124461
|
-
|
|
124482
|
+
await new Promise (parser .parseIntoScene .bind (parser));
|
|
124483
|
+
|
|
124484
|
+
if (!external)
|
|
124485
|
+
scene .setExecutionContext (currentScene);
|
|
124486
|
+
|
|
124487
|
+
scene .isLive (true);
|
|
124488
|
+
|
|
124489
|
+
return scene;
|
|
124462
124490
|
},
|
|
124463
|
-
importJS (json)
|
|
124491
|
+
async importJS (json)
|
|
124464
124492
|
{
|
|
124465
124493
|
const
|
|
124466
124494
|
currentScene = this .currentScene,
|
|
124467
|
-
scene =
|
|
124495
|
+
scene = new Execution_X3DScene (this),
|
|
124468
124496
|
external = this .isExternal ();
|
|
124469
124497
|
|
|
124470
|
-
if (!external)
|
|
124471
|
-
{
|
|
124472
|
-
scene .setExecutionContext (currentScene);
|
|
124473
|
-
scene .setLive (true);
|
|
124474
|
-
}
|
|
124475
|
-
|
|
124476
124498
|
const parser = new Parser_JSONParser (scene);
|
|
124477
124499
|
|
|
124478
124500
|
parser .setInput (json);
|
|
124479
124501
|
|
|
124480
|
-
|
|
124502
|
+
await new Promise (parser .parseIntoScene .bind (parser));
|
|
124503
|
+
|
|
124504
|
+
if (!external)
|
|
124505
|
+
scene .setExecutionContext (currentScene);
|
|
124506
|
+
|
|
124507
|
+
scene .isLive (true);
|
|
124508
|
+
|
|
124509
|
+
return scene;
|
|
124481
124510
|
},
|
|
124482
124511
|
getBrowserProperty (name)
|
|
124483
124512
|
{
|
|
@@ -124789,7 +124818,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
124789
124818
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
124790
124819
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
124791
124820
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
124792
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
124821
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(268);
|
|
124793
124822
|
/*******************************************************************************
|
|
124794
124823
|
*
|
|
124795
124824
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124926,8 +124955,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
124926
124955
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
124927
124956
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
124928
124957
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
124929
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
124930
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
124958
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(268);
|
|
124959
|
+
/* provided dependency */ var pako = __webpack_require__(752);
|
|
124931
124960
|
Object .assign (jquery_$,
|
|
124932
124961
|
{
|
|
124933
124962
|
decodeText (input)
|
|
@@ -125004,14 +125033,14 @@ const jquery_default_ = jquery_$;
|
|
|
125004
125033
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
125005
125034
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
125006
125035
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
125007
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
125036
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(937);
|
|
125008
125037
|
const libtess_default_ = libtess_libtess;
|
|
125009
125038
|
;
|
|
125010
125039
|
|
|
125011
125040
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
125012
125041
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
125013
125042
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
125014
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
125043
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(268);
|
|
125015
125044
|
/*******************************************************************************
|
|
125016
125045
|
*
|
|
125017
125046
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -125319,7 +125348,7 @@ Object .assign (X3D,
|
|
|
125319
125348
|
|
|
125320
125349
|
// Assign X3D to global namespace.
|
|
125321
125350
|
|
|
125322
|
-
window [Symbol .for ("X_ITE.X3D-9.
|
|
125351
|
+
window [Symbol .for ("X_ITE.X3D-9.6.0")] = x_ite_X3D;
|
|
125323
125352
|
|
|
125324
125353
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
125325
125354
|
|