x_ite 15.0.2 → 15.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/assets/components/AnnotationComponent.js +2 -2
- package/dist/assets/components/AnnotationComponent.min.js +2 -2
- package/dist/assets/components/CADGeometryComponent.js +2 -2
- package/dist/assets/components/CADGeometryComponent.min.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
- package/dist/assets/components/DISComponent.js +2 -2
- package/dist/assets/components/DISComponent.min.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
- package/dist/assets/components/Geometry2DComponent.js +2 -2
- package/dist/assets/components/Geometry2DComponent.min.js +2 -2
- package/dist/assets/components/Geometry3DComponent.js +2 -2
- package/dist/assets/components/Geometry3DComponent.min.js +2 -2
- package/dist/assets/components/GeospatialComponent.js +9 -9
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +3 -3
- package/dist/assets/components/HAnimComponent.min.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
- package/dist/assets/components/LayoutComponent.js +5 -5
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- package/dist/assets/components/NURBSComponent.js +2 -2
- package/dist/assets/components/NURBSComponent.min.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
- package/dist/assets/components/PickingComponent.js +5 -5
- package/dist/assets/components/PickingComponent.min.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.js +16 -14
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
- package/dist/assets/components/ScriptingComponent.js +2 -2
- package/dist/assets/components/ScriptingComponent.min.js +2 -2
- package/dist/assets/components/TextComponent.js +2 -2
- package/dist/assets/components/TextComponent.min.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
- package/dist/assets/components/Texturing3DComponent.js +11 -11
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +9 -8
- package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
- package/dist/assets/components/WebXRComponent.js +2 -2
- package/dist/assets/components/WebXRComponent.min.js +2 -2
- package/dist/assets/components/X_ITEComponent.js +7 -7
- package/dist/assets/components/X_ITEComponent.min.js +2 -2
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +481 -709
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +479 -707
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v15.0.
|
|
1
|
+
/* X_ITE v15.0.3 */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -12,7 +12,41 @@
|
|
|
12
12
|
return /******/ (() => { // webpackBootstrap
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 447
|
|
16
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
"use strict";
|
|
19
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21
|
+
/* harmony export */ });
|
|
22
|
+
const Namespace = { };
|
|
23
|
+
|
|
24
|
+
Object .defineProperty (Namespace, "add",
|
|
25
|
+
{
|
|
26
|
+
value (name, module)
|
|
27
|
+
{
|
|
28
|
+
if (Namespace .hasOwnProperty (name))
|
|
29
|
+
{
|
|
30
|
+
console .error (new Error (`Namespace: "${name}" already exists.`));
|
|
31
|
+
return module;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const X3D = window [Symbol .for ("X_ITE.X3D")];
|
|
35
|
+
|
|
36
|
+
if (X3D)
|
|
37
|
+
X3D [name] = module;
|
|
38
|
+
|
|
39
|
+
// For x_ite.js:
|
|
40
|
+
return Namespace [name] = module;
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/***/ },
|
|
48
|
+
|
|
49
|
+
/***/ 143
|
|
16
50
|
(module, exports) {
|
|
17
51
|
|
|
18
52
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -1017,7 +1051,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
1017
1051
|
|
|
1018
1052
|
/***/ },
|
|
1019
1053
|
|
|
1020
|
-
/***/
|
|
1054
|
+
/***/ 949
|
|
1021
1055
|
(module) {
|
|
1022
1056
|
|
|
1023
1057
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -2013,7 +2047,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
2013
2047
|
|
|
2014
2048
|
/***/ },
|
|
2015
2049
|
|
|
2016
|
-
/***/
|
|
2050
|
+
/***/ 862
|
|
2017
2051
|
(module, exports, __webpack_require__) {
|
|
2018
2052
|
|
|
2019
2053
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -2027,7 +2061,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
2027
2061
|
if ( true ) {
|
|
2028
2062
|
|
|
2029
2063
|
// AMD. Register as an anonymous module.
|
|
2030
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(
|
|
2064
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(931) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
2031
2065
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
2032
2066
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
2033
2067
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -2258,7 +2292,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
2258
2292
|
|
|
2259
2293
|
/***/ },
|
|
2260
2294
|
|
|
2261
|
-
/***/
|
|
2295
|
+
/***/ 285
|
|
2262
2296
|
(module) {
|
|
2263
2297
|
|
|
2264
2298
|
/**
|
|
@@ -7037,7 +7071,7 @@ if (true) {
|
|
|
7037
7071
|
|
|
7038
7072
|
/***/ },
|
|
7039
7073
|
|
|
7040
|
-
/***/
|
|
7074
|
+
/***/ 388
|
|
7041
7075
|
(__unused_webpack_module, exports) {
|
|
7042
7076
|
|
|
7043
7077
|
|
|
@@ -10282,54 +10316,20 @@ if (true) {
|
|
|
10282
10316
|
|
|
10283
10317
|
/***/ },
|
|
10284
10318
|
|
|
10285
|
-
/***/
|
|
10286
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10287
|
-
|
|
10288
|
-
"use strict";
|
|
10289
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10290
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10291
|
-
/* harmony export */ });
|
|
10292
|
-
const Namespace = { };
|
|
10293
|
-
|
|
10294
|
-
Object .defineProperty (Namespace, "add",
|
|
10295
|
-
{
|
|
10296
|
-
value (name, module)
|
|
10297
|
-
{
|
|
10298
|
-
if (Namespace .hasOwnProperty (name))
|
|
10299
|
-
{
|
|
10300
|
-
console .error (new Error (`Namespace: "${name}" already exists.`));
|
|
10301
|
-
return module;
|
|
10302
|
-
}
|
|
10303
|
-
|
|
10304
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-15.0.2")];
|
|
10305
|
-
|
|
10306
|
-
if (X3D)
|
|
10307
|
-
X3D [name] = module;
|
|
10308
|
-
|
|
10309
|
-
// For x_ite.js:
|
|
10310
|
-
return Namespace [name] = module;
|
|
10311
|
-
},
|
|
10312
|
-
});
|
|
10313
|
-
|
|
10314
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
/***/ },
|
|
10318
|
-
|
|
10319
|
-
/***/ 550
|
|
10319
|
+
/***/ 931
|
|
10320
10320
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10321
10321
|
|
|
10322
10322
|
"use strict";
|
|
10323
10323
|
|
|
10324
10324
|
|
|
10325
10325
|
// Bundlers are able to synchronously require an ESM module from a CommonJS one.
|
|
10326
|
-
const { jQuery } = __webpack_require__(
|
|
10326
|
+
const { jQuery } = __webpack_require__( 989 );
|
|
10327
10327
|
module.exports = jQuery;
|
|
10328
10328
|
|
|
10329
10329
|
|
|
10330
10330
|
/***/ },
|
|
10331
10331
|
|
|
10332
|
-
/***/
|
|
10332
|
+
/***/ 989
|
|
10333
10333
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
10334
10334
|
|
|
10335
10335
|
"use strict";
|
|
@@ -10338,7 +10338,7 @@ module.exports = jQuery;
|
|
|
10338
10338
|
/* harmony export */ jQuery: () => (/* binding */ jQuery)
|
|
10339
10339
|
/* harmony export */ });
|
|
10340
10340
|
/* unused harmony export $ */
|
|
10341
|
-
/* harmony import */ var _src_x_ite_Namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10341
|
+
/* harmony import */ var _src_x_ite_Namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(447);
|
|
10342
10342
|
/*!
|
|
10343
10343
|
* jQuery JavaScript Library v4.0.0+slim
|
|
10344
10344
|
* https://jquery.com/
|
|
@@ -17261,7 +17261,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
17261
17261
|
});
|
|
17262
17262
|
|
|
17263
17263
|
// EXTERNAL MODULE: ./src/x_ite/Namespace.js
|
|
17264
|
-
var Namespace = __webpack_require__(
|
|
17264
|
+
var Namespace = __webpack_require__(447);
|
|
17265
17265
|
;// ./src/x_ite/Base/X3DConstants.js
|
|
17266
17266
|
const X3DConstants =
|
|
17267
17267
|
{
|
|
@@ -18467,7 +18467,7 @@ const Features_default_ = Features;
|
|
|
18467
18467
|
|
|
18468
18468
|
/* harmony default export */ const x_ite_Features = (Namespace/* default */.A .add ("Features", Features_default_));
|
|
18469
18469
|
;// ./src/x_ite/Base/X3DObject.js
|
|
18470
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
18470
|
+
/* provided dependency */ var $ = __webpack_require__(989)["A"];
|
|
18471
18471
|
|
|
18472
18472
|
|
|
18473
18473
|
|
|
@@ -19099,7 +19099,7 @@ const handler =
|
|
|
19099
19099
|
{
|
|
19100
19100
|
const index = +key;
|
|
19101
19101
|
|
|
19102
|
-
if (Number .isInteger (index))
|
|
19102
|
+
if (Number .isInteger (index) && index >= 0)
|
|
19103
19103
|
return target [_array] [index];
|
|
19104
19104
|
}
|
|
19105
19105
|
|
|
@@ -19111,7 +19111,7 @@ const handler =
|
|
|
19111
19111
|
{
|
|
19112
19112
|
const index = +key;
|
|
19113
19113
|
|
|
19114
|
-
if (Number .isInteger (index))
|
|
19114
|
+
if (Number .isInteger (index) && index >= 0)
|
|
19115
19115
|
return false;
|
|
19116
19116
|
}
|
|
19117
19117
|
|
|
@@ -19123,7 +19123,7 @@ const handler =
|
|
|
19123
19123
|
{
|
|
19124
19124
|
const index = +key;
|
|
19125
19125
|
|
|
19126
|
-
if (Number .isInteger (index))
|
|
19126
|
+
if (Number .isInteger (index) && index >= 0)
|
|
19127
19127
|
return index < target [_array] .length;
|
|
19128
19128
|
}
|
|
19129
19129
|
|
|
@@ -19139,7 +19139,7 @@ const handler =
|
|
|
19139
19139
|
{
|
|
19140
19140
|
const index = +key;
|
|
19141
19141
|
|
|
19142
|
-
if (Number .isInteger (index))
|
|
19142
|
+
if (Number .isInteger (index) && index >= 0)
|
|
19143
19143
|
{
|
|
19144
19144
|
if (index < target [_array] .length)
|
|
19145
19145
|
{
|
|
@@ -20957,61 +20957,27 @@ function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, double, prope
|
|
|
20957
20957
|
{
|
|
20958
20958
|
this .getValue () .assign (value);
|
|
20959
20959
|
},
|
|
20960
|
-
setTransform
|
|
20961
|
-
{
|
|
20962
|
-
const args = [ ];
|
|
20963
|
-
|
|
20964
|
-
return function (translation, rotation, scale, scaleOrientation, center)
|
|
20965
|
-
{
|
|
20966
|
-
args .push (translation ?.getValue (),
|
|
20967
|
-
rotation ?.getValue (),
|
|
20968
|
-
scale ?.getValue (),
|
|
20969
|
-
scaleOrientation ?.getValue (),
|
|
20970
|
-
center ?.getValue ());
|
|
20971
|
-
|
|
20972
|
-
for (let i = args .length - 1; i > -1; -- i)
|
|
20973
|
-
{
|
|
20974
|
-
if (args [i])
|
|
20975
|
-
break;
|
|
20976
|
-
|
|
20977
|
-
args .pop ();
|
|
20978
|
-
}
|
|
20979
|
-
|
|
20980
|
-
this .getValue () .set (... args);
|
|
20981
|
-
|
|
20982
|
-
args .length = 0;
|
|
20983
|
-
};
|
|
20984
|
-
})(),
|
|
20985
|
-
getTransform: (() =>
|
|
20960
|
+
setTransform (translation, rotation, scale, scaleOrientation, center)
|
|
20986
20961
|
{
|
|
20987
|
-
|
|
20988
|
-
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
|
|
20992
|
-
|
|
20993
|
-
|
|
20994
|
-
|
|
20995
|
-
|
|
20996
|
-
|
|
20997
|
-
|
|
20998
|
-
|
|
20999
|
-
|
|
21000
|
-
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
translation ?.addEvent ();
|
|
21008
|
-
rotation ?.addEvent ();
|
|
21009
|
-
scale ?.addEvent ();
|
|
21010
|
-
scaleOrientation ?.addEvent ();
|
|
21011
|
-
|
|
21012
|
-
args .length = 0;
|
|
21013
|
-
};
|
|
21014
|
-
})(),
|
|
20962
|
+
this .getValue () .setTransform (translation ?.getValue (),
|
|
20963
|
+
rotation ?.getValue (),
|
|
20964
|
+
scale ?.getValue (),
|
|
20965
|
+
scaleOrientation ?.getValue (),
|
|
20966
|
+
center ?.getValue ());
|
|
20967
|
+
},
|
|
20968
|
+
getTransform (translation, rotation, scale, scaleOrientation, center)
|
|
20969
|
+
{
|
|
20970
|
+
this .getValue () .getTransform (translation ?.getValue (),
|
|
20971
|
+
rotation ?.getValue (),
|
|
20972
|
+
scale ?.getValue (),
|
|
20973
|
+
scaleOrientation ?.getValue (),
|
|
20974
|
+
center ?.getValue ());
|
|
20975
|
+
|
|
20976
|
+
translation ?.addEvent ();
|
|
20977
|
+
rotation ?.addEvent ();
|
|
20978
|
+
scale ?.addEvent ();
|
|
20979
|
+
scaleOrientation ?.addEvent ();
|
|
20980
|
+
},
|
|
21015
20981
|
determinant ()
|
|
21016
20982
|
{
|
|
21017
20983
|
return this .getValue () .determinant ();
|
|
@@ -21695,25 +21661,12 @@ Object .assign (Matrix2 .prototype,
|
|
|
21695
21661
|
{
|
|
21696
21662
|
return this [r * this .order + c];
|
|
21697
21663
|
},
|
|
21698
|
-
set ()
|
|
21664
|
+
set (m00 = 1, m01 = 0, m10 = 0, m11 = m00)
|
|
21699
21665
|
{
|
|
21700
|
-
|
|
21701
|
-
|
|
21702
|
-
|
|
21703
|
-
|
|
21704
|
-
this .identity ();
|
|
21705
|
-
break;
|
|
21706
|
-
}
|
|
21707
|
-
case 4:
|
|
21708
|
-
{
|
|
21709
|
-
for (let i = 0; i < 4; ++ i)
|
|
21710
|
-
this [i] = arguments [i];
|
|
21711
|
-
|
|
21712
|
-
break;
|
|
21713
|
-
}
|
|
21714
|
-
}
|
|
21715
|
-
|
|
21716
|
-
return this;
|
|
21666
|
+
this [0] = m00;
|
|
21667
|
+
this [1] = m01;
|
|
21668
|
+
this [2] = m10;
|
|
21669
|
+
this [3] = m11;
|
|
21717
21670
|
},
|
|
21718
21671
|
determinant1 ()
|
|
21719
21672
|
{
|
|
@@ -21736,16 +21689,20 @@ Object .assign (Matrix2 .prototype,
|
|
|
21736
21689
|
},
|
|
21737
21690
|
inverse ()
|
|
21738
21691
|
{
|
|
21739
|
-
const
|
|
21740
|
-
{ 0: A, 1: B, 2: C, 3: D } = this,
|
|
21741
|
-
d = A * D - B * C;
|
|
21692
|
+
const { 0: A, 1: B, 2: C, 3: D } = this;
|
|
21742
21693
|
|
|
21743
|
-
//
|
|
21694
|
+
// Calculate the determinant.
|
|
21695
|
+
let d = A * D - B * C;
|
|
21696
|
+
|
|
21697
|
+
if (!d)
|
|
21698
|
+
return this .assign (Matrix2 .ZERO);
|
|
21699
|
+
|
|
21700
|
+
d = 1 / d;
|
|
21744
21701
|
|
|
21745
|
-
this [0] = D
|
|
21746
|
-
this [1] = -B
|
|
21747
|
-
this [2] = -C
|
|
21748
|
-
this [3] = A
|
|
21702
|
+
this [0] = D * d;
|
|
21703
|
+
this [1] = -B * d;
|
|
21704
|
+
this [2] = -C * d;
|
|
21705
|
+
this [3] = A * d;
|
|
21749
21706
|
|
|
21750
21707
|
return this;
|
|
21751
21708
|
},
|
|
@@ -21821,13 +21778,6 @@ Object .assign (Matrix2 .prototype,
|
|
|
21821
21778
|
return vector;
|
|
21822
21779
|
}
|
|
21823
21780
|
},
|
|
21824
|
-
identity ()
|
|
21825
|
-
{
|
|
21826
|
-
this [0] = 1;
|
|
21827
|
-
this [1] = 0;
|
|
21828
|
-
this [2] = 0;
|
|
21829
|
-
this [3] = 1;
|
|
21830
|
-
},
|
|
21831
21781
|
toString ()
|
|
21832
21782
|
{
|
|
21833
21783
|
return Array .prototype .join .call (this, " ");
|
|
@@ -22094,152 +22044,81 @@ Object .assign (Matrix3 .prototype,
|
|
|
22094
22044
|
{
|
|
22095
22045
|
return this [r * this .order + c];
|
|
22096
22046
|
},
|
|
22097
|
-
set
|
|
22047
|
+
set (m00 = 1, m01 = 0, m02 = 0,
|
|
22048
|
+
m10 = 0, m11 = m00, m12 = 0,
|
|
22049
|
+
m20 = 0, m21 = 0, m22 = m11)
|
|
22098
22050
|
{
|
|
22099
|
-
|
|
22051
|
+
this [0] = m00;
|
|
22052
|
+
this [1] = m01;
|
|
22053
|
+
this [2] = m02;
|
|
22054
|
+
this [3] = m10;
|
|
22055
|
+
this [4] = m11;
|
|
22056
|
+
this [5] = m12;
|
|
22057
|
+
this [6] = m20;
|
|
22058
|
+
this [7] = m21;
|
|
22059
|
+
this [8] = m22;
|
|
22060
|
+
|
|
22061
|
+
return this;
|
|
22062
|
+
},
|
|
22063
|
+
getTransform: (() =>
|
|
22064
|
+
{
|
|
22065
|
+
const c = new Numbers_Vector2 ();
|
|
22100
22066
|
|
|
22101
22067
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
22102
22068
|
{
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
switch (arguments .length)
|
|
22069
|
+
if (center)
|
|
22106
22070
|
{
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22110
|
-
|
|
22111
|
-
|
|
22112
|
-
|
|
22113
|
-
|
|
22114
|
-
|
|
22115
|
-
{
|
|
22116
|
-
if (translation && !translation .equals (Numbers_Vector2 .ZERO))
|
|
22117
|
-
this .translate (translation);
|
|
22118
|
-
|
|
22119
|
-
if (rotation)
|
|
22120
|
-
this .rotate (rotation);
|
|
22121
|
-
|
|
22122
|
-
break;
|
|
22123
|
-
}
|
|
22124
|
-
case 3:
|
|
22125
|
-
{
|
|
22126
|
-
if (translation && !translation .equals (Numbers_Vector2 .ZERO))
|
|
22127
|
-
this .translate (translation);
|
|
22128
|
-
|
|
22129
|
-
if (rotation)
|
|
22130
|
-
this .rotate (rotation);
|
|
22131
|
-
|
|
22132
|
-
if (scale && !scale .equals (Numbers_Vector2 .ONE))
|
|
22133
|
-
this .scale (scale);
|
|
22134
|
-
|
|
22135
|
-
break;
|
|
22136
|
-
}
|
|
22137
|
-
case 4:
|
|
22138
|
-
{
|
|
22139
|
-
if (translation && !translation .equals (Numbers_Vector2 .ZERO))
|
|
22140
|
-
this .translate (translation);
|
|
22141
|
-
|
|
22142
|
-
if (rotation)
|
|
22143
|
-
this .rotate (rotation);
|
|
22144
|
-
|
|
22145
|
-
if (scale && !scale .equals (Numbers_Vector2 .ONE))
|
|
22146
|
-
{
|
|
22147
|
-
if (scaleOrientation)
|
|
22148
|
-
{
|
|
22149
|
-
this .rotate (scaleOrientation);
|
|
22150
|
-
this .scale (scale);
|
|
22151
|
-
this .rotate (-scaleOrientation);
|
|
22152
|
-
}
|
|
22153
|
-
else
|
|
22154
|
-
{
|
|
22155
|
-
this .scale (scale);
|
|
22156
|
-
}
|
|
22157
|
-
}
|
|
22158
|
-
|
|
22159
|
-
break;
|
|
22160
|
-
}
|
|
22161
|
-
case 5:
|
|
22162
|
-
{
|
|
22163
|
-
// P' = T * C * R * SR * S * -SR * -C * P
|
|
22164
|
-
if (translation && !translation .equals (Numbers_Vector2 .ZERO))
|
|
22165
|
-
this .translate (translation);
|
|
22166
|
-
|
|
22167
|
-
const hasCenter = center && !center .equals (Numbers_Vector2 .ZERO);
|
|
22168
|
-
|
|
22169
|
-
if (hasCenter)
|
|
22170
|
-
this .translate (center);
|
|
22171
|
-
|
|
22172
|
-
if (rotation)
|
|
22173
|
-
this .rotate (rotation);
|
|
22174
|
-
|
|
22175
|
-
if (scale && !scale .equals (Numbers_Vector2 .ONE))
|
|
22176
|
-
{
|
|
22177
|
-
if (scaleOrientation)
|
|
22178
|
-
{
|
|
22179
|
-
this .rotate (scaleOrientation);
|
|
22180
|
-
this .scale (scale);
|
|
22181
|
-
this .rotate (-scaleOrientation);
|
|
22182
|
-
}
|
|
22183
|
-
else
|
|
22184
|
-
{
|
|
22185
|
-
this .scale (scale);
|
|
22186
|
-
}
|
|
22187
|
-
}
|
|
22188
|
-
|
|
22189
|
-
if (hasCenter)
|
|
22190
|
-
this .translate (invCenter .assign (center) .negate ());
|
|
22191
|
-
|
|
22192
|
-
break;
|
|
22193
|
-
}
|
|
22194
|
-
case 9:
|
|
22195
|
-
{
|
|
22196
|
-
for (let i = 0; i < 9; ++ i)
|
|
22197
|
-
this [i] = arguments [i];
|
|
22198
|
-
|
|
22199
|
-
break;
|
|
22200
|
-
}
|
|
22071
|
+
m .setTransform (c .assign (center) .negate ());
|
|
22072
|
+
m .multLeft (this);
|
|
22073
|
+
m .translate (center);
|
|
22074
|
+
m .getTransform (translation, rotation, scale, scaleOrientation);
|
|
22075
|
+
}
|
|
22076
|
+
else
|
|
22077
|
+
{
|
|
22078
|
+
this .factor (translation, rotation, scale, scaleOrientation);
|
|
22201
22079
|
}
|
|
22202
22080
|
|
|
22203
22081
|
return this;
|
|
22204
22082
|
};
|
|
22205
22083
|
})(),
|
|
22206
|
-
|
|
22084
|
+
setTransform: (() =>
|
|
22207
22085
|
{
|
|
22208
|
-
const
|
|
22086
|
+
const invCenter = new Numbers_Vector2 ();
|
|
22209
22087
|
|
|
22210
22088
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
22211
22089
|
{
|
|
22212
|
-
|
|
22090
|
+
this .set ();
|
|
22091
|
+
|
|
22092
|
+
// P' = T * C * R * SR * S * -SR * -C * P
|
|
22093
|
+
if (translation ?.equals (Numbers_Vector2 .ZERO) === false)
|
|
22094
|
+
this .translate (translation);
|
|
22095
|
+
|
|
22096
|
+
const hasCenter = center ?.equals (Numbers_Vector2 .ZERO) === false;
|
|
22097
|
+
|
|
22098
|
+
if (hasCenter)
|
|
22099
|
+
this .translate (center);
|
|
22100
|
+
|
|
22101
|
+
if (rotation)
|
|
22102
|
+
this .rotate (rotation);
|
|
22103
|
+
|
|
22104
|
+
if (scale ?.equals (Numbers_Vector2 .ONE) === false)
|
|
22213
22105
|
{
|
|
22214
|
-
|
|
22106
|
+
if (scaleOrientation)
|
|
22215
22107
|
{
|
|
22216
|
-
|
|
22217
|
-
|
|
22108
|
+
this .rotate (scaleOrientation);
|
|
22109
|
+
this .scale (scale);
|
|
22110
|
+
this .rotate (-scaleOrientation);
|
|
22218
22111
|
}
|
|
22219
|
-
|
|
22220
|
-
case 3:
|
|
22221
|
-
case 4:
|
|
22222
|
-
{
|
|
22223
|
-
this .factor (translation, rotation, scale, scaleOrientation);
|
|
22224
|
-
break;
|
|
22225
|
-
}
|
|
22226
|
-
case 5:
|
|
22112
|
+
else
|
|
22227
22113
|
{
|
|
22228
|
-
|
|
22229
|
-
{
|
|
22230
|
-
m .set (c .assign (center) .negate ());
|
|
22231
|
-
m .multLeft (this);
|
|
22232
|
-
m .translate (center);
|
|
22233
|
-
m .get (translation, rotation, scale, scaleOrientation);
|
|
22234
|
-
}
|
|
22235
|
-
else
|
|
22236
|
-
{
|
|
22237
|
-
this .factor (translation, rotation, scale, scaleOrientation);
|
|
22238
|
-
}
|
|
22239
|
-
|
|
22240
|
-
break;
|
|
22114
|
+
this .scale (scale);
|
|
22241
22115
|
}
|
|
22242
22116
|
}
|
|
22117
|
+
|
|
22118
|
+
if (hasCenter)
|
|
22119
|
+
this .translate (invCenter .assign (center) .negate ());
|
|
22120
|
+
|
|
22121
|
+
return this;
|
|
22243
22122
|
};
|
|
22244
22123
|
})(),
|
|
22245
22124
|
factor: (() =>
|
|
@@ -22257,6 +22136,9 @@ Object .assign (Matrix3 .prototype,
|
|
|
22257
22136
|
// (1) Get translation.
|
|
22258
22137
|
translation ?.set (this [6], this [7]);
|
|
22259
22138
|
|
|
22139
|
+
if (!(rotation || scale || scaleOrientation))
|
|
22140
|
+
return;
|
|
22141
|
+
|
|
22260
22142
|
// (2) Create 3x3 matrix.
|
|
22261
22143
|
const a = this .submatrix;
|
|
22262
22144
|
|
|
@@ -22338,9 +22220,11 @@ Object .assign (Matrix3 .prototype,
|
|
|
22338
22220
|
t12 = m6 * m1,
|
|
22339
22221
|
t14 = m6 * m4;
|
|
22340
22222
|
|
|
22223
|
+
// Calculate the determinant.
|
|
22341
22224
|
let d = (t4 * m8 - t6 * m5 - t8 * m8 + t10 * m2 + t12 * m5 - t14 * m2);
|
|
22342
22225
|
|
|
22343
|
-
|
|
22226
|
+
if (!d)
|
|
22227
|
+
return this .assign (Matrix3 .ZERO);
|
|
22344
22228
|
|
|
22345
22229
|
d = 1 / d;
|
|
22346
22230
|
|
|
@@ -22482,14 +22366,6 @@ Object .assign (Matrix3 .prototype,
|
|
|
22482
22366
|
|
|
22483
22367
|
return vector;
|
|
22484
22368
|
},
|
|
22485
|
-
identity ()
|
|
22486
|
-
{
|
|
22487
|
-
this [0] = 1; this [1] = 0; this [2] = 0;
|
|
22488
|
-
this [3] = 0; this [4] = 1; this [5] = 0;
|
|
22489
|
-
this [6] = 0; this [7] = 0; this [8] = 1;
|
|
22490
|
-
|
|
22491
|
-
return this;
|
|
22492
|
-
},
|
|
22493
22369
|
translate (translation)
|
|
22494
22370
|
{
|
|
22495
22371
|
const { x, y } = translation;
|
|
@@ -22622,6 +22498,10 @@ Object .assign (Matrix3,
|
|
|
22622
22498
|
{
|
|
22623
22499
|
ZERO: Object .freeze (new Matrix3 (0)),
|
|
22624
22500
|
IDENTITY: Object .freeze (new Matrix3 ()),
|
|
22501
|
+
fromTransform (translation, rotation, scale, scaleOrientation, center)
|
|
22502
|
+
{
|
|
22503
|
+
return Object .create (this .prototype) .setTransform (translation, rotation, scale, scaleOrientation, center);
|
|
22504
|
+
},
|
|
22625
22505
|
fromRotation (rotation)
|
|
22626
22506
|
{
|
|
22627
22507
|
const
|
|
@@ -22665,27 +22545,14 @@ function SFMatrix3Template (TypeName, double)
|
|
|
22665
22545
|
|
|
22666
22546
|
return Fields_SFMatrixPrototypeTemplate (SFMatrix3, TypeName, Numbers_Matrix3, double,
|
|
22667
22547
|
{
|
|
22668
|
-
setTransform
|
|
22548
|
+
setTransform (translation, rotation, scale, scaleOrientation, center)
|
|
22669
22549
|
{
|
|
22670
|
-
|
|
22671
|
-
|
|
22672
|
-
|
|
22673
|
-
|
|
22674
|
-
|
|
22675
|
-
|
|
22676
|
-
for (let i = args .length - 1; i > -1; -- i)
|
|
22677
|
-
{
|
|
22678
|
-
if (args [i])
|
|
22679
|
-
break;
|
|
22680
|
-
|
|
22681
|
-
args .pop ();
|
|
22682
|
-
}
|
|
22683
|
-
|
|
22684
|
-
this .getValue () .set (... args);
|
|
22685
|
-
|
|
22686
|
-
args .length = 0;
|
|
22687
|
-
};
|
|
22688
|
-
})(),
|
|
22550
|
+
this .getValue () .setTransform (translation ?.getValue (),
|
|
22551
|
+
rotation,
|
|
22552
|
+
scale ?.getValue (),
|
|
22553
|
+
scaleOrientation,
|
|
22554
|
+
center ?.getValue ());
|
|
22555
|
+
},
|
|
22689
22556
|
rotate (rotation)
|
|
22690
22557
|
{
|
|
22691
22558
|
return SFMatrix3 .fromValue (this .getValue () .copy () .rotate (+rotation));
|
|
@@ -24193,154 +24060,91 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
24193
24060
|
{
|
|
24194
24061
|
return this [r * this .order + c];
|
|
24195
24062
|
},
|
|
24196
|
-
set
|
|
24063
|
+
set (m00 = 1, m01 = 0, m02 = 0, m03 = 0,
|
|
24064
|
+
m10 = 0, m11 = m00, m12 = 0, m13 = 0,
|
|
24065
|
+
m20 = 0, m21 = 0, m22 = m11, m23 = 0,
|
|
24066
|
+
m30 = 0, m31 = 0, m32 = 0, m33 = m22)
|
|
24067
|
+
{
|
|
24068
|
+
this [ 0] = m00;
|
|
24069
|
+
this [ 1] = m01;
|
|
24070
|
+
this [ 2] = m02;
|
|
24071
|
+
this [ 3] = m03;
|
|
24072
|
+
this [ 4] = m10;
|
|
24073
|
+
this [ 5] = m11;
|
|
24074
|
+
this [ 6] = m12;
|
|
24075
|
+
this [ 7] = m13;
|
|
24076
|
+
this [ 8] = m20;
|
|
24077
|
+
this [ 9] = m21;
|
|
24078
|
+
this [10] = m22;
|
|
24079
|
+
this [11] = m23;
|
|
24080
|
+
this [12] = m30;
|
|
24081
|
+
this [13] = m31;
|
|
24082
|
+
this [14] = m32;
|
|
24083
|
+
this [15] = m33;
|
|
24084
|
+
|
|
24085
|
+
return this;
|
|
24086
|
+
},
|
|
24087
|
+
getTransform: (() =>
|
|
24197
24088
|
{
|
|
24198
|
-
const
|
|
24199
|
-
invScaleOrientation = new Numbers_Rotation4 (),
|
|
24200
|
-
invCenter = new Numbers_Vector3 ();
|
|
24089
|
+
const c = new Numbers_Vector3 ();
|
|
24201
24090
|
|
|
24202
24091
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
24203
24092
|
{
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
switch (arguments .length)
|
|
24093
|
+
if (center)
|
|
24207
24094
|
{
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
{
|
|
24217
|
-
if (translation && !translation .equals (Numbers_Vector3 .ZERO))
|
|
24218
|
-
this .translate (translation);
|
|
24219
|
-
|
|
24220
|
-
if (rotation && !rotation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24221
|
-
this .rotate (rotation);
|
|
24222
|
-
|
|
24223
|
-
break;
|
|
24224
|
-
}
|
|
24225
|
-
case 3:
|
|
24226
|
-
{
|
|
24227
|
-
if (translation && !translation .equals (Numbers_Vector3 .ZERO))
|
|
24228
|
-
this .translate (translation);
|
|
24229
|
-
|
|
24230
|
-
if (rotation && !rotation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24231
|
-
this .rotate (rotation);
|
|
24232
|
-
|
|
24233
|
-
if (scale && !scale .equals (Numbers_Vector3 .ONE))
|
|
24234
|
-
this .scale (scale);
|
|
24235
|
-
|
|
24236
|
-
break;
|
|
24237
|
-
}
|
|
24238
|
-
case 4:
|
|
24239
|
-
{
|
|
24240
|
-
if (translation && !translation .equals (Numbers_Vector3 .ZERO))
|
|
24241
|
-
this .translate (translation);
|
|
24242
|
-
|
|
24243
|
-
if (rotation && !rotation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24244
|
-
this .rotate (rotation);
|
|
24245
|
-
|
|
24246
|
-
if (scale && !scale .equals (Numbers_Vector3 .ONE))
|
|
24247
|
-
{
|
|
24248
|
-
if (scaleOrientation && !scaleOrientation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24249
|
-
{
|
|
24250
|
-
this .rotate (scaleOrientation);
|
|
24251
|
-
this .scale (scale);
|
|
24252
|
-
this .rotate (invScaleOrientation .assign (scaleOrientation) .inverse ());
|
|
24253
|
-
}
|
|
24254
|
-
else
|
|
24255
|
-
{
|
|
24256
|
-
this .scale (scale);
|
|
24257
|
-
}
|
|
24258
|
-
}
|
|
24259
|
-
|
|
24260
|
-
break;
|
|
24261
|
-
}
|
|
24262
|
-
case 5:
|
|
24263
|
-
{
|
|
24264
|
-
// P' = T * C * R * SR * S * -SR * -C * P
|
|
24265
|
-
if (translation && !translation .equals (Numbers_Vector3 .ZERO))
|
|
24266
|
-
this .translate (translation);
|
|
24267
|
-
|
|
24268
|
-
const hasCenter = center && !center .equals (Numbers_Vector3 .ZERO);
|
|
24269
|
-
|
|
24270
|
-
if (hasCenter)
|
|
24271
|
-
this .translate (center);
|
|
24272
|
-
|
|
24273
|
-
if (rotation && !rotation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24274
|
-
this .rotate (rotation);
|
|
24275
|
-
|
|
24276
|
-
if (scale && !scale .equals (Numbers_Vector3 .ONE))
|
|
24277
|
-
{
|
|
24278
|
-
if (scaleOrientation && !scaleOrientation .equals (Numbers_Rotation4 .IDENTITY))
|
|
24279
|
-
{
|
|
24280
|
-
this .rotate (scaleOrientation);
|
|
24281
|
-
this .scale (scale);
|
|
24282
|
-
this .rotate (invScaleOrientation .assign (scaleOrientation) .inverse ());
|
|
24283
|
-
}
|
|
24284
|
-
else
|
|
24285
|
-
{
|
|
24286
|
-
this .scale (scale);
|
|
24287
|
-
}
|
|
24288
|
-
}
|
|
24289
|
-
|
|
24290
|
-
if (hasCenter)
|
|
24291
|
-
this .translate (invCenter .assign (center) .negate ());
|
|
24292
|
-
|
|
24293
|
-
break;
|
|
24294
|
-
}
|
|
24295
|
-
case 16:
|
|
24296
|
-
{
|
|
24297
|
-
for (let i = 0; i < 16; ++ i)
|
|
24298
|
-
this [i] = arguments [i];
|
|
24299
|
-
|
|
24300
|
-
break;
|
|
24301
|
-
}
|
|
24095
|
+
Matrix4_m .setTransform (c .assign (center) .negate ());
|
|
24096
|
+
Matrix4_m .multLeft (this);
|
|
24097
|
+
Matrix4_m .translate (center);
|
|
24098
|
+
Matrix4_m .getTransform (translation, rotation, scale, scaleOrientation);
|
|
24099
|
+
}
|
|
24100
|
+
else
|
|
24101
|
+
{
|
|
24102
|
+
this .factor (translation, rotation, scale, scaleOrientation);
|
|
24302
24103
|
}
|
|
24303
24104
|
|
|
24304
24105
|
return this;
|
|
24305
24106
|
};
|
|
24306
24107
|
})(),
|
|
24307
|
-
|
|
24108
|
+
setTransform: (() =>
|
|
24308
24109
|
{
|
|
24309
|
-
const
|
|
24110
|
+
const
|
|
24111
|
+
invScaleOrientation = new Numbers_Rotation4 (),
|
|
24112
|
+
invCenter = new Numbers_Vector3 ();
|
|
24310
24113
|
|
|
24311
24114
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
24312
24115
|
{
|
|
24313
|
-
|
|
24116
|
+
this .set ();
|
|
24117
|
+
|
|
24118
|
+
// P' = T * C * R * SR * S * -SR * -C * P
|
|
24119
|
+
if (translation ?.equals (Numbers_Vector3 .ZERO) === false)
|
|
24120
|
+
this .translate (translation);
|
|
24121
|
+
|
|
24122
|
+
const hasCenter = center ?.equals (Numbers_Vector3 .ZERO) === false;
|
|
24123
|
+
|
|
24124
|
+
if (hasCenter)
|
|
24125
|
+
this .translate (center);
|
|
24126
|
+
|
|
24127
|
+
if (rotation ?.equals (Numbers_Rotation4 .IDENTITY) === false)
|
|
24128
|
+
this .rotate (rotation);
|
|
24129
|
+
|
|
24130
|
+
if (scale ?.equals (Numbers_Vector3 .ONE) === false)
|
|
24314
24131
|
{
|
|
24315
|
-
|
|
24132
|
+
if (scaleOrientation ?.equals (Numbers_Rotation4 .IDENTITY) === false)
|
|
24316
24133
|
{
|
|
24317
|
-
|
|
24318
|
-
|
|
24134
|
+
this .rotate (scaleOrientation);
|
|
24135
|
+
this .scale (scale);
|
|
24136
|
+
this .rotate (invScaleOrientation .assign (scaleOrientation) .inverse ());
|
|
24319
24137
|
}
|
|
24320
|
-
|
|
24321
|
-
case 3:
|
|
24322
|
-
case 4:
|
|
24138
|
+
else
|
|
24323
24139
|
{
|
|
24324
|
-
this .
|
|
24325
|
-
break;
|
|
24326
|
-
}
|
|
24327
|
-
case 5:
|
|
24328
|
-
{
|
|
24329
|
-
if (center)
|
|
24330
|
-
{
|
|
24331
|
-
Matrix4_m .set (c .assign (center) .negate ());
|
|
24332
|
-
Matrix4_m .multLeft (this);
|
|
24333
|
-
Matrix4_m .translate (center);
|
|
24334
|
-
Matrix4_m .get (translation, rotation, scale, scaleOrientation);
|
|
24335
|
-
}
|
|
24336
|
-
else
|
|
24337
|
-
{
|
|
24338
|
-
this .factor (translation, rotation, scale, scaleOrientation);
|
|
24339
|
-
}
|
|
24340
|
-
|
|
24341
|
-
break;
|
|
24140
|
+
this .scale (scale);
|
|
24342
24141
|
}
|
|
24343
24142
|
}
|
|
24143
|
+
|
|
24144
|
+
if (hasCenter)
|
|
24145
|
+
this .translate (invCenter .assign (center) .negate ());
|
|
24146
|
+
|
|
24147
|
+
return this;
|
|
24344
24148
|
};
|
|
24345
24149
|
})(),
|
|
24346
24150
|
setRotation (rotation)
|
|
@@ -24395,6 +24199,9 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
24395
24199
|
// (1) Get translation.
|
|
24396
24200
|
translation ?.set (this [12], this [13], this [14]);
|
|
24397
24201
|
|
|
24202
|
+
if (!(rotation || scale || scaleOrientation))
|
|
24203
|
+
return;
|
|
24204
|
+
|
|
24398
24205
|
// (2) Create 3x3 matrix.
|
|
24399
24206
|
const a = this .submatrix;
|
|
24400
24207
|
|
|
@@ -24447,25 +24254,22 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
24447
24254
|
{
|
|
24448
24255
|
const
|
|
24449
24256
|
{ 0: m00, 1: m01, 2: m02, 3: m03, 4: m04, 5: m05, 6: m06, 7: m07,
|
|
24450
|
-
8: m08, 9: m09, 10: m10, 11: m11, 12: m12, 13: m13, 14: m14, 15: m15 } = this
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
|
|
24455
|
-
|
|
24456
|
-
|
|
24457
|
-
|
|
24458
|
-
|
|
24459
|
-
|
|
24460
|
-
|
|
24461
|
-
|
|
24462
|
-
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24466
|
-
K = g * m01 + j * m05 + x * m09 - (f * m01) - (o * m05) - (r * m09);
|
|
24467
|
-
|
|
24468
|
-
return m00 * H + m04 * I + m08 * J + m12 * K;
|
|
24257
|
+
8: m08, 9: m09, 10: m10, 11: m11, 12: m12, 13: m13, 14: m14, 15: m15 } = this;
|
|
24258
|
+
|
|
24259
|
+
const
|
|
24260
|
+
b0 = m00 * m05 - m01 * m04,
|
|
24261
|
+
b1 = m00 * m06 - m02 * m04,
|
|
24262
|
+
b2 = m01 * m06 - m02 * m05,
|
|
24263
|
+
b3 = m08 * m13 - m09 * m12,
|
|
24264
|
+
b4 = m08 * m14 - m10 * m12,
|
|
24265
|
+
b5 = m09 * m14 - m10 * m13,
|
|
24266
|
+
b6 = m00 * b5 - m01 * b4 + m02 * b3,
|
|
24267
|
+
b7 = m04 * b5 - m05 * b4 + m06 * b3,
|
|
24268
|
+
b8 = m08 * b2 - m09 * b1 + m10 * b0,
|
|
24269
|
+
b9 = m12 * b2 - m13 * b1 + m14 * b0;
|
|
24270
|
+
|
|
24271
|
+
// Calculate the determinant.
|
|
24272
|
+
return m07 * b6 - m03 * b7 + m15 * b8 - m11 * b9;
|
|
24469
24273
|
},
|
|
24470
24274
|
transpose ()
|
|
24471
24275
|
{
|
|
@@ -24482,62 +24286,48 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
24482
24286
|
},
|
|
24483
24287
|
inverse ()
|
|
24484
24288
|
{
|
|
24485
|
-
// Complexity 43 +, 40 -, 140 *. 1 /
|
|
24486
|
-
|
|
24487
24289
|
const
|
|
24488
24290
|
{ 0: m00, 1: m01, 2: m02, 3: m03, 4: m04, 5: m05, 6: m06, 7: m07,
|
|
24489
|
-
8: m08, 9: m09, 10: m10, 11: m11, 12: m12, 13: m13, 14: m14, 15: m15 } = this
|
|
24490
|
-
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24494
|
-
|
|
24495
|
-
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
24500
|
-
|
|
24501
|
-
|
|
24502
|
-
|
|
24503
|
-
|
|
24504
|
-
|
|
24505
|
-
|
|
24506
|
-
|
|
24507
|
-
|
|
24508
|
-
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24514
|
-
|
|
24515
|
-
|
|
24516
|
-
|
|
24517
|
-
|
|
24518
|
-
|
|
24519
|
-
|
|
24520
|
-
|
|
24521
|
-
|
|
24522
|
-
|
|
24523
|
-
|
|
24524
|
-
|
|
24525
|
-
this [
|
|
24526
|
-
this [
|
|
24527
|
-
this [
|
|
24528
|
-
this [
|
|
24529
|
-
this [ 4] = B * (c * m04 + d * m08 + g * m12 - (b * m04) - (e * m08) - (f * m12));
|
|
24530
|
-
this [ 5] = B * (b * m00 + i * m08 + j * m12 - (c * m00) - (h * m08) - (o * m12));
|
|
24531
|
-
this [ 6] = B * (e * m00 + h * m04 + x * m12 - (d * m00) - (i * m04) - (r * m12));
|
|
24532
|
-
this [ 7] = B * (f * m00 + o * m04 + r * m08 - (g * m00) - (j * m04) - (x * m08));
|
|
24533
|
-
this [ 8] = B * (t * m07 + s * m11 + y * m15 - (p * m07) - (v * m11) - (z * m15));
|
|
24534
|
-
this [ 9] = B * (p * m03 + A * m11 + E * m15 - (t * m03) - (C * m11) - (D * m15));
|
|
24535
|
-
this [10] = B * (v * m03 + C * m07 + F * m15 - (s * m03) - (A * m07) - (G * m15));
|
|
24536
|
-
this [11] = B * (z * m03 + D * m07 + G * m11 - (y * m03) - (E * m07) - (F * m11));
|
|
24537
|
-
this [12] = B * (v * m10 + z * m14 + p * m06 - (y * m14) - (t * m06) - (s * m10));
|
|
24538
|
-
this [13] = B * (D * m14 + t * m02 + C * m10 - (A * m10) - (E * m14) - (p * m02));
|
|
24539
|
-
this [14] = B * (A * m06 + G * m14 + s * m02 - (F * m14) - (v * m02) - (C * m06));
|
|
24540
|
-
this [15] = B * (F * m10 + y * m02 + E * m06 - (D * m06) - (G * m10) - (z * m02));
|
|
24291
|
+
8: m08, 9: m09, 10: m10, 11: m11, 12: m12, 13: m13, 14: m14, 15: m15 } = this;
|
|
24292
|
+
|
|
24293
|
+
const
|
|
24294
|
+
b00 = m00 * m05 - m01 * m04,
|
|
24295
|
+
b01 = m00 * m06 - m02 * m04,
|
|
24296
|
+
b02 = m00 * m07 - m03 * m04,
|
|
24297
|
+
b03 = m01 * m06 - m02 * m05,
|
|
24298
|
+
b04 = m01 * m07 - m03 * m05,
|
|
24299
|
+
b05 = m02 * m07 - m03 * m06,
|
|
24300
|
+
b06 = m08 * m13 - m09 * m12,
|
|
24301
|
+
b07 = m08 * m14 - m10 * m12,
|
|
24302
|
+
b08 = m08 * m15 - m11 * m12,
|
|
24303
|
+
b09 = m09 * m14 - m10 * m13,
|
|
24304
|
+
b10 = m09 * m15 - m11 * m13,
|
|
24305
|
+
b11 = m10 * m15 - m11 * m14;
|
|
24306
|
+
|
|
24307
|
+
// Calculate the determinant.
|
|
24308
|
+
let d = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;
|
|
24309
|
+
|
|
24310
|
+
if (!d)
|
|
24311
|
+
return this .assign (Matrix4_Matrix4 .ZERO);
|
|
24312
|
+
|
|
24313
|
+
d = 1 / d;
|
|
24314
|
+
|
|
24315
|
+
this [ 0] = (m05 * b11 - m06 * b10 + m07 * b09) * d;
|
|
24316
|
+
this [ 1] = (m02 * b10 - m01 * b11 - m03 * b09) * d;
|
|
24317
|
+
this [ 2] = (m13 * b05 - m14 * b04 + m15 * b03) * d;
|
|
24318
|
+
this [ 3] = (m10 * b04 - m09 * b05 - m11 * b03) * d;
|
|
24319
|
+
this [ 4] = (m06 * b08 - m04 * b11 - m07 * b07) * d;
|
|
24320
|
+
this [ 5] = (m00 * b11 - m02 * b08 + m03 * b07) * d;
|
|
24321
|
+
this [ 6] = (m14 * b02 - m12 * b05 - m15 * b01) * d;
|
|
24322
|
+
this [ 7] = (m08 * b05 - m10 * b02 + m11 * b01) * d;
|
|
24323
|
+
this [ 8] = (m04 * b10 - m05 * b08 + m07 * b06) * d;
|
|
24324
|
+
this [ 9] = (m01 * b08 - m00 * b10 - m03 * b06) * d;
|
|
24325
|
+
this [10] = (m12 * b04 - m13 * b02 + m15 * b00) * d;
|
|
24326
|
+
this [11] = (m09 * b02 - m08 * b04 - m11 * b00) * d;
|
|
24327
|
+
this [12] = (m05 * b07 - m04 * b09 - m06 * b06) * d;
|
|
24328
|
+
this [13] = (m00 * b09 - m01 * b07 + m02 * b06) * d;
|
|
24329
|
+
this [14] = (m13 * b01 - m12 * b03 - m14 * b00) * d;
|
|
24330
|
+
this [15] = (m08 * b03 - m09 * b01 + m10 * b00) * d;
|
|
24541
24331
|
|
|
24542
24332
|
return this;
|
|
24543
24333
|
},
|
|
@@ -24695,22 +24485,13 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
24695
24485
|
|
|
24696
24486
|
return vector;
|
|
24697
24487
|
},
|
|
24698
|
-
identity ()
|
|
24699
|
-
{
|
|
24700
|
-
this [ 0] = 1; this [ 1] = 0; this [ 2] = 0; this [ 3] = 0;
|
|
24701
|
-
this [ 4] = 0; this [ 5] = 1; this [ 6] = 0; this [ 7] = 0;
|
|
24702
|
-
this [ 8] = 0; this [ 9] = 0; this [10] = 1; this [11] = 0;
|
|
24703
|
-
this [12] = 0; this [13] = 0; this [14] = 0; this [15] = 1;
|
|
24704
|
-
|
|
24705
|
-
return this;
|
|
24706
|
-
},
|
|
24707
24488
|
translate (translation)
|
|
24708
24489
|
{
|
|
24709
24490
|
const { x, y, z } = translation;
|
|
24710
24491
|
|
|
24711
|
-
this [12] += this [
|
|
24712
|
-
this [13] += this [
|
|
24713
|
-
this [14] += this [
|
|
24492
|
+
this [12] += this [0] * x + this [4] * y + this [ 8] * z;
|
|
24493
|
+
this [13] += this [1] * x + this [5] * y + this [ 9] * z;
|
|
24494
|
+
this [14] += this [2] * x + this [6] * y + this [10] * z;
|
|
24714
24495
|
|
|
24715
24496
|
return this;
|
|
24716
24497
|
},
|
|
@@ -24842,6 +24623,10 @@ Object .assign (Matrix4_Matrix4,
|
|
|
24842
24623
|
{
|
|
24843
24624
|
ZERO: Object .freeze (new Matrix4_Matrix4 (0)),
|
|
24844
24625
|
IDENTITY: Object .freeze (new Matrix4_Matrix4 ()),
|
|
24626
|
+
fromTransform (translation, rotation, scale, scaleOrientation, center)
|
|
24627
|
+
{
|
|
24628
|
+
return Object .create (this .prototype) .setTransform (translation, rotation, scale, scaleOrientation, center);
|
|
24629
|
+
},
|
|
24845
24630
|
fromRotation (rotation)
|
|
24846
24631
|
{
|
|
24847
24632
|
return Object .create (this .prototype) .setQuaternion (rotation .getQuaternion (q));
|
|
@@ -26105,7 +25890,7 @@ const X3DObjectArrayField_handler =
|
|
|
26105
25890
|
{
|
|
26106
25891
|
const index = +key;
|
|
26107
25892
|
|
|
26108
|
-
if (Number .isInteger (index))
|
|
25893
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26109
25894
|
{
|
|
26110
25895
|
const array = target .getValue ();
|
|
26111
25896
|
|
|
@@ -26124,7 +25909,7 @@ const X3DObjectArrayField_handler =
|
|
|
26124
25909
|
{
|
|
26125
25910
|
const index = +key;
|
|
26126
25911
|
|
|
26127
|
-
if (Number .isInteger (index))
|
|
25912
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26128
25913
|
{
|
|
26129
25914
|
const array = target .getValue ();
|
|
26130
25915
|
|
|
@@ -26145,7 +25930,7 @@ const X3DObjectArrayField_handler =
|
|
|
26145
25930
|
{
|
|
26146
25931
|
const index = +key;
|
|
26147
25932
|
|
|
26148
|
-
if (Number .isInteger (index))
|
|
25933
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26149
25934
|
return index < target .getValue () .length;
|
|
26150
25935
|
}
|
|
26151
25936
|
|
|
@@ -26161,7 +25946,7 @@ const X3DObjectArrayField_handler =
|
|
|
26161
25946
|
{
|
|
26162
25947
|
const index = +key;
|
|
26163
25948
|
|
|
26164
|
-
if (Number .isInteger (index))
|
|
25949
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26165
25950
|
{
|
|
26166
25951
|
if (index < target .getValue () .length)
|
|
26167
25952
|
return Object .getOwnPropertyDescriptor (target .getValue (), key);
|
|
@@ -26627,7 +26412,7 @@ const X3DTypedArrayField_handler =
|
|
|
26627
26412
|
{
|
|
26628
26413
|
const index = +key;
|
|
26629
26414
|
|
|
26630
|
-
if (Number .isInteger (index))
|
|
26415
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26631
26416
|
{
|
|
26632
26417
|
if (index >= target [_length])
|
|
26633
26418
|
return undefined;
|
|
@@ -26659,7 +26444,7 @@ const X3DTypedArrayField_handler =
|
|
|
26659
26444
|
{
|
|
26660
26445
|
let index = +key;
|
|
26661
26446
|
|
|
26662
|
-
if (Number .isInteger (index))
|
|
26447
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26663
26448
|
{
|
|
26664
26449
|
const components = target .getComponents ();
|
|
26665
26450
|
|
|
@@ -26696,7 +26481,7 @@ const X3DTypedArrayField_handler =
|
|
|
26696
26481
|
{
|
|
26697
26482
|
const index = +key;
|
|
26698
26483
|
|
|
26699
|
-
if (Number .isInteger (index))
|
|
26484
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26700
26485
|
return index < target [_length];
|
|
26701
26486
|
}
|
|
26702
26487
|
|
|
@@ -26719,7 +26504,7 @@ const X3DTypedArrayField_handler =
|
|
|
26719
26504
|
{
|
|
26720
26505
|
const index = +key;
|
|
26721
26506
|
|
|
26722
|
-
if (Number .isInteger (index))
|
|
26507
|
+
if (Number .isInteger (index) && index >= 0)
|
|
26723
26508
|
{
|
|
26724
26509
|
if (index < target [_length])
|
|
26725
26510
|
return Object .getOwnPropertyDescriptor (target .getValue (), key);
|
|
@@ -29091,7 +28876,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
29091
28876
|
|
|
29092
28877
|
/* harmony default export */ const Base_X3DBaseNode = (Namespace/* default */.A .add ("X3DBaseNode", X3DBaseNode_default_));
|
|
29093
28878
|
;// ./src/x_ite/Browser/Legacy.js
|
|
29094
|
-
/* provided dependency */ var Legacy_$ = __webpack_require__(
|
|
28879
|
+
/* provided dependency */ var Legacy_$ = __webpack_require__(989)["A"];
|
|
29095
28880
|
const Legacy =
|
|
29096
28881
|
{
|
|
29097
28882
|
elements (elements, X3DBrowser)
|
|
@@ -29153,7 +28938,7 @@ const Legacy_default_ = Legacy;
|
|
|
29153
28938
|
|
|
29154
28939
|
/* harmony default export */ const Browser_Legacy = (Namespace/* default */.A .add ("Legacy", Legacy_default_));
|
|
29155
28940
|
;// ./src/x_ite/BROWSER_VERSION.js
|
|
29156
|
-
const BROWSER_VERSION_default_ = "15.0.
|
|
28941
|
+
const BROWSER_VERSION_default_ = "15.0.3";
|
|
29157
28942
|
;
|
|
29158
28943
|
|
|
29159
28944
|
/* harmony default export */ const BROWSER_VERSION = (Namespace/* default */.A .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -29740,7 +29525,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
29740
29525
|
|
|
29741
29526
|
/* harmony default export */ const gettext = (Namespace/* default */.A .add ("gettext", gettext_default_));
|
|
29742
29527
|
;// ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
29743
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
29528
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(989)["A"];
|
|
29744
29529
|
|
|
29745
29530
|
|
|
29746
29531
|
|
|
@@ -30188,7 +29973,7 @@ const TextCompression_default_ = TextCompression;
|
|
|
30188
29973
|
|
|
30189
29974
|
/* harmony default export */ const Core_TextCompression = (Namespace/* default */.A .add ("TextCompression", TextCompression_default_));
|
|
30190
29975
|
;// ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
30191
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
29976
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(989)["A"];
|
|
30192
29977
|
|
|
30193
29978
|
|
|
30194
29979
|
|
|
@@ -30670,7 +30455,7 @@ const BrowserProperties_default_ = BrowserProperties;
|
|
|
30670
30455
|
|
|
30671
30456
|
/* harmony default export */ const Core_BrowserProperties = (Namespace/* default */.A .add ("BrowserProperties", BrowserProperties_default_));
|
|
30672
30457
|
;// ./src/x_ite/Browser/Core/RenderingProperties.js
|
|
30673
|
-
/* provided dependency */ var RenderingProperties_$ = __webpack_require__(
|
|
30458
|
+
/* provided dependency */ var RenderingProperties_$ = __webpack_require__(989)["A"];
|
|
30674
30459
|
|
|
30675
30460
|
|
|
30676
30461
|
|
|
@@ -30752,7 +30537,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
30752
30537
|
|
|
30753
30538
|
/* harmony default export */ const Core_RenderingProperties = (Namespace/* default */.A .add ("RenderingProperties", RenderingProperties_default_));
|
|
30754
30539
|
;// ./src/x_ite/Browser/Core/Notification.js
|
|
30755
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
30540
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(989)["A"];
|
|
30756
30541
|
|
|
30757
30542
|
|
|
30758
30543
|
|
|
@@ -30838,7 +30623,7 @@ const Notification_default_ = Notification;
|
|
|
30838
30623
|
|
|
30839
30624
|
/* harmony default export */ const Core_Notification = (Namespace/* default */.A .add ("Notification", Notification_default_));
|
|
30840
30625
|
;// ./src/x_ite/Browser/Core/ContextMenu.js
|
|
30841
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
30626
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(989)["A"];
|
|
30842
30627
|
|
|
30843
30628
|
|
|
30844
30629
|
|
|
@@ -33501,11 +33286,11 @@ const SAT_default_ = SAT;
|
|
|
33501
33286
|
|
|
33502
33287
|
|
|
33503
33288
|
|
|
33504
|
-
function Box3 (
|
|
33289
|
+
function Box3 (size, center)
|
|
33505
33290
|
{
|
|
33506
33291
|
this .matrix = new Numbers_Matrix4 ();
|
|
33507
33292
|
|
|
33508
|
-
this .set (
|
|
33293
|
+
this .set (size, center);
|
|
33509
33294
|
}
|
|
33510
33295
|
|
|
33511
33296
|
Object .assign (Box3 .prototype,
|
|
@@ -33534,29 +33319,19 @@ Object .assign (Box3 .prototype,
|
|
|
33534
33319
|
},
|
|
33535
33320
|
set (size, center)
|
|
33536
33321
|
{
|
|
33537
|
-
|
|
33322
|
+
if (size && center)
|
|
33538
33323
|
{
|
|
33539
|
-
|
|
33540
|
-
|
|
33541
|
-
|
|
33542
|
-
|
|
33543
|
-
|
|
33544
|
-
|
|
33545
|
-
|
|
33546
|
-
|
|
33547
|
-
this .matrix .set (size .x / 2, 0, 0, 0,
|
|
33548
|
-
0, size .y / 2, 0, 0,
|
|
33549
|
-
0, 0, size .z / 2, 0,
|
|
33550
|
-
center .x, center .y, center .z, 1);
|
|
33551
|
-
|
|
33552
|
-
return this;
|
|
33553
|
-
}
|
|
33554
|
-
// case 3:
|
|
33555
|
-
// {
|
|
33556
|
-
// console .trace ()
|
|
33557
|
-
// return this .setExtents (arguments [0], arguments [1]);
|
|
33558
|
-
// }
|
|
33324
|
+
this .matrix .set (size .x / 2, 0, 0, 0,
|
|
33325
|
+
0, size .y / 2, 0, 0,
|
|
33326
|
+
0, 0, size .z / 2, 0,
|
|
33327
|
+
center .x, center .y, center .z, 1);
|
|
33328
|
+
}
|
|
33329
|
+
else
|
|
33330
|
+
{
|
|
33331
|
+
this .matrix .assign (Numbers_Matrix4 .ZERO);
|
|
33559
33332
|
}
|
|
33333
|
+
|
|
33334
|
+
return this;
|
|
33560
33335
|
},
|
|
33561
33336
|
setExtents (min, max)
|
|
33562
33337
|
{
|
|
@@ -34072,7 +33847,7 @@ Object .assign (Object .setPrototypeOf (X3DBBoxNode .prototype, Core_X3DChildNod
|
|
|
34072
33847
|
bboxSize = bbox .size .max (max),
|
|
34073
33848
|
bboxCenter = bbox .center;
|
|
34074
33849
|
|
|
34075
|
-
return matrix .
|
|
33850
|
+
return matrix .setTransform (bboxCenter, null, bboxSize);
|
|
34076
33851
|
};
|
|
34077
33852
|
})(),
|
|
34078
33853
|
getShapes (shapes, parentModelMatrix)
|
|
@@ -34268,7 +34043,7 @@ const NamedNodesArray_default_ = NamedNodesArray;
|
|
|
34268
34043
|
|
|
34269
34044
|
/* harmony default export */ const Execution_NamedNodesArray = (Namespace/* default */.A .add ("NamedNodesArray", NamedNodesArray_default_));
|
|
34270
34045
|
;// ./src/x_ite/Components/Core/X3DImportedNodeProxy.js
|
|
34271
|
-
/* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(
|
|
34046
|
+
/* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(989)["A"];
|
|
34272
34047
|
|
|
34273
34048
|
|
|
34274
34049
|
|
|
@@ -36217,7 +35992,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
36217
35992
|
|
|
36218
35993
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (Namespace/* default */.A .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
|
|
36219
35994
|
;// ./src/x_ite/Parser/X3DParser.js
|
|
36220
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
35995
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(989)["A"];
|
|
36221
35996
|
|
|
36222
35997
|
|
|
36223
35998
|
function X3DParser (scene, name = "Parser")
|
|
@@ -36552,7 +36327,7 @@ const Placeholder_default_ = Placeholder;
|
|
|
36552
36327
|
|
|
36553
36328
|
/* harmony default export */ const Parser_Placeholder = (Namespace/* default */.A .add ("Placeholder", Placeholder_default_));
|
|
36554
36329
|
;// ./src/x_ite/Parser/VRMLParser.js
|
|
36555
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
36330
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(989)["A"];
|
|
36556
36331
|
|
|
36557
36332
|
|
|
36558
36333
|
|
|
@@ -39245,7 +39020,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
39245
39020
|
|
|
39246
39021
|
/* harmony default export */ const Parser_VRMLParser = (Namespace/* default */.A .add ("VRMLParser", VRMLParser_default_));
|
|
39247
39022
|
;// ./src/x_ite/Parser/XMLParser.js
|
|
39248
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
39023
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(989)["A"];
|
|
39249
39024
|
|
|
39250
39025
|
|
|
39251
39026
|
|
|
@@ -40531,7 +40306,7 @@ const XMLParser_default_ = XMLParser;
|
|
|
40531
40306
|
|
|
40532
40307
|
/* harmony default export */ const Parser_XMLParser = (Namespace/* default */.A .add ("XMLParser", XMLParser_default_));
|
|
40533
40308
|
;// ./src/x_ite/Parser/JSONParser.js
|
|
40534
|
-
/* provided dependency */ var JSONParser_$ = __webpack_require__(
|
|
40309
|
+
/* provided dependency */ var JSONParser_$ = __webpack_require__(989)["A"];
|
|
40535
40310
|
|
|
40536
40311
|
|
|
40537
40312
|
|
|
@@ -41191,21 +40966,21 @@ Object .assign (X3DOptimizer .prototype,
|
|
|
41191
40966
|
nodeMatrix = new Numbers_Matrix4 (),
|
|
41192
40967
|
childMatrix = new Numbers_Matrix4 ();
|
|
41193
40968
|
|
|
41194
|
-
nodeMatrix .
|
|
41195
|
-
|
|
41196
|
-
|
|
41197
|
-
|
|
41198
|
-
|
|
40969
|
+
nodeMatrix .setTransform (node .translation .getValue (),
|
|
40970
|
+
node .rotation .getValue (),
|
|
40971
|
+
node .scale .getValue (),
|
|
40972
|
+
node .scaleOrientation .getValue (),
|
|
40973
|
+
node .center .getValue ());
|
|
41199
40974
|
|
|
41200
|
-
childMatrix .
|
|
41201
|
-
|
|
41202
|
-
|
|
41203
|
-
|
|
41204
|
-
|
|
40975
|
+
childMatrix .setTransform (child .translation .getValue (),
|
|
40976
|
+
child .rotation .getValue (),
|
|
40977
|
+
child .scale .getValue (),
|
|
40978
|
+
child .scaleOrientation .getValue (),
|
|
40979
|
+
child .center .getValue ());
|
|
41205
40980
|
|
|
41206
40981
|
nodeMatrix .multLeft (childMatrix);
|
|
41207
40982
|
|
|
41208
|
-
nodeMatrix .
|
|
40983
|
+
nodeMatrix .getTransform (translation, rotation, scale, scaleOrientation, child .center .getValue ());
|
|
41209
40984
|
|
|
41210
40985
|
child .translation = translation;
|
|
41211
40986
|
child .rotation = rotation;
|
|
@@ -41229,11 +41004,11 @@ Object .assign (X3DOptimizer .prototype,
|
|
|
41229
41004
|
|
|
41230
41005
|
const nodeMatrix = new Numbers_Matrix4 ();
|
|
41231
41006
|
|
|
41232
|
-
nodeMatrix .
|
|
41233
|
-
|
|
41234
|
-
|
|
41235
|
-
|
|
41236
|
-
|
|
41007
|
+
nodeMatrix .setTransform (node .translation .getValue (),
|
|
41008
|
+
node .rotation .getValue (),
|
|
41009
|
+
node .scale .getValue (),
|
|
41010
|
+
node .scaleOrientation .getValue (),
|
|
41011
|
+
node .center .getValue ());
|
|
41237
41012
|
|
|
41238
41013
|
if (child .location)
|
|
41239
41014
|
child .location = nodeMatrix .multVecMatrix (child .location .getValue ());
|
|
@@ -41255,18 +41030,18 @@ Object .assign (X3DOptimizer .prototype,
|
|
|
41255
41030
|
translation = new Numbers_Vector3 (),
|
|
41256
41031
|
rotation = new Numbers_Rotation4 ();
|
|
41257
41032
|
|
|
41258
|
-
nodeMatrix .
|
|
41259
|
-
|
|
41260
|
-
|
|
41261
|
-
|
|
41262
|
-
|
|
41033
|
+
nodeMatrix .setTransform (node .translation .getValue (),
|
|
41034
|
+
node .rotation .getValue (),
|
|
41035
|
+
node .scale .getValue (),
|
|
41036
|
+
node .scaleOrientation .getValue (),
|
|
41037
|
+
node .center .getValue ());
|
|
41263
41038
|
|
|
41264
|
-
viewpointMatrix .
|
|
41265
|
-
|
|
41039
|
+
viewpointMatrix .setTransform (child .position .getValue (),
|
|
41040
|
+
child .orientation .getValue ());
|
|
41266
41041
|
|
|
41267
41042
|
viewpointMatrix
|
|
41268
41043
|
.multRight (nodeMatrix)
|
|
41269
|
-
.
|
|
41044
|
+
.getTransform (translation, rotation);
|
|
41270
41045
|
|
|
41271
41046
|
child .position = translation;
|
|
41272
41047
|
child .orientation = rotation;
|
|
@@ -41464,7 +41239,7 @@ const Plane3_default_ = Plane3;
|
|
|
41464
41239
|
|
|
41465
41240
|
/* harmony default export */ const Geometry_Plane3 = (Namespace/* default */.A .add ("Plane3", Plane3_default_));
|
|
41466
41241
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
41467
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
41242
|
+
/* provided dependency */ var libtess = __webpack_require__(285);
|
|
41468
41243
|
|
|
41469
41244
|
|
|
41470
41245
|
const Triangle3 =
|
|
@@ -42523,7 +42298,7 @@ class MatrixStack extends Array
|
|
|
42523
42298
|
|
|
42524
42299
|
identity ()
|
|
42525
42300
|
{
|
|
42526
|
-
this [this .#top] .
|
|
42301
|
+
this [this .#top] .set ();
|
|
42527
42302
|
}
|
|
42528
42303
|
|
|
42529
42304
|
inverse ()
|
|
@@ -44910,6 +44685,7 @@ Object .assign (Object .setPrototypeOf (NavigationInfo .prototype, Core_X3DBinda
|
|
|
44910
44685
|
Core_X3DBindableNode .prototype .initialize .call (this);
|
|
44911
44686
|
|
|
44912
44687
|
this ._type .addInterest ("set_type__", this);
|
|
44688
|
+
this ._avatarSize .addInterest ("set_avatarSize__", this);
|
|
44913
44689
|
this ._headlight .addInterest ("set_headlight__", this);
|
|
44914
44690
|
this ._visibilityLimit .addInterest ("set_visibilityLimit__", this);
|
|
44915
44691
|
this ._transitionStart .addInterest ("set_transitionStart__", this);
|
|
@@ -44917,6 +44693,7 @@ Object .assign (Object .setPrototypeOf (NavigationInfo .prototype, Core_X3DBinda
|
|
|
44917
44693
|
this ._isBound .addInterest ("set_isBound__", this);
|
|
44918
44694
|
|
|
44919
44695
|
this .set_type__ ();
|
|
44696
|
+
this .set_avatarSize__ ();
|
|
44920
44697
|
this .set_headlight__ ();
|
|
44921
44698
|
this .set_visibilityLimit__ ();
|
|
44922
44699
|
},
|
|
@@ -44926,21 +44703,19 @@ Object .assign (Object .setPrototypeOf (NavigationInfo .prototype, Core_X3DBinda
|
|
|
44926
44703
|
},
|
|
44927
44704
|
getCollisionRadius ()
|
|
44928
44705
|
{
|
|
44929
|
-
return this .
|
|
44706
|
+
return this .collisionRadius;
|
|
44930
44707
|
},
|
|
44931
44708
|
getAvatarHeight ()
|
|
44932
44709
|
{
|
|
44933
|
-
return this .
|
|
44710
|
+
return this .avatarHeight;
|
|
44934
44711
|
},
|
|
44935
44712
|
getStepHeight ()
|
|
44936
44713
|
{
|
|
44937
|
-
return this .
|
|
44714
|
+
return this .stepHeight;
|
|
44938
44715
|
},
|
|
44939
44716
|
getNearValue ()
|
|
44940
44717
|
{
|
|
44941
|
-
|
|
44942
|
-
|
|
44943
|
-
return nearValue === 0 ? 1e-5 : nearValue / 2;
|
|
44718
|
+
return this .nearValue;
|
|
44944
44719
|
},
|
|
44945
44720
|
getFarValue ()
|
|
44946
44721
|
{
|
|
@@ -45081,6 +44856,15 @@ Object .assign (Object .setPrototypeOf (NavigationInfo .prototype, Core_X3DBinda
|
|
|
45081
44856
|
if (noneViewer)
|
|
45082
44857
|
this ._availableViewers .push ("NONE");
|
|
45083
44858
|
},
|
|
44859
|
+
set_avatarSize__ ()
|
|
44860
|
+
{
|
|
44861
|
+
const collisionRadius = Math .max (this ._avatarSize [0] ?? 0.25, 0);
|
|
44862
|
+
|
|
44863
|
+
this .collisionRadius = collisionRadius;
|
|
44864
|
+
this .avatarHeight = Math .max (this ._avatarSize [1] ?? 1.6, 0);
|
|
44865
|
+
this .stepHeight = Math .max (this ._avatarSize [2] ?? 0.75, 0);
|
|
44866
|
+
this .nearValue = collisionRadius === 0 ? 0.125 : collisionRadius / 2;
|
|
44867
|
+
},
|
|
45084
44868
|
set_headlight__ ()
|
|
45085
44869
|
{
|
|
45086
44870
|
if (this ._headlight .getValue ())
|
|
@@ -45707,42 +45491,37 @@ function X3DGeometryNode (executionContext)
|
|
|
45707
45491
|
this .planes = Array .from ({ length: 5 }, () => new Geometry_Plane3 ()); // For LinePickSensor
|
|
45708
45492
|
}
|
|
45709
45493
|
|
|
45710
|
-
class GeometryArray
|
|
45494
|
+
class GeometryArray
|
|
45711
45495
|
{
|
|
45712
|
-
|
|
45713
|
-
#typedArray;
|
|
45714
|
-
|
|
45715
|
-
constructor (Type = Float32Array)
|
|
45496
|
+
static create (Type = Float32Array)
|
|
45716
45497
|
{
|
|
45717
|
-
|
|
45498
|
+
let typedArray = new Type ();
|
|
45718
45499
|
|
|
45719
|
-
|
|
45720
|
-
|
|
45721
|
-
|
|
45722
|
-
|
|
45723
|
-
|
|
45724
|
-
{
|
|
45725
|
-
const length = value .length;
|
|
45726
|
-
|
|
45727
|
-
this .length = length;
|
|
45728
|
-
|
|
45729
|
-
for (let i = 0; i < length; ++ i)
|
|
45730
|
-
this [i] = value [i];
|
|
45731
|
-
}
|
|
45500
|
+
return Object .assign ([ ],
|
|
45501
|
+
{
|
|
45502
|
+
assign (value)
|
|
45503
|
+
{
|
|
45504
|
+
const length = value .length;
|
|
45732
45505
|
|
|
45733
|
-
|
|
45734
|
-
{
|
|
45735
|
-
return this .#typedArray;
|
|
45736
|
-
}
|
|
45506
|
+
this .length = length;
|
|
45737
45507
|
|
|
45738
|
-
|
|
45739
|
-
|
|
45740
|
-
|
|
45741
|
-
|
|
45742
|
-
|
|
45743
|
-
|
|
45508
|
+
for (let i = 0; i < length; ++ i)
|
|
45509
|
+
this [i] = value [i];
|
|
45510
|
+
},
|
|
45511
|
+
getValue ()
|
|
45512
|
+
{
|
|
45513
|
+
return typedArray;
|
|
45514
|
+
},
|
|
45515
|
+
shrinkToFit ()
|
|
45516
|
+
{
|
|
45517
|
+
if (this .length === typedArray .length)
|
|
45518
|
+
typedArray .set (this);
|
|
45519
|
+
else
|
|
45520
|
+
typedArray = new Type (this);
|
|
45744
45521
|
|
|
45745
|
-
|
|
45522
|
+
return typedArray;
|
|
45523
|
+
},
|
|
45524
|
+
});
|
|
45746
45525
|
}
|
|
45747
45526
|
}
|
|
45748
45527
|
|
|
@@ -45754,7 +45533,7 @@ Object .defineProperty (X3DGeometryNode, "createArray",
|
|
|
45754
45533
|
{
|
|
45755
45534
|
// return new Fields .MFFloat ();
|
|
45756
45535
|
|
|
45757
|
-
return
|
|
45536
|
+
return GeometryArray .create (Type);
|
|
45758
45537
|
},
|
|
45759
45538
|
})
|
|
45760
45539
|
|
|
@@ -47608,8 +47387,8 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
47608
47387
|
|
|
47609
47388
|
modelViewMatrix .assign (this .modelMatrix);
|
|
47610
47389
|
modelViewMatrix .multRight (renderObject .getViewMatrix () .get ());
|
|
47611
|
-
modelViewMatrix .
|
|
47612
|
-
modelViewMatrix .
|
|
47390
|
+
modelViewMatrix .getTransform (null, rotation);
|
|
47391
|
+
modelViewMatrix .set ();
|
|
47613
47392
|
modelViewMatrix .rotate (rotation);
|
|
47614
47393
|
modelViewMatrix .scale (scale .set (far, far, far));
|
|
47615
47394
|
|
|
@@ -48166,7 +47945,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
48166
47945
|
|
|
48167
47946
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (Namespace/* default */.A .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
|
|
48168
47947
|
;// ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
48169
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
47948
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(989)["A"];
|
|
48170
47949
|
|
|
48171
47950
|
|
|
48172
47951
|
|
|
@@ -50269,7 +50048,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
50269
50048
|
{
|
|
50270
50049
|
const differenceMatrix = this .modelMatrix .copy () .multRight (fromViewpointNode .getViewMatrix ()) .inverse ();
|
|
50271
50050
|
|
|
50272
|
-
differenceMatrix .
|
|
50051
|
+
differenceMatrix .getTransform (position, orientation, scale, scaleOrientation);
|
|
50273
50052
|
|
|
50274
50053
|
position .subtract (this .getPosition ());
|
|
50275
50054
|
orientation .multLeft (this .getOrientation () .copy () .inverse ());
|
|
@@ -50458,10 +50237,10 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
50458
50237
|
},
|
|
50459
50238
|
update ()
|
|
50460
50239
|
{
|
|
50461
|
-
this .cameraSpaceMatrix .
|
|
50462
|
-
|
|
50463
|
-
|
|
50464
|
-
|
|
50240
|
+
this .cameraSpaceMatrix .setTransform (this .getUserPosition (),
|
|
50241
|
+
this .getUserOrientation (),
|
|
50242
|
+
this ._scaleOffset .getValue (),
|
|
50243
|
+
this ._scaleOrientationOffset .getValue ());
|
|
50465
50244
|
|
|
50466
50245
|
this .cameraSpaceMatrix .multRight (this .modelMatrix);
|
|
50467
50246
|
|
|
@@ -50682,7 +50461,7 @@ const Layer_default_ = Layer;
|
|
|
50682
50461
|
|
|
50683
50462
|
/* harmony default export */ const Layering_Layer = (Namespace/* default */.A .add ("Layer", Layer_default_));
|
|
50684
50463
|
;// ./src/x_ite/Parser/GLTF2Parser.js
|
|
50685
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
50464
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(989)["A"];
|
|
50686
50465
|
|
|
50687
50466
|
|
|
50688
50467
|
|
|
@@ -53008,7 +52787,7 @@ function eventsProcessed ()
|
|
|
53008
52787
|
|
|
53009
52788
|
if (this .vectorValue (node .matrix, matrix))
|
|
53010
52789
|
{
|
|
53011
|
-
matrix .
|
|
52790
|
+
matrix .getTransform (translation, rotation, scale, scaleOrientation);
|
|
53012
52791
|
|
|
53013
52792
|
transformNode ._translation = translation;
|
|
53014
52793
|
transformNode ._rotation = rotation;
|
|
@@ -53236,7 +53015,7 @@ function eventsProcessed ()
|
|
|
53236
53015
|
if (!jointNode)
|
|
53237
53016
|
continue;
|
|
53238
53017
|
|
|
53239
|
-
inverseBindMatrix .
|
|
53018
|
+
inverseBindMatrix .getTransform (translation, rotation, scale);
|
|
53240
53019
|
|
|
53241
53020
|
humanoidNode ._joints .push (jointNode);
|
|
53242
53021
|
humanoidNode ._jointBindingPositions .push (translation);
|
|
@@ -53281,9 +53060,9 @@ function eventsProcessed ()
|
|
|
53281
53060
|
{
|
|
53282
53061
|
const skinCoordWeight = jointNode .skinCoordWeight;
|
|
53283
53062
|
|
|
53284
|
-
jointMatrix .
|
|
53285
|
-
|
|
53286
|
-
|
|
53063
|
+
jointMatrix .setTransform (jointBindingPositions [j] ?.getValue (),
|
|
53064
|
+
jointBindingRotations [j] ?.getValue (),
|
|
53065
|
+
jointBindingScales [j] ?.getValue ())
|
|
53287
53066
|
.multRight (jointNode .getValue () .getModelViewMatrix ());
|
|
53288
53067
|
|
|
53289
53068
|
for (const [c, index] of jointNode .skinCoordIndex .entries ())
|
|
@@ -55062,7 +54841,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
55062
54841
|
|
|
55063
54842
|
/* harmony default export */ const Parser_GLTF2Parser = (Namespace/* default */.A .add ("GLTF2Parser", GLTF2Parser_default_));
|
|
55064
54843
|
;// ./src/x_ite/Parser/GLB2Parser.js
|
|
55065
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
54844
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(989)["A"];
|
|
55066
54845
|
|
|
55067
54846
|
|
|
55068
54847
|
|
|
@@ -55168,7 +54947,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
55168
54947
|
|
|
55169
54948
|
/* harmony default export */ const Parser_GLB2Parser = (Namespace/* default */.A .add ("GLB2Parser", GLB2Parser_default_));
|
|
55170
54949
|
;// ./src/x_ite/Parser/OBJParser.js
|
|
55171
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
54950
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(989)["A"];
|
|
55172
54951
|
|
|
55173
54952
|
|
|
55174
54953
|
|
|
@@ -56622,7 +56401,7 @@ const STLAParser_default_ = STLAParser;
|
|
|
56622
56401
|
|
|
56623
56402
|
/* harmony default export */ const Parser_STLAParser = (Namespace/* default */.A .add ("STLAParser", STLAParser_default_));
|
|
56624
56403
|
;// ./src/x_ite/Parser/STLBParser.js
|
|
56625
|
-
/* provided dependency */ var STLBParser_$ = __webpack_require__(
|
|
56404
|
+
/* provided dependency */ var STLBParser_$ = __webpack_require__(989)["A"];
|
|
56626
56405
|
|
|
56627
56406
|
|
|
56628
56407
|
|
|
@@ -57589,11 +57368,11 @@ const PLYBParser_default_ = PLYBParser;
|
|
|
57589
57368
|
|
|
57590
57369
|
|
|
57591
57370
|
|
|
57592
|
-
function Box2 (
|
|
57371
|
+
function Box2 (size, center)
|
|
57593
57372
|
{
|
|
57594
57373
|
this .matrix = new Numbers_Matrix3 ();
|
|
57595
57374
|
|
|
57596
|
-
this .set (
|
|
57375
|
+
this .set (size, center);
|
|
57597
57376
|
}
|
|
57598
57377
|
|
|
57599
57378
|
Object .assign (Box2 .prototype,
|
|
@@ -57618,28 +57397,18 @@ Object .assign (Box2 .prototype,
|
|
|
57618
57397
|
},
|
|
57619
57398
|
set (size, center)
|
|
57620
57399
|
{
|
|
57621
|
-
|
|
57400
|
+
if (size && center)
|
|
57622
57401
|
{
|
|
57623
|
-
|
|
57624
|
-
|
|
57625
|
-
|
|
57626
|
-
|
|
57627
|
-
|
|
57628
|
-
|
|
57629
|
-
|
|
57630
|
-
{
|
|
57631
|
-
this .matrix .set (size .x / 2, 0, 0,
|
|
57632
|
-
0, size .y / 2, 0,
|
|
57633
|
-
center .x, center .y, 1);
|
|
57634
|
-
|
|
57635
|
-
return this;
|
|
57636
|
-
}
|
|
57637
|
-
// case 3:
|
|
57638
|
-
// {
|
|
57639
|
-
// console .trace ()
|
|
57640
|
-
// return this .setExtents (arguments [0], arguments [1]);
|
|
57641
|
-
// }
|
|
57402
|
+
this .matrix .set (size .x / 2, 0, 0,
|
|
57403
|
+
0, size .y / 2, 0,
|
|
57404
|
+
center .x, center .y, 1);
|
|
57405
|
+
}
|
|
57406
|
+
else
|
|
57407
|
+
{
|
|
57408
|
+
this .matrix .assign (Numbers_Matrix3 .ZERO);
|
|
57642
57409
|
}
|
|
57410
|
+
|
|
57411
|
+
return this;
|
|
57643
57412
|
},
|
|
57644
57413
|
setExtents (min, max)
|
|
57645
57414
|
{
|
|
@@ -57992,8 +57761,8 @@ const Bezier_default_ = Bezier;
|
|
|
57992
57761
|
|
|
57993
57762
|
/* harmony default export */ const Algorithms_Bezier = (Namespace/* default */.A .add ("Bezier", Bezier_default_));
|
|
57994
57763
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
57995
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
57996
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
57764
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(989)["A"];
|
|
57765
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(285);
|
|
57997
57766
|
|
|
57998
57767
|
|
|
57999
57768
|
|
|
@@ -59087,7 +58856,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
59087
58856
|
{
|
|
59088
58857
|
default: // pad
|
|
59089
58858
|
{
|
|
59090
|
-
g .spreadMatrix .
|
|
58859
|
+
g .spreadMatrix .set ();
|
|
59091
58860
|
|
|
59092
58861
|
for (const [o, c, a] of g .stops)
|
|
59093
58862
|
gradient .addColorStop (o, this .cssColor (c, a));
|
|
@@ -60489,7 +60258,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
60489
60258
|
scale = new Numbers_Vector3 (),
|
|
60490
60259
|
scaleOrientation = new Numbers_Rotation4 ();
|
|
60491
60260
|
|
|
60492
|
-
matrix .
|
|
60261
|
+
matrix .getTransform (translation, rotation, scale, scaleOrientation);
|
|
60493
60262
|
|
|
60494
60263
|
transformNode .translation = translation;
|
|
60495
60264
|
transformNode .rotation = rotation;
|
|
@@ -60727,7 +60496,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
60727
60496
|
|
|
60728
60497
|
/* harmony default export */ const Parser_SVGParser = (Namespace/* default */.A .add ("SVGParser", SVGParser_default_));
|
|
60729
60498
|
;// ./src/x_ite/Parser/GoldenGate.js
|
|
60730
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
60499
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(989)["A"];
|
|
60731
60500
|
|
|
60732
60501
|
|
|
60733
60502
|
|
|
@@ -61143,7 +60912,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
61143
60912
|
|
|
61144
60913
|
/* harmony default export */ const Execution_X3DWorld = (Namespace/* default */.A .add ("X3DWorld", X3DWorld_default_));
|
|
61145
60914
|
;// ./src/x_ite/InputOutput/FileLoader.js
|
|
61146
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
60915
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(989)["A"];
|
|
61147
60916
|
|
|
61148
60917
|
|
|
61149
60918
|
|
|
@@ -61850,7 +61619,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
61850
61619
|
|
|
61851
61620
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (Namespace/* default */.A .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
|
|
61852
61621
|
;// ./src/x_ite/Routing/X3DRoute.js
|
|
61853
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
61622
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(989)["A"];
|
|
61854
61623
|
|
|
61855
61624
|
|
|
61856
61625
|
|
|
@@ -64507,7 +64276,7 @@ add ("PT_Sans/PTSans-Italic.woff2", false, true);
|
|
|
64507
64276
|
// add ("PT_Sans/PTSans-BoldItalic.woff2", true, true);
|
|
64508
64277
|
|
|
64509
64278
|
;// ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
64510
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
64279
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(989)["A"];
|
|
64511
64280
|
|
|
64512
64281
|
|
|
64513
64282
|
|
|
@@ -64583,7 +64352,7 @@ function X3DCoreContext (element)
|
|
|
64583
64352
|
X3DCoreContext_$("<link/>",
|
|
64584
64353
|
{
|
|
64585
64354
|
on: { load: resolve },
|
|
64586
|
-
integrity: "sha384-
|
|
64355
|
+
integrity: "sha384-EIN6BlS+4qPVUKdojluiboM8NwBBWvSbkXmqaj0pM3RbCAavqGjOPFMEC4ZV3qqy",
|
|
64587
64356
|
crossorigin: "anonymous",
|
|
64588
64357
|
rel: "stylesheet",
|
|
64589
64358
|
href: new URL ("x_ite.css", Networking_URLs .getScriptURL ()),
|
|
@@ -70625,8 +70394,8 @@ const OrientationChaser_default_ = OrientationChaser;
|
|
|
70625
70394
|
|
|
70626
70395
|
/* harmony default export */ const Followers_OrientationChaser = (Namespace/* default */.A .add ("OrientationChaser", OrientationChaser_default_));
|
|
70627
70396
|
;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
70628
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
70629
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
70397
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(862);
|
|
70398
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(989)["A"];
|
|
70630
70399
|
|
|
70631
70400
|
|
|
70632
70401
|
|
|
@@ -71701,8 +71470,8 @@ const ScreenLine_default_ = ScreenLine;
|
|
|
71701
71470
|
|
|
71702
71471
|
/* harmony default export */ const Rendering_ScreenLine = (Namespace/* default */.A .add ("ScreenLine", ScreenLine_default_));
|
|
71703
71472
|
;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
71704
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
71705
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
71473
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(862);
|
|
71474
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(989)["A"];
|
|
71706
71475
|
|
|
71707
71476
|
|
|
71708
71477
|
|
|
@@ -72439,8 +72208,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
72439
72208
|
|
|
72440
72209
|
/* harmony default export */ const Navigation_FlyViewer = (Namespace/* default */.A .add ("FlyViewer", FlyViewer_default_));
|
|
72441
72210
|
;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
72442
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
72443
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
72211
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(862);
|
|
72212
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(989)["A"];
|
|
72444
72213
|
|
|
72445
72214
|
|
|
72446
72215
|
|
|
@@ -72653,8 +72422,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
72653
72422
|
|
|
72654
72423
|
/* harmony default export */ const Navigation_NoneViewer = (Namespace/* default */.A .add ("NoneViewer", NoneViewer_default_));
|
|
72655
72424
|
;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
72656
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
72657
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
72425
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(862);
|
|
72426
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(989)["A"];
|
|
72658
72427
|
|
|
72659
72428
|
|
|
72660
72429
|
|
|
@@ -74003,8 +73772,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
74003
73772
|
|
|
74004
73773
|
/* harmony default export */ const Picking_X3DPickingContext = (Namespace/* default */.A .add ("X3DPickingContext", X3DPickingContext_default_));
|
|
74005
73774
|
;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
74006
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
74007
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
73775
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(862);
|
|
73776
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(989)["A"];
|
|
74008
73777
|
|
|
74009
73778
|
|
|
74010
73779
|
|
|
@@ -75269,7 +75038,7 @@ const Lock_default_ = Lock;
|
|
|
75269
75038
|
|
|
75270
75039
|
/* harmony default export */ const Utility_Lock = (Namespace/* default */.A .add ("Lock", Lock_default_));
|
|
75271
75040
|
;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
75272
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
75041
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(989)["A"];
|
|
75273
75042
|
|
|
75274
75043
|
|
|
75275
75044
|
|
|
@@ -77491,7 +77260,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
77491
77260
|
|
|
77492
77261
|
/* harmony default export */ const Shaders_X3DShaderNode = (Namespace/* default */.A .add ("X3DShaderNode", X3DShaderNode_default_));
|
|
77493
77262
|
;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
77494
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
77263
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(989)["A"];
|
|
77495
77264
|
|
|
77496
77265
|
|
|
77497
77266
|
|
|
@@ -78349,7 +78118,9 @@ Object .assign (X3DProgrammableShaderObject .prototype,
|
|
|
78349
78118
|
},
|
|
78350
78119
|
setUniforms: (() =>
|
|
78351
78120
|
{
|
|
78352
|
-
const
|
|
78121
|
+
const
|
|
78122
|
+
normalMatrix = new Numbers_Matrix3 (),
|
|
78123
|
+
normalMatrixArray = new Float32Array (9);
|
|
78353
78124
|
|
|
78354
78125
|
return function (gl, renderContext, geometryContext, front = true)
|
|
78355
78126
|
{
|
|
@@ -78417,15 +78188,16 @@ Object .assign (X3DProgrammableShaderObject .prototype,
|
|
|
78417
78188
|
|
|
78418
78189
|
// Normal matrix
|
|
78419
78190
|
|
|
78420
|
-
if (
|
|
78191
|
+
if (this .x3d_NormalMatrix)
|
|
78421
78192
|
{
|
|
78193
|
+
// Set matrix and transpose it.
|
|
78422
78194
|
normalMatrix [0] = modelViewMatrix [0]; normalMatrix [3] = modelViewMatrix [1]; normalMatrix [6] = modelViewMatrix [ 2];
|
|
78423
78195
|
normalMatrix [1] = modelViewMatrix [4]; normalMatrix [4] = modelViewMatrix [5]; normalMatrix [7] = modelViewMatrix [ 6];
|
|
78424
78196
|
normalMatrix [2] = modelViewMatrix [8]; normalMatrix [5] = modelViewMatrix [9]; normalMatrix [8] = modelViewMatrix [10];
|
|
78425
78197
|
|
|
78426
|
-
|
|
78198
|
+
normalMatrixArray .set (normalMatrix .inverse ());
|
|
78427
78199
|
|
|
78428
|
-
gl .uniformMatrix3fv (this .x3d_NormalMatrix, false,
|
|
78200
|
+
gl .uniformMatrix3fv (this .x3d_NormalMatrix, false, normalMatrixArray);
|
|
78429
78201
|
}
|
|
78430
78202
|
|
|
78431
78203
|
// Fog
|
|
@@ -79492,7 +79264,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
79492
79264
|
|
|
79493
79265
|
/* harmony default export */ const Shaders_ShaderCompiler = (Namespace/* default */.A .add ("ShaderCompiler", ShaderCompiler_default_));
|
|
79494
79266
|
;// ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
79495
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
79267
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(989)["A"];
|
|
79496
79268
|
|
|
79497
79269
|
|
|
79498
79270
|
|
|
@@ -79583,8 +79355,7 @@ Object .assign (Object .setPrototypeOf (ShaderPart .prototype, Core_X3DNode .pro
|
|
|
79583
79355
|
},
|
|
79584
79356
|
loadData ()
|
|
79585
79357
|
{
|
|
79586
|
-
new InputOutput_FileLoader (this) .loadDocument (this ._url,
|
|
79587
|
-
function (data, url)
|
|
79358
|
+
new InputOutput_FileLoader (this) .loadDocument (this ._url, (data, url) =>
|
|
79588
79359
|
{
|
|
79589
79360
|
if (data === null)
|
|
79590
79361
|
{
|
|
@@ -79619,22 +79390,23 @@ Object .assign (Object .setPrototypeOf (ShaderPart .prototype, Core_X3DNode .pro
|
|
|
79619
79390
|
|
|
79620
79391
|
if (match)
|
|
79621
79392
|
{
|
|
79622
|
-
const fileName = shaderCompiler .getSourceFileName (match [1])
|
|
79393
|
+
const fileName = shaderCompiler .getSourceFileName (match [1])
|
|
79394
|
+
|| url
|
|
79395
|
+
|| this .getExecutionContext () .getWorldURL ();
|
|
79623
79396
|
|
|
79624
|
-
throw new Error (
|
|
79397
|
+
throw new Error (`Error in ${typeName} '${name}' in URL '${fileName}', line ${match [2]}, ${log}`);
|
|
79625
79398
|
}
|
|
79626
79399
|
else
|
|
79627
79400
|
{
|
|
79628
79401
|
const fileName = url || this .getExecutionContext () .getWorldURL ();
|
|
79629
79402
|
|
|
79630
|
-
throw new Error (
|
|
79403
|
+
throw new Error (`Error in ${typeName} '${name}' in URL '${fileName}', ${log}`);
|
|
79631
79404
|
}
|
|
79632
79405
|
}
|
|
79633
79406
|
|
|
79634
79407
|
this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
|
|
79635
79408
|
}
|
|
79636
|
-
}
|
|
79637
|
-
.bind (this));
|
|
79409
|
+
});
|
|
79638
79410
|
},
|
|
79639
79411
|
dispose ()
|
|
79640
79412
|
{
|
|
@@ -81435,7 +81207,7 @@ const PeriodicWave_default_ = PeriodicWave;
|
|
|
81435
81207
|
|
|
81436
81208
|
/* harmony default export */ const Sound_PeriodicWave = (Namespace/* default */.A .add ("PeriodicWave", PeriodicWave_default_));
|
|
81437
81209
|
;// ./src/x_ite/Browser/Sound/X3DSoundContext.js
|
|
81438
|
-
/* provided dependency */ var X3DSoundContext_$ = __webpack_require__(
|
|
81210
|
+
/* provided dependency */ var X3DSoundContext_$ = __webpack_require__(989)["A"];
|
|
81439
81211
|
|
|
81440
81212
|
|
|
81441
81213
|
|
|
@@ -81691,7 +81463,7 @@ Object .assign (Object .setPrototypeOf (TextureTransform .prototype, Texturing_X
|
|
|
81691
81463
|
center = this ._center .getValue (),
|
|
81692
81464
|
matrix4 = this .matrix;
|
|
81693
81465
|
|
|
81694
|
-
matrix3 .
|
|
81466
|
+
matrix3 .set ();
|
|
81695
81467
|
|
|
81696
81468
|
if (!center .equals (Numbers_Vector2 .ZERO))
|
|
81697
81469
|
matrix3 .translate (vector .assign (center) .negate ());
|
|
@@ -81742,7 +81514,7 @@ const TextureTransform_default_ = TextureTransform;
|
|
|
81742
81514
|
|
|
81743
81515
|
/* harmony default export */ const Texturing_TextureTransform = (Namespace/* default */.A .add ("TextureTransform", TextureTransform_default_));
|
|
81744
81516
|
;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
81745
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
81517
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(989)["A"];
|
|
81746
81518
|
const KTXDecoder_default_ = class KTXDecoder
|
|
81747
81519
|
{
|
|
81748
81520
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -82775,7 +82547,7 @@ const X3DBrowserContext_default_ = X3DBrowserContext;
|
|
|
82775
82547
|
|
|
82776
82548
|
/* harmony default export */ const Browser_X3DBrowserContext = (Namespace/* default */.A .add ("X3DBrowserContext", X3DBrowserContext_default_));
|
|
82777
82549
|
;// ./src/x_ite/Browser/DOMIntegration.js
|
|
82778
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
82550
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(989)["A"];
|
|
82779
82551
|
/*******************************************************************************
|
|
82780
82552
|
* MIT License
|
|
82781
82553
|
*
|
|
@@ -84793,7 +84565,7 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, Environmenta
|
|
|
84793
84565
|
.assign (viewpointNode .getModelMatrix ())
|
|
84794
84566
|
.translate (viewpointNode .getUserCenterOfRotation ())
|
|
84795
84567
|
.multRight (invModelMatrix)
|
|
84796
|
-
.
|
|
84568
|
+
.getTransform (centerOfRotation);
|
|
84797
84569
|
|
|
84798
84570
|
invModelMatrix .multLeft (viewpointNode .getCameraSpaceMatrix ());
|
|
84799
84571
|
|
|
@@ -84805,7 +84577,7 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, Environmenta
|
|
|
84805
84577
|
invModelMatrix .multLeft (pose .cameraSpaceMatrix);
|
|
84806
84578
|
}
|
|
84807
84579
|
|
|
84808
|
-
invModelMatrix .
|
|
84580
|
+
invModelMatrix .getTransform (position, orientation);
|
|
84809
84581
|
|
|
84810
84582
|
if (this ._isActive .getValue ())
|
|
84811
84583
|
{
|
|
@@ -85043,7 +84815,7 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, Environmenta
|
|
|
85043
84815
|
|
|
85044
84816
|
if (matrix)
|
|
85045
84817
|
{
|
|
85046
|
-
matrix .
|
|
84818
|
+
matrix .getTransform (position, orientation);
|
|
85047
84819
|
|
|
85048
84820
|
if (this ._isActive .getValue ())
|
|
85049
84821
|
{
|
|
@@ -87854,7 +87626,7 @@ Object .assign (Object .setPrototypeOf (X3DTransformMatrix3DNode .prototype, Gro
|
|
|
87854
87626
|
{
|
|
87855
87627
|
if (matrix .equals (Numbers_Matrix4 .IDENTITY))
|
|
87856
87628
|
{
|
|
87857
|
-
this .matrix .
|
|
87629
|
+
this .matrix .set ();
|
|
87858
87630
|
|
|
87859
87631
|
if (this .isDefaultBBoxSize ())
|
|
87860
87632
|
this .getBBox = this .getSubBBox;
|
|
@@ -87877,7 +87649,7 @@ Object .assign (Object .setPrototypeOf (X3DTransformMatrix3DNode .prototype, Gro
|
|
|
87877
87649
|
{
|
|
87878
87650
|
if (t .equals (Numbers_Vector3 .ZERO) && r .equals (Numbers_Rotation4 .IDENTITY) && s .equals (Numbers_Vector3 .ONE))
|
|
87879
87651
|
{
|
|
87880
|
-
this .matrix .
|
|
87652
|
+
this .matrix .set ();
|
|
87881
87653
|
|
|
87882
87654
|
if (this .isDefaultBBoxSize ())
|
|
87883
87655
|
this .getBBox = this .getSubBBox;
|
|
@@ -87888,7 +87660,7 @@ Object .assign (Object .setPrototypeOf (X3DTransformMatrix3DNode .prototype, Gro
|
|
|
87888
87660
|
}
|
|
87889
87661
|
else
|
|
87890
87662
|
{
|
|
87891
|
-
this .matrix .
|
|
87663
|
+
this .matrix .setTransform (t, r, s, so, c);
|
|
87892
87664
|
|
|
87893
87665
|
delete this .getBBox;
|
|
87894
87666
|
delete this .traverse;
|
|
@@ -89391,7 +89163,7 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
|
|
|
89391
89163
|
|
|
89392
89164
|
for (const { modelMatrix } of group)
|
|
89393
89165
|
{
|
|
89394
|
-
modelMatrix .
|
|
89166
|
+
modelMatrix .getTransform (t, r, s, so);
|
|
89395
89167
|
|
|
89396
89168
|
instancedShape ._translations .push (t);
|
|
89397
89169
|
instancedShape ._rotations .push (r);
|
|
@@ -89875,7 +89647,7 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
|
|
|
89875
89647
|
newTransformNode = new Grouping_Transform (executionContext),
|
|
89876
89648
|
modelMatrix = group [0] .modelMatrix;
|
|
89877
89649
|
|
|
89878
|
-
modelMatrix .
|
|
89650
|
+
modelMatrix .getTransform (t, r, s, so);
|
|
89879
89651
|
|
|
89880
89652
|
newTransformNode ._translation = t;
|
|
89881
89653
|
newTransformNode ._rotation = r;
|
|
@@ -91225,7 +90997,7 @@ Object .assign (EnvironmentLightContainer .prototype,
|
|
|
91225
90997
|
{ },
|
|
91226
90998
|
setGlobalVariables (renderObject)
|
|
91227
90999
|
{
|
|
91228
|
-
this .modelViewMatrix .get () .
|
|
91000
|
+
this .modelViewMatrix .get () .getTransform (null, this .rotation);
|
|
91229
91001
|
|
|
91230
91002
|
this .rotation
|
|
91231
91003
|
.multLeft (this .lightNode ._rotation .getValue ())
|
|
@@ -99364,7 +99136,7 @@ Object .assign (Object .setPrototypeOf (ListenerPointSource .prototype, Sound_X3
|
|
|
99364
99136
|
.assign (renderObject .getModelViewMatrix () .get ())
|
|
99365
99137
|
.translate (this ._position .getValue ())
|
|
99366
99138
|
.rotate (this ._orientation .getValue ())
|
|
99367
|
-
.
|
|
99139
|
+
.getTransform (position, orientation);
|
|
99368
99140
|
|
|
99369
99141
|
orientation .multVecRot (forwardVector .assign (Numbers_Vector3 .Z_AXIS) .negate ()) .normalize ();
|
|
99370
99142
|
orientation .multVecRot (upVector .assign (Numbers_Vector3 .Y_AXIS)) .normalize ();
|
|
@@ -100839,9 +100611,9 @@ const PNGMedia_default_ = PNGMedia;
|
|
|
100839
100611
|
|
|
100840
100612
|
/* harmony default export */ const Texturing_PNGMedia = (Namespace/* default */.A .add ("PNGMedia", PNGMedia_default_));
|
|
100841
100613
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
100842
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
100843
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
100844
|
-
/* provided dependency */ var APNG = __webpack_require__(
|
|
100614
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(989)["A"];
|
|
100615
|
+
/* provided dependency */ var SuperGif = __webpack_require__(143);
|
|
100616
|
+
/* provided dependency */ var APNG = __webpack_require__(949);
|
|
100845
100617
|
|
|
100846
100618
|
|
|
100847
100619
|
|
|
@@ -102201,7 +101973,7 @@ const Components_default_ = Components;
|
|
|
102201
101973
|
|
|
102202
101974
|
/* harmony default export */ const x_ite_Components = (Namespace/* default */.A .add ("Components", Components_default_));
|
|
102203
101975
|
;// ./src/x_ite/Browser/X3DBrowser.js
|
|
102204
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
101976
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(989)["A"];
|
|
102205
101977
|
|
|
102206
101978
|
|
|
102207
101979
|
|
|
@@ -103353,7 +103125,7 @@ const SUPPORTED_VERSIONS_default_ = [
|
|
|
103353
103125
|
|
|
103354
103126
|
/* harmony default export */ const SUPPORTED_VERSIONS = (Namespace/* default */.A .add ("SUPPORTED_VERSIONS", SUPPORTED_VERSIONS_default_));
|
|
103355
103127
|
;// ./src/x_ite/X3DCanvasElement.js
|
|
103356
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
103128
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(989)["A"];
|
|
103357
103129
|
|
|
103358
103130
|
|
|
103359
103131
|
class X3DCanvasElement extends HTMLElement
|
|
@@ -103517,8 +103289,8 @@ const QuickSort_default_ = QuickSort;
|
|
|
103517
103289
|
|
|
103518
103290
|
/* harmony default export */ const Algorithms_QuickSort = (Namespace/* default */.A .add ("QuickSort", QuickSort_default_));
|
|
103519
103291
|
;// ./src/lib/jquery.js
|
|
103520
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
103521
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
103292
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(989)["A"];
|
|
103293
|
+
/* provided dependency */ var pako = __webpack_require__(388);
|
|
103522
103294
|
Object .assign (jquery_$,
|
|
103523
103295
|
{
|
|
103524
103296
|
decodeText (input)
|
|
@@ -103582,13 +103354,13 @@ const jquery_default_ = jquery_$;
|
|
|
103582
103354
|
|
|
103583
103355
|
/* harmony default export */ const jquery = (Namespace/* default */.A .add ("jquery", jquery_default_));
|
|
103584
103356
|
;// ./src/lib/libtess.js
|
|
103585
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
103357
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(285);
|
|
103586
103358
|
const libtess_default_ = libtess_libtess;
|
|
103587
103359
|
;
|
|
103588
103360
|
|
|
103589
103361
|
/* harmony default export */ const lib_libtess = (Namespace/* default */.A .add ("libtess", libtess_default_));
|
|
103590
103362
|
;// ./src/x_ite/X3D.js
|
|
103591
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
103363
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(989)["A"];
|
|
103592
103364
|
|
|
103593
103365
|
|
|
103594
103366
|
|
|
@@ -103754,7 +103526,7 @@ Namespace/* default */.A, Namespace/* default */.A .Fields,
|
|
|
103754
103526
|
|
|
103755
103527
|
// Assign X3D to global namespace.
|
|
103756
103528
|
|
|
103757
|
-
window [Symbol .for ("X_ITE.X3D
|
|
103529
|
+
window [Symbol .for ("X_ITE.X3D")] = x_ite_X3D;
|
|
103758
103530
|
|
|
103759
103531
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
103760
103532
|
|