x_ite 9.2.6 → 9.3.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/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -14
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +18 -42
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +8 -8
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +10 -2
- package/dist/x_ite.js +227 -160
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +227 -160
- package/dist/x_ite.zip +0 -0
- package/package.json +4 -4
package/dist/x_ite.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.3.0 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 944:
|
|
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__(52);
|
|
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
|
+
/***/ 82:
|
|
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__(52)], __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
|
+
/***/ 52:
|
|
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
|
+
/***/ 177:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 776:
|
|
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
|
+
/***/ 247:
|
|
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.3.0")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -21798,15 +21798,11 @@ if (DEVELOPMENT)
|
|
|
21798
21798
|
},
|
|
21799
21799
|
addEvent ()
|
|
21800
21800
|
{
|
|
21801
|
-
this .setModificationTime (Date .now ());
|
|
21802
|
-
|
|
21803
21801
|
for (const parent of this [_parents] .values ())
|
|
21804
21802
|
parent .deref () ?.addEvent (this);
|
|
21805
21803
|
},
|
|
21806
21804
|
addEventObject (field, event)
|
|
21807
21805
|
{
|
|
21808
|
-
this .setModificationTime (Date .now ());
|
|
21809
|
-
|
|
21810
21806
|
for (const parent of this [_parents] .values ())
|
|
21811
21807
|
parent .deref () ?.addEventObject (this, event);
|
|
21812
21808
|
},
|
|
@@ -21924,15 +21920,11 @@ else
|
|
|
21924
21920
|
},
|
|
21925
21921
|
addEvent ()
|
|
21926
21922
|
{
|
|
21927
|
-
this .setModificationTime (Date .now ());
|
|
21928
|
-
|
|
21929
21923
|
for (const parent of this [_parents])
|
|
21930
21924
|
parent .addEvent (this);
|
|
21931
21925
|
},
|
|
21932
21926
|
addEventObject (field, event)
|
|
21933
21927
|
{
|
|
21934
|
-
this .setModificationTime (Date .now ());
|
|
21935
|
-
|
|
21936
21928
|
for (const parent of this [_parents])
|
|
21937
21929
|
parent .addEventObject (this, event);
|
|
21938
21930
|
},
|
|
@@ -27902,6 +27894,44 @@ Object .assign (Rotation4 .prototype,
|
|
|
27902
27894
|
this .update ();
|
|
27903
27895
|
return this;
|
|
27904
27896
|
},
|
|
27897
|
+
/**
|
|
27898
|
+
* Straightens the rotation so that the x-axis of this rotation is parallel to the plane spawned by upVector.
|
|
27899
|
+
*/
|
|
27900
|
+
straighten: (() =>
|
|
27901
|
+
{
|
|
27902
|
+
const
|
|
27903
|
+
localXAxis = new Numbers_Vector3 (0, 0, 0),
|
|
27904
|
+
localZAxis = new Numbers_Vector3 (0, 0, 0),
|
|
27905
|
+
upNormal = new Numbers_Vector3 (0, 0, 0),
|
|
27906
|
+
rotation = new Rotation4 ();
|
|
27907
|
+
|
|
27908
|
+
return function (upVector = Numbers_Vector3 .yAxis)
|
|
27909
|
+
{
|
|
27910
|
+
upNormal .assign (upVector) .normalize ();
|
|
27911
|
+
|
|
27912
|
+
this .multVecRot (localXAxis .assign (Numbers_Vector3 .xAxis) .negate ());
|
|
27913
|
+
this .multVecRot (localZAxis .assign (Numbers_Vector3 .zAxis));
|
|
27914
|
+
|
|
27915
|
+
// If viewer looks along up vector.
|
|
27916
|
+
if (Math .abs (localZAxis .dot (upNormal)) >= 1)
|
|
27917
|
+
return this;
|
|
27918
|
+
|
|
27919
|
+
const newXAxis = localZAxis .cross (upNormal) .normalize ();
|
|
27920
|
+
|
|
27921
|
+
if (newXAxis .dot (localXAxis) <= -1)
|
|
27922
|
+
{
|
|
27923
|
+
rotation .setAxisAngle (Numbers_Vector3 .zAxis, Math .PI);
|
|
27924
|
+
|
|
27925
|
+
return this .multLeft (rotation);
|
|
27926
|
+
}
|
|
27927
|
+
else
|
|
27928
|
+
{
|
|
27929
|
+
rotation .setFromToVec (localXAxis, newXAxis);
|
|
27930
|
+
|
|
27931
|
+
return this .multRight (rotation);
|
|
27932
|
+
}
|
|
27933
|
+
};
|
|
27934
|
+
})(),
|
|
27905
27935
|
toString ()
|
|
27906
27936
|
{
|
|
27907
27937
|
return this [_x] + " " +
|
|
@@ -30035,6 +30065,10 @@ Object .assign (Object .setPrototypeOf (SFRotation .prototype, Base_X3DField .pr
|
|
|
30035
30065
|
{
|
|
30036
30066
|
return new SFRotation (this .getValue () .copy () .slerp (rotation .getValue (), t));
|
|
30037
30067
|
},
|
|
30068
|
+
straighten (upVector)
|
|
30069
|
+
{
|
|
30070
|
+
return new SFRotation (this .getValue () .copy () .straighten (upVector ?.getValue ()));
|
|
30071
|
+
},
|
|
30038
30072
|
toStream (generator)
|
|
30039
30073
|
{
|
|
30040
30074
|
const { x, y, z, angle } = this .getValue ();
|
|
@@ -31081,7 +31115,6 @@ Object .assign (Object .setPrototypeOf (X3DObjectArrayField .prototype, Base_X3D
|
|
|
31081
31115
|
copy = target .create ();
|
|
31082
31116
|
|
|
31083
31117
|
copy .assign (target);
|
|
31084
|
-
copy .setModificationTime (0);
|
|
31085
31118
|
|
|
31086
31119
|
return copy;
|
|
31087
31120
|
},
|
|
@@ -31687,8 +31720,6 @@ Object .assign (Object .setPrototypeOf (X3DTypedArrayField .prototype, Base_X3DA
|
|
|
31687
31720
|
|
|
31688
31721
|
Base_X3DArrayField .prototype .set .call (copy, copyArray);
|
|
31689
31722
|
|
|
31690
|
-
copy .setModificationTime (0);
|
|
31691
|
-
|
|
31692
31723
|
return copy;
|
|
31693
31724
|
},
|
|
31694
31725
|
equals (other)
|
|
@@ -32563,8 +32594,6 @@ Object .assign (Object .setPrototypeOf (MFNode .prototype, Base_X3DObjectArrayFi
|
|
|
32563
32594
|
for (const node of this .getValue ())
|
|
32564
32595
|
copy .push (node .copy (instance));
|
|
32565
32596
|
|
|
32566
|
-
copy .setModificationTime (0);
|
|
32567
|
-
|
|
32568
32597
|
return copy;
|
|
32569
32598
|
}
|
|
32570
32599
|
else
|
|
@@ -33641,10 +33670,25 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
33641
33670
|
{
|
|
33642
33671
|
return this [_executionContext];
|
|
33643
33672
|
},
|
|
33644
|
-
setExecutionContext (
|
|
33673
|
+
setExecutionContext (executionContext)
|
|
33645
33674
|
{
|
|
33675
|
+
// Disconnect interests.
|
|
33676
|
+
|
|
33677
|
+
this .getOuterNode ?.() ?.getLive () .removeInterest (_set_live__, this);
|
|
33678
|
+
this [_executionContext] .getLive () .removeInterest (_set_live__, this);
|
|
33679
|
+
|
|
33646
33680
|
// Currently only useful for Scene.
|
|
33647
|
-
this [_executionContext] =
|
|
33681
|
+
this [_executionContext] = executionContext;
|
|
33682
|
+
|
|
33683
|
+
// Connect interests.
|
|
33684
|
+
|
|
33685
|
+
if (this .getOuterNode ?.())
|
|
33686
|
+
this .getOuterNode () .getLive () .addInterest (_set_live__, this);
|
|
33687
|
+
|
|
33688
|
+
else if (this [_executionContext] !== this)
|
|
33689
|
+
this [_executionContext] .getLive () .addInterest (_set_live__, this);
|
|
33690
|
+
|
|
33691
|
+
this [_set_live__] ();
|
|
33648
33692
|
},
|
|
33649
33693
|
addType (value)
|
|
33650
33694
|
{
|
|
@@ -34028,7 +34072,10 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
34028
34072
|
addEvent (field)
|
|
34029
34073
|
{
|
|
34030
34074
|
if (field .isTainted ())
|
|
34075
|
+
{
|
|
34076
|
+
field .setModificationTime (Date .now ());
|
|
34031
34077
|
return;
|
|
34078
|
+
}
|
|
34032
34079
|
|
|
34033
34080
|
// if (this .getTypeName () === "HAnimMotion")
|
|
34034
34081
|
// {
|
|
@@ -34044,6 +34091,8 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
34044
34091
|
{
|
|
34045
34092
|
const browser = this [_browser];
|
|
34046
34093
|
|
|
34094
|
+
field .setModificationTime (Date .now ());
|
|
34095
|
+
|
|
34047
34096
|
// Register for processEvent
|
|
34048
34097
|
|
|
34049
34098
|
browser .addTaintedField (field, event);
|
|
@@ -34164,7 +34213,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34164
34213
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34165
34214
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34166
34215
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34167
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34216
|
+
/* provided dependency */ var $ = __webpack_require__(52);
|
|
34168
34217
|
/*******************************************************************************
|
|
34169
34218
|
*
|
|
34170
34219
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34301,7 +34350,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34301
34350
|
*
|
|
34302
34351
|
******************************************************************************/
|
|
34303
34352
|
|
|
34304
|
-
const BROWSER_VERSION_default_ = "9.
|
|
34353
|
+
const BROWSER_VERSION_default_ = "9.3.0";
|
|
34305
34354
|
;
|
|
34306
34355
|
|
|
34307
34356
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38445,7 +38494,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38445
38494
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38446
38495
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38447
38496
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38448
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38497
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(52);
|
|
38449
38498
|
/*******************************************************************************
|
|
38450
38499
|
*
|
|
38451
38500
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -38707,7 +38756,7 @@ const Expressions_default_ = Expressions;
|
|
|
38707
38756
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
38708
38757
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
38709
38758
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
38710
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
38759
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(52);
|
|
38711
38760
|
/*******************************************************************************
|
|
38712
38761
|
*
|
|
38713
38762
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41393,7 +41442,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41393
41442
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41394
41443
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41395
41444
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41396
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41445
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(52);
|
|
41397
41446
|
/*******************************************************************************
|
|
41398
41447
|
*
|
|
41399
41448
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43502,7 +43551,7 @@ const URLs_default_ = URLs;
|
|
|
43502
43551
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43503
43552
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43504
43553
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43505
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43554
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(52);
|
|
43506
43555
|
/*******************************************************************************
|
|
43507
43556
|
*
|
|
43508
43557
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46803,7 +46852,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46803
46852
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46804
46853
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46805
46854
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46806
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46855
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(52);
|
|
46807
46856
|
/*******************************************************************************
|
|
46808
46857
|
*
|
|
46809
46858
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46955,7 +47004,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
46955
47004
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
46956
47005
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
46957
47006
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
46958
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47007
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(52);
|
|
46959
47008
|
/*******************************************************************************
|
|
46960
47009
|
*
|
|
46961
47010
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50310,8 +50359,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50310
50359
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50311
50360
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50312
50361
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50313
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50314
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50362
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(52);
|
|
50363
|
+
/* provided dependency */ var libtess = __webpack_require__(177);
|
|
50315
50364
|
/*******************************************************************************
|
|
50316
50365
|
*
|
|
50317
50366
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53079,7 +53128,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53079
53128
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53080
53129
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53081
53130
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53082
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53131
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(52);
|
|
53083
53132
|
/*******************************************************************************
|
|
53084
53133
|
*
|
|
53085
53134
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53384,6 +53433,19 @@ Object .assign (Plane3 .prototype,
|
|
|
53384
53433
|
{
|
|
53385
53434
|
return point .dot (this .normal) - this .distanceFromOrigin;
|
|
53386
53435
|
},
|
|
53436
|
+
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
53437
|
+
{
|
|
53438
|
+
return result .assign (this .normal) .multiply (this .getDistanceToPoint (point));
|
|
53439
|
+
},
|
|
53440
|
+
getClosestPointToPoint: (function ()
|
|
53441
|
+
{
|
|
53442
|
+
const p = new Numbers_Vector3 (0, 0, 0);
|
|
53443
|
+
|
|
53444
|
+
return function (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
53445
|
+
{
|
|
53446
|
+
return result .assign (point) .add (this .getPerpendicularVectorToPoint (point, p));
|
|
53447
|
+
};
|
|
53448
|
+
})(),
|
|
53387
53449
|
intersectsLine (line, intersection)
|
|
53388
53450
|
{
|
|
53389
53451
|
const { point, direction } = line;
|
|
@@ -53416,7 +53478,7 @@ const Plane3_default_ = Plane3;
|
|
|
53416
53478
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53417
53479
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53418
53480
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53419
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53481
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(177);
|
|
53420
53482
|
/*******************************************************************************
|
|
53421
53483
|
*
|
|
53422
53484
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -55396,7 +55458,7 @@ Object .assign (Line3 .prototype,
|
|
|
55396
55458
|
matrix .multDirMatrix (this .direction) .normalize ();
|
|
55397
55459
|
return this;
|
|
55398
55460
|
},
|
|
55399
|
-
getClosestPointToPoint (point, result)
|
|
55461
|
+
getClosestPointToPoint (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
55400
55462
|
{
|
|
55401
55463
|
const
|
|
55402
55464
|
r = result .assign (point) .subtract (this .point),
|
|
@@ -55431,7 +55493,7 @@ Object .assign (Line3 .prototype,
|
|
|
55431
55493
|
{
|
|
55432
55494
|
const t = new Numbers_Vector3 (0, 0, 0);
|
|
55433
55495
|
|
|
55434
|
-
return function (point, result)
|
|
55496
|
+
return function (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
55435
55497
|
{
|
|
55436
55498
|
result .assign (this .point) .subtract (point);
|
|
55437
55499
|
|
|
@@ -55444,7 +55506,7 @@ Object .assign (Line3 .prototype,
|
|
|
55444
55506
|
d = new Numbers_Vector3 (0, 0, 0),
|
|
55445
55507
|
ad = new Numbers_Vector3 (0, 0, 0);
|
|
55446
55508
|
|
|
55447
|
-
return function (line, result)
|
|
55509
|
+
return function (line, result = new Numbers_Vector3 (0, 0, 0))
|
|
55448
55510
|
{
|
|
55449
55511
|
const bd = result;
|
|
55450
55512
|
|
|
@@ -56277,7 +56339,12 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56277
56339
|
|
|
56278
56340
|
if (num === this .pointingShapes .length)
|
|
56279
56341
|
{
|
|
56280
|
-
this .pointingShapes .push ({
|
|
56342
|
+
this .pointingShapes .push ({
|
|
56343
|
+
renderObject: this,
|
|
56344
|
+
modelViewMatrix: new Float32Array (16),
|
|
56345
|
+
clipPlanes: [ ],
|
|
56346
|
+
sensors: [ ],
|
|
56347
|
+
});
|
|
56281
56348
|
}
|
|
56282
56349
|
|
|
56283
56350
|
const pointingContext = this .pointingShapes [num];
|
|
@@ -56321,7 +56388,12 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56321
56388
|
|
|
56322
56389
|
if (num === this .collisionShapes .length)
|
|
56323
56390
|
{
|
|
56324
|
-
this .collisionShapes .push ({
|
|
56391
|
+
this .collisionShapes .push ({
|
|
56392
|
+
renderObject: this,
|
|
56393
|
+
modelViewMatrix: new Float32Array (16),
|
|
56394
|
+
collisions: [ ],
|
|
56395
|
+
clipPlanes: [ ]
|
|
56396
|
+
});
|
|
56325
56397
|
}
|
|
56326
56398
|
|
|
56327
56399
|
const collisionContext = this .collisionShapes [num];
|
|
@@ -56367,7 +56439,11 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56367
56439
|
|
|
56368
56440
|
if (num === this .shadowShapes .length)
|
|
56369
56441
|
{
|
|
56370
|
-
this .shadowShapes .push ({
|
|
56442
|
+
this .shadowShapes .push ({
|
|
56443
|
+
renderObject: this,
|
|
56444
|
+
modelViewMatrix: new Float32Array (16),
|
|
56445
|
+
clipPlanes: [ ]
|
|
56446
|
+
});
|
|
56371
56447
|
}
|
|
56372
56448
|
|
|
56373
56449
|
const depthContext = this .shadowShapes [num];
|
|
@@ -57810,7 +57886,7 @@ Object .assign (Object .setPrototypeOf (X3DGroupingNode .prototype, Core_X3DChil
|
|
|
57810
57886
|
|
|
57811
57887
|
if (Base_X3DCast (Base_X3DConstants .X3DBoundedObject, childNode))
|
|
57812
57888
|
{
|
|
57813
|
-
childNode ._display .addInterest ("set_displays_",
|
|
57889
|
+
childNode ._display .addInterest ("set_displays_", this);
|
|
57814
57890
|
childNode ._bboxDisplay .addInterest ("set_bboxDisplays__", this);
|
|
57815
57891
|
}
|
|
57816
57892
|
|
|
@@ -61915,7 +61991,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61915
61991
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61916
61992
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61917
61993
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61918
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
61994
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(52);
|
|
61919
61995
|
/*******************************************************************************
|
|
61920
61996
|
*
|
|
61921
61997
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -64715,32 +64791,10 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
64715
64791
|
|
|
64716
64792
|
this .setInterpolators (this, relative);
|
|
64717
64793
|
},
|
|
64718
|
-
straightenHorizon
|
|
64794
|
+
straightenHorizon (orientation, upVector = this .getUpVector (true))
|
|
64719
64795
|
{
|
|
64720
|
-
|
|
64721
|
-
|
|
64722
|
-
localZAxis = new Numbers_Vector3 (0, 0, 0),
|
|
64723
|
-
rotation = new Numbers_Rotation4 ();
|
|
64724
|
-
|
|
64725
|
-
return function (orientation, upVector = this .getUpVector (true))
|
|
64726
|
-
{
|
|
64727
|
-
orientation .multVecRot (localXAxis .assign (Numbers_Vector3 .xAxis) .negate ());
|
|
64728
|
-
orientation .multVecRot (localZAxis .assign (Numbers_Vector3 .zAxis));
|
|
64729
|
-
|
|
64730
|
-
const vector = localZAxis .cross (upVector);
|
|
64731
|
-
|
|
64732
|
-
// If viewer looks along the up vector.
|
|
64733
|
-
if (Math .abs (localZAxis .dot (upVector)) >= 1)
|
|
64734
|
-
return orientation;
|
|
64735
|
-
|
|
64736
|
-
if (Math .abs (vector .dot (localXAxis)) >= 1)
|
|
64737
|
-
return orientation;
|
|
64738
|
-
|
|
64739
|
-
rotation .setFromToVec (localXAxis, vector);
|
|
64740
|
-
|
|
64741
|
-
return orientation .multRight (rotation);
|
|
64742
|
-
};
|
|
64743
|
-
})(),
|
|
64796
|
+
return orientation .straighten (upVector);
|
|
64797
|
+
},
|
|
64744
64798
|
viewAll (bbox)
|
|
64745
64799
|
{
|
|
64746
64800
|
bbox .copy () .multRight (this .modelMatrix .copy () .inverse ());
|
|
@@ -65538,7 +65592,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65538
65592
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65539
65593
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65540
65594
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65541
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65595
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(52);
|
|
65542
65596
|
/*******************************************************************************
|
|
65543
65597
|
*
|
|
65544
65598
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65654,9 +65708,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65654
65708
|
{
|
|
65655
65709
|
const scene = this .browser .createScene ();
|
|
65656
65710
|
|
|
65657
|
-
if (this .node instanceof Execution_X3DWorld)
|
|
65658
|
-
scene .loader = this;
|
|
65659
|
-
else
|
|
65711
|
+
if (!(this .node instanceof Execution_X3DWorld))
|
|
65660
65712
|
scene .setExecutionContext (this .executionContext);
|
|
65661
65713
|
|
|
65662
65714
|
scene .setWorldURL (new URL (worldURL, this .getBaseURL ()) .href);
|
|
@@ -65690,8 +65742,6 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65690
65742
|
|
|
65691
65743
|
scene ._initLoadCount .removeInterest ("set_initLoadCount__", this);
|
|
65692
65744
|
|
|
65693
|
-
delete scene .loader;
|
|
65694
|
-
|
|
65695
65745
|
// Wait for instances to be created.
|
|
65696
65746
|
|
|
65697
65747
|
setTimeout (() =>
|
|
@@ -65952,10 +66002,7 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
65952
66002
|
{
|
|
65953
66003
|
Networking_X3DUrlObject .prototype .set_live__ .call (this);
|
|
65954
66004
|
|
|
65955
|
-
|
|
65956
|
-
return;
|
|
65957
|
-
|
|
65958
|
-
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66005
|
+
this [_scene] ?.setLive (this .getLive () .getValue ());
|
|
65959
66006
|
},
|
|
65960
66007
|
canUserDefinedFields ()
|
|
65961
66008
|
{
|
|
@@ -66000,6 +66047,9 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
66000
66047
|
},
|
|
66001
66048
|
setInternalScene (value)
|
|
66002
66049
|
{
|
|
66050
|
+
this [_scene] ?.setExecutionContext (this [_scene]);
|
|
66051
|
+
this [_scene] ?.setLive (false);
|
|
66052
|
+
|
|
66003
66053
|
this [_scene] = value;
|
|
66004
66054
|
|
|
66005
66055
|
const
|
|
@@ -66009,8 +66059,8 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
66009
66059
|
if (!proto)
|
|
66010
66060
|
throw new Error ("PROTO not found");
|
|
66011
66061
|
|
|
66012
|
-
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66013
66062
|
this [_scene] .setExecutionContext (this .getExecutionContext ());
|
|
66063
|
+
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66014
66064
|
|
|
66015
66065
|
this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
|
|
66016
66066
|
this .setProtoDeclaration (proto);
|
|
@@ -66469,7 +66519,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66469
66519
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66470
66520
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66471
66521
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66472
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66522
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(52);
|
|
66473
66523
|
/*******************************************************************************
|
|
66474
66524
|
*
|
|
66475
66525
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -68102,7 +68152,7 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68102
68152
|
if (!field .isInitializable ())
|
|
68103
68153
|
continue;
|
|
68104
68154
|
|
|
68105
|
-
// Is set during parse.
|
|
68155
|
+
// Is set during parse, or already changed by an route event.
|
|
68106
68156
|
if (field .getModificationTime ())
|
|
68107
68157
|
continue;
|
|
68108
68158
|
|
|
@@ -83379,19 +83429,19 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83379
83429
|
},
|
|
83380
83430
|
setInternalScene (scene)
|
|
83381
83431
|
{
|
|
83432
|
+
this .scene .setExecutionContext (this .scene);
|
|
83382
83433
|
this .scene .setLive (false);
|
|
83383
83434
|
this .scene .rootNodes .removeFieldInterest (this .groupNode ._children);
|
|
83384
83435
|
|
|
83385
83436
|
// Set new scene.
|
|
83386
83437
|
|
|
83387
83438
|
this .scene = scene;
|
|
83388
|
-
this .scene .setExecutionContext (this .getExecutionContext ());
|
|
83389
83439
|
|
|
83440
|
+
this .scene .setExecutionContext (this .getExecutionContext ());
|
|
83441
|
+
this .scene .setLive (this .getLive () .getValue ());
|
|
83390
83442
|
this .scene .rootNodes .addFieldInterest (this .groupNode ._children);
|
|
83391
83443
|
this .groupNode ._children = this .scene .rootNodes;
|
|
83392
83444
|
|
|
83393
|
-
this .set_live__ ();
|
|
83394
|
-
|
|
83395
83445
|
this .getBrowser () .addBrowserEvent ();
|
|
83396
83446
|
},
|
|
83397
83447
|
getInternalScene ()
|
|
@@ -89346,7 +89396,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89346
89396
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89347
89397
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89348
89398
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89349
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89399
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(52);
|
|
89350
89400
|
/*******************************************************************************
|
|
89351
89401
|
*
|
|
89352
89402
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94987,7 +95037,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
94987
95037
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
94988
95038
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
94989
95039
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
94990
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95040
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(52);
|
|
94991
95041
|
/*******************************************************************************
|
|
94992
95042
|
*
|
|
94993
95043
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95644,7 +95694,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95644
95694
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95645
95695
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95646
95696
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95647
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95697
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(52);
|
|
95648
95698
|
/*******************************************************************************
|
|
95649
95699
|
*
|
|
95650
95700
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99062,7 +99112,7 @@ const Components_Shape_default_ = {
|
|
|
99062
99112
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99063
99113
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99064
99114
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99065
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99115
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(52);
|
|
99066
99116
|
/*******************************************************************************
|
|
99067
99117
|
*
|
|
99068
99118
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99702,7 +99752,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99702
99752
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99703
99753
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99704
99754
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99705
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99755
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(52);
|
|
99706
99756
|
/*******************************************************************************
|
|
99707
99757
|
*
|
|
99708
99758
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100004,7 +100054,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100004
100054
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100005
100055
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100006
100056
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100007
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100057
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(52);
|
|
100008
100058
|
/*******************************************************************************
|
|
100009
100059
|
*
|
|
100010
100060
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101654,7 +101704,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101654
101704
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101655
101705
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101656
101706
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101657
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101707
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(52);
|
|
101658
101708
|
/*******************************************************************************
|
|
101659
101709
|
*
|
|
101660
101710
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103323,8 +103373,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103323
103373
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103324
103374
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103325
103375
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103326
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103327
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103376
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(52);
|
|
103377
|
+
/* provided dependency */ var SuperGif = __webpack_require__(247);
|
|
103328
103378
|
/*******************************************************************************
|
|
103329
103379
|
*
|
|
103330
103380
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105928,9 +105978,13 @@ x_ite_Namespace .add ("Time", "x_ite/Components/Time", Time_default_);
|
|
|
105928
105978
|
|
|
105929
105979
|
const Context =
|
|
105930
105980
|
{
|
|
105981
|
+
excludes: new Set ([
|
|
105982
|
+
"WEBGL_debug_renderer_info",
|
|
105983
|
+
"WEBGL_polygon_mode",
|
|
105984
|
+
]),
|
|
105931
105985
|
create (canvas, version, preserveDrawingBuffer, mobile)
|
|
105932
105986
|
{
|
|
105933
|
-
const options = { preserveDrawingBuffer
|
|
105987
|
+
const options = { preserveDrawingBuffer };
|
|
105934
105988
|
|
|
105935
105989
|
let gl = null;
|
|
105936
105990
|
|
|
@@ -105967,7 +106021,7 @@ const Context =
|
|
|
105967
106021
|
|
|
105968
106022
|
// Load extensions.
|
|
105969
106023
|
|
|
105970
|
-
for (const extension of gl .getSupportedExtensions ())
|
|
106024
|
+
for (const extension of gl .getSupportedExtensions () .filter (extension => !this .excludes .has (extension)))
|
|
105971
106025
|
gl .getExtension (extension);
|
|
105972
106026
|
|
|
105973
106027
|
// Feature detection:
|
|
@@ -106599,7 +106653,7 @@ const gettext_default_ = gettext;
|
|
|
106599
106653
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106600
106654
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106601
106655
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106602
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106656
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(52);
|
|
106603
106657
|
/*******************************************************************************
|
|
106604
106658
|
*
|
|
106605
106659
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107029,7 +107083,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107029
107083
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107030
107084
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107031
107085
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107032
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107086
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(52);
|
|
107033
107087
|
/*******************************************************************************
|
|
107034
107088
|
*
|
|
107035
107089
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107619,7 +107673,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107619
107673
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107620
107674
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107621
107675
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107622
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107676
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(52);
|
|
107623
107677
|
/*******************************************************************************
|
|
107624
107678
|
*
|
|
107625
107679
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107742,8 +107796,8 @@ const Notification_default_ = Notification;
|
|
|
107742
107796
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107743
107797
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107744
107798
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107745
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107746
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107799
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(944);
|
|
107800
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(52);
|
|
107747
107801
|
/*******************************************************************************
|
|
107748
107802
|
*
|
|
107749
107803
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110206,7 +110260,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110206
110260
|
},
|
|
110207
110261
|
},
|
|
110208
110262
|
{
|
|
110209
|
-
setExecutionContext (
|
|
110263
|
+
setExecutionContext (executionContext)
|
|
110210
110264
|
{
|
|
110211
110265
|
if (!this .isMainScene ())
|
|
110212
110266
|
{
|
|
@@ -110216,7 +110270,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110216
110270
|
scene .removeLoadingObject (object);
|
|
110217
110271
|
}
|
|
110218
110272
|
|
|
110219
|
-
Execution_X3DExecutionContext .prototype .setExecutionContext .call (this,
|
|
110273
|
+
Execution_X3DExecutionContext .prototype .setExecutionContext .call (this, executionContext);
|
|
110220
110274
|
|
|
110221
110275
|
if (!this .isMainScene ())
|
|
110222
110276
|
{
|
|
@@ -110251,7 +110305,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110251
110305
|
browser = this .getBrowser (),
|
|
110252
110306
|
scene = this .getScene ();
|
|
110253
110307
|
|
|
110254
|
-
if (this === browser .getExecutionContext ()
|
|
110308
|
+
if (this === browser .getExecutionContext ())
|
|
110255
110309
|
browser .addLoadingObject (node);
|
|
110256
110310
|
|
|
110257
110311
|
if (!this .isMainScene ())
|
|
@@ -110270,7 +110324,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110270
110324
|
browser = this .getBrowser (),
|
|
110271
110325
|
scene = this .getScene ();
|
|
110272
110326
|
|
|
110273
|
-
if (this === browser .getExecutionContext ()
|
|
110327
|
+
if (this === browser .getExecutionContext ())
|
|
110274
110328
|
browser .removeLoadingObject (node);
|
|
110275
110329
|
|
|
110276
110330
|
if (!this .isMainScene ())
|
|
@@ -110495,7 +110549,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110495
110549
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110496
110550
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110497
110551
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110498
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110552
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(52);
|
|
110499
110553
|
/*******************************************************************************
|
|
110500
110554
|
*
|
|
110501
110555
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113018,8 +113072,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113018
113072
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113019
113073
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113020
113074
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113021
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113022
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113075
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(82);
|
|
113076
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(52);
|
|
113023
113077
|
/*******************************************************************************
|
|
113024
113078
|
*
|
|
113025
113079
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113891,8 +113945,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113891
113945
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113892
113946
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113893
113947
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113894
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113895
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
113948
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(82);
|
|
113949
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(52);
|
|
113896
113950
|
/*******************************************************************************
|
|
113897
113951
|
*
|
|
113898
113952
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114901,8 +114955,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114901
114955
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114902
114956
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114903
114957
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114904
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114905
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
114958
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(82);
|
|
114959
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(52);
|
|
114906
114960
|
/*******************************************************************************
|
|
114907
114961
|
*
|
|
114908
114962
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115233,8 +115287,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115233
115287
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115234
115288
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115235
115289
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115236
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115237
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115290
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(82);
|
|
115291
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(52);
|
|
115238
115292
|
/*******************************************************************************
|
|
115239
115293
|
*
|
|
115240
115294
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116373,8 +116427,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116373
116427
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116374
116428
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116375
116429
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116376
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116377
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116430
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(82);
|
|
116431
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(52);
|
|
116378
116432
|
/*******************************************************************************
|
|
116379
116433
|
*
|
|
116380
116434
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116485,7 +116539,7 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116485
116539
|
event .stopImmediatePropagation (); // Keeps the rest of the handlers from being executed
|
|
116486
116540
|
|
|
116487
116541
|
browser .setCursor ("HAND");
|
|
116488
|
-
|
|
116542
|
+
this .onverifymotion (x, y);
|
|
116489
116543
|
}
|
|
116490
116544
|
}
|
|
116491
116545
|
},
|
|
@@ -116506,8 +116560,7 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116506
116560
|
|
|
116507
116561
|
browser .buttonReleaseEvent ();
|
|
116508
116562
|
browser .setCursor (this .isOver ? "HAND" : "DEFAULT");
|
|
116509
|
-
|
|
116510
|
-
browser .addBrowserEvent ();
|
|
116563
|
+
this .onverifymotion (x, y);
|
|
116511
116564
|
|
|
116512
116565
|
this .cursor = "DEFAULT";
|
|
116513
116566
|
}
|
|
@@ -116625,12 +116678,10 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116625
116678
|
onverifymotion (x, y)
|
|
116626
116679
|
{
|
|
116627
116680
|
// Verify isOver state. This is necessary if an Switch changes on buttonReleaseEvent
|
|
116628
|
-
// and the new child has a sensor node inside. This sensor node must be
|
|
116681
|
+
// and the new child has a sensor node inside. This sensor node must be updated to
|
|
116629
116682
|
// reflect the correct isOver state.
|
|
116630
116683
|
|
|
116631
|
-
|
|
116632
|
-
|
|
116633
|
-
this .onmotion (x, y);
|
|
116684
|
+
requestAnimationFrame (() => this .onmotion (x, y));
|
|
116634
116685
|
},
|
|
116635
116686
|
showContextMenu (event)
|
|
116636
116687
|
{
|
|
@@ -116905,7 +116956,8 @@ const
|
|
|
116905
116956
|
_pointingBuffer = Symbol (),
|
|
116906
116957
|
_pointingShaders = Symbol (),
|
|
116907
116958
|
_id = Symbol (),
|
|
116908
|
-
_pointingContexts = Symbol ()
|
|
116959
|
+
_pointingContexts = Symbol (),
|
|
116960
|
+
_processEvents = Symbol .for ("X_ITE.X3DRoutingContext.processEvents");
|
|
116909
116961
|
|
|
116910
116962
|
function X3DPointingDeviceSensorContext ()
|
|
116911
116963
|
{
|
|
@@ -116925,6 +116977,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
116925
116977
|
pointer: this [_pointer],
|
|
116926
116978
|
hitRay: null,
|
|
116927
116979
|
sensors: [ ],
|
|
116980
|
+
viewMatrix: new Numbers_Matrix4 (),
|
|
116928
116981
|
modelViewMatrix: new Numbers_Matrix4 (),
|
|
116929
116982
|
point: new Numbers_Vector3 (0, 0, 0),
|
|
116930
116983
|
normal: new Numbers_Vector3 (0, 0, 0),
|
|
@@ -116938,6 +116991,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
116938
116991
|
pointer: this .pointer .copy (),
|
|
116939
116992
|
hitRay: this .hitRay .copy (),
|
|
116940
116993
|
sensors: this .sensors .slice (),
|
|
116994
|
+
viewMatrix: this .viewMatrix .copy (),
|
|
116941
116995
|
modelViewMatrix: this .modelViewMatrix .copy (),
|
|
116942
116996
|
point: this .point .copy (),
|
|
116943
116997
|
normal: this .normal .copy (),
|
|
@@ -117057,6 +117111,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117057
117111
|
for (const sensor of this [_activeSensors])
|
|
117058
117112
|
sensor .set_active__ (true, hit);
|
|
117059
117113
|
|
|
117114
|
+
this [_processEvents] ();
|
|
117115
|
+
|
|
117060
117116
|
return !! hit .sensors .length;
|
|
117061
117117
|
},
|
|
117062
117118
|
buttonReleaseEvent ()
|
|
@@ -117069,6 +117125,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117069
117125
|
|
|
117070
117126
|
this [_activeSensors] = Array .prototype;
|
|
117071
117127
|
this [_pointingLayer] = null;
|
|
117128
|
+
|
|
117129
|
+
this [_processEvents] ();
|
|
117072
117130
|
},
|
|
117073
117131
|
motionNotifyEvent (x, y)
|
|
117074
117132
|
{
|
|
@@ -117078,6 +117136,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117078
117136
|
this .touch (x, y);
|
|
117079
117137
|
this .motion ();
|
|
117080
117138
|
|
|
117139
|
+
this [_processEvents] ();
|
|
117140
|
+
|
|
117081
117141
|
return !! this [_hit] .sensors .length;
|
|
117082
117142
|
},
|
|
117083
117143
|
leaveNotifyEvent ()
|
|
@@ -117118,6 +117178,7 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117118
117178
|
hit .layerNode = pickingContext .renderObject;
|
|
117119
117179
|
hit .shapeNode = shapeNode;
|
|
117120
117180
|
|
|
117181
|
+
hit .viewMatrix .assign (pickingContext .renderObject .getViewpoint () .getViewMatrix ());
|
|
117121
117182
|
hit .modelViewMatrix .assign (pickingContext .modelViewMatrix);
|
|
117122
117183
|
|
|
117123
117184
|
// A ParticleSystem has only a geometry context.
|
|
@@ -117137,6 +117198,7 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117137
117198
|
hit .layerNode = this [_pointingLayer];
|
|
117138
117199
|
hit .shapeNode = null;
|
|
117139
117200
|
|
|
117201
|
+
hit .viewMatrix .assign (Numbers_Matrix4 .Identity);
|
|
117140
117202
|
hit .modelViewMatrix .assign (Numbers_Matrix4 .Identity);
|
|
117141
117203
|
}
|
|
117142
117204
|
|
|
@@ -117653,7 +117715,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117653
117715
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117654
117716
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117655
117717
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117656
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117718
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(52);
|
|
117657
117719
|
/*******************************************************************************
|
|
117658
117720
|
*
|
|
117659
117721
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118555,7 +118617,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118555
118617
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118556
118618
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118557
118619
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118558
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118620
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(52);
|
|
118559
118621
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118560
118622
|
{
|
|
118561
118623
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -119652,7 +119714,7 @@ const
|
|
|
119652
119714
|
_cameraTime = Symbol (),
|
|
119653
119715
|
_collisionTime = Symbol (),
|
|
119654
119716
|
_displayTime = Symbol (),
|
|
119655
|
-
|
|
119717
|
+
X3DBrowserContext_processEvents = Symbol .for ("X_ITE.X3DRoutingContext.processEvents");
|
|
119656
119718
|
|
|
119657
119719
|
const
|
|
119658
119720
|
browsers = new Set (),
|
|
@@ -119837,10 +119899,10 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
|
|
|
119837
119899
|
// Events
|
|
119838
119900
|
|
|
119839
119901
|
this .addTaintedField (this ._prepareEvents);
|
|
119840
|
-
this [
|
|
119902
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119841
119903
|
|
|
119842
119904
|
this .addTaintedField (this ._timeEvents);
|
|
119843
|
-
this [
|
|
119905
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119844
119906
|
|
|
119845
119907
|
// Camera
|
|
119846
119908
|
|
|
@@ -119860,19 +119922,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
|
|
|
119860
119922
|
// Events
|
|
119861
119923
|
|
|
119862
119924
|
this .addTaintedField (this ._sensorEvents);
|
|
119863
|
-
this [
|
|
119925
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119864
119926
|
|
|
119865
119927
|
// Display
|
|
119866
119928
|
|
|
119867
119929
|
this [_displayTime] .start ()
|
|
119868
119930
|
this .addTaintedField (this ._displayEvents);
|
|
119869
|
-
this [
|
|
119931
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119870
119932
|
|
|
119871
119933
|
this .getFrameBuffer () .clear ();
|
|
119872
119934
|
this [_world] .traverse (Rendering_TraverseType .DISPLAY);
|
|
119873
119935
|
|
|
119874
119936
|
this .addTaintedField (this ._finishedEvents);
|
|
119875
|
-
this [
|
|
119937
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119876
119938
|
|
|
119877
119939
|
this .getFrameBuffer () .blit ();
|
|
119878
119940
|
this [_displayTime] .stop ();
|
|
@@ -119989,7 +120051,7 @@ Object .assign (X3DBrowserContext,
|
|
|
119989
120051
|
|
|
119990
120052
|
// Process events from context creation. This will setup nodes like
|
|
119991
120053
|
// geometry option nodes before any node is created.
|
|
119992
|
-
browser [
|
|
120054
|
+
browser [X3DBrowserContext_processEvents] ();
|
|
119993
120055
|
}
|
|
119994
120056
|
}
|
|
119995
120057
|
|
|
@@ -120108,7 +120170,7 @@ const Components_default_ = Components;
|
|
|
120108
120170
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120109
120171
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120110
120172
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120111
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120173
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(52);
|
|
120112
120174
|
/*******************************************************************************
|
|
120113
120175
|
* MIT License
|
|
120114
120176
|
*
|
|
@@ -121239,7 +121301,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121239
121301
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121240
121302
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121241
121303
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121242
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121304
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(52);
|
|
121243
121305
|
/*******************************************************************************
|
|
121244
121306
|
*
|
|
121245
121307
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121670,8 +121732,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121670
121732
|
|
|
121671
121733
|
// Detach scene from parent.
|
|
121672
121734
|
|
|
121673
|
-
scene .getExecutionContext () .getLive () .removeInterest ("setLive", scene);
|
|
121674
121735
|
scene .setExecutionContext (scene);
|
|
121736
|
+
scene .setLive (this .isLive ());
|
|
121675
121737
|
|
|
121676
121738
|
// Replace.
|
|
121677
121739
|
|
|
@@ -121684,8 +121746,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121684
121746
|
|
|
121685
121747
|
this .setExecutionContext (scene);
|
|
121686
121748
|
this .getWorld () .bindBindables ();
|
|
121687
|
-
|
|
121688
|
-
scene .setLive (this .isLive ());
|
|
121689
121749
|
});
|
|
121690
121750
|
},
|
|
121691
121751
|
checkLoadCount (resolve, loadCount)
|
|
@@ -121712,9 +121772,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121712
121772
|
|
|
121713
121773
|
if (!external)
|
|
121714
121774
|
{
|
|
121715
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121716
121775
|
scene .setExecutionContext (currentScene);
|
|
121717
|
-
scene .setLive (
|
|
121776
|
+
scene .setLive (true);
|
|
121718
121777
|
}
|
|
121719
121778
|
|
|
121720
121779
|
return scene .rootNodes;
|
|
@@ -121736,9 +121795,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121736
121795
|
|
|
121737
121796
|
if (!external)
|
|
121738
121797
|
{
|
|
121739
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121740
121798
|
scene .setExecutionContext (currentScene);
|
|
121741
|
-
scene .setLive (
|
|
121799
|
+
scene .setLive (true);
|
|
121742
121800
|
}
|
|
121743
121801
|
|
|
121744
121802
|
return scene;
|
|
@@ -121769,7 +121827,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121769
121827
|
|
|
121770
121828
|
this .addLoadingObject (fileLoader);
|
|
121771
121829
|
|
|
121772
|
-
fileLoader .createX3DFromURL (url, null,
|
|
121830
|
+
fileLoader .createX3DFromURL (url, null, scene =>
|
|
121773
121831
|
{
|
|
121774
121832
|
this .removeLoadingObject (fileLoader);
|
|
121775
121833
|
|
|
@@ -121779,9 +121837,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121779
121837
|
|
|
121780
121838
|
if (!external)
|
|
121781
121839
|
{
|
|
121782
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121783
121840
|
scene .setExecutionContext (currentScene);
|
|
121784
|
-
scene .setLive (
|
|
121841
|
+
scene .setLive (true);
|
|
121785
121842
|
}
|
|
121786
121843
|
|
|
121787
121844
|
// Wait until scene is completely loaded, scene ._loadCount must be 0.
|
|
@@ -121808,7 +121865,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121808
121865
|
|
|
121809
121866
|
this .addLoadingObject (fileLoader);
|
|
121810
121867
|
|
|
121811
|
-
fileLoader .createX3DFromURL (url, null,
|
|
121868
|
+
fileLoader .createX3DFromURL (url, null, scene =>
|
|
121812
121869
|
{
|
|
121813
121870
|
this .removeLoadingObject (fileLoader);
|
|
121814
121871
|
|
|
@@ -121816,9 +121873,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121816
121873
|
{
|
|
121817
121874
|
if (!external)
|
|
121818
121875
|
{
|
|
121819
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121820
121876
|
scene .setExecutionContext (currentScene);
|
|
121821
|
-
scene .setLive (
|
|
121877
|
+
scene .setLive (true);
|
|
121822
121878
|
}
|
|
121823
121879
|
|
|
121824
121880
|
resolve (scene);
|
|
@@ -121844,7 +121900,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121844
121900
|
|
|
121845
121901
|
const fileLoader = new InputOutput_FileLoader (this .getWorld ());
|
|
121846
121902
|
|
|
121847
|
-
fileLoader .createX3DFromURL (url, parameter,
|
|
121903
|
+
fileLoader .createX3DFromURL (url, parameter, scene =>
|
|
121848
121904
|
{
|
|
121849
121905
|
if (this [_fileLoader] !== fileLoader)
|
|
121850
121906
|
{
|
|
@@ -121997,9 +122053,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121997
122053
|
|
|
121998
122054
|
if (!external)
|
|
121999
122055
|
{
|
|
122000
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
122001
122056
|
scene .setExecutionContext (currentScene);
|
|
122002
|
-
scene .setLive (
|
|
122057
|
+
scene .setLive (true);
|
|
122003
122058
|
}
|
|
122004
122059
|
|
|
122005
122060
|
const parser = new Parser_XMLParser (scene);
|
|
@@ -122017,9 +122072,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
122017
122072
|
|
|
122018
122073
|
if (!external)
|
|
122019
122074
|
{
|
|
122020
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
122021
122075
|
scene .setExecutionContext (currentScene);
|
|
122022
|
-
scene .setLive (
|
|
122076
|
+
scene .setLive (true);
|
|
122023
122077
|
}
|
|
122024
122078
|
|
|
122025
122079
|
const parser = new Parser_JSONParser (scene);
|
|
@@ -122311,6 +122365,14 @@ Object .defineProperties (X3DBrowser .prototype,
|
|
|
122311
122365
|
},
|
|
122312
122366
|
enumerable: true,
|
|
122313
122367
|
},
|
|
122368
|
+
element:
|
|
122369
|
+
{
|
|
122370
|
+
get ()
|
|
122371
|
+
{
|
|
122372
|
+
return this .getElement () .get (0);
|
|
122373
|
+
},
|
|
122374
|
+
enumerable: true,
|
|
122375
|
+
},
|
|
122314
122376
|
});
|
|
122315
122377
|
|
|
122316
122378
|
Object .defineProperties (X3DBrowser,
|
|
@@ -122330,7 +122392,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122330
122392
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122331
122393
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122332
122394
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122333
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122395
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(52);
|
|
122334
122396
|
/*******************************************************************************
|
|
122335
122397
|
*
|
|
122336
122398
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122451,6 +122513,11 @@ class X3DCanvasElement extends HTMLElement
|
|
|
122451
122513
|
{
|
|
122452
122514
|
return this .browser ?.getCanvas () [0] .toDataURL (... args);
|
|
122453
122515
|
}
|
|
122516
|
+
|
|
122517
|
+
get [Symbol .toStringTag] ()
|
|
122518
|
+
{
|
|
122519
|
+
return "X3DCanvasElement";
|
|
122520
|
+
}
|
|
122454
122521
|
}
|
|
122455
122522
|
|
|
122456
122523
|
// IE fix.
|
|
@@ -122462,8 +122529,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122462
122529
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122463
122530
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122464
122531
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122465
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122466
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122532
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(52);
|
|
122533
|
+
/* provided dependency */ var pako = __webpack_require__(776);
|
|
122467
122534
|
Object .assign (jquery_$,
|
|
122468
122535
|
{
|
|
122469
122536
|
decodeText (input)
|
|
@@ -122540,14 +122607,14 @@ const jquery_default_ = jquery_$;
|
|
|
122540
122607
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122541
122608
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122542
122609
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122543
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122610
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(177);
|
|
122544
122611
|
const libtess_default_ = libtess_libtess;
|
|
122545
122612
|
;
|
|
122546
122613
|
|
|
122547
122614
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122548
122615
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122549
122616
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122550
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122617
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(52);
|
|
122551
122618
|
/*******************************************************************************
|
|
122552
122619
|
*
|
|
122553
122620
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122855,7 +122922,7 @@ Object .assign (X3D,
|
|
|
122855
122922
|
|
|
122856
122923
|
// Assign X3D to global namespace.
|
|
122857
122924
|
|
|
122858
|
-
window [Symbol .for ("X_ITE.X3D-9.
|
|
122925
|
+
window [Symbol .for ("X_ITE.X3D-9.3.0")] = x_ite_X3D;
|
|
122859
122926
|
|
|
122860
122927
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122861
122928
|
|