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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.3.0 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 944:
|
|
15
15
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
16
16
|
|
|
17
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
17
|
+
/* provided dependency */ var jQuery = __webpack_require__(52);
|
|
18
18
|
/**
|
|
19
19
|
* @preserve jquery.fullscreen 1.1.5
|
|
20
20
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -210,7 +210,7 @@ installFullScreenHandlers();
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 82:
|
|
214
214
|
/***/ ((module, exports, __webpack_require__) => {
|
|
215
215
|
|
|
216
216
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
224
224
|
(function (factory) {
|
|
225
225
|
if ( true ) {
|
|
226
226
|
// AMD. Register as an anonymous module.
|
|
227
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
227
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
228
228
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
229
229
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
230
230
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
435
435
|
|
|
436
436
|
/***/ }),
|
|
437
437
|
|
|
438
|
-
/***/
|
|
438
|
+
/***/ 52:
|
|
439
439
|
/***/ (function(module, exports) {
|
|
440
440
|
|
|
441
441
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11159,7 +11159,7 @@ return jQuery;
|
|
|
11159
11159
|
|
|
11160
11160
|
/***/ }),
|
|
11161
11161
|
|
|
11162
|
-
/***/
|
|
11162
|
+
/***/ 177:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 776:
|
|
15942
15942
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15943
15943
|
|
|
15944
15944
|
|
|
@@ -19183,7 +19183,7 @@ if (true) {
|
|
|
19183
19183
|
|
|
19184
19184
|
/***/ }),
|
|
19185
19185
|
|
|
19186
|
-
/***/
|
|
19186
|
+
/***/ 247:
|
|
19187
19187
|
/***/ (function(module, exports) {
|
|
19188
19188
|
|
|
19189
19189
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20311
20311
|
}
|
|
20312
20312
|
else
|
|
20313
20313
|
{
|
|
20314
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-9.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.3.0")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -21810,15 +21810,11 @@ if (DEVELOPMENT)
|
|
|
21810
21810
|
},
|
|
21811
21811
|
addEvent ()
|
|
21812
21812
|
{
|
|
21813
|
-
this .setModificationTime (Date .now ());
|
|
21814
|
-
|
|
21815
21813
|
for (const parent of this [_parents] .values ())
|
|
21816
21814
|
parent .deref () ?.addEvent (this);
|
|
21817
21815
|
},
|
|
21818
21816
|
addEventObject (field, event)
|
|
21819
21817
|
{
|
|
21820
|
-
this .setModificationTime (Date .now ());
|
|
21821
|
-
|
|
21822
21818
|
for (const parent of this [_parents] .values ())
|
|
21823
21819
|
parent .deref () ?.addEventObject (this, event);
|
|
21824
21820
|
},
|
|
@@ -21936,15 +21932,11 @@ else
|
|
|
21936
21932
|
},
|
|
21937
21933
|
addEvent ()
|
|
21938
21934
|
{
|
|
21939
|
-
this .setModificationTime (Date .now ());
|
|
21940
|
-
|
|
21941
21935
|
for (const parent of this [_parents])
|
|
21942
21936
|
parent .addEvent (this);
|
|
21943
21937
|
},
|
|
21944
21938
|
addEventObject (field, event)
|
|
21945
21939
|
{
|
|
21946
|
-
this .setModificationTime (Date .now ());
|
|
21947
|
-
|
|
21948
21940
|
for (const parent of this [_parents])
|
|
21949
21941
|
parent .addEventObject (this, event);
|
|
21950
21942
|
},
|
|
@@ -27914,6 +27906,44 @@ Object .assign (Rotation4 .prototype,
|
|
|
27914
27906
|
this .update ();
|
|
27915
27907
|
return this;
|
|
27916
27908
|
},
|
|
27909
|
+
/**
|
|
27910
|
+
* Straightens the rotation so that the x-axis of this rotation is parallel to the plane spawned by upVector.
|
|
27911
|
+
*/
|
|
27912
|
+
straighten: (() =>
|
|
27913
|
+
{
|
|
27914
|
+
const
|
|
27915
|
+
localXAxis = new Numbers_Vector3 (0, 0, 0),
|
|
27916
|
+
localZAxis = new Numbers_Vector3 (0, 0, 0),
|
|
27917
|
+
upNormal = new Numbers_Vector3 (0, 0, 0),
|
|
27918
|
+
rotation = new Rotation4 ();
|
|
27919
|
+
|
|
27920
|
+
return function (upVector = Numbers_Vector3 .yAxis)
|
|
27921
|
+
{
|
|
27922
|
+
upNormal .assign (upVector) .normalize ();
|
|
27923
|
+
|
|
27924
|
+
this .multVecRot (localXAxis .assign (Numbers_Vector3 .xAxis) .negate ());
|
|
27925
|
+
this .multVecRot (localZAxis .assign (Numbers_Vector3 .zAxis));
|
|
27926
|
+
|
|
27927
|
+
// If viewer looks along up vector.
|
|
27928
|
+
if (Math .abs (localZAxis .dot (upNormal)) >= 1)
|
|
27929
|
+
return this;
|
|
27930
|
+
|
|
27931
|
+
const newXAxis = localZAxis .cross (upNormal) .normalize ();
|
|
27932
|
+
|
|
27933
|
+
if (newXAxis .dot (localXAxis) <= -1)
|
|
27934
|
+
{
|
|
27935
|
+
rotation .setAxisAngle (Numbers_Vector3 .zAxis, Math .PI);
|
|
27936
|
+
|
|
27937
|
+
return this .multLeft (rotation);
|
|
27938
|
+
}
|
|
27939
|
+
else
|
|
27940
|
+
{
|
|
27941
|
+
rotation .setFromToVec (localXAxis, newXAxis);
|
|
27942
|
+
|
|
27943
|
+
return this .multRight (rotation);
|
|
27944
|
+
}
|
|
27945
|
+
};
|
|
27946
|
+
})(),
|
|
27917
27947
|
toString ()
|
|
27918
27948
|
{
|
|
27919
27949
|
return this [_x] + " " +
|
|
@@ -30047,6 +30077,10 @@ Object .assign (Object .setPrototypeOf (SFRotation .prototype, Base_X3DField .pr
|
|
|
30047
30077
|
{
|
|
30048
30078
|
return new SFRotation (this .getValue () .copy () .slerp (rotation .getValue (), t));
|
|
30049
30079
|
},
|
|
30080
|
+
straighten (upVector)
|
|
30081
|
+
{
|
|
30082
|
+
return new SFRotation (this .getValue () .copy () .straighten (upVector ?.getValue ()));
|
|
30083
|
+
},
|
|
30050
30084
|
toStream (generator)
|
|
30051
30085
|
{
|
|
30052
30086
|
const { x, y, z, angle } = this .getValue ();
|
|
@@ -31093,7 +31127,6 @@ Object .assign (Object .setPrototypeOf (X3DObjectArrayField .prototype, Base_X3D
|
|
|
31093
31127
|
copy = target .create ();
|
|
31094
31128
|
|
|
31095
31129
|
copy .assign (target);
|
|
31096
|
-
copy .setModificationTime (0);
|
|
31097
31130
|
|
|
31098
31131
|
return copy;
|
|
31099
31132
|
},
|
|
@@ -31699,8 +31732,6 @@ Object .assign (Object .setPrototypeOf (X3DTypedArrayField .prototype, Base_X3DA
|
|
|
31699
31732
|
|
|
31700
31733
|
Base_X3DArrayField .prototype .set .call (copy, copyArray);
|
|
31701
31734
|
|
|
31702
|
-
copy .setModificationTime (0);
|
|
31703
|
-
|
|
31704
31735
|
return copy;
|
|
31705
31736
|
},
|
|
31706
31737
|
equals (other)
|
|
@@ -32575,8 +32606,6 @@ Object .assign (Object .setPrototypeOf (MFNode .prototype, Base_X3DObjectArrayFi
|
|
|
32575
32606
|
for (const node of this .getValue ())
|
|
32576
32607
|
copy .push (node .copy (instance));
|
|
32577
32608
|
|
|
32578
|
-
copy .setModificationTime (0);
|
|
32579
|
-
|
|
32580
32609
|
return copy;
|
|
32581
32610
|
}
|
|
32582
32611
|
else
|
|
@@ -33653,10 +33682,25 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
33653
33682
|
{
|
|
33654
33683
|
return this [_executionContext];
|
|
33655
33684
|
},
|
|
33656
|
-
setExecutionContext (
|
|
33685
|
+
setExecutionContext (executionContext)
|
|
33657
33686
|
{
|
|
33687
|
+
// Disconnect interests.
|
|
33688
|
+
|
|
33689
|
+
this .getOuterNode ?.() ?.getLive () .removeInterest (_set_live__, this);
|
|
33690
|
+
this [_executionContext] .getLive () .removeInterest (_set_live__, this);
|
|
33691
|
+
|
|
33658
33692
|
// Currently only useful for Scene.
|
|
33659
|
-
this [_executionContext] =
|
|
33693
|
+
this [_executionContext] = executionContext;
|
|
33694
|
+
|
|
33695
|
+
// Connect interests.
|
|
33696
|
+
|
|
33697
|
+
if (this .getOuterNode ?.())
|
|
33698
|
+
this .getOuterNode () .getLive () .addInterest (_set_live__, this);
|
|
33699
|
+
|
|
33700
|
+
else if (this [_executionContext] !== this)
|
|
33701
|
+
this [_executionContext] .getLive () .addInterest (_set_live__, this);
|
|
33702
|
+
|
|
33703
|
+
this [_set_live__] ();
|
|
33660
33704
|
},
|
|
33661
33705
|
addType (value)
|
|
33662
33706
|
{
|
|
@@ -34040,7 +34084,10 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
34040
34084
|
addEvent (field)
|
|
34041
34085
|
{
|
|
34042
34086
|
if (field .isTainted ())
|
|
34087
|
+
{
|
|
34088
|
+
field .setModificationTime (Date .now ());
|
|
34043
34089
|
return;
|
|
34090
|
+
}
|
|
34044
34091
|
|
|
34045
34092
|
// if (this .getTypeName () === "HAnimMotion")
|
|
34046
34093
|
// {
|
|
@@ -34056,6 +34103,8 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, Base_X3DChildObj
|
|
|
34056
34103
|
{
|
|
34057
34104
|
const browser = this [_browser];
|
|
34058
34105
|
|
|
34106
|
+
field .setModificationTime (Date .now ());
|
|
34107
|
+
|
|
34059
34108
|
// Register for processEvent
|
|
34060
34109
|
|
|
34061
34110
|
browser .addTaintedField (field, event);
|
|
@@ -34176,7 +34225,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34176
34225
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34177
34226
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34178
34227
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34179
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34228
|
+
/* provided dependency */ var $ = __webpack_require__(52);
|
|
34180
34229
|
/*******************************************************************************
|
|
34181
34230
|
*
|
|
34182
34231
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34313,7 +34362,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34313
34362
|
*
|
|
34314
34363
|
******************************************************************************/
|
|
34315
34364
|
|
|
34316
|
-
const BROWSER_VERSION_default_ = "9.
|
|
34365
|
+
const BROWSER_VERSION_default_ = "9.3.0";
|
|
34317
34366
|
;
|
|
34318
34367
|
|
|
34319
34368
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38457,7 +38506,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38457
38506
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38458
38507
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38459
38508
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38460
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38509
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(52);
|
|
38461
38510
|
/*******************************************************************************
|
|
38462
38511
|
*
|
|
38463
38512
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -38719,7 +38768,7 @@ const Expressions_default_ = Expressions;
|
|
|
38719
38768
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
38720
38769
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
38721
38770
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
38722
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
38771
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(52);
|
|
38723
38772
|
/*******************************************************************************
|
|
38724
38773
|
*
|
|
38725
38774
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41405,7 +41454,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41405
41454
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41406
41455
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41407
41456
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41408
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41457
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(52);
|
|
41409
41458
|
/*******************************************************************************
|
|
41410
41459
|
*
|
|
41411
41460
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43514,7 +43563,7 @@ const URLs_default_ = URLs;
|
|
|
43514
43563
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43515
43564
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43516
43565
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43517
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43566
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(52);
|
|
43518
43567
|
/*******************************************************************************
|
|
43519
43568
|
*
|
|
43520
43569
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46815,7 +46864,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46815
46864
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46816
46865
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46817
46866
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46818
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46867
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(52);
|
|
46819
46868
|
/*******************************************************************************
|
|
46820
46869
|
*
|
|
46821
46870
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46967,7 +47016,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
46967
47016
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
46968
47017
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
46969
47018
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
46970
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47019
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(52);
|
|
46971
47020
|
/*******************************************************************************
|
|
46972
47021
|
*
|
|
46973
47022
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50322,8 +50371,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50322
50371
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50323
50372
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50324
50373
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50325
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50326
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50374
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(52);
|
|
50375
|
+
/* provided dependency */ var libtess = __webpack_require__(177);
|
|
50327
50376
|
/*******************************************************************************
|
|
50328
50377
|
*
|
|
50329
50378
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53091,7 +53140,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53091
53140
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53092
53141
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53093
53142
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53094
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53143
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(52);
|
|
53095
53144
|
/*******************************************************************************
|
|
53096
53145
|
*
|
|
53097
53146
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53396,6 +53445,19 @@ Object .assign (Plane3 .prototype,
|
|
|
53396
53445
|
{
|
|
53397
53446
|
return point .dot (this .normal) - this .distanceFromOrigin;
|
|
53398
53447
|
},
|
|
53448
|
+
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
53449
|
+
{
|
|
53450
|
+
return result .assign (this .normal) .multiply (this .getDistanceToPoint (point));
|
|
53451
|
+
},
|
|
53452
|
+
getClosestPointToPoint: (function ()
|
|
53453
|
+
{
|
|
53454
|
+
const p = new Numbers_Vector3 (0, 0, 0);
|
|
53455
|
+
|
|
53456
|
+
return function (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
53457
|
+
{
|
|
53458
|
+
return result .assign (point) .add (this .getPerpendicularVectorToPoint (point, p));
|
|
53459
|
+
};
|
|
53460
|
+
})(),
|
|
53399
53461
|
intersectsLine (line, intersection)
|
|
53400
53462
|
{
|
|
53401
53463
|
const { point, direction } = line;
|
|
@@ -53428,7 +53490,7 @@ const Plane3_default_ = Plane3;
|
|
|
53428
53490
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53429
53491
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53430
53492
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53431
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53493
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(177);
|
|
53432
53494
|
/*******************************************************************************
|
|
53433
53495
|
*
|
|
53434
53496
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -55408,7 +55470,7 @@ Object .assign (Line3 .prototype,
|
|
|
55408
55470
|
matrix .multDirMatrix (this .direction) .normalize ();
|
|
55409
55471
|
return this;
|
|
55410
55472
|
},
|
|
55411
|
-
getClosestPointToPoint (point, result)
|
|
55473
|
+
getClosestPointToPoint (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
55412
55474
|
{
|
|
55413
55475
|
const
|
|
55414
55476
|
r = result .assign (point) .subtract (this .point),
|
|
@@ -55443,7 +55505,7 @@ Object .assign (Line3 .prototype,
|
|
|
55443
55505
|
{
|
|
55444
55506
|
const t = new Numbers_Vector3 (0, 0, 0);
|
|
55445
55507
|
|
|
55446
|
-
return function (point, result)
|
|
55508
|
+
return function (point, result = new Numbers_Vector3 (0, 0, 0))
|
|
55447
55509
|
{
|
|
55448
55510
|
result .assign (this .point) .subtract (point);
|
|
55449
55511
|
|
|
@@ -55456,7 +55518,7 @@ Object .assign (Line3 .prototype,
|
|
|
55456
55518
|
d = new Numbers_Vector3 (0, 0, 0),
|
|
55457
55519
|
ad = new Numbers_Vector3 (0, 0, 0);
|
|
55458
55520
|
|
|
55459
|
-
return function (line, result)
|
|
55521
|
+
return function (line, result = new Numbers_Vector3 (0, 0, 0))
|
|
55460
55522
|
{
|
|
55461
55523
|
const bd = result;
|
|
55462
55524
|
|
|
@@ -56289,7 +56351,12 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56289
56351
|
|
|
56290
56352
|
if (num === this .pointingShapes .length)
|
|
56291
56353
|
{
|
|
56292
|
-
this .pointingShapes .push ({
|
|
56354
|
+
this .pointingShapes .push ({
|
|
56355
|
+
renderObject: this,
|
|
56356
|
+
modelViewMatrix: new Float32Array (16),
|
|
56357
|
+
clipPlanes: [ ],
|
|
56358
|
+
sensors: [ ],
|
|
56359
|
+
});
|
|
56293
56360
|
}
|
|
56294
56361
|
|
|
56295
56362
|
const pointingContext = this .pointingShapes [num];
|
|
@@ -56333,7 +56400,12 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56333
56400
|
|
|
56334
56401
|
if (num === this .collisionShapes .length)
|
|
56335
56402
|
{
|
|
56336
|
-
this .collisionShapes .push ({
|
|
56403
|
+
this .collisionShapes .push ({
|
|
56404
|
+
renderObject: this,
|
|
56405
|
+
modelViewMatrix: new Float32Array (16),
|
|
56406
|
+
collisions: [ ],
|
|
56407
|
+
clipPlanes: [ ]
|
|
56408
|
+
});
|
|
56337
56409
|
}
|
|
56338
56410
|
|
|
56339
56411
|
const collisionContext = this .collisionShapes [num];
|
|
@@ -56379,7 +56451,11 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56379
56451
|
|
|
56380
56452
|
if (num === this .shadowShapes .length)
|
|
56381
56453
|
{
|
|
56382
|
-
this .shadowShapes .push ({
|
|
56454
|
+
this .shadowShapes .push ({
|
|
56455
|
+
renderObject: this,
|
|
56456
|
+
modelViewMatrix: new Float32Array (16),
|
|
56457
|
+
clipPlanes: [ ]
|
|
56458
|
+
});
|
|
56383
56459
|
}
|
|
56384
56460
|
|
|
56385
56461
|
const depthContext = this .shadowShapes [num];
|
|
@@ -57822,7 +57898,7 @@ Object .assign (Object .setPrototypeOf (X3DGroupingNode .prototype, Core_X3DChil
|
|
|
57822
57898
|
|
|
57823
57899
|
if (Base_X3DCast (Base_X3DConstants .X3DBoundedObject, childNode))
|
|
57824
57900
|
{
|
|
57825
|
-
childNode ._display .addInterest ("set_displays_",
|
|
57901
|
+
childNode ._display .addInterest ("set_displays_", this);
|
|
57826
57902
|
childNode ._bboxDisplay .addInterest ("set_bboxDisplays__", this);
|
|
57827
57903
|
}
|
|
57828
57904
|
|
|
@@ -61927,7 +62003,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61927
62003
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61928
62004
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61929
62005
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61930
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62006
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(52);
|
|
61931
62007
|
/*******************************************************************************
|
|
61932
62008
|
*
|
|
61933
62009
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -64727,32 +64803,10 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
64727
64803
|
|
|
64728
64804
|
this .setInterpolators (this, relative);
|
|
64729
64805
|
},
|
|
64730
|
-
straightenHorizon
|
|
64806
|
+
straightenHorizon (orientation, upVector = this .getUpVector (true))
|
|
64731
64807
|
{
|
|
64732
|
-
|
|
64733
|
-
|
|
64734
|
-
localZAxis = new Numbers_Vector3 (0, 0, 0),
|
|
64735
|
-
rotation = new Numbers_Rotation4 ();
|
|
64736
|
-
|
|
64737
|
-
return function (orientation, upVector = this .getUpVector (true))
|
|
64738
|
-
{
|
|
64739
|
-
orientation .multVecRot (localXAxis .assign (Numbers_Vector3 .xAxis) .negate ());
|
|
64740
|
-
orientation .multVecRot (localZAxis .assign (Numbers_Vector3 .zAxis));
|
|
64741
|
-
|
|
64742
|
-
const vector = localZAxis .cross (upVector);
|
|
64743
|
-
|
|
64744
|
-
// If viewer looks along the up vector.
|
|
64745
|
-
if (Math .abs (localZAxis .dot (upVector)) >= 1)
|
|
64746
|
-
return orientation;
|
|
64747
|
-
|
|
64748
|
-
if (Math .abs (vector .dot (localXAxis)) >= 1)
|
|
64749
|
-
return orientation;
|
|
64750
|
-
|
|
64751
|
-
rotation .setFromToVec (localXAxis, vector);
|
|
64752
|
-
|
|
64753
|
-
return orientation .multRight (rotation);
|
|
64754
|
-
};
|
|
64755
|
-
})(),
|
|
64808
|
+
return orientation .straighten (upVector);
|
|
64809
|
+
},
|
|
64756
64810
|
viewAll (bbox)
|
|
64757
64811
|
{
|
|
64758
64812
|
bbox .copy () .multRight (this .modelMatrix .copy () .inverse ());
|
|
@@ -65550,7 +65604,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65550
65604
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65551
65605
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65552
65606
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65553
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65607
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(52);
|
|
65554
65608
|
/*******************************************************************************
|
|
65555
65609
|
*
|
|
65556
65610
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65666,9 +65720,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65666
65720
|
{
|
|
65667
65721
|
const scene = this .browser .createScene ();
|
|
65668
65722
|
|
|
65669
|
-
if (this .node instanceof Execution_X3DWorld)
|
|
65670
|
-
scene .loader = this;
|
|
65671
|
-
else
|
|
65723
|
+
if (!(this .node instanceof Execution_X3DWorld))
|
|
65672
65724
|
scene .setExecutionContext (this .executionContext);
|
|
65673
65725
|
|
|
65674
65726
|
scene .setWorldURL (new URL (worldURL, this .getBaseURL ()) .href);
|
|
@@ -65702,8 +65754,6 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65702
65754
|
|
|
65703
65755
|
scene ._initLoadCount .removeInterest ("set_initLoadCount__", this);
|
|
65704
65756
|
|
|
65705
|
-
delete scene .loader;
|
|
65706
|
-
|
|
65707
65757
|
// Wait for instances to be created.
|
|
65708
65758
|
|
|
65709
65759
|
setTimeout (() =>
|
|
@@ -65964,10 +66014,7 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
65964
66014
|
{
|
|
65965
66015
|
Networking_X3DUrlObject .prototype .set_live__ .call (this);
|
|
65966
66016
|
|
|
65967
|
-
|
|
65968
|
-
return;
|
|
65969
|
-
|
|
65970
|
-
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66017
|
+
this [_scene] ?.setLive (this .getLive () .getValue ());
|
|
65971
66018
|
},
|
|
65972
66019
|
canUserDefinedFields ()
|
|
65973
66020
|
{
|
|
@@ -66012,6 +66059,9 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
66012
66059
|
},
|
|
66013
66060
|
setInternalScene (value)
|
|
66014
66061
|
{
|
|
66062
|
+
this [_scene] ?.setExecutionContext (this [_scene]);
|
|
66063
|
+
this [_scene] ?.setLive (false);
|
|
66064
|
+
|
|
66015
66065
|
this [_scene] = value;
|
|
66016
66066
|
|
|
66017
66067
|
const
|
|
@@ -66021,8 +66071,8 @@ Object .assign (Object .setPrototypeOf (X3DExternProtoDeclaration .prototype, Pr
|
|
|
66021
66071
|
if (!proto)
|
|
66022
66072
|
throw new Error ("PROTO not found");
|
|
66023
66073
|
|
|
66024
|
-
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66025
66074
|
this [_scene] .setExecutionContext (this .getExecutionContext ());
|
|
66075
|
+
this [_scene] .setLive (this .getLive () .getValue ());
|
|
66026
66076
|
|
|
66027
66077
|
this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
|
|
66028
66078
|
this .setProtoDeclaration (proto);
|
|
@@ -66481,7 +66531,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66481
66531
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66482
66532
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66483
66533
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66484
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66534
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(52);
|
|
66485
66535
|
/*******************************************************************************
|
|
66486
66536
|
*
|
|
66487
66537
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -68114,7 +68164,7 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68114
68164
|
if (!field .isInitializable ())
|
|
68115
68165
|
continue;
|
|
68116
68166
|
|
|
68117
|
-
// Is set during parse.
|
|
68167
|
+
// Is set during parse, or already changed by an route event.
|
|
68118
68168
|
if (field .getModificationTime ())
|
|
68119
68169
|
continue;
|
|
68120
68170
|
|
|
@@ -83391,19 +83441,19 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83391
83441
|
},
|
|
83392
83442
|
setInternalScene (scene)
|
|
83393
83443
|
{
|
|
83444
|
+
this .scene .setExecutionContext (this .scene);
|
|
83394
83445
|
this .scene .setLive (false);
|
|
83395
83446
|
this .scene .rootNodes .removeFieldInterest (this .groupNode ._children);
|
|
83396
83447
|
|
|
83397
83448
|
// Set new scene.
|
|
83398
83449
|
|
|
83399
83450
|
this .scene = scene;
|
|
83400
|
-
this .scene .setExecutionContext (this .getExecutionContext ());
|
|
83401
83451
|
|
|
83452
|
+
this .scene .setExecutionContext (this .getExecutionContext ());
|
|
83453
|
+
this .scene .setLive (this .getLive () .getValue ());
|
|
83402
83454
|
this .scene .rootNodes .addFieldInterest (this .groupNode ._children);
|
|
83403
83455
|
this .groupNode ._children = this .scene .rootNodes;
|
|
83404
83456
|
|
|
83405
|
-
this .set_live__ ();
|
|
83406
|
-
|
|
83407
83457
|
this .getBrowser () .addBrowserEvent ();
|
|
83408
83458
|
},
|
|
83409
83459
|
getInternalScene ()
|
|
@@ -89358,7 +89408,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89358
89408
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89359
89409
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89360
89410
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89361
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89411
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(52);
|
|
89362
89412
|
/*******************************************************************************
|
|
89363
89413
|
*
|
|
89364
89414
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94999,7 +95049,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
94999
95049
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95000
95050
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95001
95051
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95002
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95052
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(52);
|
|
95003
95053
|
/*******************************************************************************
|
|
95004
95054
|
*
|
|
95005
95055
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95656,7 +95706,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95656
95706
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95657
95707
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95658
95708
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95659
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95709
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(52);
|
|
95660
95710
|
/*******************************************************************************
|
|
95661
95711
|
*
|
|
95662
95712
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99074,7 +99124,7 @@ const Components_Shape_default_ = {
|
|
|
99074
99124
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99075
99125
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99076
99126
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99077
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99127
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(52);
|
|
99078
99128
|
/*******************************************************************************
|
|
99079
99129
|
*
|
|
99080
99130
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99714,7 +99764,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99714
99764
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99715
99765
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99716
99766
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99717
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99767
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(52);
|
|
99718
99768
|
/*******************************************************************************
|
|
99719
99769
|
*
|
|
99720
99770
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100016,7 +100066,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100016
100066
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100017
100067
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100018
100068
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100019
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100069
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(52);
|
|
100020
100070
|
/*******************************************************************************
|
|
100021
100071
|
*
|
|
100022
100072
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101666,7 +101716,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101666
101716
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101667
101717
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101668
101718
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101669
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101719
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(52);
|
|
101670
101720
|
/*******************************************************************************
|
|
101671
101721
|
*
|
|
101672
101722
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103335,8 +103385,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103335
103385
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103336
103386
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103337
103387
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103338
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103339
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103388
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(52);
|
|
103389
|
+
/* provided dependency */ var SuperGif = __webpack_require__(247);
|
|
103340
103390
|
/*******************************************************************************
|
|
103341
103391
|
*
|
|
103342
103392
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105940,9 +105990,13 @@ x_ite_Namespace .add ("Time", "x_ite/Components/Time", Time_default_);
|
|
|
105940
105990
|
|
|
105941
105991
|
const Context =
|
|
105942
105992
|
{
|
|
105993
|
+
excludes: new Set ([
|
|
105994
|
+
"WEBGL_debug_renderer_info",
|
|
105995
|
+
"WEBGL_polygon_mode",
|
|
105996
|
+
]),
|
|
105943
105997
|
create (canvas, version, preserveDrawingBuffer, mobile)
|
|
105944
105998
|
{
|
|
105945
|
-
const options = { preserveDrawingBuffer
|
|
105999
|
+
const options = { preserveDrawingBuffer };
|
|
105946
106000
|
|
|
105947
106001
|
let gl = null;
|
|
105948
106002
|
|
|
@@ -105979,7 +106033,7 @@ const Context =
|
|
|
105979
106033
|
|
|
105980
106034
|
// Load extensions.
|
|
105981
106035
|
|
|
105982
|
-
for (const extension of gl .getSupportedExtensions ())
|
|
106036
|
+
for (const extension of gl .getSupportedExtensions () .filter (extension => !this .excludes .has (extension)))
|
|
105983
106037
|
gl .getExtension (extension);
|
|
105984
106038
|
|
|
105985
106039
|
// Feature detection:
|
|
@@ -106611,7 +106665,7 @@ const gettext_default_ = gettext;
|
|
|
106611
106665
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106612
106666
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106613
106667
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106614
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106668
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(52);
|
|
106615
106669
|
/*******************************************************************************
|
|
106616
106670
|
*
|
|
106617
106671
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107041,7 +107095,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107041
107095
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107042
107096
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107043
107097
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107044
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107098
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(52);
|
|
107045
107099
|
/*******************************************************************************
|
|
107046
107100
|
*
|
|
107047
107101
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107631,7 +107685,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107631
107685
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107632
107686
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107633
107687
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107634
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107688
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(52);
|
|
107635
107689
|
/*******************************************************************************
|
|
107636
107690
|
*
|
|
107637
107691
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107754,8 +107808,8 @@ const Notification_default_ = Notification;
|
|
|
107754
107808
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107755
107809
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107756
107810
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107757
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107758
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107811
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(944);
|
|
107812
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(52);
|
|
107759
107813
|
/*******************************************************************************
|
|
107760
107814
|
*
|
|
107761
107815
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110218,7 +110272,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110218
110272
|
},
|
|
110219
110273
|
},
|
|
110220
110274
|
{
|
|
110221
|
-
setExecutionContext (
|
|
110275
|
+
setExecutionContext (executionContext)
|
|
110222
110276
|
{
|
|
110223
110277
|
if (!this .isMainScene ())
|
|
110224
110278
|
{
|
|
@@ -110228,7 +110282,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110228
110282
|
scene .removeLoadingObject (object);
|
|
110229
110283
|
}
|
|
110230
110284
|
|
|
110231
|
-
Execution_X3DExecutionContext .prototype .setExecutionContext .call (this,
|
|
110285
|
+
Execution_X3DExecutionContext .prototype .setExecutionContext .call (this, executionContext);
|
|
110232
110286
|
|
|
110233
110287
|
if (!this .isMainScene ())
|
|
110234
110288
|
{
|
|
@@ -110263,7 +110317,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110263
110317
|
browser = this .getBrowser (),
|
|
110264
110318
|
scene = this .getScene ();
|
|
110265
110319
|
|
|
110266
|
-
if (this === browser .getExecutionContext ()
|
|
110320
|
+
if (this === browser .getExecutionContext ())
|
|
110267
110321
|
browser .addLoadingObject (node);
|
|
110268
110322
|
|
|
110269
110323
|
if (!this .isMainScene ())
|
|
@@ -110282,7 +110336,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
110282
110336
|
browser = this .getBrowser (),
|
|
110283
110337
|
scene = this .getScene ();
|
|
110284
110338
|
|
|
110285
|
-
if (this === browser .getExecutionContext ()
|
|
110339
|
+
if (this === browser .getExecutionContext ())
|
|
110286
110340
|
browser .removeLoadingObject (node);
|
|
110287
110341
|
|
|
110288
110342
|
if (!this .isMainScene ())
|
|
@@ -110507,7 +110561,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110507
110561
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110508
110562
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110509
110563
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110510
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110564
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(52);
|
|
110511
110565
|
/*******************************************************************************
|
|
110512
110566
|
*
|
|
110513
110567
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113030,8 +113084,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113030
113084
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113031
113085
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113032
113086
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113033
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113034
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113087
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(82);
|
|
113088
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(52);
|
|
113035
113089
|
/*******************************************************************************
|
|
113036
113090
|
*
|
|
113037
113091
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113903,8 +113957,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113903
113957
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113904
113958
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113905
113959
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113906
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113907
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
113960
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(82);
|
|
113961
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(52);
|
|
113908
113962
|
/*******************************************************************************
|
|
113909
113963
|
*
|
|
113910
113964
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114913,8 +114967,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114913
114967
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114914
114968
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114915
114969
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114916
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114917
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
114970
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(82);
|
|
114971
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(52);
|
|
114918
114972
|
/*******************************************************************************
|
|
114919
114973
|
*
|
|
114920
114974
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115245,8 +115299,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115245
115299
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115246
115300
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115247
115301
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115248
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115249
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115302
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(82);
|
|
115303
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(52);
|
|
115250
115304
|
/*******************************************************************************
|
|
115251
115305
|
*
|
|
115252
115306
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116385,8 +116439,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116385
116439
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116386
116440
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116387
116441
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116388
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116389
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116442
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(82);
|
|
116443
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(52);
|
|
116390
116444
|
/*******************************************************************************
|
|
116391
116445
|
*
|
|
116392
116446
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116497,7 +116551,7 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116497
116551
|
event .stopImmediatePropagation (); // Keeps the rest of the handlers from being executed
|
|
116498
116552
|
|
|
116499
116553
|
browser .setCursor ("HAND");
|
|
116500
|
-
|
|
116554
|
+
this .onverifymotion (x, y);
|
|
116501
116555
|
}
|
|
116502
116556
|
}
|
|
116503
116557
|
},
|
|
@@ -116518,8 +116572,7 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116518
116572
|
|
|
116519
116573
|
browser .buttonReleaseEvent ();
|
|
116520
116574
|
browser .setCursor (this .isOver ? "HAND" : "DEFAULT");
|
|
116521
|
-
|
|
116522
|
-
browser .addBrowserEvent ();
|
|
116575
|
+
this .onverifymotion (x, y);
|
|
116523
116576
|
|
|
116524
116577
|
this .cursor = "DEFAULT";
|
|
116525
116578
|
}
|
|
@@ -116637,12 +116690,10 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
|
|
|
116637
116690
|
onverifymotion (x, y)
|
|
116638
116691
|
{
|
|
116639
116692
|
// Verify isOver state. This is necessary if an Switch changes on buttonReleaseEvent
|
|
116640
|
-
// and the new child has a sensor node inside. This sensor node must be
|
|
116693
|
+
// and the new child has a sensor node inside. This sensor node must be updated to
|
|
116641
116694
|
// reflect the correct isOver state.
|
|
116642
116695
|
|
|
116643
|
-
|
|
116644
|
-
|
|
116645
|
-
this .onmotion (x, y);
|
|
116696
|
+
requestAnimationFrame (() => this .onmotion (x, y));
|
|
116646
116697
|
},
|
|
116647
116698
|
showContextMenu (event)
|
|
116648
116699
|
{
|
|
@@ -116917,7 +116968,8 @@ const
|
|
|
116917
116968
|
_pointingBuffer = Symbol (),
|
|
116918
116969
|
_pointingShaders = Symbol (),
|
|
116919
116970
|
_id = Symbol (),
|
|
116920
|
-
_pointingContexts = Symbol ()
|
|
116971
|
+
_pointingContexts = Symbol (),
|
|
116972
|
+
_processEvents = Symbol .for ("X_ITE.X3DRoutingContext.processEvents");
|
|
116921
116973
|
|
|
116922
116974
|
function X3DPointingDeviceSensorContext ()
|
|
116923
116975
|
{
|
|
@@ -116937,6 +116989,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
116937
116989
|
pointer: this [_pointer],
|
|
116938
116990
|
hitRay: null,
|
|
116939
116991
|
sensors: [ ],
|
|
116992
|
+
viewMatrix: new Numbers_Matrix4 (),
|
|
116940
116993
|
modelViewMatrix: new Numbers_Matrix4 (),
|
|
116941
116994
|
point: new Numbers_Vector3 (0, 0, 0),
|
|
116942
116995
|
normal: new Numbers_Vector3 (0, 0, 0),
|
|
@@ -116950,6 +117003,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
116950
117003
|
pointer: this .pointer .copy (),
|
|
116951
117004
|
hitRay: this .hitRay .copy (),
|
|
116952
117005
|
sensors: this .sensors .slice (),
|
|
117006
|
+
viewMatrix: this .viewMatrix .copy (),
|
|
116953
117007
|
modelViewMatrix: this .modelViewMatrix .copy (),
|
|
116954
117008
|
point: this .point .copy (),
|
|
116955
117009
|
normal: this .normal .copy (),
|
|
@@ -117069,6 +117123,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117069
117123
|
for (const sensor of this [_activeSensors])
|
|
117070
117124
|
sensor .set_active__ (true, hit);
|
|
117071
117125
|
|
|
117126
|
+
this [_processEvents] ();
|
|
117127
|
+
|
|
117072
117128
|
return !! hit .sensors .length;
|
|
117073
117129
|
},
|
|
117074
117130
|
buttonReleaseEvent ()
|
|
@@ -117081,6 +117137,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117081
117137
|
|
|
117082
117138
|
this [_activeSensors] = Array .prototype;
|
|
117083
117139
|
this [_pointingLayer] = null;
|
|
117140
|
+
|
|
117141
|
+
this [_processEvents] ();
|
|
117084
117142
|
},
|
|
117085
117143
|
motionNotifyEvent (x, y)
|
|
117086
117144
|
{
|
|
@@ -117090,6 +117148,8 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117090
117148
|
this .touch (x, y);
|
|
117091
117149
|
this .motion ();
|
|
117092
117150
|
|
|
117151
|
+
this [_processEvents] ();
|
|
117152
|
+
|
|
117093
117153
|
return !! this [_hit] .sensors .length;
|
|
117094
117154
|
},
|
|
117095
117155
|
leaveNotifyEvent ()
|
|
@@ -117130,6 +117190,7 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117130
117190
|
hit .layerNode = pickingContext .renderObject;
|
|
117131
117191
|
hit .shapeNode = shapeNode;
|
|
117132
117192
|
|
|
117193
|
+
hit .viewMatrix .assign (pickingContext .renderObject .getViewpoint () .getViewMatrix ());
|
|
117133
117194
|
hit .modelViewMatrix .assign (pickingContext .modelViewMatrix);
|
|
117134
117195
|
|
|
117135
117196
|
// A ParticleSystem has only a geometry context.
|
|
@@ -117149,6 +117210,7 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
117149
117210
|
hit .layerNode = this [_pointingLayer];
|
|
117150
117211
|
hit .shapeNode = null;
|
|
117151
117212
|
|
|
117213
|
+
hit .viewMatrix .assign (Numbers_Matrix4 .Identity);
|
|
117152
117214
|
hit .modelViewMatrix .assign (Numbers_Matrix4 .Identity);
|
|
117153
117215
|
}
|
|
117154
117216
|
|
|
@@ -117665,7 +117727,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117665
117727
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117666
117728
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117667
117729
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117668
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117730
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(52);
|
|
117669
117731
|
/*******************************************************************************
|
|
117670
117732
|
*
|
|
117671
117733
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118567,7 +118629,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118567
118629
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118568
118630
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118569
118631
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118570
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118632
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(52);
|
|
118571
118633
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118572
118634
|
{
|
|
118573
118635
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -119664,7 +119726,7 @@ const
|
|
|
119664
119726
|
_cameraTime = Symbol (),
|
|
119665
119727
|
_collisionTime = Symbol (),
|
|
119666
119728
|
_displayTime = Symbol (),
|
|
119667
|
-
|
|
119729
|
+
X3DBrowserContext_processEvents = Symbol .for ("X_ITE.X3DRoutingContext.processEvents");
|
|
119668
119730
|
|
|
119669
119731
|
const
|
|
119670
119732
|
browsers = new Set (),
|
|
@@ -119849,10 +119911,10 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
|
|
|
119849
119911
|
// Events
|
|
119850
119912
|
|
|
119851
119913
|
this .addTaintedField (this ._prepareEvents);
|
|
119852
|
-
this [
|
|
119914
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119853
119915
|
|
|
119854
119916
|
this .addTaintedField (this ._timeEvents);
|
|
119855
|
-
this [
|
|
119917
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119856
119918
|
|
|
119857
119919
|
// Camera
|
|
119858
119920
|
|
|
@@ -119872,19 +119934,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
|
|
|
119872
119934
|
// Events
|
|
119873
119935
|
|
|
119874
119936
|
this .addTaintedField (this ._sensorEvents);
|
|
119875
|
-
this [
|
|
119937
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119876
119938
|
|
|
119877
119939
|
// Display
|
|
119878
119940
|
|
|
119879
119941
|
this [_displayTime] .start ()
|
|
119880
119942
|
this .addTaintedField (this ._displayEvents);
|
|
119881
|
-
this [
|
|
119943
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119882
119944
|
|
|
119883
119945
|
this .getFrameBuffer () .clear ();
|
|
119884
119946
|
this [_world] .traverse (Rendering_TraverseType .DISPLAY);
|
|
119885
119947
|
|
|
119886
119948
|
this .addTaintedField (this ._finishedEvents);
|
|
119887
|
-
this [
|
|
119949
|
+
this [X3DBrowserContext_processEvents] ();
|
|
119888
119950
|
|
|
119889
119951
|
this .getFrameBuffer () .blit ();
|
|
119890
119952
|
this [_displayTime] .stop ();
|
|
@@ -120001,7 +120063,7 @@ Object .assign (X3DBrowserContext,
|
|
|
120001
120063
|
|
|
120002
120064
|
// Process events from context creation. This will setup nodes like
|
|
120003
120065
|
// geometry option nodes before any node is created.
|
|
120004
|
-
browser [
|
|
120066
|
+
browser [X3DBrowserContext_processEvents] ();
|
|
120005
120067
|
}
|
|
120006
120068
|
}
|
|
120007
120069
|
|
|
@@ -120120,7 +120182,7 @@ const Components_default_ = Components;
|
|
|
120120
120182
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120121
120183
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120122
120184
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120123
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120185
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(52);
|
|
120124
120186
|
/*******************************************************************************
|
|
120125
120187
|
* MIT License
|
|
120126
120188
|
*
|
|
@@ -121251,7 +121313,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121251
121313
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121252
121314
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121253
121315
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121254
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121316
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(52);
|
|
121255
121317
|
/*******************************************************************************
|
|
121256
121318
|
*
|
|
121257
121319
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121682,8 +121744,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121682
121744
|
|
|
121683
121745
|
// Detach scene from parent.
|
|
121684
121746
|
|
|
121685
|
-
scene .getExecutionContext () .getLive () .removeInterest ("setLive", scene);
|
|
121686
121747
|
scene .setExecutionContext (scene);
|
|
121748
|
+
scene .setLive (this .isLive ());
|
|
121687
121749
|
|
|
121688
121750
|
// Replace.
|
|
121689
121751
|
|
|
@@ -121696,8 +121758,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121696
121758
|
|
|
121697
121759
|
this .setExecutionContext (scene);
|
|
121698
121760
|
this .getWorld () .bindBindables ();
|
|
121699
|
-
|
|
121700
|
-
scene .setLive (this .isLive ());
|
|
121701
121761
|
});
|
|
121702
121762
|
},
|
|
121703
121763
|
checkLoadCount (resolve, loadCount)
|
|
@@ -121724,9 +121784,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121724
121784
|
|
|
121725
121785
|
if (!external)
|
|
121726
121786
|
{
|
|
121727
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121728
121787
|
scene .setExecutionContext (currentScene);
|
|
121729
|
-
scene .setLive (
|
|
121788
|
+
scene .setLive (true);
|
|
121730
121789
|
}
|
|
121731
121790
|
|
|
121732
121791
|
return scene .rootNodes;
|
|
@@ -121748,9 +121807,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121748
121807
|
|
|
121749
121808
|
if (!external)
|
|
121750
121809
|
{
|
|
121751
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121752
121810
|
scene .setExecutionContext (currentScene);
|
|
121753
|
-
scene .setLive (
|
|
121811
|
+
scene .setLive (true);
|
|
121754
121812
|
}
|
|
121755
121813
|
|
|
121756
121814
|
return scene;
|
|
@@ -121781,7 +121839,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121781
121839
|
|
|
121782
121840
|
this .addLoadingObject (fileLoader);
|
|
121783
121841
|
|
|
121784
|
-
fileLoader .createX3DFromURL (url, null,
|
|
121842
|
+
fileLoader .createX3DFromURL (url, null, scene =>
|
|
121785
121843
|
{
|
|
121786
121844
|
this .removeLoadingObject (fileLoader);
|
|
121787
121845
|
|
|
@@ -121791,9 +121849,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121791
121849
|
|
|
121792
121850
|
if (!external)
|
|
121793
121851
|
{
|
|
121794
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121795
121852
|
scene .setExecutionContext (currentScene);
|
|
121796
|
-
scene .setLive (
|
|
121853
|
+
scene .setLive (true);
|
|
121797
121854
|
}
|
|
121798
121855
|
|
|
121799
121856
|
// Wait until scene is completely loaded, scene ._loadCount must be 0.
|
|
@@ -121820,7 +121877,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121820
121877
|
|
|
121821
121878
|
this .addLoadingObject (fileLoader);
|
|
121822
121879
|
|
|
121823
|
-
fileLoader .createX3DFromURL (url, null,
|
|
121880
|
+
fileLoader .createX3DFromURL (url, null, scene =>
|
|
121824
121881
|
{
|
|
121825
121882
|
this .removeLoadingObject (fileLoader);
|
|
121826
121883
|
|
|
@@ -121828,9 +121885,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121828
121885
|
{
|
|
121829
121886
|
if (!external)
|
|
121830
121887
|
{
|
|
121831
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
121832
121888
|
scene .setExecutionContext (currentScene);
|
|
121833
|
-
scene .setLive (
|
|
121889
|
+
scene .setLive (true);
|
|
121834
121890
|
}
|
|
121835
121891
|
|
|
121836
121892
|
resolve (scene);
|
|
@@ -121856,7 +121912,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
121856
121912
|
|
|
121857
121913
|
const fileLoader = new InputOutput_FileLoader (this .getWorld ());
|
|
121858
121914
|
|
|
121859
|
-
fileLoader .createX3DFromURL (url, parameter,
|
|
121915
|
+
fileLoader .createX3DFromURL (url, parameter, scene =>
|
|
121860
121916
|
{
|
|
121861
121917
|
if (this [_fileLoader] !== fileLoader)
|
|
121862
121918
|
{
|
|
@@ -122009,9 +122065,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
122009
122065
|
|
|
122010
122066
|
if (!external)
|
|
122011
122067
|
{
|
|
122012
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
122013
122068
|
scene .setExecutionContext (currentScene);
|
|
122014
|
-
scene .setLive (
|
|
122069
|
+
scene .setLive (true);
|
|
122015
122070
|
}
|
|
122016
122071
|
|
|
122017
122072
|
const parser = new Parser_XMLParser (scene);
|
|
@@ -122029,9 +122084,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
122029
122084
|
|
|
122030
122085
|
if (!external)
|
|
122031
122086
|
{
|
|
122032
|
-
currentScene .getLive () .addInterest ("setLive", scene);
|
|
122033
122087
|
scene .setExecutionContext (currentScene);
|
|
122034
|
-
scene .setLive (
|
|
122088
|
+
scene .setLive (true);
|
|
122035
122089
|
}
|
|
122036
122090
|
|
|
122037
122091
|
const parser = new Parser_JSONParser (scene);
|
|
@@ -122323,6 +122377,14 @@ Object .defineProperties (X3DBrowser .prototype,
|
|
|
122323
122377
|
},
|
|
122324
122378
|
enumerable: true,
|
|
122325
122379
|
},
|
|
122380
|
+
element:
|
|
122381
|
+
{
|
|
122382
|
+
get ()
|
|
122383
|
+
{
|
|
122384
|
+
return this .getElement () .get (0);
|
|
122385
|
+
},
|
|
122386
|
+
enumerable: true,
|
|
122387
|
+
},
|
|
122326
122388
|
});
|
|
122327
122389
|
|
|
122328
122390
|
Object .defineProperties (X3DBrowser,
|
|
@@ -122342,7 +122404,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122342
122404
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122343
122405
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122344
122406
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122345
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122407
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(52);
|
|
122346
122408
|
/*******************************************************************************
|
|
122347
122409
|
*
|
|
122348
122410
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122463,6 +122525,11 @@ class X3DCanvasElement extends HTMLElement
|
|
|
122463
122525
|
{
|
|
122464
122526
|
return this .browser ?.getCanvas () [0] .toDataURL (... args);
|
|
122465
122527
|
}
|
|
122528
|
+
|
|
122529
|
+
get [Symbol .toStringTag] ()
|
|
122530
|
+
{
|
|
122531
|
+
return "X3DCanvasElement";
|
|
122532
|
+
}
|
|
122466
122533
|
}
|
|
122467
122534
|
|
|
122468
122535
|
// IE fix.
|
|
@@ -122474,8 +122541,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122474
122541
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122475
122542
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122476
122543
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122477
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122478
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122544
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(52);
|
|
122545
|
+
/* provided dependency */ var pako = __webpack_require__(776);
|
|
122479
122546
|
Object .assign (jquery_$,
|
|
122480
122547
|
{
|
|
122481
122548
|
decodeText (input)
|
|
@@ -122552,14 +122619,14 @@ const jquery_default_ = jquery_$;
|
|
|
122552
122619
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122553
122620
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122554
122621
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122555
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122622
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(177);
|
|
122556
122623
|
const libtess_default_ = libtess_libtess;
|
|
122557
122624
|
;
|
|
122558
122625
|
|
|
122559
122626
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122560
122627
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122561
122628
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122562
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122629
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(52);
|
|
122563
122630
|
/*******************************************************************************
|
|
122564
122631
|
*
|
|
122565
122632
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122867,7 +122934,7 @@ Object .assign (X3D,
|
|
|
122867
122934
|
|
|
122868
122935
|
// Assign X3D to global namespace.
|
|
122869
122936
|
|
|
122870
|
-
window [Symbol .for ("X_ITE.X3D-9.
|
|
122937
|
+
window [Symbol .for ("X_ITE.X3D-9.3.0")] = x_ite_X3D;
|
|
122871
122938
|
|
|
122872
122939
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122873
122940
|
|