x_ite 9.5.1 → 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.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.6.0 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 600:
|
|
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__(268);
|
|
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
|
+
/***/ 482:
|
|
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__(268)], __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
|
+
/***/ 268:
|
|
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
|
+
/***/ 937:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 752:
|
|
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
|
+
/***/ 719:
|
|
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.
|
|
20302
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.6.0")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -34199,7 +34199,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34199
34199
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34200
34200
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34201
34201
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34202
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34202
|
+
/* provided dependency */ var $ = __webpack_require__(268);
|
|
34203
34203
|
/*******************************************************************************
|
|
34204
34204
|
*
|
|
34205
34205
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34336,7 +34336,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34336
34336
|
*
|
|
34337
34337
|
******************************************************************************/
|
|
34338
34338
|
|
|
34339
|
-
const BROWSER_VERSION_default_ = "9.
|
|
34339
|
+
const BROWSER_VERSION_default_ = "9.6.0";
|
|
34340
34340
|
;
|
|
34341
34341
|
|
|
34342
34342
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38941,7 +38941,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38941
38941
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38942
38942
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38943
38943
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38944
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38944
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(268);
|
|
38945
38945
|
/*******************************************************************************
|
|
38946
38946
|
*
|
|
38947
38947
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39203,7 +39203,7 @@ const Expressions_default_ = Expressions;
|
|
|
39203
39203
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
39204
39204
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
39205
39205
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39206
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39206
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(268);
|
|
39207
39207
|
/*******************************************************************************
|
|
39208
39208
|
*
|
|
39209
39209
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41903,7 +41903,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41903
41903
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41904
41904
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41905
41905
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41906
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41906
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(268);
|
|
41907
41907
|
/*******************************************************************************
|
|
41908
41908
|
*
|
|
41909
41909
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44009,7 +44009,7 @@ const URLs_default_ = URLs;
|
|
|
44009
44009
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
44010
44010
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
44011
44011
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
44012
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
44012
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(268);
|
|
44013
44013
|
/*******************************************************************************
|
|
44014
44014
|
*
|
|
44015
44015
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47311,7 +47311,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
47311
47311
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47312
47312
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47313
47313
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47314
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47314
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(268);
|
|
47315
47315
|
/*******************************************************************************
|
|
47316
47316
|
*
|
|
47317
47317
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47463,7 +47463,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47463
47463
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47464
47464
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47465
47465
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47466
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47466
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(268);
|
|
47467
47467
|
/*******************************************************************************
|
|
47468
47468
|
*
|
|
47469
47469
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50821,8 +50821,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50821
50821
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50822
50822
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50823
50823
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50824
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50825
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50824
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(268);
|
|
50825
|
+
/* provided dependency */ var libtess = __webpack_require__(937);
|
|
50826
50826
|
/*******************************************************************************
|
|
50827
50827
|
*
|
|
50828
50828
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53590,7 +53590,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53590
53590
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53591
53591
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53592
53592
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53593
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53593
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(268);
|
|
53594
53594
|
/*******************************************************************************
|
|
53595
53595
|
*
|
|
53596
53596
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53940,7 +53940,7 @@ const Plane3_default_ = Plane3;
|
|
|
53940
53940
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53941
53941
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53942
53942
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53943
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53943
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(937);
|
|
53944
53944
|
/*******************************************************************************
|
|
53945
53945
|
*
|
|
53946
53946
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62469,7 +62469,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62469
62469
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62470
62470
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62471
62471
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62472
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62472
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(268);
|
|
62473
62473
|
/*******************************************************************************
|
|
62474
62474
|
*
|
|
62475
62475
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66053,7 +66053,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66053
66053
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66054
66054
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66055
66055
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66056
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66056
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(268);
|
|
66057
66057
|
/*******************************************************************************
|
|
66058
66058
|
*
|
|
66059
66059
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66168,6 +66168,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66168
66168
|
if (!(this .node instanceof Execution_X3DWorld))
|
|
66169
66169
|
scene .setExecutionContext (this .executionContext);
|
|
66170
66170
|
|
|
66171
|
+
scene .setLive (false);
|
|
66171
66172
|
scene .setWorldURL (new URL (worldURL, this .getBaseURL ()) .href);
|
|
66172
66173
|
|
|
66173
66174
|
if (resolve)
|
|
@@ -66258,11 +66259,11 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66258
66259
|
|
|
66259
66260
|
// Script
|
|
66260
66261
|
{
|
|
66261
|
-
const result = url .match (/^\s*(?:
|
|
66262
|
+
const result = url .match (/^\s*(?:ecmascript|javascript|vrmlscript)\:/s);
|
|
66262
66263
|
|
|
66263
66264
|
if (result)
|
|
66264
66265
|
{
|
|
66265
|
-
this .callback (result [
|
|
66266
|
+
this .callback (url .substring (result [0] .length));
|
|
66266
66267
|
return;
|
|
66267
66268
|
}
|
|
66268
66269
|
}
|
|
@@ -66271,16 +66272,16 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66271
66272
|
|
|
66272
66273
|
// Data URL
|
|
66273
66274
|
{
|
|
66274
|
-
const result = url .match (
|
|
66275
|
+
const result = url .match (/^\s*data:(.*?)(?:;charset=(.*?))?(?:;(base64))?,/s);
|
|
66275
66276
|
|
|
66276
66277
|
if (result && result [3] !== "base64")
|
|
66277
66278
|
{
|
|
66278
|
-
// const mimeType = result [1];
|
|
66279
|
+
// const mimeType = result [1] || "text/plain"";
|
|
66279
66280
|
|
|
66280
66281
|
let data = url .substring (result [0] .length);
|
|
66281
66282
|
|
|
66282
|
-
data =
|
|
66283
|
-
data = data .replace (/^/, "");
|
|
66283
|
+
data = FileLoader_$.try (() => decodeURIComponent (data)) ?? data; // Decode data.
|
|
66284
|
+
data = data .replace (/^/, ""); // Remove BOM.
|
|
66284
66285
|
|
|
66285
66286
|
this .callback (data);
|
|
66286
66287
|
return;
|
|
@@ -66989,7 +66990,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66989
66990
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66990
66991
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66991
66992
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66992
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66993
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(268);
|
|
66993
66994
|
/*******************************************************************************
|
|
66994
66995
|
*
|
|
66995
66996
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67613,8 +67614,11 @@ function X3DExecutionContext (executionContext, outerNode = null, browser = exec
|
|
|
67613
67614
|
this ._rootNodes .setPrivate (false);
|
|
67614
67615
|
this ._rootNodes .collectCloneCount = () => 1;
|
|
67615
67616
|
|
|
67616
|
-
|
|
67617
|
-
|
|
67617
|
+
if (executionContext !== this)
|
|
67618
|
+
{
|
|
67619
|
+
this ._countPrimitives .addReference (executionContext ._countPrimitives);
|
|
67620
|
+
this ._sceneGraph_changed .addFieldInterest (executionContext ._sceneGraph_changed);
|
|
67621
|
+
}
|
|
67618
67622
|
|
|
67619
67623
|
this [_outerNode] = outerNode;
|
|
67620
67624
|
this [_namedNodes] = new Execution_NamedNodesArray ();
|
|
@@ -67639,8 +67643,11 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
67639
67643
|
|
|
67640
67644
|
Base_X3DBaseNode .prototype .setExecutionContext .call (this, executionContext);
|
|
67641
67645
|
|
|
67642
|
-
|
|
67643
|
-
|
|
67646
|
+
if (executionContext !== this)
|
|
67647
|
+
{
|
|
67648
|
+
this ._countPrimitives .addReference (executionContext ._countPrimitives);
|
|
67649
|
+
this ._sceneGraph_changed .addFieldInterest (executionContext ._sceneGraph_changed);
|
|
67650
|
+
}
|
|
67644
67651
|
},
|
|
67645
67652
|
isScene ()
|
|
67646
67653
|
{
|
|
@@ -90112,7 +90119,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
90112
90119
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
90113
90120
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
90114
90121
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
90115
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
90122
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(268);
|
|
90116
90123
|
/*******************************************************************************
|
|
90117
90124
|
*
|
|
90118
90125
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -93058,11 +93065,10 @@ const ShaderSource =
|
|
|
93058
93065
|
PRAGMA = "#pragma\\s+.*?\\n",
|
|
93059
93066
|
PREPROCESSOR = LINE + "|" + IF + "|" + ELIF + "|" + IFDEF + "|" + IFNDEF + "|" + ELSE + "|" + ENDIF + "|" + DEFINE + "|" + UNDEF + "|" + PRAGMA,
|
|
93060
93067
|
VERSION = "#version\\s+.*?\\n",
|
|
93061
|
-
EXTENSION = "#extension\\s+.*?\\n"
|
|
93062
|
-
ANY = ".*";
|
|
93068
|
+
EXTENSION = "#extension\\s+.*?\\n";
|
|
93063
93069
|
|
|
93064
93070
|
const
|
|
93065
|
-
GLSL = new RegExp ("^((?:" + COMMENTS + "|" + PREPROCESSOR + ")*(?:" + VERSION + ")?(?:" + COMMENTS + "|" + PREPROCESSOR + "|" + EXTENSION + ")*)
|
|
93071
|
+
GLSL = new RegExp ("^((?:" + COMMENTS + "|" + PREPROCESSOR + ")*(?:" + VERSION + ")?(?:" + COMMENTS + "|" + PREPROCESSOR + "|" + EXTENSION + ")*)", "s"),
|
|
93066
93072
|
match = source .match (GLSL);
|
|
93067
93073
|
|
|
93068
93074
|
// const
|
|
@@ -93167,10 +93173,10 @@ const ShaderSource =
|
|
|
93167
93173
|
// Adjust precision of struct types;
|
|
93168
93174
|
|
|
93169
93175
|
const
|
|
93170
|
-
matchFloat
|
|
93171
|
-
matchInt
|
|
93172
|
-
precisionFloat
|
|
93173
|
-
precisionInt
|
|
93176
|
+
matchFloat = source .match (/\s*precision\s+(lowp|mediump|highp)\s+float\s*;/),
|
|
93177
|
+
matchInt = source .match (/\s*precision\s+(lowp|mediump|highp)\s+int\s*;/),
|
|
93178
|
+
precisionFloat = matchFloat ?.[1] ?? "mediump",
|
|
93179
|
+
precisionInt = matchInt ?.[1] ?? "mediump";
|
|
93174
93180
|
|
|
93175
93181
|
const types = Types_glsl
|
|
93176
93182
|
.replace (/mediump\s+(float|vec2|vec3|mat3|mat4)/g, precisionFloat + " $1")
|
|
@@ -93178,7 +93184,7 @@ const ShaderSource =
|
|
|
93178
93184
|
|
|
93179
93185
|
const lines = (match [1] .match (/\n/g) || [ ]) .length + 1;
|
|
93180
93186
|
|
|
93181
|
-
return match [1]
|
|
93187
|
+
return `${match [1]}${constants}${definitions}${types}#line ${lines + 1} -1\n${source .substring (match [0] .length)}`;
|
|
93182
93188
|
},
|
|
93183
93189
|
};
|
|
93184
93190
|
|
|
@@ -95821,7 +95827,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95821
95827
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95822
95828
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95823
95829
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95824
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95830
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(268);
|
|
95825
95831
|
/*******************************************************************************
|
|
95826
95832
|
*
|
|
95827
95833
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96478,7 +96484,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
96478
96484
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
96479
96485
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
96480
96486
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
96481
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
96487
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(268);
|
|
96482
96488
|
/*******************************************************************************
|
|
96483
96489
|
*
|
|
96484
96490
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105430,8 +105436,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
105430
105436
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
105431
105437
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
105432
105438
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
105433
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
105434
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
105439
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(268);
|
|
105440
|
+
/* provided dependency */ var SuperGif = __webpack_require__(719);
|
|
105435
105441
|
/*******************************************************************************
|
|
105436
105442
|
*
|
|
105437
105443
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107090,6 +107096,30 @@ Object .assign (Object .setPrototypeOf (TextureCoordinate .prototype, Texturing_
|
|
|
107090
107096
|
{
|
|
107091
107097
|
return this .length;
|
|
107092
107098
|
},
|
|
107099
|
+
get1Point (index, result)
|
|
107100
|
+
{
|
|
107101
|
+
if (index < this .length)
|
|
107102
|
+
{
|
|
107103
|
+
const point = this .point;
|
|
107104
|
+
|
|
107105
|
+
index *= 2;
|
|
107106
|
+
|
|
107107
|
+
return result .set (point [index], point [index + 1], 0, 1);
|
|
107108
|
+
}
|
|
107109
|
+
else
|
|
107110
|
+
{
|
|
107111
|
+
return result .set (0, 0, 0, 1);
|
|
107112
|
+
}
|
|
107113
|
+
},
|
|
107114
|
+
set1Point: (function ()
|
|
107115
|
+
{
|
|
107116
|
+
const point = new Numbers_Vector2 ();
|
|
107117
|
+
|
|
107118
|
+
return function (index, { x, y, w })
|
|
107119
|
+
{
|
|
107120
|
+
this ._point [index] = point .set (x, y) .divide (w);
|
|
107121
|
+
};
|
|
107122
|
+
})(),
|
|
107093
107123
|
addPointToChannel (index, array)
|
|
107094
107124
|
{
|
|
107095
107125
|
if (index >= 0 && this .length)
|
|
@@ -108815,7 +108845,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
108815
108845
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
108816
108846
|
/* harmony default export */ const gettext = (gettext_default_);
|
|
108817
108847
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
108818
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
108848
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(268);
|
|
108819
108849
|
/*******************************************************************************
|
|
108820
108850
|
*
|
|
108821
108851
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109388,7 +109418,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
109388
109418
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
109389
109419
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
109390
109420
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
109391
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
109421
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(268);
|
|
109392
109422
|
/*******************************************************************************
|
|
109393
109423
|
*
|
|
109394
109424
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109982,7 +110012,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
109982
110012
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
109983
110013
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
109984
110014
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
109985
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
110015
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(268);
|
|
109986
110016
|
/*******************************************************************************
|
|
109987
110017
|
*
|
|
109988
110018
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110105,8 +110135,8 @@ const Notification_default_ = Notification;
|
|
|
110105
110135
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
110106
110136
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
110107
110137
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
110108
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
110109
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
110138
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(600);
|
|
110139
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(268);
|
|
110110
110140
|
/*******************************************************************************
|
|
110111
110141
|
*
|
|
110112
110142
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112867,7 +112897,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
112867
112897
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
112868
112898
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
112869
112899
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
112870
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
112900
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(268);
|
|
112871
112901
|
/*******************************************************************************
|
|
112872
112902
|
*
|
|
112873
112903
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115390,8 +115420,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
115390
115420
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
115391
115421
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
115392
115422
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
115393
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
115394
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
115423
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(482);
|
|
115424
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(268);
|
|
115395
115425
|
/*******************************************************************************
|
|
115396
115426
|
*
|
|
115397
115427
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116263,8 +116293,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
116263
116293
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
116264
116294
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
116265
116295
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
116266
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
116267
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
116296
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(482);
|
|
116297
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(268);
|
|
116268
116298
|
/*******************************************************************************
|
|
116269
116299
|
*
|
|
116270
116300
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117273,8 +117303,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
117273
117303
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
117274
117304
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
117275
117305
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
117276
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
117277
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
117306
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(482);
|
|
117307
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(268);
|
|
117278
117308
|
/*******************************************************************************
|
|
117279
117309
|
*
|
|
117280
117310
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117605,8 +117635,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
117605
117635
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
117606
117636
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
117607
117637
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
117608
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
117609
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
117638
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(482);
|
|
117639
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(268);
|
|
117610
117640
|
/*******************************************************************************
|
|
117611
117641
|
*
|
|
117612
117642
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118592,7 +118622,6 @@ Object .assign (X3DNetworkingContext .prototype,
|
|
|
118592
118622
|
// Inline node's empty scene.
|
|
118593
118623
|
|
|
118594
118624
|
this [_defaultScene] = this .createScene ();
|
|
118595
|
-
this [_defaultScene] .setLive (true);
|
|
118596
118625
|
|
|
118597
118626
|
this .getDefaultScene = function () { return this [_defaultScene]; };
|
|
118598
118627
|
|
|
@@ -118745,8 +118774,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
118745
118774
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
118746
118775
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
118747
118776
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
118748
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
118749
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
118777
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(482);
|
|
118778
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(268);
|
|
118750
118779
|
/*******************************************************************************
|
|
118751
118780
|
*
|
|
118752
118781
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120050,7 +120079,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
120050
120079
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
120051
120080
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
120052
120081
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
120053
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
120082
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(268);
|
|
120054
120083
|
/*******************************************************************************
|
|
120055
120084
|
*
|
|
120056
120085
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120998,7 +121027,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
120998
121027
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
120999
121028
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
121000
121029
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
121001
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
121030
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(268);
|
|
121002
121031
|
const KTXDecoder_default_ = class KTXDecoder
|
|
121003
121032
|
{
|
|
121004
121033
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -122552,7 +122581,7 @@ const Components_default_ = Components;
|
|
|
122552
122581
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
122553
122582
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
122554
122583
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
122555
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
122584
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(268);
|
|
122556
122585
|
/*******************************************************************************
|
|
122557
122586
|
* MIT License
|
|
122558
122587
|
*
|
|
@@ -122582,6 +122611,7 @@ x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
|
122582
122611
|
|
|
122583
122612
|
|
|
122584
122613
|
|
|
122614
|
+
|
|
122585
122615
|
class DOMIntegration
|
|
122586
122616
|
{
|
|
122587
122617
|
constructor (browser)
|
|
@@ -122620,7 +122650,7 @@ class DOMIntegration
|
|
|
122620
122650
|
|
|
122621
122651
|
// Now also attached node property to each node element.
|
|
122622
122652
|
|
|
122623
|
-
const scene =
|
|
122653
|
+
const scene = new Execution_X3DScene (browser);
|
|
122624
122654
|
|
|
122625
122655
|
this .parser = new Parser_XMLParser (scene);
|
|
122626
122656
|
|
|
@@ -123685,7 +123715,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
123685
123715
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
123686
123716
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
123687
123717
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
123688
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
123718
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(268);
|
|
123689
123719
|
/*******************************************************************************
|
|
123690
123720
|
*
|
|
123691
123721
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124073,6 +124103,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124073
124103
|
}
|
|
124074
124104
|
|
|
124075
124105
|
scene .setup ();
|
|
124106
|
+
scene .setLive (true);
|
|
124076
124107
|
|
|
124077
124108
|
return scene;
|
|
124078
124109
|
},
|
|
@@ -124156,14 +124187,13 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124156
124187
|
scene = fileLoader .createX3DFromString (worldURL, `#VRML V2.0 utf8\n\n${vrmlSyntax}`);
|
|
124157
124188
|
|
|
124158
124189
|
if (!external)
|
|
124159
|
-
{
|
|
124160
124190
|
scene .setExecutionContext (currentScene);
|
|
124161
|
-
|
|
124162
|
-
|
|
124191
|
+
|
|
124192
|
+
scene .setLive (true);
|
|
124163
124193
|
|
|
124164
124194
|
return scene .rootNodes;
|
|
124165
124195
|
},
|
|
124166
|
-
|
|
124196
|
+
async createX3DFromString (x3dSyntax)
|
|
124167
124197
|
{
|
|
124168
124198
|
x3dSyntax = String (x3dSyntax);
|
|
124169
124199
|
|
|
@@ -124179,10 +124209,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124179
124209
|
});
|
|
124180
124210
|
|
|
124181
124211
|
if (!external)
|
|
124182
|
-
{
|
|
124183
124212
|
scene .setExecutionContext (currentScene);
|
|
124184
|
-
|
|
124185
|
-
|
|
124213
|
+
|
|
124214
|
+
scene .setLive (true);
|
|
124186
124215
|
|
|
124187
124216
|
return scene;
|
|
124188
124217
|
},
|
|
@@ -124221,10 +124250,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124221
124250
|
// Handle getLive for script scenes here:
|
|
124222
124251
|
|
|
124223
124252
|
if (!external)
|
|
124224
|
-
{
|
|
124225
124253
|
scene .setExecutionContext (currentScene);
|
|
124226
|
-
|
|
124227
|
-
|
|
124254
|
+
|
|
124255
|
+
scene .setLive (true);
|
|
124228
124256
|
|
|
124229
124257
|
// Wait until scene is completely loaded, scene ._loadCount must be 0.
|
|
124230
124258
|
field .setValue (scene .rootNodes);
|
|
@@ -124257,10 +124285,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124257
124285
|
if (scene)
|
|
124258
124286
|
{
|
|
124259
124287
|
if (!external)
|
|
124260
|
-
{
|
|
124261
124288
|
scene .setExecutionContext (currentScene);
|
|
124262
|
-
|
|
124263
|
-
|
|
124289
|
+
|
|
124290
|
+
scene .setLive (true);
|
|
124264
124291
|
|
|
124265
124292
|
resolve (scene);
|
|
124266
124293
|
}
|
|
@@ -124429,43 +124456,45 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
124429
124456
|
for (const callback of this [_browserCallbacks] .get (event) .values ())
|
|
124430
124457
|
callback (event);
|
|
124431
124458
|
},
|
|
124432
|
-
importDocument (dom)
|
|
124459
|
+
async importDocument (dom)
|
|
124433
124460
|
{
|
|
124434
124461
|
const
|
|
124435
124462
|
currentScene = this .currentScene,
|
|
124436
|
-
scene =
|
|
124463
|
+
scene = new Execution_X3DScene (this),
|
|
124437
124464
|
external = this .isExternal ();
|
|
124438
124465
|
|
|
124439
|
-
if (!external)
|
|
124440
|
-
{
|
|
124441
|
-
scene .setExecutionContext (currentScene);
|
|
124442
|
-
scene .setLive (true);
|
|
124443
|
-
}
|
|
124444
|
-
|
|
124445
124466
|
const parser = new Parser_XMLParser (scene);
|
|
124446
124467
|
|
|
124447
124468
|
parser .setInput (dom)
|
|
124448
124469
|
|
|
124449
|
-
|
|
124470
|
+
await new Promise (parser .parseIntoScene .bind (parser));
|
|
124471
|
+
|
|
124472
|
+
if (!external)
|
|
124473
|
+
scene .setExecutionContext (currentScene);
|
|
124474
|
+
|
|
124475
|
+
scene .isLive (true);
|
|
124476
|
+
|
|
124477
|
+
return scene;
|
|
124450
124478
|
},
|
|
124451
|
-
importJS (json)
|
|
124479
|
+
async importJS (json)
|
|
124452
124480
|
{
|
|
124453
124481
|
const
|
|
124454
124482
|
currentScene = this .currentScene,
|
|
124455
|
-
scene =
|
|
124483
|
+
scene = new Execution_X3DScene (this),
|
|
124456
124484
|
external = this .isExternal ();
|
|
124457
124485
|
|
|
124458
|
-
if (!external)
|
|
124459
|
-
{
|
|
124460
|
-
scene .setExecutionContext (currentScene);
|
|
124461
|
-
scene .setLive (true);
|
|
124462
|
-
}
|
|
124463
|
-
|
|
124464
124486
|
const parser = new Parser_JSONParser (scene);
|
|
124465
124487
|
|
|
124466
124488
|
parser .setInput (json);
|
|
124467
124489
|
|
|
124468
|
-
|
|
124490
|
+
await new Promise (parser .parseIntoScene .bind (parser));
|
|
124491
|
+
|
|
124492
|
+
if (!external)
|
|
124493
|
+
scene .setExecutionContext (currentScene);
|
|
124494
|
+
|
|
124495
|
+
scene .isLive (true);
|
|
124496
|
+
|
|
124497
|
+
return scene;
|
|
124469
124498
|
},
|
|
124470
124499
|
getBrowserProperty (name)
|
|
124471
124500
|
{
|
|
@@ -124777,7 +124806,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
124777
124806
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
124778
124807
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
124779
124808
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
124780
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
124809
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(268);
|
|
124781
124810
|
/*******************************************************************************
|
|
124782
124811
|
*
|
|
124783
124812
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124914,8 +124943,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
124914
124943
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
124915
124944
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
124916
124945
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
124917
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
124918
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
124946
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(268);
|
|
124947
|
+
/* provided dependency */ var pako = __webpack_require__(752);
|
|
124919
124948
|
Object .assign (jquery_$,
|
|
124920
124949
|
{
|
|
124921
124950
|
decodeText (input)
|
|
@@ -124992,14 +125021,14 @@ const jquery_default_ = jquery_$;
|
|
|
124992
125021
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
124993
125022
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
124994
125023
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
124995
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
125024
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(937);
|
|
124996
125025
|
const libtess_default_ = libtess_libtess;
|
|
124997
125026
|
;
|
|
124998
125027
|
|
|
124999
125028
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
125000
125029
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
125001
125030
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
125002
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
125031
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(268);
|
|
125003
125032
|
/*******************************************************************************
|
|
125004
125033
|
*
|
|
125005
125034
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -125307,7 +125336,7 @@ Object .assign (X3D,
|
|
|
125307
125336
|
|
|
125308
125337
|
// Assign X3D to global namespace.
|
|
125309
125338
|
|
|
125310
|
-
window [Symbol .for ("X_ITE.X3D-9.
|
|
125339
|
+
window [Symbol .for ("X_ITE.X3D-9.6.0")] = x_ite_X3D;
|
|
125311
125340
|
|
|
125312
125341
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
125313
125342
|
|