x_ite 9.0.3 → 9.1.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 +47 -37
- 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 +34 -32
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +168 -11
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +426 -241
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +426 -241
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v9.0
|
|
1
|
+
/* X_ITE v9.1.0 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 91:
|
|
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__(172);
|
|
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
|
+
/***/ 57:
|
|
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__(172)], __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
|
+
/***/ 172:
|
|
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
|
+
/***/ 715:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 834:
|
|
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
|
+
/***/ 235:
|
|
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.0
|
|
20302
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.1.0")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -22186,6 +22186,14 @@ const Events = Object .assign ([ ],
|
|
|
22186
22186
|
|
|
22187
22187
|
return copy;
|
|
22188
22188
|
},
|
|
22189
|
+
from (field)
|
|
22190
|
+
{
|
|
22191
|
+
const event = this .create (field);
|
|
22192
|
+
|
|
22193
|
+
event .add (field);
|
|
22194
|
+
|
|
22195
|
+
return event;
|
|
22196
|
+
},
|
|
22189
22197
|
});
|
|
22190
22198
|
|
|
22191
22199
|
for (const key of Object .keys (Events))
|
|
@@ -22915,7 +22923,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22915
22923
|
{
|
|
22916
22924
|
case Base_X3DConstants .initializeOnly:
|
|
22917
22925
|
reference .addFieldInterest (this);
|
|
22918
|
-
this .
|
|
22926
|
+
this .processEvent (Base_Events .from (reference));
|
|
22919
22927
|
break;
|
|
22920
22928
|
case Base_X3DConstants .inputOnly:
|
|
22921
22929
|
reference .addFieldInterest (this);
|
|
@@ -22926,7 +22934,7 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22926
22934
|
case Base_X3DConstants .inputOutput:
|
|
22927
22935
|
reference .addFieldInterest (this);
|
|
22928
22936
|
this .addFieldInterest (reference);
|
|
22929
|
-
this .
|
|
22937
|
+
this .processEvent (Base_Events .from (reference));
|
|
22930
22938
|
break;
|
|
22931
22939
|
}
|
|
22932
22940
|
|
|
@@ -23116,16 +23124,16 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23116
23124
|
|
|
23117
23125
|
let first = true;
|
|
23118
23126
|
|
|
23119
|
-
for (const
|
|
23127
|
+
for (const field of this [_fieldInterests])
|
|
23120
23128
|
{
|
|
23121
23129
|
if (first)
|
|
23122
23130
|
{
|
|
23123
23131
|
first = false;
|
|
23124
|
-
|
|
23132
|
+
field .addEventObject (this, event);
|
|
23125
23133
|
}
|
|
23126
23134
|
else
|
|
23127
23135
|
{
|
|
23128
|
-
|
|
23136
|
+
field .addEventObject (this, Base_Events .copy (event));
|
|
23129
23137
|
}
|
|
23130
23138
|
}
|
|
23131
23139
|
|
|
@@ -23136,8 +23144,8 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23136
23144
|
|
|
23137
23145
|
if (this [_fieldCallbacks] .size)
|
|
23138
23146
|
{
|
|
23139
|
-
for (const
|
|
23140
|
-
|
|
23147
|
+
for (const callback of Utility_MapUtilities .values (fieldCallbacksTemp, this [_fieldCallbacks]))
|
|
23148
|
+
callback (this .valueOf ());
|
|
23141
23149
|
}
|
|
23142
23150
|
};
|
|
23143
23151
|
})(),
|
|
@@ -23147,11 +23155,8 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23147
23155
|
},
|
|
23148
23156
|
dispose ()
|
|
23149
23157
|
{
|
|
23150
|
-
this [_references]
|
|
23151
|
-
|
|
23152
|
-
this [_fieldInterests] .clear ();
|
|
23153
|
-
this [_fieldCallbacks] .clear ();
|
|
23154
|
-
this [_routeCallbacks] .clear ();
|
|
23158
|
+
for (const reference of this [_references])
|
|
23159
|
+
reference .removeFieldInterest (this);
|
|
23155
23160
|
|
|
23156
23161
|
for (const route of new Set (this [_inputRoutes]))
|
|
23157
23162
|
route .dispose ();
|
|
@@ -23159,6 +23164,14 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23159
23164
|
for (const route of new Set (this [_outputRoutes]))
|
|
23160
23165
|
route .dispose ();
|
|
23161
23166
|
|
|
23167
|
+
this [_references] .clear ();
|
|
23168
|
+
this [_referencesCallbacks] .clear ();
|
|
23169
|
+
this [_fieldInterests] .clear ();
|
|
23170
|
+
this [_fieldCallbacks] .clear ();
|
|
23171
|
+
this [_inputRoutes] .clear ();
|
|
23172
|
+
this [_outputRoutes] .clear ();
|
|
23173
|
+
this [_routeCallbacks] .clear ();
|
|
23174
|
+
|
|
23162
23175
|
Base_X3DChildObject .prototype .dispose .call (this);
|
|
23163
23176
|
}
|
|
23164
23177
|
});
|
|
@@ -24670,26 +24683,61 @@ function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, SFVec, double
|
|
|
24670
24683
|
{
|
|
24671
24684
|
this .getValue () .assign (value);
|
|
24672
24685
|
},
|
|
24673
|
-
setTransform (
|
|
24686
|
+
setTransform: (function ()
|
|
24674
24687
|
{
|
|
24675
|
-
|
|
24676
|
-
rotation = rotation ? rotation .getValue () : null;
|
|
24677
|
-
scale = scale ? scale .getValue () : null;
|
|
24678
|
-
scaleOrientation = scaleOrientation ? scaleOrientation .getValue () : null;
|
|
24679
|
-
center = center ? center .getValue () : null;
|
|
24688
|
+
const args = [ ];
|
|
24680
24689
|
|
|
24681
|
-
|
|
24682
|
-
|
|
24683
|
-
|
|
24690
|
+
return function (translation, rotation, scale, scaleOrientation, center)
|
|
24691
|
+
{
|
|
24692
|
+
args .push (translation ?.getValue () ?? null,
|
|
24693
|
+
rotation ?.getValue () ?? null,
|
|
24694
|
+
scale ?.getValue () ?? null,
|
|
24695
|
+
scaleOrientation ?.getValue () ?? null,
|
|
24696
|
+
center ?.getValue () ?? null);
|
|
24697
|
+
|
|
24698
|
+
for (let i = args .length - 1; i > -1; -- i)
|
|
24699
|
+
{
|
|
24700
|
+
if (args [i] !== null)
|
|
24701
|
+
break;
|
|
24702
|
+
|
|
24703
|
+
args .pop ();
|
|
24704
|
+
}
|
|
24705
|
+
|
|
24706
|
+
this .getValue () .set (... args);
|
|
24707
|
+
|
|
24708
|
+
args .length = 0;
|
|
24709
|
+
};
|
|
24710
|
+
})(),
|
|
24711
|
+
getTransform: (function ()
|
|
24684
24712
|
{
|
|
24685
|
-
|
|
24686
|
-
rotation = rotation ? rotation .getValue () : null;
|
|
24687
|
-
scale = scale ? scale .getValue () : null;
|
|
24688
|
-
scaleOrientation = scaleOrientation ? scaleOrientation .getValue () : null;
|
|
24689
|
-
center = center ? center .getValue () : null;
|
|
24713
|
+
const args = [ ];
|
|
24690
24714
|
|
|
24691
|
-
|
|
24692
|
-
|
|
24715
|
+
return function (translation, rotation, scale, scaleOrientation, center)
|
|
24716
|
+
{
|
|
24717
|
+
args .push (translation ?.getValue () ?? null,
|
|
24718
|
+
rotation ?.getValue () ?? null,
|
|
24719
|
+
scale ?.getValue () ?? null,
|
|
24720
|
+
scaleOrientation ?.getValue () ?? null,
|
|
24721
|
+
center ?.getValue () ?? null);
|
|
24722
|
+
|
|
24723
|
+
for (let i = args .length - 1; i > -1; -- i)
|
|
24724
|
+
{
|
|
24725
|
+
if (args [i] !== null)
|
|
24726
|
+
break;
|
|
24727
|
+
|
|
24728
|
+
args .pop ();
|
|
24729
|
+
}
|
|
24730
|
+
|
|
24731
|
+
this .getValue () .get (... args);
|
|
24732
|
+
|
|
24733
|
+
translation ?.addEvent ();
|
|
24734
|
+
rotation ?.addEvent ();
|
|
24735
|
+
scale ?.addEvent ();
|
|
24736
|
+
scaleOrientation ?.addEvent ();
|
|
24737
|
+
|
|
24738
|
+
args .length = 0;
|
|
24739
|
+
};
|
|
24740
|
+
})(),
|
|
24693
24741
|
determinant ()
|
|
24694
24742
|
{
|
|
24695
24743
|
return this .getValue () .determinant ();
|
|
@@ -26903,16 +26951,31 @@ function SFMatrix3Template (TypeName, SFVec2, double)
|
|
|
26903
26951
|
|
|
26904
26952
|
Object .assign (Fields_SFMatrixPrototypeTemplate (SFMatrix3, TypeName, Numbers_Matrix3, SFVec2, double),
|
|
26905
26953
|
{
|
|
26906
|
-
setTransform (
|
|
26954
|
+
setTransform: (function ()
|
|
26907
26955
|
{
|
|
26908
|
-
|
|
26909
|
-
rotation = rotation ? rotation : 0;
|
|
26910
|
-
scale = scale ? scale .getValue () : null;
|
|
26911
|
-
scaleOrientation = scaleOrientation ? scaleOrientation : 0;
|
|
26912
|
-
center = center ? center .getValue () : null;
|
|
26956
|
+
const args = [ ];
|
|
26913
26957
|
|
|
26914
|
-
|
|
26915
|
-
|
|
26958
|
+
return function (translation, rotation, scale, scaleOrientation, center)
|
|
26959
|
+
{
|
|
26960
|
+
args .push (translation ?.getValue () ?? null,
|
|
26961
|
+
rotation ?? null,
|
|
26962
|
+
scale ?.getValue () ?? null,
|
|
26963
|
+
scaleOrientation ?? null,
|
|
26964
|
+
center ?.getValue () ?? null);
|
|
26965
|
+
|
|
26966
|
+
for (let i = args .length - 1; i > -1; -- i)
|
|
26967
|
+
{
|
|
26968
|
+
if (args [i] !== null)
|
|
26969
|
+
break;
|
|
26970
|
+
|
|
26971
|
+
args .pop ();
|
|
26972
|
+
}
|
|
26973
|
+
|
|
26974
|
+
this .getValue () .set (... args);
|
|
26975
|
+
|
|
26976
|
+
args .length = 0;
|
|
26977
|
+
};
|
|
26978
|
+
})(),
|
|
26916
26979
|
});
|
|
26917
26980
|
|
|
26918
26981
|
for (const key of Object .keys (SFMatrix3 .prototype))
|
|
@@ -34160,7 +34223,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34160
34223
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34161
34224
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34162
34225
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34163
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34226
|
+
/* provided dependency */ var $ = __webpack_require__(172);
|
|
34164
34227
|
/*******************************************************************************
|
|
34165
34228
|
*
|
|
34166
34229
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34297,7 +34360,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34297
34360
|
*
|
|
34298
34361
|
******************************************************************************/
|
|
34299
34362
|
|
|
34300
|
-
const BROWSER_VERSION_default_ = "9.0
|
|
34363
|
+
const BROWSER_VERSION_default_ = "9.1.0";
|
|
34301
34364
|
;
|
|
34302
34365
|
|
|
34303
34366
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38148,7 +38211,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
|
|
|
38148
38211
|
x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
|
|
38149
38212
|
/* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
|
|
38150
38213
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38151
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38214
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(172);
|
|
38152
38215
|
/*******************************************************************************
|
|
38153
38216
|
*
|
|
38154
38217
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -38973,7 +39036,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38973
39036
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38974
39037
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38975
39038
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
38976
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39039
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(172);
|
|
38977
39040
|
/*******************************************************************************
|
|
38978
39041
|
*
|
|
38979
39042
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39225,12 +39288,19 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39225
39288
|
linePos = 40;
|
|
39226
39289
|
}
|
|
39227
39290
|
|
|
39228
|
-
//
|
|
39291
|
+
// Get world URL.
|
|
39292
|
+
|
|
39293
|
+
let worldURL = this .getExecutionContext () .getWorldURL ();
|
|
39294
|
+
|
|
39295
|
+
if (worldURL .startsWith ("data:"))
|
|
39296
|
+
worldURL = worldURL .substring (0, worldURL .indexOf (","));
|
|
39297
|
+
|
|
39298
|
+
// Format error.
|
|
39229
39299
|
|
|
39230
39300
|
const message = "\n"
|
|
39231
39301
|
+ `********************************************************************************\n`
|
|
39232
39302
|
+ `Parser error at line ${this .lineNumber}:${linePos}\n`
|
|
39233
|
-
+ `in '${
|
|
39303
|
+
+ `in '${worldURL}'\n`
|
|
39234
39304
|
+ `\n`
|
|
39235
39305
|
+ `${lastLine}\n`
|
|
39236
39306
|
+ `${line}\n`
|
|
@@ -41519,7 +41589,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41519
41589
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41520
41590
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41521
41591
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41522
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41592
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(172);
|
|
41523
41593
|
/*******************************************************************************
|
|
41524
41594
|
*
|
|
41525
41595
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43612,7 +43682,7 @@ const URLs_default_ = URLs;
|
|
|
43612
43682
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43613
43683
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43614
43684
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43615
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43685
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(172);
|
|
43616
43686
|
/*******************************************************************************
|
|
43617
43687
|
*
|
|
43618
43688
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46913,7 +46983,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46913
46983
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46914
46984
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46915
46985
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46916
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46986
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(172);
|
|
46917
46987
|
/*******************************************************************************
|
|
46918
46988
|
*
|
|
46919
46989
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47065,7 +47135,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47065
47135
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47066
47136
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47067
47137
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47068
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47138
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(172);
|
|
47069
47139
|
/*******************************************************************************
|
|
47070
47140
|
*
|
|
47071
47141
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50420,8 +50490,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50420
50490
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50421
50491
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50422
50492
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50423
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50424
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50493
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(172);
|
|
50494
|
+
/* provided dependency */ var libtess = __webpack_require__(715);
|
|
50425
50495
|
/*******************************************************************************
|
|
50426
50496
|
*
|
|
50427
50497
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53189,7 +53259,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53189
53259
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53190
53260
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53191
53261
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53192
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53262
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(172);
|
|
53193
53263
|
/*******************************************************************************
|
|
53194
53264
|
*
|
|
53195
53265
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53526,7 +53596,7 @@ const Plane3_default_ = Plane3;
|
|
|
53526
53596
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53527
53597
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53528
53598
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53529
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53599
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(715);
|
|
53530
53600
|
/*******************************************************************************
|
|
53531
53601
|
*
|
|
53532
53602
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -56605,6 +56675,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56605
56675
|
{ scissor, clipPlanes, modelViewMatrix, shapeNode, humanoidNode } = renderContext,
|
|
56606
56676
|
appearanceNode = shapeNode .getAppearance (),
|
|
56607
56677
|
geometryContext = shapeNode .getGeometryContext (),
|
|
56678
|
+
depthModeNode = appearanceNode .getDepthMode (),
|
|
56608
56679
|
stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
|
|
56609
56680
|
shaderNode = browser .getPointingShader (clipPlanes .length, shapeNode, humanoidNode),
|
|
56610
56681
|
id = browser .addPointingShape (renderContext);
|
|
@@ -56623,10 +56694,13 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56623
56694
|
gl .uniformMatrix4fv (shaderNode .x3d_ModelViewMatrix, false, modelViewMatrix);
|
|
56624
56695
|
gl .uniform1f (shaderNode .x3d_Id, id);
|
|
56625
56696
|
|
|
56697
|
+
depthModeNode ?.enable (gl);
|
|
56626
56698
|
stylePropertiesNode ?.setShaderUniforms (gl, shaderNode);
|
|
56627
56699
|
humanoidNode ?.setShaderUniforms (gl, shaderNode);
|
|
56628
56700
|
|
|
56629
56701
|
shapeNode .displaySimple (gl, renderContext, shaderNode);
|
|
56702
|
+
|
|
56703
|
+
depthModeNode ?.disable (gl);
|
|
56630
56704
|
browser .resetTextureUnits ();
|
|
56631
56705
|
}
|
|
56632
56706
|
};
|
|
@@ -59324,13 +59398,14 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
59324
59398
|
displayGeometry (gl, renderContext, appearanceNode, shaderNode, back, front)
|
|
59325
59399
|
{
|
|
59326
59400
|
const
|
|
59327
|
-
browser
|
|
59328
|
-
|
|
59329
|
-
attribNodes
|
|
59330
|
-
attribBuffers
|
|
59331
|
-
primitiveMode
|
|
59401
|
+
browser = this .getBrowser (),
|
|
59402
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
59403
|
+
attribNodes = this .attribNodes,
|
|
59404
|
+
attribBuffers = this .attribBuffers,
|
|
59405
|
+
primitiveMode = browser .getPrimitiveMode (this .primitiveMode);
|
|
59332
59406
|
|
|
59333
|
-
|
|
59407
|
+
for (const node of renderModeNodes)
|
|
59408
|
+
node .enable (gl);
|
|
59334
59409
|
|
|
59335
59410
|
shaderNode .enable (gl);
|
|
59336
59411
|
shaderNode .setUniforms (gl, this, renderContext, front);
|
|
@@ -59404,7 +59479,8 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
59404
59479
|
}
|
|
59405
59480
|
}
|
|
59406
59481
|
|
|
59407
|
-
|
|
59482
|
+
for (const node of renderModeNodes)
|
|
59483
|
+
node .disable (gl);
|
|
59408
59484
|
},
|
|
59409
59485
|
displaySimpleParticles (gl, shaderNode, particleSystem)
|
|
59410
59486
|
{
|
|
@@ -59447,13 +59523,14 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
59447
59523
|
displayParticlesGeometry (gl, renderContext, appearanceNode, shaderNode, back, front, particleSystem)
|
|
59448
59524
|
{
|
|
59449
59525
|
const
|
|
59450
|
-
browser
|
|
59451
|
-
|
|
59452
|
-
attribNodes
|
|
59453
|
-
attribBuffers
|
|
59454
|
-
primitiveMode
|
|
59526
|
+
browser = this .getBrowser (),
|
|
59527
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
59528
|
+
attribNodes = this .attribNodes,
|
|
59529
|
+
attribBuffers = this .attribBuffers,
|
|
59530
|
+
primitiveMode = browser .getPrimitiveMode (this .primitiveMode);
|
|
59455
59531
|
|
|
59456
|
-
|
|
59532
|
+
for (const node of renderModeNodes)
|
|
59533
|
+
node .enable (gl);
|
|
59457
59534
|
|
|
59458
59535
|
// Setup shader.
|
|
59459
59536
|
|
|
@@ -59523,7 +59600,8 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
59523
59600
|
gl .drawArraysInstanced (primitiveMode, 0, this .vertexCount, particleSystem .numParticles);
|
|
59524
59601
|
}
|
|
59525
59602
|
|
|
59526
|
-
|
|
59603
|
+
for (const node of renderModeNodes)
|
|
59604
|
+
node .disable (gl);
|
|
59527
59605
|
},
|
|
59528
59606
|
});
|
|
59529
59607
|
|
|
@@ -61025,7 +61103,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61025
61103
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61026
61104
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61027
61105
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61028
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
61106
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(172);
|
|
61029
61107
|
/*******************************************************************************
|
|
61030
61108
|
*
|
|
61031
61109
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65612,7 +65690,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65612
65690
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65613
65691
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65614
65692
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65615
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65693
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(172);
|
|
65616
65694
|
/*******************************************************************************
|
|
65617
65695
|
*
|
|
65618
65696
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -68067,14 +68145,13 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68067
68145
|
},
|
|
68068
68146
|
construct ()
|
|
68069
68147
|
{
|
|
68070
|
-
this [X3DPrototypeInstance_body] ?.dispose ();
|
|
68071
|
-
|
|
68072
68148
|
const
|
|
68073
68149
|
protoNode = this [_protoNode],
|
|
68074
68150
|
proto = protoNode .getProtoDeclaration ();
|
|
68075
68151
|
|
|
68076
|
-
//
|
|
68152
|
+
// Dispose body and assign field definitions.
|
|
68077
68153
|
|
|
68154
|
+
this [X3DPrototypeInstance_body] ?.dispose ();
|
|
68078
68155
|
this [X3DPrototypeInstance_fieldDefinitions] .assign (protoNode .getFieldDefinitions ());
|
|
68079
68156
|
|
|
68080
68157
|
// If there is a proto, the externproto is completely loaded.
|
|
@@ -68120,10 +68197,11 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68120
68197
|
if (field .hasReferences ())
|
|
68121
68198
|
continue;
|
|
68122
68199
|
|
|
68200
|
+
// Default value of protoField is different from field.
|
|
68123
68201
|
if (field .equals (protoField))
|
|
68124
68202
|
continue;
|
|
68125
68203
|
|
|
68126
|
-
//
|
|
68204
|
+
// Update default value of field.
|
|
68127
68205
|
field .assign (protoField);
|
|
68128
68206
|
}
|
|
68129
68207
|
catch
|
|
@@ -68188,16 +68266,44 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
68188
68266
|
if (!oldField)
|
|
68189
68267
|
continue;
|
|
68190
68268
|
|
|
68269
|
+
if (oldField .getType () !== newField .getType ())
|
|
68270
|
+
continue;
|
|
68271
|
+
|
|
68191
68272
|
oldField .addParent (this);
|
|
68192
68273
|
oldField .setAccessType (newField .getAccessType ());
|
|
68193
68274
|
oldField .setName (newField .getName ());
|
|
68194
68275
|
|
|
68276
|
+
const references = new Set (oldField .getReferences ());
|
|
68277
|
+
|
|
68278
|
+
// Remove references and routes.
|
|
68279
|
+
for (const field of oldField .getFieldInterests ())
|
|
68280
|
+
oldField .removeFieldInterest (field);
|
|
68281
|
+
|
|
68282
|
+
// Readd references.
|
|
68283
|
+
for (const field of references)
|
|
68284
|
+
{
|
|
68285
|
+
oldField .removeReference (field);
|
|
68286
|
+
oldField .addReference (field);
|
|
68287
|
+
}
|
|
68288
|
+
|
|
68289
|
+
// Reconnect routes.
|
|
68290
|
+
for (const route of oldField .getInputRoutes ())
|
|
68291
|
+
route .getSourceField () .addFieldInterest (route .getDestinationField ());
|
|
68292
|
+
|
|
68293
|
+
// Reconnect routes.
|
|
68294
|
+
for (const route of oldField .getOutputRoutes ())
|
|
68295
|
+
route .getSourceField () .addFieldInterest (route .getDestinationField ());
|
|
68296
|
+
|
|
68297
|
+
// Replace field, ie. reuse old field.
|
|
68195
68298
|
this .getPredefinedFields () .update (newField .getName (), newField .getName (), oldField);
|
|
68196
68299
|
|
|
68300
|
+
// Remove from old fields and dispose new field.
|
|
68197
68301
|
oldFields .delete (oldFieldName);
|
|
68198
68302
|
newField .dispose ();
|
|
68199
68303
|
}
|
|
68200
68304
|
|
|
68305
|
+
// Dispose unused old fields.
|
|
68306
|
+
|
|
68201
68307
|
for (const oldField of oldFields .values ())
|
|
68202
68308
|
oldField .dispose ();
|
|
68203
68309
|
|
|
@@ -84350,6 +84456,9 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84350
84456
|
{
|
|
84351
84457
|
PointingDeviceSensor_X3DDragSensorNode .prototype .initialize .call (this);
|
|
84352
84458
|
|
|
84459
|
+
this ._axisRotation .addInterest ("set_fields__", this);
|
|
84460
|
+
this ._diskAngle .addInterest ("set_fields__", this);
|
|
84461
|
+
|
|
84353
84462
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
84354
84463
|
this .invModelViewMatrix = new Numbers_Matrix4 ();
|
|
84355
84464
|
|
|
@@ -84399,71 +84508,87 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84399
84508
|
{
|
|
84400
84509
|
if (rotation .getAxis (new Numbers_Vector3 (0, 0, 0)) .dot (this .cylinder .axis .direction) > 0)
|
|
84401
84510
|
return rotation .angle;
|
|
84402
|
-
|
|
84403
84511
|
else
|
|
84404
84512
|
return -rotation .angle;
|
|
84405
84513
|
},
|
|
84514
|
+
set_fields__ ()
|
|
84515
|
+
{
|
|
84516
|
+
if (!this ._isActive .getValue ())
|
|
84517
|
+
return;
|
|
84518
|
+
|
|
84519
|
+
this .activate (this .activateHit);
|
|
84520
|
+
this .set_motion__ (this .motionHit ?? this .activateHit);
|
|
84521
|
+
},
|
|
84406
84522
|
set_active__ (active, hit, modelViewMatrix, projectionMatrix, viewport)
|
|
84407
84523
|
{
|
|
84408
84524
|
PointingDeviceSensor_X3DDragSensorNode .prototype .set_active__ .call (this, active, hit, modelViewMatrix, projectionMatrix, viewport);
|
|
84409
84525
|
|
|
84410
84526
|
if (this ._isActive .getValue ())
|
|
84411
84527
|
{
|
|
84528
|
+
this .activateHit = hit .copy ();
|
|
84529
|
+
this .motionHit = null;
|
|
84530
|
+
|
|
84412
84531
|
this .modelViewMatrix .assign (modelViewMatrix);
|
|
84413
84532
|
this .invModelViewMatrix .assign (modelViewMatrix) .inverse ();
|
|
84414
84533
|
|
|
84415
|
-
|
|
84416
|
-
|
|
84417
|
-
|
|
84534
|
+
this .activate (hit);
|
|
84535
|
+
}
|
|
84536
|
+
else
|
|
84537
|
+
{
|
|
84538
|
+
if (this ._autoOffset .getValue ())
|
|
84539
|
+
this ._offset = this .getAngle (this ._rotation_changed .getValue ());
|
|
84540
|
+
}
|
|
84541
|
+
},
|
|
84542
|
+
activate (hit)
|
|
84543
|
+
{
|
|
84544
|
+
const
|
|
84545
|
+
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
84546
|
+
hitPoint = this .invModelViewMatrix .multVecMatrix (hit .point .copy ());
|
|
84418
84547
|
|
|
84419
|
-
|
|
84420
|
-
|
|
84421
|
-
|
|
84548
|
+
const
|
|
84549
|
+
yAxis = this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 1, 0)),
|
|
84550
|
+
cameraBack = this .invModelViewMatrix .multDirMatrix (new Numbers_Vector3 (0, 0, 1)) .normalize ();
|
|
84422
84551
|
|
|
84423
|
-
|
|
84424
|
-
|
|
84425
|
-
|
|
84552
|
+
const
|
|
84553
|
+
axis = new Geometry_Line3 (new Numbers_Vector3 (0, 0, 0), yAxis),
|
|
84554
|
+
radius = axis .getPerpendicularVectorToPoint (hitPoint, new Numbers_Vector3 (0, 0, 0)) .magnitude ();
|
|
84426
84555
|
|
|
84427
|
-
|
|
84428
|
-
|
|
84429
|
-
|
|
84430
|
-
|
|
84431
|
-
|
|
84556
|
+
this .cylinder = new Geometry_Cylinder3 (axis, radius);
|
|
84557
|
+
this .disk = Math .abs (cameraBack .dot (yAxis)) > Math .cos (this ._diskAngle .getValue ());
|
|
84558
|
+
this .behind = this .isBehind (hitRay, hitPoint);
|
|
84559
|
+
this .yPlane = new Geometry_Plane3 (hitPoint, yAxis); // Sensor aligned y-plane
|
|
84560
|
+
this .zPlane = new Geometry_Plane3 (hitPoint, cameraBack); // Screen aligned z-plane
|
|
84432
84561
|
|
|
84433
|
-
|
|
84434
|
-
|
|
84435
|
-
|
|
84436
|
-
|
|
84562
|
+
// Compute normal like in Billboard with yAxis as axis of rotation.
|
|
84563
|
+
const
|
|
84564
|
+
billboardToViewer = this .invModelViewMatrix .origin,
|
|
84565
|
+
sxNormal = yAxis .copy () .cross (billboardToViewer) .normalize ();
|
|
84437
84566
|
|
|
84438
|
-
|
|
84439
|
-
|
|
84567
|
+
this .sxPlane = new Geometry_Plane3 (new Numbers_Vector3 (0, 0, 0), sxNormal); // Billboarded special x-plane made parallel to sensors axis.
|
|
84568
|
+
this .szNormal = sxNormal .copy () .cross (yAxis) .normalize (); // Billboarded special z-normal made parallel to sensors axis.
|
|
84440
84569
|
|
|
84441
|
-
|
|
84570
|
+
const trackPoint = new Numbers_Vector3 (0, 0, 0);
|
|
84442
84571
|
|
|
84443
|
-
|
|
84444
|
-
|
|
84445
|
-
|
|
84446
|
-
|
|
84572
|
+
if (this .disk)
|
|
84573
|
+
this .yPlane .intersectsLine (hitRay, trackPoint);
|
|
84574
|
+
else
|
|
84575
|
+
this .getTrackPoint (hitRay, trackPoint);
|
|
84447
84576
|
|
|
84448
|
-
|
|
84449
|
-
|
|
84577
|
+
this .fromVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 (0, 0, 0)) .negate ();
|
|
84578
|
+
this .startOffset = new Numbers_Rotation4 (yAxis, this ._offset .getValue ());
|
|
84450
84579
|
|
|
84451
|
-
|
|
84452
|
-
|
|
84580
|
+
this ._trackPoint_changed = trackPoint;
|
|
84581
|
+
this ._rotation_changed = this .startOffset;
|
|
84453
84582
|
|
|
84454
|
-
|
|
84583
|
+
// For min/max angle.
|
|
84455
84584
|
|
|
84456
|
-
|
|
84457
|
-
|
|
84458
|
-
}
|
|
84459
|
-
else
|
|
84460
|
-
{
|
|
84461
|
-
if (this ._autoOffset .getValue ())
|
|
84462
|
-
this ._offset = this .getAngle (this ._rotation_changed .getValue ());
|
|
84463
|
-
}
|
|
84585
|
+
this .angle = this ._offset .getValue ();
|
|
84586
|
+
this .startVector = this ._rotation_changed .getValue () .multVecRot (this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 0, 1)));
|
|
84464
84587
|
},
|
|
84465
84588
|
set_motion__ (hit)
|
|
84466
84589
|
{
|
|
84590
|
+
this .motionHit = hit .copy ();
|
|
84591
|
+
|
|
84467
84592
|
const
|
|
84468
84593
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
84469
84594
|
trackPoint = new Numbers_Vector3 (0, 0, 0);
|
|
@@ -84826,6 +84951,10 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84826
84951
|
{
|
|
84827
84952
|
PointingDeviceSensor_X3DDragSensorNode .prototype .initialize .call (this);
|
|
84828
84953
|
|
|
84954
|
+
this ._axisRotation .addInterest ("set_fields__", this);
|
|
84955
|
+
this ._minPosition .addInterest ("set_fields__", this);
|
|
84956
|
+
this ._maxPosition .addInterest ("set_fields__", this);
|
|
84957
|
+
|
|
84829
84958
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
84830
84959
|
this .invModelViewMatrix = new Numbers_Matrix4 ();
|
|
84831
84960
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
@@ -84837,86 +84966,101 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84837
84966
|
this .startOffset = new Numbers_Vector3 (0, 0, 0);
|
|
84838
84967
|
this .startPoint = new Numbers_Vector3 (0, 0, 0);
|
|
84839
84968
|
},
|
|
84840
|
-
getLineTrackPoint (
|
|
84969
|
+
getLineTrackPoint (pointer, line, trackPoint)
|
|
84841
84970
|
{
|
|
84842
84971
|
Geometry_ViewVolume .projectLine (line, this .modelViewMatrix, this .projectionMatrix, this .viewport, screenLine);
|
|
84843
|
-
screenLine .getClosestPointToPoint (
|
|
84972
|
+
screenLine .getClosestPointToPoint (pointer, trackPoint1);
|
|
84844
84973
|
Geometry_ViewVolume .unProjectRay (trackPoint1 .x, trackPoint1 .y, this .modelViewMatrix, this .projectionMatrix, this .viewport, trackPointLine);
|
|
84845
84974
|
|
|
84846
84975
|
return line .getClosestPointToLine (trackPointLine, trackPoint);
|
|
84847
84976
|
},
|
|
84977
|
+
set_fields__ ()
|
|
84978
|
+
{
|
|
84979
|
+
if (!this ._isActive .getValue ())
|
|
84980
|
+
return;
|
|
84981
|
+
|
|
84982
|
+
this .activate (this .activateHit);
|
|
84983
|
+
this .set_motion__ (this .motionHit ?? this .activateHit);
|
|
84984
|
+
},
|
|
84848
84985
|
set_active__ (active, hit, modelViewMatrix, projectionMatrix, viewport)
|
|
84849
84986
|
{
|
|
84850
84987
|
PointingDeviceSensor_X3DDragSensorNode .prototype .set_active__ .call (this, active, hit, modelViewMatrix, projectionMatrix, viewport);
|
|
84851
84988
|
|
|
84852
84989
|
if (this ._isActive .getValue ())
|
|
84853
84990
|
{
|
|
84991
|
+
this .activateHit = hit .copy ();
|
|
84992
|
+
this .motionHit = null;
|
|
84993
|
+
|
|
84854
84994
|
this .modelViewMatrix .assign (modelViewMatrix);
|
|
84855
84995
|
this .projectionMatrix .assign (projectionMatrix);
|
|
84856
84996
|
this .viewport .assign (viewport);
|
|
84857
84997
|
this .invModelViewMatrix .assign (modelViewMatrix) .inverse ();
|
|
84858
84998
|
|
|
84859
|
-
|
|
84860
|
-
|
|
84861
|
-
|
|
84999
|
+
this .activate (hit);
|
|
85000
|
+
}
|
|
85001
|
+
else
|
|
85002
|
+
{
|
|
85003
|
+
if (this ._autoOffset .getValue ())
|
|
85004
|
+
this ._offset = this ._translation_changed;
|
|
85005
|
+
}
|
|
85006
|
+
},
|
|
85007
|
+
activate (hit)
|
|
85008
|
+
{
|
|
85009
|
+
const
|
|
85010
|
+
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
85011
|
+
hitPoint = this .invModelViewMatrix .multVecMatrix (hit .point .copy ());
|
|
84862
85012
|
|
|
84863
|
-
|
|
85013
|
+
const axisRotation = this ._axisRotation .getValue ();
|
|
84864
85014
|
|
|
84865
|
-
|
|
84866
|
-
|
|
84867
|
-
|
|
85015
|
+
if (this ._minPosition .x === this ._maxPosition .x)
|
|
85016
|
+
{
|
|
85017
|
+
this .planeSensor = false;
|
|
84868
85018
|
|
|
84869
|
-
|
|
85019
|
+
const direction = axisRotation .multVecRot (new Numbers_Vector3 (0, Math .abs (this ._maxPosition .y - this ._minPosition .y), 0));
|
|
84870
85020
|
|
|
84871
|
-
|
|
84872
|
-
|
|
84873
|
-
|
|
84874
|
-
|
|
84875
|
-
|
|
85021
|
+
this .line = new Geometry_Line3 (hitPoint, direction .normalize ());
|
|
85022
|
+
}
|
|
85023
|
+
else if (this ._minPosition .y === this ._maxPosition .y)
|
|
85024
|
+
{
|
|
85025
|
+
this .planeSensor = false;
|
|
84876
85026
|
|
|
84877
|
-
|
|
85027
|
+
const direction = axisRotation .multVecRot (new Numbers_Vector3 (Math .abs (this ._maxPosition .x - this ._minPosition .x), 0, 0));
|
|
84878
85028
|
|
|
84879
|
-
|
|
84880
|
-
|
|
84881
|
-
|
|
85029
|
+
this .line = new Geometry_Line3 (hitPoint, direction .normalize ());
|
|
85030
|
+
}
|
|
85031
|
+
else
|
|
85032
|
+
{
|
|
85033
|
+
this .planeSensor = true;
|
|
85034
|
+
this .plane = new Geometry_Plane3 (hitPoint, axisRotation .multVecRot (new Numbers_Vector3 (0, 0, 1)));
|
|
85035
|
+
}
|
|
85036
|
+
|
|
85037
|
+
if (this .planeSensor)
|
|
85038
|
+
{
|
|
85039
|
+
if (this .plane .intersectsLine (hitRay, this .startPoint))
|
|
84882
85040
|
{
|
|
84883
|
-
this .
|
|
84884
|
-
this .plane = new Geometry_Plane3 (hitPoint, axisRotation .multVecRot (new Numbers_Vector3 (0, 0, 1)));
|
|
85041
|
+
this .trackStart (this .startPoint);
|
|
84885
85042
|
}
|
|
84886
85043
|
|
|
84887
|
-
|
|
85044
|
+
// new Plane3 (new Vector3 (0, 0, 0), this .plane .normal) .intersectsLine (hitRay, trackPoint);
|
|
85045
|
+
}
|
|
85046
|
+
else
|
|
85047
|
+
{
|
|
85048
|
+
if (this .getLineTrackPoint (hit .pointer, this .line, this .startPoint))
|
|
84888
85049
|
{
|
|
84889
|
-
|
|
85050
|
+
const trackPoint = new Numbers_Vector3 (0, 0, 0);
|
|
85051
|
+
|
|
85052
|
+
try
|
|
84890
85053
|
{
|
|
84891
|
-
this .
|
|
85054
|
+
this .getLineTrackPoint (hit .pointer, new Geometry_Line3 (this .line .direction, this .line .direction), trackPoint);
|
|
84892
85055
|
}
|
|
84893
|
-
|
|
84894
|
-
// new Plane3 (new Vector3 (0, 0, 0), this .plane .normal) .intersectsLine (hitRay, trackPoint);
|
|
84895
|
-
}
|
|
84896
|
-
else
|
|
84897
|
-
{
|
|
84898
|
-
if (this .getLineTrackPoint (hit, this .line, this .startPoint))
|
|
85056
|
+
catch
|
|
84899
85057
|
{
|
|
84900
|
-
|
|
84901
|
-
|
|
84902
|
-
try
|
|
84903
|
-
{
|
|
84904
|
-
this .getLineTrackPoint (hit, new Geometry_Line3 (this .line .direction, this .line .direction), trackPoint);
|
|
84905
|
-
}
|
|
84906
|
-
catch
|
|
84907
|
-
{
|
|
84908
|
-
trackPoint .assign (this .startPoint);
|
|
84909
|
-
}
|
|
84910
|
-
|
|
84911
|
-
this .trackStart (trackPoint);
|
|
85058
|
+
trackPoint .assign (this .startPoint);
|
|
84912
85059
|
}
|
|
85060
|
+
|
|
85061
|
+
this .trackStart (trackPoint);
|
|
84913
85062
|
}
|
|
84914
85063
|
}
|
|
84915
|
-
else
|
|
84916
|
-
{
|
|
84917
|
-
if (this ._autoOffset .getValue ())
|
|
84918
|
-
this ._offset = this ._translation_changed;
|
|
84919
|
-
}
|
|
84920
85064
|
},
|
|
84921
85065
|
trackStart (trackPoint)
|
|
84922
85066
|
{
|
|
@@ -84929,6 +85073,8 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84929
85073
|
{
|
|
84930
85074
|
try
|
|
84931
85075
|
{
|
|
85076
|
+
this .motionHit = hit .copy ();
|
|
85077
|
+
|
|
84932
85078
|
if (this .planeSensor)
|
|
84933
85079
|
{
|
|
84934
85080
|
const
|
|
@@ -84936,9 +85082,7 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84936
85082
|
endPoint = new Numbers_Vector3 (0, 0, 0);
|
|
84937
85083
|
|
|
84938
85084
|
if (this .plane .intersectsLine (hitRay, endPoint))
|
|
84939
|
-
{
|
|
84940
85085
|
this .track (endPoint, endPoint .copy ());
|
|
84941
|
-
}
|
|
84942
85086
|
else
|
|
84943
85087
|
throw new Error ("Plane and line are parallel.");
|
|
84944
85088
|
}
|
|
@@ -84948,11 +85092,11 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84948
85092
|
endPoint = new Numbers_Vector3 (0, 0, 0),
|
|
84949
85093
|
trackPoint = new Numbers_Vector3 (0, 0, 0);
|
|
84950
85094
|
|
|
84951
|
-
if (this .getLineTrackPoint (hit, this .line, endPoint))
|
|
85095
|
+
if (this .getLineTrackPoint (hit .pointer, this .line, endPoint))
|
|
84952
85096
|
{
|
|
84953
85097
|
try
|
|
84954
85098
|
{
|
|
84955
|
-
this .getLineTrackPoint (hit, new Geometry_Line3 (Numbers_Vector3 .Zero, this .line .direction), trackPoint);
|
|
85099
|
+
this .getLineTrackPoint (hit .pointer, new Geometry_Line3 (Numbers_Vector3 .Zero, this .line .direction), trackPoint);
|
|
84956
85100
|
}
|
|
84957
85101
|
catch
|
|
84958
85102
|
{
|
|
@@ -84962,7 +85106,9 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
84962
85106
|
this .track (endPoint, trackPoint);
|
|
84963
85107
|
}
|
|
84964
85108
|
else
|
|
85109
|
+
{
|
|
84965
85110
|
throw new Error ("Lines are parallel.");
|
|
85111
|
+
}
|
|
84966
85112
|
}
|
|
84967
85113
|
}
|
|
84968
85114
|
catch
|
|
@@ -86751,7 +86897,7 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86751
86897
|
appearanceNode = renderContext .appearanceNode,
|
|
86752
86898
|
linePropertiesNode = appearanceNode .getLineProperties (),
|
|
86753
86899
|
shaderNode = appearanceNode .getShader (this, renderContext),
|
|
86754
|
-
|
|
86900
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
86755
86901
|
attribNodes = this .getAttrib (),
|
|
86756
86902
|
attribBuffers = this .getAttribBuffers ();
|
|
86757
86903
|
|
|
@@ -86859,7 +87005,8 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86859
87005
|
|
|
86860
87006
|
// Render triangles.
|
|
86861
87007
|
|
|
86862
|
-
|
|
87008
|
+
for (const node of renderModeNodes)
|
|
87009
|
+
node .enable (gl);
|
|
86863
87010
|
|
|
86864
87011
|
// Setup shader.
|
|
86865
87012
|
|
|
@@ -86903,7 +87050,8 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86903
87050
|
gl .enable (gl .CULL_FACE);
|
|
86904
87051
|
gl .drawArrays (primitiveMode, 0, this .vertexCount * 3);
|
|
86905
87052
|
|
|
86906
|
-
|
|
87053
|
+
for (const node of renderModeNodes)
|
|
87054
|
+
node .disable (gl);
|
|
86907
87055
|
|
|
86908
87056
|
return;
|
|
86909
87057
|
}
|
|
@@ -86911,7 +87059,8 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86911
87059
|
|
|
86912
87060
|
const primitiveMode = browser .getPrimitiveMode (this .getPrimitiveMode ());
|
|
86913
87061
|
|
|
86914
|
-
|
|
87062
|
+
for (const node of renderModeNodes)
|
|
87063
|
+
node .enable (gl);
|
|
86915
87064
|
|
|
86916
87065
|
// Setup shader.
|
|
86917
87066
|
|
|
@@ -86944,7 +87093,8 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86944
87093
|
|
|
86945
87094
|
gl .drawArrays (primitiveMode, 0, this .vertexCount);
|
|
86946
87095
|
|
|
86947
|
-
|
|
87096
|
+
for (const node of renderModeNodes)
|
|
87097
|
+
node .disable (gl);
|
|
86948
87098
|
|
|
86949
87099
|
gl .lineWidth (1);
|
|
86950
87100
|
};
|
|
@@ -86952,15 +87102,16 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86952
87102
|
displayParticles (gl, renderContext, particleSystem)
|
|
86953
87103
|
{
|
|
86954
87104
|
const
|
|
86955
|
-
browser
|
|
86956
|
-
appearanceNode
|
|
86957
|
-
shaderNode
|
|
86958
|
-
|
|
86959
|
-
attribNodes
|
|
86960
|
-
attribBuffers
|
|
86961
|
-
primitiveMode
|
|
87105
|
+
browser = this .getBrowser (),
|
|
87106
|
+
appearanceNode = renderContext .appearanceNode,
|
|
87107
|
+
shaderNode = appearanceNode .getShader (this, renderContext),
|
|
87108
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
87109
|
+
attribNodes = this .getAttrib (),
|
|
87110
|
+
attribBuffers = this .getAttribBuffers (),
|
|
87111
|
+
primitiveMode = browser .getPrimitiveMode (this .getPrimitiveMode ());
|
|
86962
87112
|
|
|
86963
|
-
|
|
87113
|
+
for (const node of renderModeNodes)
|
|
87114
|
+
node .enable (gl);
|
|
86964
87115
|
|
|
86965
87116
|
// Setup shader.
|
|
86966
87117
|
|
|
@@ -86999,7 +87150,8 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
86999
87150
|
|
|
87000
87151
|
gl .drawArraysInstanced (primitiveMode, 0, this .vertexCount, particleSystem .numParticles);
|
|
87001
87152
|
|
|
87002
|
-
|
|
87153
|
+
for (const node of renderModeNodes)
|
|
87154
|
+
node .disable (gl);
|
|
87003
87155
|
|
|
87004
87156
|
gl .lineWidth (1);
|
|
87005
87157
|
},
|
|
@@ -88366,13 +88518,14 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
|
|
|
88366
88518
|
display (gl, renderContext)
|
|
88367
88519
|
{
|
|
88368
88520
|
const
|
|
88369
|
-
appearanceNode
|
|
88370
|
-
shaderNode
|
|
88371
|
-
|
|
88372
|
-
attribNodes
|
|
88373
|
-
attribBuffers
|
|
88521
|
+
appearanceNode = renderContext .appearanceNode,
|
|
88522
|
+
shaderNode = appearanceNode .getShader (this, renderContext),
|
|
88523
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
88524
|
+
attribNodes = this .getAttrib (),
|
|
88525
|
+
attribBuffers = this .getAttribBuffers ();
|
|
88374
88526
|
|
|
88375
|
-
|
|
88527
|
+
for (const node of renderModeNodes)
|
|
88528
|
+
node .enable (gl);
|
|
88376
88529
|
|
|
88377
88530
|
// Setup shader.
|
|
88378
88531
|
|
|
@@ -88403,18 +88556,20 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
|
|
|
88403
88556
|
|
|
88404
88557
|
gl .drawArrays (this .primitiveMode, 0, this .vertexCount);
|
|
88405
88558
|
|
|
88406
|
-
|
|
88559
|
+
for (const node of renderModeNodes)
|
|
88560
|
+
node .disable (gl);
|
|
88407
88561
|
},
|
|
88408
88562
|
displayParticles (gl, renderContext, particleSystem)
|
|
88409
88563
|
{
|
|
88410
88564
|
const
|
|
88411
|
-
appearanceNode
|
|
88412
|
-
shaderNode
|
|
88413
|
-
|
|
88414
|
-
attribNodes
|
|
88415
|
-
attribBuffers
|
|
88565
|
+
appearanceNode = renderContext .appearanceNode,
|
|
88566
|
+
shaderNode = appearanceNode .getShader (this, renderContext),
|
|
88567
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
88568
|
+
attribNodes = this .getAttrib (),
|
|
88569
|
+
attribBuffers = this .getAttribBuffers ();
|
|
88416
88570
|
|
|
88417
|
-
|
|
88571
|
+
for (const node of renderModeNodes)
|
|
88572
|
+
node .enable (gl);
|
|
88418
88573
|
|
|
88419
88574
|
// Setup shader.
|
|
88420
88575
|
|
|
@@ -88453,7 +88608,8 @@ Object .assign (Object .setPrototypeOf (X3DPointGeometryNode .prototype, Renderi
|
|
|
88453
88608
|
|
|
88454
88609
|
gl .drawArraysInstanced (this .primitiveMode, 0, this .vertexCount, particleSystem .numParticles);
|
|
88455
88610
|
|
|
88456
|
-
|
|
88611
|
+
for (const node of renderModeNodes)
|
|
88612
|
+
node .disable (gl);
|
|
88457
88613
|
},
|
|
88458
88614
|
});
|
|
88459
88615
|
|
|
@@ -89350,7 +89506,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89350
89506
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89351
89507
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89352
89508
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89353
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89509
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(172);
|
|
89354
89510
|
/*******************************************************************************
|
|
89355
89511
|
*
|
|
89356
89512
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94991,7 +95147,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
94991
95147
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
94992
95148
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
94993
95149
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
94994
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95150
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(172);
|
|
94995
95151
|
/*******************************************************************************
|
|
94996
95152
|
*
|
|
94997
95153
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95648,7 +95804,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95648
95804
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95649
95805
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95650
95806
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95651
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95807
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(172);
|
|
95652
95808
|
/*******************************************************************************
|
|
95653
95809
|
*
|
|
95654
95810
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95715,6 +95871,7 @@ function Appearance (executionContext)
|
|
|
95715
95871
|
this .textureTransformMapping = new Map ();
|
|
95716
95872
|
this .textureBits = new Utility_BitSet ();
|
|
95717
95873
|
this .shaderNodes = [ ];
|
|
95874
|
+
this .renderModeNodes = [ ];
|
|
95718
95875
|
}
|
|
95719
95876
|
|
|
95720
95877
|
Object .assign (Object .setPrototypeOf (Appearance .prototype, Shape_X3DAppearanceNode .prototype),
|
|
@@ -95737,7 +95894,8 @@ Object .assign (Object .setPrototypeOf (Appearance .prototype, Shape_X3DAppearan
|
|
|
95737
95894
|
this ._texture .addInterest ("set_texture__", this);
|
|
95738
95895
|
this ._textureTransform .addInterest ("set_textureTransform__", this);
|
|
95739
95896
|
this ._shaders .addInterest ("set_shaders__", this);
|
|
95740
|
-
this ._blendMode .addInterest ("
|
|
95897
|
+
this ._blendMode .addInterest ("set_renderModes__", this);
|
|
95898
|
+
this ._depthMode .addInterest ("set_renderModes__", this);
|
|
95741
95899
|
|
|
95742
95900
|
this ._alphaMode .addInterest ("set_transparent__", this);
|
|
95743
95901
|
this ._fillProperties .addInterest ("set_transparent__", this);
|
|
@@ -95754,7 +95912,7 @@ Object .assign (Object .setPrototypeOf (Appearance .prototype, Shape_X3DAppearan
|
|
|
95754
95912
|
this .set_texture__ ();
|
|
95755
95913
|
this .set_textureTransform__ ();
|
|
95756
95914
|
this .set_shaders__ ();
|
|
95757
|
-
this .
|
|
95915
|
+
this .set_renderModes__ ();
|
|
95758
95916
|
this .set_transparent__ ();
|
|
95759
95917
|
},
|
|
95760
95918
|
getAlphaMode ()
|
|
@@ -95818,9 +95976,13 @@ Object .assign (Object .setPrototypeOf (Appearance .prototype, Shape_X3DAppearan
|
|
|
95818
95976
|
{
|
|
95819
95977
|
return this .backMaterialNode .getShader (geometryContext, renderContext);
|
|
95820
95978
|
},
|
|
95821
|
-
|
|
95979
|
+
getRenderModes ()
|
|
95980
|
+
{
|
|
95981
|
+
return this .renderModeNodes;
|
|
95982
|
+
},
|
|
95983
|
+
getDepthMode ()
|
|
95822
95984
|
{
|
|
95823
|
-
return this .
|
|
95985
|
+
return this .depthModeNode;
|
|
95824
95986
|
},
|
|
95825
95987
|
set_contentScale__ ()
|
|
95826
95988
|
{
|
|
@@ -96025,9 +96187,15 @@ Object .assign (Object .setPrototypeOf (Appearance .prototype, Shape_X3DAppearan
|
|
|
96025
96187
|
}
|
|
96026
96188
|
};
|
|
96027
96189
|
})(),
|
|
96028
|
-
|
|
96190
|
+
set_renderModes__ ()
|
|
96029
96191
|
{
|
|
96030
|
-
this .
|
|
96192
|
+
this .renderModeNodes .length = 0;
|
|
96193
|
+
|
|
96194
|
+
this .blendModeNode = Base_X3DCast (Base_X3DConstants .BlendMode, this ._blendMode),
|
|
96195
|
+
this .depthModeNode = Base_X3DCast (Base_X3DConstants .DepthMode, this ._depthMode);
|
|
96196
|
+
|
|
96197
|
+
if (this .blendModeNode) this .renderModeNodes .push (this .blendModeNode);
|
|
96198
|
+
if (this .depthModeNode) this .renderModeNodes .push (this .depthModeNode);
|
|
96031
96199
|
},
|
|
96032
96200
|
set_transparent__ ()
|
|
96033
96201
|
{
|
|
@@ -96081,6 +96249,7 @@ Object .defineProperties (Appearance,
|
|
|
96081
96249
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "textureTransform", new x_ite_Fields .SFNode ()),
|
|
96082
96250
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "shaders", new x_ite_Fields .MFNode ()),
|
|
96083
96251
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "blendMode", new x_ite_Fields .SFNode ()),
|
|
96252
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "depthMode", new x_ite_Fields .SFNode ()),
|
|
96084
96253
|
]),
|
|
96085
96254
|
enumerable: true,
|
|
96086
96255
|
},
|
|
@@ -99053,7 +99222,7 @@ const Components_Shape_default_ = {
|
|
|
99053
99222
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99054
99223
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99055
99224
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99056
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99225
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(172);
|
|
99057
99226
|
/*******************************************************************************
|
|
99058
99227
|
*
|
|
99059
99228
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99693,7 +99862,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99693
99862
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99694
99863
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99695
99864
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99696
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99865
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(172);
|
|
99697
99866
|
/*******************************************************************************
|
|
99698
99867
|
*
|
|
99699
99868
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99995,7 +100164,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
99995
100164
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
99996
100165
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
99997
100166
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
99998
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100167
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(172);
|
|
99999
100168
|
/*******************************************************************************
|
|
100000
100169
|
*
|
|
100001
100170
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101645,7 +101814,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101645
101814
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101646
101815
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101647
101816
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101648
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101817
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(172);
|
|
101649
101818
|
/*******************************************************************************
|
|
101650
101819
|
*
|
|
101651
101820
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103314,8 +103483,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103314
103483
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103315
103484
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103316
103485
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103317
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103318
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103486
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(172);
|
|
103487
|
+
/* provided dependency */ var SuperGif = __webpack_require__(235);
|
|
103319
103488
|
/*******************************************************************************
|
|
103320
103489
|
*
|
|
103321
103490
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106593,7 +106762,7 @@ const gettext_default_ = gettext;
|
|
|
106593
106762
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106594
106763
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106595
106764
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106596
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106765
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(172);
|
|
106597
106766
|
/*******************************************************************************
|
|
106598
106767
|
*
|
|
106599
106768
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107023,7 +107192,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107023
107192
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107024
107193
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107025
107194
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107026
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107195
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(172);
|
|
107027
107196
|
/*******************************************************************************
|
|
107028
107197
|
*
|
|
107029
107198
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107613,7 +107782,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107613
107782
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107614
107783
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107615
107784
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107616
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107785
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(172);
|
|
107617
107786
|
/*******************************************************************************
|
|
107618
107787
|
*
|
|
107619
107788
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107736,8 +107905,8 @@ const Notification_default_ = Notification;
|
|
|
107736
107905
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107737
107906
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107738
107907
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107739
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107740
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107908
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(91);
|
|
107909
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(172);
|
|
107741
107910
|
/*******************************************************************************
|
|
107742
107911
|
*
|
|
107743
107912
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109495,12 +109664,12 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
109495
109664
|
throw new Error ("Couldn't add metadata: name is empty.");
|
|
109496
109665
|
|
|
109497
109666
|
if (!Array .isArray (values))
|
|
109498
|
-
values = [
|
|
109667
|
+
values = [values];
|
|
109499
109668
|
|
|
109500
109669
|
if (!values .length)
|
|
109501
109670
|
throw new Error ("Couldn't add metadata: values length is 0.");
|
|
109502
109671
|
|
|
109503
|
-
this [_metadata] .set (name, values .map (
|
|
109672
|
+
this [_metadata] .set (name, values .map (String));
|
|
109504
109673
|
|
|
109505
109674
|
this ._metadata_changed = this .getBrowser () .getCurrentTime ();
|
|
109506
109675
|
},
|
|
@@ -110488,7 +110657,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110488
110657
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110489
110658
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110490
110659
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110491
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110660
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(172);
|
|
110492
110661
|
/*******************************************************************************
|
|
110493
110662
|
*
|
|
110494
110663
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112553,8 +112722,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
112553
112722
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
112554
112723
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
112555
112724
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
112556
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
112557
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
112725
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(57);
|
|
112726
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(172);
|
|
112558
112727
|
/*******************************************************************************
|
|
112559
112728
|
*
|
|
112560
112729
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113426,8 +113595,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113426
113595
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113427
113596
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113428
113597
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113429
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113430
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
113598
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(57);
|
|
113599
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(172);
|
|
113431
113600
|
/*******************************************************************************
|
|
113432
113601
|
*
|
|
113433
113602
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114436,8 +114605,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114436
114605
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114437
114606
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114438
114607
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114439
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114440
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
114608
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(57);
|
|
114609
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(172);
|
|
114441
114610
|
/*******************************************************************************
|
|
114442
114611
|
*
|
|
114443
114612
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114768,8 +114937,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
114768
114937
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
114769
114938
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
114770
114939
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
114771
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
114772
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
114940
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(57);
|
|
114941
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(172);
|
|
114773
114942
|
/*******************************************************************************
|
|
114774
114943
|
*
|
|
114775
114944
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115908,8 +116077,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
115908
116077
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
115909
116078
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
115910
116079
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
115911
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
115912
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116080
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(57);
|
|
116081
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(172);
|
|
115913
116082
|
/*******************************************************************************
|
|
115914
116083
|
*
|
|
115915
116084
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116466,6 +116635,22 @@ function X3DPointingDeviceSensorContext ()
|
|
|
116466
116635
|
texCoord: new Numbers_Vector4 (0, 0, 0, 0),
|
|
116467
116636
|
layerNode: null,
|
|
116468
116637
|
shapeNode: null,
|
|
116638
|
+
copy ()
|
|
116639
|
+
{
|
|
116640
|
+
return {
|
|
116641
|
+
id: this .id,
|
|
116642
|
+
pointer: this .pointer .copy (),
|
|
116643
|
+
hitRay: this .hitRay .copy (),
|
|
116644
|
+
sensors: this .sensors .slice (),
|
|
116645
|
+
modelViewMatrix: this .modelViewMatrix .copy (),
|
|
116646
|
+
point: this .point .copy (),
|
|
116647
|
+
normal: this .normal .copy (),
|
|
116648
|
+
texCoord: this .texCoord .copy (),
|
|
116649
|
+
layerNode: this .layerNode,
|
|
116650
|
+
shapeNode: this .shapeNode,
|
|
116651
|
+
copy: this .copy,
|
|
116652
|
+
};
|
|
116653
|
+
},
|
|
116469
116654
|
};
|
|
116470
116655
|
}
|
|
116471
116656
|
|
|
@@ -117172,7 +117357,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117172
117357
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117173
117358
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117174
117359
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117175
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117360
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(172);
|
|
117176
117361
|
/*******************************************************************************
|
|
117177
117362
|
*
|
|
117178
117363
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118075,7 +118260,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118075
118260
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118076
118261
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118077
118262
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118078
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118263
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(172);
|
|
118079
118264
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118080
118265
|
{
|
|
118081
118266
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -119628,7 +119813,7 @@ const Components_default_ = Components;
|
|
|
119628
119813
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
119629
119814
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
119630
119815
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
119631
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
119816
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(172);
|
|
119632
119817
|
/*******************************************************************************
|
|
119633
119818
|
* MIT License
|
|
119634
119819
|
*
|
|
@@ -120767,7 +120952,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
120767
120952
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
120768
120953
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
120769
120954
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
120770
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
120955
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(172);
|
|
120771
120956
|
/*******************************************************************************
|
|
120772
120957
|
*
|
|
120773
120958
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121848,7 +122033,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
121848
122033
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
121849
122034
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
121850
122035
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
121851
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122036
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(172);
|
|
121852
122037
|
/*******************************************************************************
|
|
121853
122038
|
*
|
|
121854
122039
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121980,8 +122165,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
121980
122165
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
121981
122166
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
121982
122167
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
121983
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
121984
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122168
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(172);
|
|
122169
|
+
/* provided dependency */ var pako = __webpack_require__(834);
|
|
121985
122170
|
Object .assign (jquery_$,
|
|
121986
122171
|
{
|
|
121987
122172
|
decodeText (input)
|
|
@@ -122058,14 +122243,14 @@ const jquery_default_ = jquery_$;
|
|
|
122058
122243
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122059
122244
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122060
122245
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122061
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122246
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(715);
|
|
122062
122247
|
const libtess_default_ = libtess_libtess;
|
|
122063
122248
|
;
|
|
122064
122249
|
|
|
122065
122250
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122066
122251
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122067
122252
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122068
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122253
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(172);
|
|
122069
122254
|
/*******************************************************************************
|
|
122070
122255
|
*
|
|
122071
122256
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122459,7 +122644,7 @@ x_ite_Namespace .add ("shim", "shim", shim_default_);
|
|
|
122459
122644
|
|
|
122460
122645
|
// Assign X3D to global namespace.
|
|
122461
122646
|
|
|
122462
|
-
window [Symbol .for ("X_ITE.X3D-9.0
|
|
122647
|
+
window [Symbol .for ("X_ITE.X3D-9.1.0")] = x_ite_X3D;
|
|
122463
122648
|
|
|
122464
122649
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122465
122650
|
|