x_ite 9.4.0 → 9.4.2
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 +29 -0
- 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 +22 -26
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +75 -149
- 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 +10 -12
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +42 -44
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +40 -44
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +51 -53
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +110 -110
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +56 -56
- 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 +44 -44
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +19 -19
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +34 -35
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +21 -23
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +8 -8
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +712 -686
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +712 -686
- 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.4.
|
|
1
|
+
/* X_ITE v9.4.2 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 52:
|
|
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__(864);
|
|
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
|
+
/***/ 910:
|
|
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__(864)], __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
|
+
/***/ 864:
|
|
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
|
+
/***/ 405:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 212:
|
|
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
|
+
/***/ 275:
|
|
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.4.
|
|
20302
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.4.2")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -21486,7 +21486,6 @@ x_ite_Namespace .add ("DEVELOPMENT", "x_ite/DEVELOPMENT", DEVELOPMENT_default_);
|
|
|
21486
21486
|
const
|
|
21487
21487
|
_name = Symbol (),
|
|
21488
21488
|
_interests = Symbol (),
|
|
21489
|
-
_values = Symbol (),
|
|
21490
21489
|
_userData = Symbol ();
|
|
21491
21490
|
|
|
21492
21491
|
function X3DObject () { }
|
|
@@ -23286,7 +23285,7 @@ const
|
|
|
23286
23285
|
_g = Symbol .for ("X_ITE.Color3.g"),
|
|
23287
23286
|
_b = Symbol .for ("X_ITE.Color3.b");
|
|
23288
23287
|
|
|
23289
|
-
function Color3 (r, g, b)
|
|
23288
|
+
function Color3 (r = 0, g = 0, b = 0)
|
|
23290
23289
|
{
|
|
23291
23290
|
this [_r] = clamp (r, 0, 1);
|
|
23292
23291
|
this [_g] = clamp (g, 0, 1);
|
|
@@ -23435,8 +23434,8 @@ Object .defineProperties (Color3 .prototype,
|
|
|
23435
23434
|
|
|
23436
23435
|
Object .assign (Color3,
|
|
23437
23436
|
{
|
|
23438
|
-
Black: new Color3 (
|
|
23439
|
-
White: new Color3 (1, 1, 1),
|
|
23437
|
+
Black: Object .freeze (new Color3 ()),
|
|
23438
|
+
White: Object .freeze (new Color3 (1, 1, 1)),
|
|
23440
23439
|
HSV (h, s, v)
|
|
23441
23440
|
{
|
|
23442
23441
|
const color = Object .create (this .prototype);
|
|
@@ -23548,7 +23547,7 @@ function SFColor (r, g, b)
|
|
|
23548
23547
|
switch (arguments .length)
|
|
23549
23548
|
{
|
|
23550
23549
|
case 0:
|
|
23551
|
-
Base_X3DField .call (this, new Numbers_Color3 (
|
|
23550
|
+
Base_X3DField .call (this, new Numbers_Color3 ());
|
|
23552
23551
|
break;
|
|
23553
23552
|
|
|
23554
23553
|
case 1:
|
|
@@ -23787,7 +23786,7 @@ const
|
|
|
23787
23786
|
Color4_b = Symbol .for ("X_ITE.Color3.b"),
|
|
23788
23787
|
_a = Symbol ();
|
|
23789
23788
|
|
|
23790
|
-
function Color4 (r, g, b, a)
|
|
23789
|
+
function Color4 (r = 0, g = 0, b = 0, a = 0)
|
|
23791
23790
|
{
|
|
23792
23791
|
this [Color4_r] = Color4_clamp (r, 0, 1);
|
|
23793
23792
|
this [Color4_g] = Color4_clamp (g, 0, 1);
|
|
@@ -23896,9 +23895,9 @@ Object .defineProperties (Color4 .prototype,
|
|
|
23896
23895
|
|
|
23897
23896
|
Object .assign (Color4,
|
|
23898
23897
|
{
|
|
23899
|
-
Transparent: new Color4 (
|
|
23900
|
-
Black: new Color4 (0, 0, 0, 1),
|
|
23901
|
-
White: new Color4 (1, 1, 1, 1),
|
|
23898
|
+
Transparent: Object .freeze (new Color4 ()),
|
|
23899
|
+
Black: Object .freeze (new Color4 (0, 0, 0, 1)),
|
|
23900
|
+
White: Object .freeze (new Color4 (1, 1, 1, 1)),
|
|
23902
23901
|
HSVA (h, s, v, a)
|
|
23903
23902
|
{
|
|
23904
23903
|
const color = Object .create (this .prototype);
|
|
@@ -23978,7 +23977,7 @@ function SFColorRGBA (r, g, b, a)
|
|
|
23978
23977
|
switch (arguments .length)
|
|
23979
23978
|
{
|
|
23980
23979
|
case 0:
|
|
23981
|
-
Base_X3DField .call (this, new Numbers_Color4 (
|
|
23980
|
+
Base_X3DField .call (this, new Numbers_Color4 ());
|
|
23982
23981
|
break;
|
|
23983
23982
|
|
|
23984
23983
|
case 1:
|
|
@@ -24738,7 +24737,7 @@ x_ite_Namespace .add ("SFMatrixPrototypeTemplate", "x_ite/Fields/SFMatrixPrototy
|
|
|
24738
24737
|
*
|
|
24739
24738
|
******************************************************************************/
|
|
24740
24739
|
|
|
24741
|
-
function Vector2 (x, y)
|
|
24740
|
+
function Vector2 (x = 0, y = 0)
|
|
24742
24741
|
{
|
|
24743
24742
|
this .x = x;
|
|
24744
24743
|
this .y = y;
|
|
@@ -24922,10 +24921,10 @@ Object .defineProperties (Vector2 .prototype,
|
|
|
24922
24921
|
|
|
24923
24922
|
Object .assign (Vector2,
|
|
24924
24923
|
{
|
|
24925
|
-
Zero: new Vector2 (
|
|
24926
|
-
One: new Vector2 (1, 1),
|
|
24927
|
-
xAxis: new Vector2 (1, 0),
|
|
24928
|
-
yAxis: new Vector2 (0, 1),
|
|
24924
|
+
Zero: Object .freeze (new Vector2 ()),
|
|
24925
|
+
One: Object .freeze (new Vector2 (1, 1)),
|
|
24926
|
+
xAxis: Object .freeze (new Vector2 (1, 0)),
|
|
24927
|
+
yAxis: Object .freeze (new Vector2 (0, 1)),
|
|
24929
24928
|
});
|
|
24930
24929
|
|
|
24931
24930
|
const Vector2_default_ = Vector2;
|
|
@@ -24983,7 +24982,7 @@ x_ite_Namespace .add ("Vector2", "standard/Math/Numbers/Vector2", Vector2_defaul
|
|
|
24983
24982
|
|
|
24984
24983
|
|
|
24985
24984
|
|
|
24986
|
-
function Vector3 (x, y, z)
|
|
24985
|
+
function Vector3 (x = 0, y = 0, z = 0)
|
|
24987
24986
|
{
|
|
24988
24987
|
this .x = x;
|
|
24989
24988
|
this .y = y;
|
|
@@ -25142,7 +25141,7 @@ Object .assign (Vector3 .prototype,
|
|
|
25142
25141
|
},
|
|
25143
25142
|
slerp: (() =>
|
|
25144
25143
|
{
|
|
25145
|
-
const tmp = new Vector3 (
|
|
25144
|
+
const tmp = new Vector3 ();
|
|
25146
25145
|
|
|
25147
25146
|
return function (destination, t)
|
|
25148
25147
|
{
|
|
@@ -25218,11 +25217,11 @@ Object .defineProperties (Vector3 .prototype,
|
|
|
25218
25217
|
|
|
25219
25218
|
Object .assign (Vector3,
|
|
25220
25219
|
{
|
|
25221
|
-
Zero: new Vector3 (
|
|
25222
|
-
One: new Vector3 (1, 1, 1),
|
|
25223
|
-
xAxis: new Vector3 (1, 0, 0),
|
|
25224
|
-
yAxis: new Vector3 (0, 1, 0),
|
|
25225
|
-
zAxis: new Vector3 (0, 0, 1),
|
|
25220
|
+
Zero: Object .freeze (new Vector3 ()),
|
|
25221
|
+
One: Object .freeze (new Vector3 (1, 1, 1)),
|
|
25222
|
+
xAxis: Object .freeze (new Vector3 (1, 0, 0)),
|
|
25223
|
+
yAxis: Object .freeze (new Vector3 (0, 1, 0)),
|
|
25224
|
+
zAxis: Object .freeze (new Vector3 (0, 0, 1)),
|
|
25226
25225
|
});
|
|
25227
25226
|
|
|
25228
25227
|
const Vector3_default_ = Vector3;
|
|
@@ -25472,7 +25471,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25472
25471
|
{
|
|
25473
25472
|
get: (() =>
|
|
25474
25473
|
{
|
|
25475
|
-
const vector = new Numbers_Vector2 (
|
|
25474
|
+
const vector = new Numbers_Vector2 ();
|
|
25476
25475
|
|
|
25477
25476
|
return function () { return vector .set (this [0], this [1]); };
|
|
25478
25477
|
})(),
|
|
@@ -25481,7 +25480,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25481
25480
|
{
|
|
25482
25481
|
get: (() =>
|
|
25483
25482
|
{
|
|
25484
|
-
const vector = new Numbers_Vector2 (
|
|
25483
|
+
const vector = new Numbers_Vector2 ();
|
|
25485
25484
|
|
|
25486
25485
|
return function () { return vector .set (this [2], this [3]); };
|
|
25487
25486
|
})(),
|
|
@@ -25502,7 +25501,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25502
25501
|
|
|
25503
25502
|
Object .assign (Matrix2,
|
|
25504
25503
|
{
|
|
25505
|
-
Identity: new Matrix2 (),
|
|
25504
|
+
Identity: Object .freeze (new Matrix2 ()),
|
|
25506
25505
|
});
|
|
25507
25506
|
|
|
25508
25507
|
const Matrix2_default_ = Matrix2;
|
|
@@ -25822,7 +25821,7 @@ Object .assign (Matrix3 .prototype,
|
|
|
25822
25821
|
},
|
|
25823
25822
|
set: (() =>
|
|
25824
25823
|
{
|
|
25825
|
-
const invCenter = new Numbers_Vector2 (
|
|
25824
|
+
const invCenter = new Numbers_Vector2 ();
|
|
25826
25825
|
|
|
25827
25826
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
25828
25827
|
{
|
|
@@ -25952,14 +25951,14 @@ Object .assign (Matrix3 .prototype,
|
|
|
25952
25951
|
get: (() =>
|
|
25953
25952
|
{
|
|
25954
25953
|
const
|
|
25955
|
-
dummyTranslation = new Numbers_Vector2 (
|
|
25956
|
-
dummyRotation = new Numbers_Vector3 (
|
|
25957
|
-
dummyScale = new Numbers_Vector2 (
|
|
25958
|
-
dummyScaleOrientation = new Numbers_Vector3 (
|
|
25959
|
-
dummyCenter = new Numbers_Vector2 (
|
|
25954
|
+
dummyTranslation = new Numbers_Vector2 (),
|
|
25955
|
+
dummyRotation = new Numbers_Vector3 (),
|
|
25956
|
+
dummyScale = new Numbers_Vector2 (),
|
|
25957
|
+
dummyScaleOrientation = new Numbers_Vector3 (),
|
|
25958
|
+
dummyCenter = new Numbers_Vector2 (),
|
|
25960
25959
|
rotMatrix = new Numbers_Matrix2 (),
|
|
25961
25960
|
soMatrix = new Numbers_Matrix2 (),
|
|
25962
|
-
c = new Numbers_Vector2 (
|
|
25961
|
+
c = new Numbers_Vector2 ();
|
|
25963
25962
|
|
|
25964
25963
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
25965
25964
|
{
|
|
@@ -26290,7 +26289,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26290
26289
|
{
|
|
26291
26290
|
get: (() =>
|
|
26292
26291
|
{
|
|
26293
|
-
const vector = new Numbers_Vector3 (
|
|
26292
|
+
const vector = new Numbers_Vector3 ();
|
|
26294
26293
|
|
|
26295
26294
|
return function () { return vector .set (this [0], this [1], this [2]); };
|
|
26296
26295
|
})(),
|
|
@@ -26299,7 +26298,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26299
26298
|
{
|
|
26300
26299
|
get: (() =>
|
|
26301
26300
|
{
|
|
26302
|
-
const vector = new Numbers_Vector3 (
|
|
26301
|
+
const vector = new Numbers_Vector3 ();
|
|
26303
26302
|
|
|
26304
26303
|
return function () { return vector .set (this [3], this [4], this [5]); };
|
|
26305
26304
|
})(),
|
|
@@ -26308,7 +26307,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26308
26307
|
{
|
|
26309
26308
|
get: (() =>
|
|
26310
26309
|
{
|
|
26311
|
-
const vector = new Numbers_Vector3 (
|
|
26310
|
+
const vector = new Numbers_Vector3 ();
|
|
26312
26311
|
|
|
26313
26312
|
return function () { return vector .set (this [6], this [7], this [8]); };
|
|
26314
26313
|
})(),
|
|
@@ -26317,7 +26316,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26317
26316
|
{
|
|
26318
26317
|
get: (() =>
|
|
26319
26318
|
{
|
|
26320
|
-
const vector = new Numbers_Vector2 (
|
|
26319
|
+
const vector = new Numbers_Vector2 ();
|
|
26321
26320
|
|
|
26322
26321
|
return function () { return vector .set (this [0], this [1]); };
|
|
26323
26322
|
})(),
|
|
@@ -26326,7 +26325,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26326
26325
|
{
|
|
26327
26326
|
get: (() =>
|
|
26328
26327
|
{
|
|
26329
|
-
const vector = new Numbers_Vector2 (
|
|
26328
|
+
const vector = new Numbers_Vector2 ();
|
|
26330
26329
|
|
|
26331
26330
|
return function () { return vector .set (this [3], this [4]); };
|
|
26332
26331
|
})(),
|
|
@@ -26335,7 +26334,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26335
26334
|
{
|
|
26336
26335
|
get: (() =>
|
|
26337
26336
|
{
|
|
26338
|
-
const vector = new Numbers_Vector2 (
|
|
26337
|
+
const vector = new Numbers_Vector2 ();
|
|
26339
26338
|
|
|
26340
26339
|
return function () { return vector .set (this [6], this [7]); };
|
|
26341
26340
|
})(),
|
|
@@ -26358,7 +26357,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26358
26357
|
|
|
26359
26358
|
Object .assign (Matrix3,
|
|
26360
26359
|
{
|
|
26361
|
-
Identity: new Matrix3 (),
|
|
26360
|
+
Identity: Object .freeze (new Matrix3 ()),
|
|
26362
26361
|
Rotation (rotation)
|
|
26363
26362
|
{
|
|
26364
26363
|
const
|
|
@@ -26591,7 +26590,7 @@ x_ite_Namespace .add ("SFMatrix3", "x_ite/Fields/SFMatrix3", SFMatrix3_default_)
|
|
|
26591
26590
|
*
|
|
26592
26591
|
******************************************************************************/
|
|
26593
26592
|
|
|
26594
|
-
function Vector4 (x, y, z, w)
|
|
26593
|
+
function Vector4 (x = 0, y = 0, z = 0, w = 0)
|
|
26595
26594
|
{
|
|
26596
26595
|
this .x = x;
|
|
26597
26596
|
this .y = y;
|
|
@@ -26842,12 +26841,12 @@ Object .defineProperties (Vector4 .prototype,
|
|
|
26842
26841
|
|
|
26843
26842
|
Object .assign (Vector4,
|
|
26844
26843
|
{
|
|
26845
|
-
Zero: new Vector4 (
|
|
26846
|
-
One: new Vector4 (1, 1, 1, 1),
|
|
26847
|
-
xAxis: new Vector4 (1, 0, 0, 0),
|
|
26848
|
-
yAxis: new Vector4 (0, 1, 0, 0),
|
|
26849
|
-
zAxis: new Vector4 (0, 0, 1, 0),
|
|
26850
|
-
wAxis: new Vector4 (0, 0, 0, 1),
|
|
26844
|
+
Zero: Object .freeze (new Vector4 ()),
|
|
26845
|
+
One: Object .freeze (new Vector4 (1, 1, 1, 1)),
|
|
26846
|
+
xAxis: Object .freeze (new Vector4 (1, 0, 0, 0)),
|
|
26847
|
+
yAxis: Object .freeze (new Vector4 (0, 1, 0, 0)),
|
|
26848
|
+
zAxis: Object .freeze (new Vector4 (0, 0, 1, 0)),
|
|
26849
|
+
wAxis: Object .freeze (new Vector4 (0, 0, 0, 1)),
|
|
26851
26850
|
});
|
|
26852
26851
|
|
|
26853
26852
|
const Vector4_default_ = Vector4;
|
|
@@ -26907,7 +26906,7 @@ x_ite_Namespace .add ("Vector4", "standard/Math/Numbers/Vector4", Vector4_defaul
|
|
|
26907
26906
|
|
|
26908
26907
|
|
|
26909
26908
|
|
|
26910
|
-
function Quaternion (x, y, z, w)
|
|
26909
|
+
function Quaternion (x = 0, y = 0, z = 0, w = 1)
|
|
26911
26910
|
{
|
|
26912
26911
|
this .x = x;
|
|
26913
26912
|
this .y = y;
|
|
@@ -27464,7 +27463,7 @@ Object .defineProperties (Quaternion .prototype,
|
|
|
27464
27463
|
{
|
|
27465
27464
|
get: (() =>
|
|
27466
27465
|
{
|
|
27467
|
-
const result = new Numbers_Vector3 (
|
|
27466
|
+
const result = new Numbers_Vector3 ();
|
|
27468
27467
|
|
|
27469
27468
|
return function ()
|
|
27470
27469
|
{
|
|
@@ -27478,14 +27477,14 @@ Object .defineProperties (Quaternion .prototype,
|
|
|
27478
27477
|
|
|
27479
27478
|
Object .assign (Quaternion,
|
|
27480
27479
|
{
|
|
27481
|
-
Identity: new Quaternion (
|
|
27480
|
+
Identity: Object .freeze (new Quaternion ()),
|
|
27482
27481
|
spline: (() =>
|
|
27483
27482
|
{
|
|
27484
27483
|
const
|
|
27485
|
-
q0 = new Quaternion (
|
|
27486
|
-
q1 = new Quaternion (
|
|
27487
|
-
q2 = new Quaternion (
|
|
27488
|
-
q1_i = new Quaternion (
|
|
27484
|
+
q0 = new Quaternion (),
|
|
27485
|
+
q1 = new Quaternion (),
|
|
27486
|
+
q2 = new Quaternion (),
|
|
27487
|
+
q1_i = new Quaternion ();
|
|
27489
27488
|
|
|
27490
27489
|
return function (Q0, Q1, Q2)
|
|
27491
27490
|
{
|
|
@@ -27515,9 +27514,9 @@ Object .assign (Quaternion,
|
|
|
27515
27514
|
});
|
|
27516
27515
|
|
|
27517
27516
|
const
|
|
27518
|
-
t1 = new Quaternion (
|
|
27519
|
-
t2 = new Quaternion (
|
|
27520
|
-
t3 = new Quaternion (
|
|
27517
|
+
t1 = new Quaternion (),
|
|
27518
|
+
t2 = new Quaternion (),
|
|
27519
|
+
t3 = new Quaternion (),
|
|
27521
27520
|
Quaternion_m = new Numbers_Matrix3 ();
|
|
27522
27521
|
|
|
27523
27522
|
const Quaternion_default_ = Quaternion;
|
|
@@ -27597,7 +27596,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27597
27596
|
{
|
|
27598
27597
|
case 0:
|
|
27599
27598
|
{
|
|
27600
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27599
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27601
27600
|
return;
|
|
27602
27601
|
}
|
|
27603
27602
|
case 1:
|
|
@@ -27612,7 +27611,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27612
27611
|
arg0 = arguments [0],
|
|
27613
27612
|
arg1 = arguments [1];
|
|
27614
27613
|
|
|
27615
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27614
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27616
27615
|
|
|
27617
27616
|
if (arg1 instanceof Numbers_Vector3)
|
|
27618
27617
|
return this .setFromToVec (arg0, arg1);
|
|
@@ -27626,7 +27625,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27626
27625
|
}
|
|
27627
27626
|
case 4:
|
|
27628
27627
|
{
|
|
27629
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27628
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27630
27629
|
this .set (x, y, z, angle);
|
|
27631
27630
|
return;
|
|
27632
27631
|
}
|
|
@@ -27706,7 +27705,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27706
27705
|
},
|
|
27707
27706
|
get: (() =>
|
|
27708
27707
|
{
|
|
27709
|
-
const result = new Numbers_Vector4 (
|
|
27708
|
+
const result = new Numbers_Vector4 ();
|
|
27710
27709
|
|
|
27711
27710
|
return function ()
|
|
27712
27711
|
{
|
|
@@ -27745,10 +27744,10 @@ Object .assign (Rotation4 .prototype,
|
|
|
27745
27744
|
setFromToVec: (() =>
|
|
27746
27745
|
{
|
|
27747
27746
|
const
|
|
27748
|
-
from = new Numbers_Vector3 (
|
|
27749
|
-
to = new Numbers_Vector3 (
|
|
27750
|
-
cv = new Numbers_Vector3 (
|
|
27751
|
-
t = new Numbers_Vector3 (
|
|
27747
|
+
from = new Numbers_Vector3 (),
|
|
27748
|
+
to = new Numbers_Vector3 (),
|
|
27749
|
+
cv = new Numbers_Vector3 (),
|
|
27750
|
+
t = new Numbers_Vector3 ();
|
|
27752
27751
|
|
|
27753
27752
|
return function (fromVec, toVec)
|
|
27754
27753
|
{
|
|
@@ -27807,7 +27806,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27807
27806
|
{
|
|
27808
27807
|
this .set (vector .x, vector .y, vector .z, this [_angle]);
|
|
27809
27808
|
},
|
|
27810
|
-
getAxis (axis = new Numbers_Vector3 (
|
|
27809
|
+
getAxis (axis = new Numbers_Vector3 ())
|
|
27811
27810
|
{
|
|
27812
27811
|
return axis .set (this [_x], this [_y], this [_z]);
|
|
27813
27812
|
},
|
|
@@ -27817,7 +27816,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27817
27816
|
this .update ();
|
|
27818
27817
|
return this;
|
|
27819
27818
|
},
|
|
27820
|
-
getQuaternion (quaternion = new Numbers_Quaternion (
|
|
27819
|
+
getQuaternion (quaternion = new Numbers_Quaternion ())
|
|
27821
27820
|
{
|
|
27822
27821
|
return quaternion .assign (this [_quaternion]);
|
|
27823
27822
|
},
|
|
@@ -27902,9 +27901,9 @@ Object .assign (Rotation4 .prototype,
|
|
|
27902
27901
|
straighten: (() =>
|
|
27903
27902
|
{
|
|
27904
27903
|
const
|
|
27905
|
-
localXAxis = new Numbers_Vector3 (
|
|
27906
|
-
localZAxis = new Numbers_Vector3 (
|
|
27907
|
-
upNormal = new Numbers_Vector3 (
|
|
27904
|
+
localXAxis = new Numbers_Vector3 (),
|
|
27905
|
+
localZAxis = new Numbers_Vector3 (),
|
|
27906
|
+
upNormal = new Numbers_Vector3 (),
|
|
27908
27907
|
rotation = new Rotation4 ();
|
|
27909
27908
|
|
|
27910
27909
|
return function (upVector = Numbers_Vector3 .yAxis)
|
|
@@ -28019,7 +28018,7 @@ Object .defineProperties (Rotation4 .prototype,
|
|
|
28019
28018
|
|
|
28020
28019
|
Object .assign (Rotation4,
|
|
28021
28020
|
{
|
|
28022
|
-
Identity: new Rotation4 (),
|
|
28021
|
+
Identity: Object .freeze (new Rotation4 ()),
|
|
28023
28022
|
fromQuaternion (quaternion)
|
|
28024
28023
|
{
|
|
28025
28024
|
return new Rotation4 () .setQuaternion (quaternion);
|
|
@@ -28170,7 +28169,7 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
28170
28169
|
{
|
|
28171
28170
|
const
|
|
28172
28171
|
invScaleOrientation = new Numbers_Rotation4 (),
|
|
28173
|
-
invCenter = new Numbers_Vector3 (
|
|
28172
|
+
invCenter = new Numbers_Vector3 ();
|
|
28174
28173
|
|
|
28175
28174
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
28176
28175
|
{
|
|
@@ -28300,14 +28299,14 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
28300
28299
|
get: (() =>
|
|
28301
28300
|
{
|
|
28302
28301
|
const
|
|
28303
|
-
dummyTranslation = new Numbers_Vector3 (
|
|
28302
|
+
dummyTranslation = new Numbers_Vector3 (),
|
|
28304
28303
|
dummyRotation = new Numbers_Rotation4 (),
|
|
28305
|
-
dummyScale = new Numbers_Vector3 (
|
|
28304
|
+
dummyScale = new Numbers_Vector3 (),
|
|
28306
28305
|
dummyScaleOrientation = new Numbers_Rotation4 (),
|
|
28307
|
-
dummyCenter = new Numbers_Vector3 (
|
|
28306
|
+
dummyCenter = new Numbers_Vector3 (),
|
|
28308
28307
|
rot = new Numbers_Matrix3 (),
|
|
28309
28308
|
so = new Numbers_Matrix3 (),
|
|
28310
|
-
c = new Numbers_Vector3 (
|
|
28309
|
+
c = new Numbers_Vector3 ();
|
|
28311
28310
|
|
|
28312
28311
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
28313
28312
|
{
|
|
@@ -28723,7 +28722,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28723
28722
|
{
|
|
28724
28723
|
get: (() =>
|
|
28725
28724
|
{
|
|
28726
|
-
const vector = new Numbers_Vector4 (
|
|
28725
|
+
const vector = new Numbers_Vector4 ();
|
|
28727
28726
|
|
|
28728
28727
|
return function () { return vector .set (this [0], this [1], this [2], this [3]); };
|
|
28729
28728
|
})(),
|
|
@@ -28732,7 +28731,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28732
28731
|
{
|
|
28733
28732
|
get: (() =>
|
|
28734
28733
|
{
|
|
28735
|
-
const vector = new Numbers_Vector4 (
|
|
28734
|
+
const vector = new Numbers_Vector4 ();
|
|
28736
28735
|
|
|
28737
28736
|
return function () { return vector .set (this [4], this [5], this [6], this [7]); };
|
|
28738
28737
|
})(),
|
|
@@ -28741,7 +28740,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28741
28740
|
{
|
|
28742
28741
|
get: (() =>
|
|
28743
28742
|
{
|
|
28744
|
-
const vector = new Numbers_Vector4 (
|
|
28743
|
+
const vector = new Numbers_Vector4 ();
|
|
28745
28744
|
|
|
28746
28745
|
return function () { return vector .set (this [8], this [9], this [10], this [11]); };
|
|
28747
28746
|
})(),
|
|
@@ -28750,7 +28749,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28750
28749
|
{
|
|
28751
28750
|
get: (() =>
|
|
28752
28751
|
{
|
|
28753
|
-
const vector = new Numbers_Vector4 (
|
|
28752
|
+
const vector = new Numbers_Vector4 ();
|
|
28754
28753
|
|
|
28755
28754
|
return function () { return vector .set (this [12], this [13], this [14], this [15]); };
|
|
28756
28755
|
})(),
|
|
@@ -28759,7 +28758,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28759
28758
|
{
|
|
28760
28759
|
get: (() =>
|
|
28761
28760
|
{
|
|
28762
|
-
const vector = new Numbers_Vector3 (
|
|
28761
|
+
const vector = new Numbers_Vector3 ();
|
|
28763
28762
|
|
|
28764
28763
|
return function () { return vector .set (this [0], this [1], this [2]); };
|
|
28765
28764
|
})(),
|
|
@@ -28768,7 +28767,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28768
28767
|
{
|
|
28769
28768
|
get: (() =>
|
|
28770
28769
|
{
|
|
28771
|
-
const vector = new Numbers_Vector3 (
|
|
28770
|
+
const vector = new Numbers_Vector3 ();
|
|
28772
28771
|
|
|
28773
28772
|
return function () { return vector .set (this [4], this [5], this [6]); };
|
|
28774
28773
|
})(),
|
|
@@ -28777,7 +28776,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28777
28776
|
{
|
|
28778
28777
|
get: (() =>
|
|
28779
28778
|
{
|
|
28780
|
-
const vector = new Numbers_Vector3 (
|
|
28779
|
+
const vector = new Numbers_Vector3 ();
|
|
28781
28780
|
|
|
28782
28781
|
return function () { return vector .set (this [8], this [9], this [10]); };
|
|
28783
28782
|
})(),
|
|
@@ -28786,7 +28785,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28786
28785
|
{
|
|
28787
28786
|
get: (() =>
|
|
28788
28787
|
{
|
|
28789
|
-
const vector = new Numbers_Vector3 (
|
|
28788
|
+
const vector = new Numbers_Vector3 ();
|
|
28790
28789
|
|
|
28791
28790
|
return function () { return vector .set (this [12], this [13], this [14]); };
|
|
28792
28791
|
})(),
|
|
@@ -28810,7 +28809,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28810
28809
|
|
|
28811
28810
|
Object .assign (Matrix4_Matrix4,
|
|
28812
28811
|
{
|
|
28813
|
-
Identity: new Matrix4_Matrix4 (),
|
|
28812
|
+
Identity: Object .freeze (new Matrix4_Matrix4 ()),
|
|
28814
28813
|
Rotation (rotation)
|
|
28815
28814
|
{
|
|
28816
28815
|
return Object .create (this .prototype) .setQuaternion (rotation .getQuaternion (q));
|
|
@@ -29833,7 +29832,7 @@ function SFVec3Template (TypeName, double)
|
|
|
29833
29832
|
switch (arguments .length)
|
|
29834
29833
|
{
|
|
29835
29834
|
case 0:
|
|
29836
|
-
Base_X3DField .call (this, new Numbers_Vector3 (
|
|
29835
|
+
Base_X3DField .call (this, new Numbers_Vector3 ());
|
|
29837
29836
|
break;
|
|
29838
29837
|
|
|
29839
29838
|
case 1:
|
|
@@ -30510,7 +30509,7 @@ function SFVec2Template (TypeName, double)
|
|
|
30510
30509
|
switch (arguments .length)
|
|
30511
30510
|
{
|
|
30512
30511
|
case 0:
|
|
30513
|
-
Base_X3DField .call (this, new Numbers_Vector2 (
|
|
30512
|
+
Base_X3DField .call (this, new Numbers_Vector2 ());
|
|
30514
30513
|
break;
|
|
30515
30514
|
|
|
30516
30515
|
case 1:
|
|
@@ -30635,7 +30634,7 @@ function SFVec4Template (TypeName, double)
|
|
|
30635
30634
|
switch (arguments .length)
|
|
30636
30635
|
{
|
|
30637
30636
|
case 0:
|
|
30638
|
-
Base_X3DField .call (this, new Numbers_Vector4 (
|
|
30637
|
+
Base_X3DField .call (this, new Numbers_Vector4 ());
|
|
30639
30638
|
break;
|
|
30640
30639
|
|
|
30641
30640
|
case 1:
|
|
@@ -34234,7 +34233,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34234
34233
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34235
34234
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34236
34235
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34237
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34236
|
+
/* provided dependency */ var $ = __webpack_require__(864);
|
|
34238
34237
|
/*******************************************************************************
|
|
34239
34238
|
*
|
|
34240
34239
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34371,7 +34370,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34371
34370
|
*
|
|
34372
34371
|
******************************************************************************/
|
|
34373
34372
|
|
|
34374
|
-
const BROWSER_VERSION_default_ = "9.4.
|
|
34373
|
+
const BROWSER_VERSION_default_ = "9.4.2";
|
|
34375
34374
|
;
|
|
34376
34375
|
|
|
34377
34376
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38952,7 +38951,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38952
38951
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38953
38952
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38954
38953
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38955
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38954
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(864);
|
|
38956
38955
|
/*******************************************************************************
|
|
38957
38956
|
*
|
|
38958
38957
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39214,7 +39213,7 @@ const Expressions_default_ = Expressions;
|
|
|
39214
39213
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
39215
39214
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
39216
39215
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39217
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39216
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(864);
|
|
39218
39217
|
/*******************************************************************************
|
|
39219
39218
|
*
|
|
39220
39219
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39369,14 +39368,14 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39369
39368
|
SFImage: new x_ite_Fields .SFImage (),
|
|
39370
39369
|
SFNode: new x_ite_Fields .SFNode (),
|
|
39371
39370
|
MFString: new x_ite_Fields .MFString (),
|
|
39372
|
-
Color3: new Numbers_Color3 (
|
|
39373
|
-
Color4: new Numbers_Color4 (
|
|
39371
|
+
Color3: new Numbers_Color3 (),
|
|
39372
|
+
Color4: new Numbers_Color4 (),
|
|
39374
39373
|
Matrix3: new Numbers_Matrix3 (),
|
|
39375
39374
|
Matrix4: new Numbers_Matrix4 (),
|
|
39376
39375
|
Rotation4: new Numbers_Rotation4 (),
|
|
39377
|
-
Vector2: new Numbers_Vector2 (
|
|
39378
|
-
Vector3: new Numbers_Vector3 (
|
|
39379
|
-
Vector4: new Numbers_Vector4 (
|
|
39376
|
+
Vector2: new Numbers_Vector2 (),
|
|
39377
|
+
Vector3: new Numbers_Vector3 (),
|
|
39378
|
+
Vector4: new Numbers_Vector4 (),
|
|
39380
39379
|
CONSTANTS: {
|
|
39381
39380
|
NAN: Number .NaN,
|
|
39382
39381
|
INFINITY: Number .POSITIVE_INFINITY,
|
|
@@ -41900,7 +41899,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41900
41899
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41901
41900
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41902
41901
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41903
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41902
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(864);
|
|
41904
41903
|
/*******************************************************************************
|
|
41905
41904
|
*
|
|
41906
41905
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42205,7 +42204,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42205
42204
|
{
|
|
42206
42205
|
const
|
|
42207
42206
|
componentNameIdCharacters = xmlElement .getAttribute ("name"),
|
|
42208
|
-
componentSupportLevel
|
|
42207
|
+
componentSupportLevel = xmlElement .getAttribute ("level");
|
|
42209
42208
|
|
|
42210
42209
|
if (componentNameIdCharacters === null)
|
|
42211
42210
|
return console .warn ("XML Parser: Bad component statement. Expected name attribute.");
|
|
@@ -42213,7 +42212,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42213
42212
|
if (componentSupportLevel === null)
|
|
42214
42213
|
return console .warn ("XML Parser: Bad component statement. Expected level attribute.");
|
|
42215
42214
|
|
|
42216
|
-
const component = this .getBrowser () .getComponent (componentNameIdCharacters, componentSupportLevel);
|
|
42215
|
+
const component = this .getBrowser () .getComponent (componentNameIdCharacters, parseInt (componentSupportLevel));
|
|
42217
42216
|
|
|
42218
42217
|
this .getScene () .updateComponent (component);
|
|
42219
42218
|
}
|
|
@@ -43753,7 +43752,7 @@ Object .assign (X3DOptimizer .prototype,
|
|
|
43753
43752
|
// Combine single Transform nodes.
|
|
43754
43753
|
|
|
43755
43754
|
const
|
|
43756
|
-
translation = new Numbers_Vector3 (
|
|
43755
|
+
translation = new Numbers_Vector3 (),
|
|
43757
43756
|
rotation = new Numbers_Rotation4 (),
|
|
43758
43757
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
43759
43758
|
scaleOrientation = new Numbers_Rotation4 (),
|
|
@@ -44009,7 +44008,7 @@ const URLs_default_ = URLs;
|
|
|
44009
44008
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
44010
44009
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
44011
44010
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
44012
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
44011
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(864);
|
|
44013
44012
|
/*******************************************************************************
|
|
44014
44013
|
*
|
|
44015
44014
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44452,7 +44451,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44452
44451
|
scene = this .getExecutionContext (),
|
|
44453
44452
|
lightNode = scene .createNode ("EnvironmentLight", false),
|
|
44454
44453
|
name = `EnvironmentLight${id}`,
|
|
44455
|
-
quaternion = new Numbers_Quaternion (
|
|
44454
|
+
quaternion = new Numbers_Quaternion ();
|
|
44456
44455
|
|
|
44457
44456
|
scene .addNamedNode (scene .getUniqueName (name), lightNode);
|
|
44458
44457
|
scene .addExportedNode (scene .getUniqueExportName (name), lightNode);
|
|
@@ -44921,7 +44920,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44921
44920
|
materialNode = this .refineMaterial (mode, this .createMaterial (material, mode)),
|
|
44922
44921
|
name = this .sanitizeName (material .name);
|
|
44923
44922
|
|
|
44924
|
-
const emissiveFactor = new Numbers_Color3 (
|
|
44923
|
+
const emissiveFactor = new Numbers_Color3 ();
|
|
44925
44924
|
|
|
44926
44925
|
if (this .vectorValue (material .emissiveFactor, emissiveFactor))
|
|
44927
44926
|
materialNode ._emissiveColor = emissiveFactor;
|
|
@@ -45052,8 +45051,8 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45052
45051
|
materialNode = scene .createNode ("PhysicalMaterial", false);
|
|
45053
45052
|
|
|
45054
45053
|
const
|
|
45055
|
-
baseColorFactor = new Numbers_Color4 (
|
|
45056
|
-
baseColor = new Numbers_Color3 (
|
|
45054
|
+
baseColorFactor = new Numbers_Color4 (),
|
|
45055
|
+
baseColor = new Numbers_Color3 ();
|
|
45057
45056
|
|
|
45058
45057
|
if (this .vectorValue (pbrMetallicRoughness .baseColorFactor, baseColorFactor))
|
|
45059
45058
|
{
|
|
@@ -45081,9 +45080,9 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45081
45080
|
materialNode = scene .createNode ("Material", false);
|
|
45082
45081
|
|
|
45083
45082
|
const
|
|
45084
|
-
diffuseFactor = new Numbers_Color4 (
|
|
45085
|
-
diffuseColor = new Numbers_Color3 (
|
|
45086
|
-
specularFactor = new Numbers_Color3 (
|
|
45083
|
+
diffuseFactor = new Numbers_Color4 (),
|
|
45084
|
+
diffuseColor = new Numbers_Color3 (),
|
|
45085
|
+
specularFactor = new Numbers_Color3 ();
|
|
45087
45086
|
|
|
45088
45087
|
if (this .vectorValue (pbrSpecularGlossiness .diffuseFactor, diffuseFactor))
|
|
45089
45088
|
{
|
|
@@ -45217,7 +45216,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45217
45216
|
mapping = `TEXCOORD_${this .texCoordIndex + this .textureTransformNodes .length + 1}`;
|
|
45218
45217
|
|
|
45219
45218
|
const
|
|
45220
|
-
translation = new Numbers_Vector2 (
|
|
45219
|
+
translation = new Numbers_Vector2 (),
|
|
45221
45220
|
scale = new Numbers_Vector2 (1, 1),
|
|
45222
45221
|
matrix = new Numbers_Matrix4 ();
|
|
45223
45222
|
|
|
@@ -45667,11 +45666,11 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45667
45666
|
// Set transformation matrix.
|
|
45668
45667
|
|
|
45669
45668
|
const
|
|
45670
|
-
translation = new Numbers_Vector3 (
|
|
45669
|
+
translation = new Numbers_Vector3 (),
|
|
45671
45670
|
rotation = new Numbers_Rotation4 (),
|
|
45672
45671
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
45673
45672
|
scaleOrientation = new Numbers_Rotation4 (),
|
|
45674
|
-
quaternion = new Numbers_Quaternion (
|
|
45673
|
+
quaternion = new Numbers_Quaternion (),
|
|
45675
45674
|
matrix = new Numbers_Matrix4 ();
|
|
45676
45675
|
|
|
45677
45676
|
if (this .vectorValue (node .matrix, matrix))
|
|
@@ -47201,7 +47200,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
47201
47200
|
},
|
|
47202
47201
|
applyMorphTargets: (function ()
|
|
47203
47202
|
{
|
|
47204
|
-
const value = new Numbers_Vector3 (
|
|
47203
|
+
const value = new Numbers_Vector3 ();
|
|
47205
47204
|
|
|
47206
47205
|
return function (array, targets, key, weights, normalized)
|
|
47207
47206
|
{
|
|
@@ -47259,11 +47258,13 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
47259
47258
|
td = times [index1] - times [index0],
|
|
47260
47259
|
t1 = (time - times [index0]) / td,
|
|
47261
47260
|
t2 = t1 * t1,
|
|
47262
|
-
t3 = t2 * t1
|
|
47263
|
-
|
|
47264
|
-
|
|
47265
|
-
|
|
47266
|
-
|
|
47261
|
+
t3 = t2 * t1;
|
|
47262
|
+
|
|
47263
|
+
let
|
|
47264
|
+
v0 = values [(index0 + 1) * length + i],
|
|
47265
|
+
b0 = values [(index0 + 2) * length + i],
|
|
47266
|
+
v1 = values [(index1 + 1) * length + i],
|
|
47267
|
+
a1 = values [(index1 + 0) * length + i];
|
|
47267
47268
|
|
|
47268
47269
|
v0 *= 2 * t3 - 3 * t2 + 1;
|
|
47269
47270
|
b0 *= td * (t3 - 2 * t2 + t1);
|
|
@@ -47310,7 +47311,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
47310
47311
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47311
47312
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47312
47313
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47313
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47314
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(864);
|
|
47314
47315
|
/*******************************************************************************
|
|
47315
47316
|
*
|
|
47316
47317
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47462,7 +47463,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47462
47463
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47463
47464
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47464
47465
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47465
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47466
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(864);
|
|
47466
47467
|
/*******************************************************************************
|
|
47467
47468
|
*
|
|
47468
47469
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48200,7 +48201,7 @@ function MaterialParser (scene, input)
|
|
|
48200
48201
|
this .material = scene .createNode ("Material");
|
|
48201
48202
|
this .materials = new Map ();
|
|
48202
48203
|
this .textures = new Map ();
|
|
48203
|
-
this .color3 = new Numbers_Color3 (
|
|
48204
|
+
this .color3 = new Numbers_Color3 ();
|
|
48204
48205
|
this .id = "";
|
|
48205
48206
|
}
|
|
48206
48207
|
|
|
@@ -49995,7 +49996,7 @@ x_ite_Namespace .add ("PLYBParser", "x_ite/Parser/PLYBParser", PLYBParser_defaul
|
|
|
49995
49996
|
*
|
|
49996
49997
|
******************************************************************************/
|
|
49997
49998
|
|
|
49998
|
-
function Complex (real, imag)
|
|
49999
|
+
function Complex (real = 0, imag = 0)
|
|
49999
50000
|
{
|
|
50000
50001
|
this .real = real;
|
|
50001
50002
|
this .imag = imag;
|
|
@@ -50321,10 +50322,10 @@ Object .assign (Box2 .prototype,
|
|
|
50321
50322
|
add: (() =>
|
|
50322
50323
|
{
|
|
50323
50324
|
const
|
|
50324
|
-
lhs_min = new Numbers_Vector2 (
|
|
50325
|
-
lhs_max = new Numbers_Vector2 (
|
|
50326
|
-
rhs_min = new Numbers_Vector2 (
|
|
50327
|
-
rhs_max = new Numbers_Vector2 (
|
|
50325
|
+
lhs_min = new Numbers_Vector2 (),
|
|
50326
|
+
lhs_max = new Numbers_Vector2 (),
|
|
50327
|
+
rhs_min = new Numbers_Vector2 (),
|
|
50328
|
+
rhs_max = new Numbers_Vector2 ();
|
|
50328
50329
|
|
|
50329
50330
|
return function (box)
|
|
50330
50331
|
{
|
|
@@ -50359,7 +50360,7 @@ Object .assign (Box2 .prototype,
|
|
|
50359
50360
|
},
|
|
50360
50361
|
getAbsoluteExtents: (() =>
|
|
50361
50362
|
{
|
|
50362
|
-
const p1 = new Numbers_Vector2 (
|
|
50363
|
+
const p1 = new Numbers_Vector2 ();
|
|
50363
50364
|
|
|
50364
50365
|
return function (min, max)
|
|
50365
50366
|
{
|
|
@@ -50385,8 +50386,8 @@ Object .assign (Box2 .prototype,
|
|
|
50385
50386
|
containsPoint: (() =>
|
|
50386
50387
|
{
|
|
50387
50388
|
const
|
|
50388
|
-
min = new Numbers_Vector2 (
|
|
50389
|
-
max = new Numbers_Vector2 (
|
|
50389
|
+
min = new Numbers_Vector2 (),
|
|
50390
|
+
max = new Numbers_Vector2 ();
|
|
50390
50391
|
|
|
50391
50392
|
return function (point)
|
|
50392
50393
|
{
|
|
@@ -50433,8 +50434,8 @@ Object .defineProperties (Box2 .prototype,
|
|
|
50433
50434
|
get: (() =>
|
|
50434
50435
|
{
|
|
50435
50436
|
const
|
|
50436
|
-
min = new Numbers_Vector2 (
|
|
50437
|
-
max = new Numbers_Vector2 (
|
|
50437
|
+
min = new Numbers_Vector2 (),
|
|
50438
|
+
max = new Numbers_Vector2 ();
|
|
50438
50439
|
|
|
50439
50440
|
return function ()
|
|
50440
50441
|
{
|
|
@@ -50543,7 +50544,7 @@ const Bezier =
|
|
|
50543
50544
|
cubic: (() =>
|
|
50544
50545
|
{
|
|
50545
50546
|
const
|
|
50546
|
-
v = new Numbers_Vector4 (
|
|
50547
|
+
v = new Numbers_Vector4 (),
|
|
50547
50548
|
c = new Numbers_Matrix4 (1, 0, 0, 0, -3, 3, 0, 0, 3, -6, 3, 0, -1, 3, -3, 1),
|
|
50548
50549
|
p = new Numbers_Matrix4 ();
|
|
50549
50550
|
|
|
@@ -50817,8 +50818,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50817
50818
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50818
50819
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50819
50820
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50820
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50821
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50821
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(864);
|
|
50822
|
+
/* provided dependency */ var libtess = __webpack_require__(405);
|
|
50822
50823
|
/*******************************************************************************
|
|
50823
50824
|
*
|
|
50824
50825
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -51869,7 +51870,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
51869
51870
|
{
|
|
51870
51871
|
const
|
|
51871
51872
|
g = this .radialGradientElement (xmlElement, bbox, { stops: [ ] }),
|
|
51872
|
-
gradient = this .context .createRadialGradient (g .fx, g .fy, g.
|
|
51873
|
+
gradient = this .context .createRadialGradient (g .fx, g .fy, g .fr, g .cx, g .cy, g .r);
|
|
51873
51874
|
|
|
51874
51875
|
return this .drawGradient (gradient, g, bbox);
|
|
51875
51876
|
},
|
|
@@ -53303,7 +53304,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
53303
53304
|
},
|
|
53304
53305
|
colorValue: (() =>
|
|
53305
53306
|
{
|
|
53306
|
-
const color = new Numbers_Color4 (
|
|
53307
|
+
const color = new Numbers_Color4 ();
|
|
53307
53308
|
|
|
53308
53309
|
return function (c)
|
|
53309
53310
|
{
|
|
@@ -53344,7 +53345,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
53344
53345
|
const
|
|
53345
53346
|
transformNode = scene .createNode ("Transform"),
|
|
53346
53347
|
matrix = Numbers_Matrix4 .Matrix3 (m),
|
|
53347
|
-
translation = new Numbers_Vector3 (
|
|
53348
|
+
translation = new Numbers_Vector3 (),
|
|
53348
53349
|
rotation = new Numbers_Rotation4 (),
|
|
53349
53350
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
53350
53351
|
scaleOrientation = new Numbers_Rotation4 ();
|
|
@@ -53586,7 +53587,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53586
53587
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53587
53588
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53588
53589
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53589
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53590
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(864);
|
|
53590
53591
|
/*******************************************************************************
|
|
53591
53592
|
*
|
|
53592
53593
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53806,8 +53807,8 @@ x_ite_Namespace .add ("GoldenGate", "x_ite/Parser/GoldenGate", GoldenGate_defaul
|
|
|
53806
53807
|
|
|
53807
53808
|
|
|
53808
53809
|
const
|
|
53809
|
-
normal = new Numbers_Vector3 (
|
|
53810
|
-
point = new Numbers_Vector3 (
|
|
53810
|
+
normal = new Numbers_Vector3 (),
|
|
53811
|
+
point = new Numbers_Vector3 (),
|
|
53811
53812
|
invMatrix = new Numbers_Matrix4 ();
|
|
53812
53813
|
|
|
53813
53814
|
function Plane3 (point, normal)
|
|
@@ -53891,15 +53892,15 @@ Object .assign (Plane3 .prototype,
|
|
|
53891
53892
|
{
|
|
53892
53893
|
return point .dot (this .normal) - this .distanceFromOrigin;
|
|
53893
53894
|
},
|
|
53894
|
-
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 (
|
|
53895
|
+
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 ())
|
|
53895
53896
|
{
|
|
53896
53897
|
return result .assign (this .normal) .multiply (this .getDistanceToPoint (point));
|
|
53897
53898
|
},
|
|
53898
53899
|
getClosestPointToPoint: (function ()
|
|
53899
53900
|
{
|
|
53900
|
-
const p = new Numbers_Vector3 (
|
|
53901
|
+
const p = new Numbers_Vector3 ();
|
|
53901
53902
|
|
|
53902
|
-
return function (point, result = new Numbers_Vector3 (
|
|
53903
|
+
return function (point, result = new Numbers_Vector3 ())
|
|
53903
53904
|
{
|
|
53904
53905
|
return result .assign (point) .add (this .getPerpendicularVectorToPoint (point, p));
|
|
53905
53906
|
};
|
|
@@ -53936,7 +53937,7 @@ const Plane3_default_ = Plane3;
|
|
|
53936
53937
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53937
53938
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53938
53939
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53939
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53940
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(405);
|
|
53940
53941
|
/*******************************************************************************
|
|
53941
53942
|
*
|
|
53942
53943
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53991,8 +53992,8 @@ const Triangle3 =
|
|
|
53991
53992
|
area: (() =>
|
|
53992
53993
|
{
|
|
53993
53994
|
const
|
|
53994
|
-
B = new Numbers_Vector3 (
|
|
53995
|
-
C = new Numbers_Vector3 (
|
|
53995
|
+
B = new Numbers_Vector3 (),
|
|
53996
|
+
C = new Numbers_Vector3 ();
|
|
53996
53997
|
|
|
53997
53998
|
return function (a, b, c)
|
|
53998
53999
|
{
|
|
@@ -54265,40 +54266,40 @@ x_ite_Namespace .add ("SAT", "standard/Math/Algorithms/SAT", SAT_default_);
|
|
|
54265
54266
|
|
|
54266
54267
|
function ViewVolume (projectionMatrix, viewport, scissor)
|
|
54267
54268
|
{
|
|
54268
|
-
this .viewport = new Numbers_Vector4 (
|
|
54269
|
-
this .scissor = new Numbers_Vector4 (
|
|
54269
|
+
this .viewport = new Numbers_Vector4 ();
|
|
54270
|
+
this .scissor = new Numbers_Vector4 ();
|
|
54270
54271
|
|
|
54271
54272
|
this .points = [
|
|
54272
|
-
new Numbers_Vector3 (
|
|
54273
|
-
new Numbers_Vector3 (
|
|
54274
|
-
new Numbers_Vector3 (
|
|
54275
|
-
new Numbers_Vector3 (
|
|
54276
|
-
|
|
54277
|
-
new Numbers_Vector3 (
|
|
54278
|
-
new Numbers_Vector3 (
|
|
54279
|
-
new Numbers_Vector3 (
|
|
54280
|
-
new Numbers_Vector3 (
|
|
54273
|
+
new Numbers_Vector3 (),
|
|
54274
|
+
new Numbers_Vector3 (),
|
|
54275
|
+
new Numbers_Vector3 (),
|
|
54276
|
+
new Numbers_Vector3 (),
|
|
54277
|
+
|
|
54278
|
+
new Numbers_Vector3 (),
|
|
54279
|
+
new Numbers_Vector3 (),
|
|
54280
|
+
new Numbers_Vector3 (),
|
|
54281
|
+
new Numbers_Vector3 (),
|
|
54281
54282
|
];
|
|
54282
54283
|
|
|
54283
54284
|
this .normals = [
|
|
54284
|
-
new Numbers_Vector3 (
|
|
54285
|
-
new Numbers_Vector3 (
|
|
54286
|
-
new Numbers_Vector3 (
|
|
54287
|
-
new Numbers_Vector3 (
|
|
54288
|
-
new Numbers_Vector3 (
|
|
54289
|
-
new Numbers_Vector3 (
|
|
54285
|
+
new Numbers_Vector3 (), // front
|
|
54286
|
+
new Numbers_Vector3 (), // left
|
|
54287
|
+
new Numbers_Vector3 (), // right
|
|
54288
|
+
new Numbers_Vector3 (), // top
|
|
54289
|
+
new Numbers_Vector3 (), // bottom
|
|
54290
|
+
new Numbers_Vector3 (), // back
|
|
54290
54291
|
];
|
|
54291
54292
|
|
|
54292
54293
|
this .edges = [
|
|
54293
|
-
new Numbers_Vector3 (
|
|
54294
|
-
new Numbers_Vector3 (
|
|
54295
|
-
new Numbers_Vector3 (
|
|
54296
|
-
new Numbers_Vector3 (
|
|
54297
|
-
|
|
54298
|
-
new Numbers_Vector3 (
|
|
54299
|
-
new Numbers_Vector3 (
|
|
54300
|
-
new Numbers_Vector3 (
|
|
54301
|
-
new Numbers_Vector3 (
|
|
54294
|
+
new Numbers_Vector3 (),
|
|
54295
|
+
new Numbers_Vector3 (),
|
|
54296
|
+
new Numbers_Vector3 (),
|
|
54297
|
+
new Numbers_Vector3 (),
|
|
54298
|
+
|
|
54299
|
+
new Numbers_Vector3 (),
|
|
54300
|
+
new Numbers_Vector3 (),
|
|
54301
|
+
new Numbers_Vector3 (),
|
|
54302
|
+
new Numbers_Vector3 (),
|
|
54302
54303
|
];
|
|
54303
54304
|
|
|
54304
54305
|
this .planes = [
|
|
@@ -54429,33 +54430,33 @@ Object .assign (ViewVolume .prototype,
|
|
|
54429
54430
|
intersectsBox: (() =>
|
|
54430
54431
|
{
|
|
54431
54432
|
const points1 = [
|
|
54432
|
-
new Numbers_Vector3 (
|
|
54433
|
-
new Numbers_Vector3 (
|
|
54434
|
-
new Numbers_Vector3 (
|
|
54435
|
-
new Numbers_Vector3 (
|
|
54436
|
-
|
|
54437
|
-
new Numbers_Vector3 (
|
|
54438
|
-
new Numbers_Vector3 (
|
|
54439
|
-
new Numbers_Vector3 (
|
|
54440
|
-
new Numbers_Vector3 (
|
|
54433
|
+
new Numbers_Vector3 (),
|
|
54434
|
+
new Numbers_Vector3 (),
|
|
54435
|
+
new Numbers_Vector3 (),
|
|
54436
|
+
new Numbers_Vector3 (),
|
|
54437
|
+
|
|
54438
|
+
new Numbers_Vector3 (),
|
|
54439
|
+
new Numbers_Vector3 (),
|
|
54440
|
+
new Numbers_Vector3 (),
|
|
54441
|
+
new Numbers_Vector3 (),
|
|
54441
54442
|
];
|
|
54442
54443
|
|
|
54443
54444
|
const normals1 = [
|
|
54444
|
-
new Numbers_Vector3 (
|
|
54445
|
-
new Numbers_Vector3 (
|
|
54446
|
-
new Numbers_Vector3 (
|
|
54445
|
+
new Numbers_Vector3 (),
|
|
54446
|
+
new Numbers_Vector3 (),
|
|
54447
|
+
new Numbers_Vector3 (),
|
|
54447
54448
|
];
|
|
54448
54449
|
|
|
54449
54450
|
const axes1 = [
|
|
54450
|
-
new Numbers_Vector3 (
|
|
54451
|
-
new Numbers_Vector3 (
|
|
54452
|
-
new Numbers_Vector3 (
|
|
54451
|
+
new Numbers_Vector3 (),
|
|
54452
|
+
new Numbers_Vector3 (),
|
|
54453
|
+
new Numbers_Vector3 (),
|
|
54453
54454
|
];
|
|
54454
54455
|
|
|
54455
54456
|
const axes = [ ];
|
|
54456
54457
|
|
|
54457
54458
|
for (let i = 0; i < 3 * 8; ++ i)
|
|
54458
|
-
axes .push (new Numbers_Vector3 (
|
|
54459
|
+
axes .push (new Numbers_Vector3 ());
|
|
54459
54460
|
|
|
54460
54461
|
return function (box)
|
|
54461
54462
|
{
|
|
@@ -54510,7 +54511,7 @@ Object .assign (ViewVolume,
|
|
|
54510
54511
|
})(),
|
|
54511
54512
|
unProjectPointMatrix: (() =>
|
|
54512
54513
|
{
|
|
54513
|
-
const vin = new Numbers_Vector4 (
|
|
54514
|
+
const vin = new Numbers_Vector4 ();
|
|
54514
54515
|
|
|
54515
54516
|
return function (winx, winy, winz, invModelViewProjectionMatrix, viewport, point)
|
|
54516
54517
|
{
|
|
@@ -54540,8 +54541,8 @@ Object .assign (ViewVolume,
|
|
|
54540
54541
|
unProjectRayMatrix: (() =>
|
|
54541
54542
|
{
|
|
54542
54543
|
const
|
|
54543
|
-
near = new Numbers_Vector3 (
|
|
54544
|
-
far = new Numbers_Vector3 (
|
|
54544
|
+
near = new Numbers_Vector3 (),
|
|
54545
|
+
far = new Numbers_Vector3 ();
|
|
54545
54546
|
|
|
54546
54547
|
return function (winx, winy, invModelViewProjectionMatrix, viewport, result)
|
|
54547
54548
|
{
|
|
@@ -54553,7 +54554,7 @@ Object .assign (ViewVolume,
|
|
|
54553
54554
|
})(),
|
|
54554
54555
|
projectPoint: (() =>
|
|
54555
54556
|
{
|
|
54556
|
-
const vin = new Numbers_Vector4 (
|
|
54557
|
+
const vin = new Numbers_Vector4 ();
|
|
54557
54558
|
|
|
54558
54559
|
return function (point, modelViewMatrix, projectionMatrix, viewport, vout)
|
|
54559
54560
|
{
|
|
@@ -54573,7 +54574,7 @@ Object .assign (ViewVolume,
|
|
|
54573
54574
|
})(),
|
|
54574
54575
|
projectPointMatrix: (() =>
|
|
54575
54576
|
{
|
|
54576
|
-
const vin = new Numbers_Vector4 (
|
|
54577
|
+
const vin = new Numbers_Vector4 ();
|
|
54577
54578
|
|
|
54578
54579
|
return function (point, modelViewProjectionMatrix, viewport, vout)
|
|
54579
54580
|
{
|
|
@@ -54603,9 +54604,9 @@ Object .assign (ViewVolume,
|
|
|
54603
54604
|
projectLineMatrix: (() =>
|
|
54604
54605
|
{
|
|
54605
54606
|
const
|
|
54606
|
-
near = new Numbers_Vector2 (
|
|
54607
|
-
far = new Numbers_Vector2 (
|
|
54608
|
-
direction = new Numbers_Vector3 (
|
|
54607
|
+
near = new Numbers_Vector2 (),
|
|
54608
|
+
far = new Numbers_Vector2 (),
|
|
54609
|
+
direction = new Numbers_Vector3 ();
|
|
54609
54610
|
|
|
54610
54611
|
return function (line, modelViewProjectionMatrix, viewport, result)
|
|
54611
54612
|
{
|
|
@@ -54783,7 +54784,7 @@ Object .assign (TextureBuffer .prototype,
|
|
|
54783
54784
|
{
|
|
54784
54785
|
const
|
|
54785
54786
|
invProjectionMatrix = new Numbers_Matrix4 (),
|
|
54786
|
-
point = new Numbers_Vector3 (
|
|
54787
|
+
point = new Numbers_Vector3 ();
|
|
54787
54788
|
|
|
54788
54789
|
return function (projectionMatrix, viewport)
|
|
54789
54790
|
{
|
|
@@ -55134,8 +55135,8 @@ const Camera =
|
|
|
55134
55135
|
orthoBox: (() =>
|
|
55135
55136
|
{
|
|
55136
55137
|
const
|
|
55137
|
-
min = new Numbers_Vector3 (
|
|
55138
|
-
max = new Numbers_Vector3 (
|
|
55138
|
+
min = new Numbers_Vector3 (),
|
|
55139
|
+
max = new Numbers_Vector3 ();
|
|
55139
55140
|
|
|
55140
55141
|
return function (box, matrix)
|
|
55141
55142
|
{
|
|
@@ -55288,9 +55289,9 @@ Object .assign (Box3 .prototype,
|
|
|
55288
55289
|
getAbsoluteExtents: (() =>
|
|
55289
55290
|
{
|
|
55290
55291
|
const
|
|
55291
|
-
r1 = new Numbers_Vector3 (
|
|
55292
|
-
p1 = new Numbers_Vector3 (
|
|
55293
|
-
p4 = new Numbers_Vector3 (
|
|
55292
|
+
r1 = new Numbers_Vector3 (),
|
|
55293
|
+
p1 = new Numbers_Vector3 (),
|
|
55294
|
+
p4 = new Numbers_Vector3 ();
|
|
55294
55295
|
|
|
55295
55296
|
return function (min, max)
|
|
55296
55297
|
{
|
|
@@ -55326,10 +55327,10 @@ Object .assign (Box3 .prototype,
|
|
|
55326
55327
|
getPoints: (() =>
|
|
55327
55328
|
{
|
|
55328
55329
|
const
|
|
55329
|
-
x = new Numbers_Vector3 (
|
|
55330
|
-
y = new Numbers_Vector3 (
|
|
55331
|
-
z = new Numbers_Vector3 (
|
|
55332
|
-
r1 = new Numbers_Vector3 (
|
|
55330
|
+
x = new Numbers_Vector3 (),
|
|
55331
|
+
y = new Numbers_Vector3 (),
|
|
55332
|
+
z = new Numbers_Vector3 (),
|
|
55333
|
+
r1 = new Numbers_Vector3 ();
|
|
55333
55334
|
|
|
55334
55335
|
return function (points)
|
|
55335
55336
|
{
|
|
@@ -55393,9 +55394,9 @@ Object .assign (Box3 .prototype,
|
|
|
55393
55394
|
getNormals: (() =>
|
|
55394
55395
|
{
|
|
55395
55396
|
const
|
|
55396
|
-
x = new Numbers_Vector3 (
|
|
55397
|
-
y = new Numbers_Vector3 (
|
|
55398
|
-
z = new Numbers_Vector3 (
|
|
55397
|
+
x = new Numbers_Vector3 (),
|
|
55398
|
+
y = new Numbers_Vector3 (),
|
|
55399
|
+
z = new Numbers_Vector3 ();
|
|
55399
55400
|
|
|
55400
55401
|
const axes = [ Numbers_Vector3 .xAxis, Numbers_Vector3 .yAxis, Numbers_Vector3 .zAxis ];
|
|
55401
55402
|
|
|
@@ -55511,10 +55512,10 @@ Object .assign (Box3 .prototype,
|
|
|
55511
55512
|
add: (() =>
|
|
55512
55513
|
{
|
|
55513
55514
|
const
|
|
55514
|
-
lhs_min = new Numbers_Vector3 (
|
|
55515
|
-
lhs_max = new Numbers_Vector3 (
|
|
55516
|
-
rhs_min = new Numbers_Vector3 (
|
|
55517
|
-
rhs_max = new Numbers_Vector3 (
|
|
55515
|
+
lhs_min = new Numbers_Vector3 (),
|
|
55516
|
+
lhs_max = new Numbers_Vector3 (),
|
|
55517
|
+
rhs_min = new Numbers_Vector3 (),
|
|
55518
|
+
rhs_max = new Numbers_Vector3 ();
|
|
55518
55519
|
|
|
55519
55520
|
return function (box)
|
|
55520
55521
|
{
|
|
@@ -55543,8 +55544,8 @@ Object .assign (Box3 .prototype,
|
|
|
55543
55544
|
containsPoint: (() =>
|
|
55544
55545
|
{
|
|
55545
55546
|
const
|
|
55546
|
-
min = new Numbers_Vector3 (
|
|
55547
|
-
max = new Numbers_Vector3 (
|
|
55547
|
+
min = new Numbers_Vector3 (),
|
|
55548
|
+
max = new Numbers_Vector3 ();
|
|
55548
55549
|
|
|
55549
55550
|
return function (point)
|
|
55550
55551
|
{
|
|
@@ -55561,59 +55562,59 @@ Object .assign (Box3 .prototype,
|
|
|
55561
55562
|
intersectsBox: (() =>
|
|
55562
55563
|
{
|
|
55563
55564
|
const points1 = [
|
|
55564
|
-
new Numbers_Vector3 (
|
|
55565
|
-
new Numbers_Vector3 (
|
|
55566
|
-
new Numbers_Vector3 (
|
|
55567
|
-
new Numbers_Vector3 (
|
|
55568
|
-
|
|
55569
|
-
new Numbers_Vector3 (
|
|
55570
|
-
new Numbers_Vector3 (
|
|
55571
|
-
new Numbers_Vector3 (
|
|
55572
|
-
new Numbers_Vector3 (
|
|
55565
|
+
new Numbers_Vector3 (),
|
|
55566
|
+
new Numbers_Vector3 (),
|
|
55567
|
+
new Numbers_Vector3 (),
|
|
55568
|
+
new Numbers_Vector3 (),
|
|
55569
|
+
|
|
55570
|
+
new Numbers_Vector3 (),
|
|
55571
|
+
new Numbers_Vector3 (),
|
|
55572
|
+
new Numbers_Vector3 (),
|
|
55573
|
+
new Numbers_Vector3 (),
|
|
55573
55574
|
];
|
|
55574
55575
|
|
|
55575
55576
|
const points2 = [
|
|
55576
|
-
new Numbers_Vector3 (
|
|
55577
|
-
new Numbers_Vector3 (
|
|
55578
|
-
new Numbers_Vector3 (
|
|
55579
|
-
new Numbers_Vector3 (
|
|
55580
|
-
|
|
55581
|
-
new Numbers_Vector3 (
|
|
55582
|
-
new Numbers_Vector3 (
|
|
55583
|
-
new Numbers_Vector3 (
|
|
55584
|
-
new Numbers_Vector3 (
|
|
55577
|
+
new Numbers_Vector3 (),
|
|
55578
|
+
new Numbers_Vector3 (),
|
|
55579
|
+
new Numbers_Vector3 (),
|
|
55580
|
+
new Numbers_Vector3 (),
|
|
55581
|
+
|
|
55582
|
+
new Numbers_Vector3 (),
|
|
55583
|
+
new Numbers_Vector3 (),
|
|
55584
|
+
new Numbers_Vector3 (),
|
|
55585
|
+
new Numbers_Vector3 (),
|
|
55585
55586
|
];
|
|
55586
55587
|
|
|
55587
55588
|
const axes1 = [
|
|
55588
|
-
new Numbers_Vector3 (
|
|
55589
|
-
new Numbers_Vector3 (
|
|
55590
|
-
new Numbers_Vector3 (
|
|
55589
|
+
new Numbers_Vector3 (),
|
|
55590
|
+
new Numbers_Vector3 (),
|
|
55591
|
+
new Numbers_Vector3 (),
|
|
55591
55592
|
];
|
|
55592
55593
|
|
|
55593
55594
|
const axes2 = [
|
|
55594
|
-
new Numbers_Vector3 (
|
|
55595
|
-
new Numbers_Vector3 (
|
|
55596
|
-
new Numbers_Vector3 (
|
|
55595
|
+
new Numbers_Vector3 (),
|
|
55596
|
+
new Numbers_Vector3 (),
|
|
55597
|
+
new Numbers_Vector3 (),
|
|
55597
55598
|
];
|
|
55598
55599
|
|
|
55599
55600
|
const axes9 = [
|
|
55600
|
-
new Numbers_Vector3 (
|
|
55601
|
-
new Numbers_Vector3 (
|
|
55602
|
-
new Numbers_Vector3 (
|
|
55601
|
+
new Numbers_Vector3 (),
|
|
55602
|
+
new Numbers_Vector3 (),
|
|
55603
|
+
new Numbers_Vector3 (),
|
|
55603
55604
|
|
|
55604
|
-
new Numbers_Vector3 (
|
|
55605
|
-
new Numbers_Vector3 (
|
|
55606
|
-
new Numbers_Vector3 (
|
|
55605
|
+
new Numbers_Vector3 (),
|
|
55606
|
+
new Numbers_Vector3 (),
|
|
55607
|
+
new Numbers_Vector3 (),
|
|
55607
55608
|
|
|
55608
|
-
new Numbers_Vector3 (
|
|
55609
|
-
new Numbers_Vector3 (
|
|
55610
|
-
new Numbers_Vector3 (
|
|
55609
|
+
new Numbers_Vector3 (),
|
|
55610
|
+
new Numbers_Vector3 (),
|
|
55611
|
+
new Numbers_Vector3 (),
|
|
55611
55612
|
];
|
|
55612
55613
|
|
|
55613
55614
|
const normals = [
|
|
55614
|
-
new Numbers_Vector3 (
|
|
55615
|
-
new Numbers_Vector3 (
|
|
55616
|
-
new Numbers_Vector3 (
|
|
55615
|
+
new Numbers_Vector3 (),
|
|
55616
|
+
new Numbers_Vector3 (),
|
|
55617
|
+
new Numbers_Vector3 (),
|
|
55617
55618
|
];
|
|
55618
55619
|
|
|
55619
55620
|
return function (other)
|
|
@@ -55663,51 +55664,51 @@ Object .assign (Box3 .prototype,
|
|
|
55663
55664
|
intersectsTriangle: (() =>
|
|
55664
55665
|
{
|
|
55665
55666
|
const points1 = [
|
|
55666
|
-
new Numbers_Vector3 (
|
|
55667
|
-
new Numbers_Vector3 (
|
|
55668
|
-
new Numbers_Vector3 (
|
|
55669
|
-
new Numbers_Vector3 (
|
|
55670
|
-
|
|
55671
|
-
new Numbers_Vector3 (
|
|
55672
|
-
new Numbers_Vector3 (
|
|
55673
|
-
new Numbers_Vector3 (
|
|
55674
|
-
new Numbers_Vector3 (
|
|
55667
|
+
new Numbers_Vector3 (),
|
|
55668
|
+
new Numbers_Vector3 (),
|
|
55669
|
+
new Numbers_Vector3 (),
|
|
55670
|
+
new Numbers_Vector3 (),
|
|
55671
|
+
|
|
55672
|
+
new Numbers_Vector3 (),
|
|
55673
|
+
new Numbers_Vector3 (),
|
|
55674
|
+
new Numbers_Vector3 (),
|
|
55675
|
+
new Numbers_Vector3 (),
|
|
55675
55676
|
];
|
|
55676
55677
|
|
|
55677
55678
|
const axes1 = [
|
|
55678
|
-
new Numbers_Vector3 (
|
|
55679
|
-
new Numbers_Vector3 (
|
|
55680
|
-
new Numbers_Vector3 (
|
|
55679
|
+
new Numbers_Vector3 (),
|
|
55680
|
+
new Numbers_Vector3 (),
|
|
55681
|
+
new Numbers_Vector3 (),
|
|
55681
55682
|
];
|
|
55682
55683
|
|
|
55683
55684
|
const axes9 = [
|
|
55684
|
-
new Numbers_Vector3 (
|
|
55685
|
-
new Numbers_Vector3 (
|
|
55686
|
-
new Numbers_Vector3 (
|
|
55685
|
+
new Numbers_Vector3 (),
|
|
55686
|
+
new Numbers_Vector3 (),
|
|
55687
|
+
new Numbers_Vector3 (),
|
|
55687
55688
|
|
|
55688
|
-
new Numbers_Vector3 (
|
|
55689
|
-
new Numbers_Vector3 (
|
|
55690
|
-
new Numbers_Vector3 (
|
|
55689
|
+
new Numbers_Vector3 (),
|
|
55690
|
+
new Numbers_Vector3 (),
|
|
55691
|
+
new Numbers_Vector3 (),
|
|
55691
55692
|
|
|
55692
|
-
new Numbers_Vector3 (
|
|
55693
|
-
new Numbers_Vector3 (
|
|
55694
|
-
new Numbers_Vector3 (
|
|
55693
|
+
new Numbers_Vector3 (),
|
|
55694
|
+
new Numbers_Vector3 (),
|
|
55695
|
+
new Numbers_Vector3 (),
|
|
55695
55696
|
];
|
|
55696
55697
|
|
|
55697
55698
|
const normals = [
|
|
55698
|
-
new Numbers_Vector3 (
|
|
55699
|
-
new Numbers_Vector3 (
|
|
55700
|
-
new Numbers_Vector3 (
|
|
55699
|
+
new Numbers_Vector3 (),
|
|
55700
|
+
new Numbers_Vector3 (),
|
|
55701
|
+
new Numbers_Vector3 (),
|
|
55701
55702
|
];
|
|
55702
55703
|
|
|
55703
55704
|
const triangle = [ ];
|
|
55704
55705
|
|
|
55705
|
-
const triangleNormal = [ new Numbers_Vector3 (
|
|
55706
|
+
const triangleNormal = [ new Numbers_Vector3 () ];
|
|
55706
55707
|
|
|
55707
55708
|
const triangleEdges = [
|
|
55708
|
-
new Numbers_Vector3 (
|
|
55709
|
-
new Numbers_Vector3 (
|
|
55710
|
-
new Numbers_Vector3 (
|
|
55709
|
+
new Numbers_Vector3 (),
|
|
55710
|
+
new Numbers_Vector3 (),
|
|
55711
|
+
new Numbers_Vector3 ()
|
|
55711
55712
|
];
|
|
55712
55713
|
|
|
55713
55714
|
return function (a, b, c)
|
|
@@ -55794,8 +55795,8 @@ Object .defineProperties (Box3 .prototype,
|
|
|
55794
55795
|
get: (() =>
|
|
55795
55796
|
{
|
|
55796
55797
|
const
|
|
55797
|
-
min = new Numbers_Vector3 (
|
|
55798
|
-
max = new Numbers_Vector3 (
|
|
55798
|
+
min = new Numbers_Vector3 (),
|
|
55799
|
+
max = new Numbers_Vector3 ();
|
|
55799
55800
|
|
|
55800
55801
|
return function ()
|
|
55801
55802
|
{
|
|
@@ -55916,7 +55917,7 @@ Object .assign (Line3 .prototype,
|
|
|
55916
55917
|
matrix .multDirMatrix (this .direction) .normalize ();
|
|
55917
55918
|
return this;
|
|
55918
55919
|
},
|
|
55919
|
-
getClosestPointToPoint (point, result = new Numbers_Vector3 (
|
|
55920
|
+
getClosestPointToPoint (point, result = new Numbers_Vector3 ())
|
|
55920
55921
|
{
|
|
55921
55922
|
const
|
|
55922
55923
|
r = result .assign (point) .subtract (this .point),
|
|
@@ -55926,7 +55927,7 @@ Object .assign (Line3 .prototype,
|
|
|
55926
55927
|
},
|
|
55927
55928
|
getClosestPointToLine: (() =>
|
|
55928
55929
|
{
|
|
55929
|
-
const u = new Numbers_Vector3 (
|
|
55930
|
+
const u = new Numbers_Vector3 ();
|
|
55930
55931
|
|
|
55931
55932
|
return function (line, point)
|
|
55932
55933
|
{
|
|
@@ -55949,9 +55950,9 @@ Object .assign (Line3 .prototype,
|
|
|
55949
55950
|
})(),
|
|
55950
55951
|
getPerpendicularVectorToPoint: (() =>
|
|
55951
55952
|
{
|
|
55952
|
-
const t = new Numbers_Vector3 (
|
|
55953
|
+
const t = new Numbers_Vector3 ();
|
|
55953
55954
|
|
|
55954
|
-
return function (point, result = new Numbers_Vector3 (
|
|
55955
|
+
return function (point, result = new Numbers_Vector3 ())
|
|
55955
55956
|
{
|
|
55956
55957
|
result .assign (this .point) .subtract (point);
|
|
55957
55958
|
|
|
@@ -55961,10 +55962,10 @@ Object .assign (Line3 .prototype,
|
|
|
55961
55962
|
getPerpendicularVectorToLine: (() =>
|
|
55962
55963
|
{
|
|
55963
55964
|
const
|
|
55964
|
-
d = new Numbers_Vector3 (
|
|
55965
|
-
ad = new Numbers_Vector3 (
|
|
55965
|
+
d = new Numbers_Vector3 (),
|
|
55966
|
+
ad = new Numbers_Vector3 ();
|
|
55966
55967
|
|
|
55967
|
-
return function (line, result = new Numbers_Vector3 (
|
|
55968
|
+
return function (line, result = new Numbers_Vector3 ())
|
|
55968
55969
|
{
|
|
55969
55970
|
const bd = result;
|
|
55970
55971
|
|
|
@@ -55989,8 +55990,8 @@ Object .assign (Line3 .prototype,
|
|
|
55989
55990
|
intersectsTriangle: (() =>
|
|
55990
55991
|
{
|
|
55991
55992
|
const
|
|
55992
|
-
pvec = new Numbers_Vector3 (
|
|
55993
|
-
tvec = new Numbers_Vector3 (
|
|
55993
|
+
pvec = new Numbers_Vector3 (),
|
|
55994
|
+
tvec = new Numbers_Vector3 ();
|
|
55994
55995
|
|
|
55995
55996
|
return function (A, B, C, uvt)
|
|
55996
55997
|
{
|
|
@@ -56649,7 +56650,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56649
56650
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
56650
56651
|
cameraSpaceProjectionMatrix = new Numbers_Matrix4 (),
|
|
56651
56652
|
localOrientation = new Numbers_Rotation4 (),
|
|
56652
|
-
vector = new Numbers_Vector3 (
|
|
56653
|
+
vector = new Numbers_Vector3 (),
|
|
56653
56654
|
rotation = new Numbers_Rotation4 ();
|
|
56654
56655
|
|
|
56655
56656
|
return function (direction)
|
|
@@ -56777,8 +56778,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56777
56778
|
addPointingShape: (() =>
|
|
56778
56779
|
{
|
|
56779
56780
|
const
|
|
56780
|
-
bboxSize = new Numbers_Vector3 (
|
|
56781
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56781
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56782
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56782
56783
|
|
|
56783
56784
|
return function (shapeNode)
|
|
56784
56785
|
{
|
|
@@ -56826,8 +56827,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56826
56827
|
addCollisionShape: (() =>
|
|
56827
56828
|
{
|
|
56828
56829
|
const
|
|
56829
|
-
bboxSize = new Numbers_Vector3 (
|
|
56830
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56830
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56831
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56831
56832
|
|
|
56832
56833
|
return function (shapeNode)
|
|
56833
56834
|
{
|
|
@@ -56877,8 +56878,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56877
56878
|
addShadowShape: (() =>
|
|
56878
56879
|
{
|
|
56879
56880
|
const
|
|
56880
|
-
bboxSize = new Numbers_Vector3 (
|
|
56881
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56881
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56882
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56882
56883
|
|
|
56883
56884
|
return function (shapeNode)
|
|
56884
56885
|
{
|
|
@@ -56924,8 +56925,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56924
56925
|
addDisplayShape: (() =>
|
|
56925
56926
|
{
|
|
56926
56927
|
const
|
|
56927
|
-
bboxSize = new Numbers_Vector3 (
|
|
56928
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56928
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56929
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56929
56930
|
|
|
56930
56931
|
return function (shapeNode)
|
|
56931
56932
|
{
|
|
@@ -56986,7 +56987,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56986
56987
|
renderObject: this,
|
|
56987
56988
|
transparent: transparent,
|
|
56988
56989
|
modelViewMatrix: new Float32Array (16),
|
|
56989
|
-
scissor: new Numbers_Vector4 (
|
|
56990
|
+
scissor: new Numbers_Vector4 (),
|
|
56990
56991
|
localObjects: [ ],
|
|
56991
56992
|
objectsKeys: [ ], // [clip planes, lights]
|
|
56992
56993
|
};
|
|
@@ -57064,7 +57065,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57064
57065
|
invModelViewMatrix = new Numbers_Matrix4 (),
|
|
57065
57066
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
57066
57067
|
collisionBox = new Geometry_Box3 (Numbers_Vector3 .Zero, Numbers_Vector3 .Zero),
|
|
57067
|
-
collisionSize = new Numbers_Vector3 (
|
|
57068
|
+
collisionSize = new Numbers_Vector3 ();
|
|
57068
57069
|
|
|
57069
57070
|
return function ()
|
|
57070
57071
|
{
|
|
@@ -57120,7 +57121,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57120
57121
|
const
|
|
57121
57122
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
57122
57123
|
cameraSpaceProjectionMatrix = new Numbers_Matrix4 (),
|
|
57123
|
-
translation = new Numbers_Vector3 (
|
|
57124
|
+
translation = new Numbers_Vector3 (),
|
|
57124
57125
|
rotation = new Numbers_Rotation4 ();
|
|
57125
57126
|
|
|
57126
57127
|
return function ()
|
|
@@ -59876,8 +59877,8 @@ function X3DGeometryNode (executionContext)
|
|
|
59876
59877
|
|
|
59877
59878
|
const browser = this .getBrowser ();
|
|
59878
59879
|
|
|
59879
|
-
this .min = new Numbers_Vector3 (
|
|
59880
|
-
this .max = new Numbers_Vector3 (
|
|
59880
|
+
this .min = new Numbers_Vector3 ();
|
|
59881
|
+
this .max = new Numbers_Vector3 ();
|
|
59881
59882
|
this .bbox = Geometry_Box3 .Extents (this .min, this .max);
|
|
59882
59883
|
this .solid = true;
|
|
59883
59884
|
this .primitiveMode = browser .getContext () .TRIANGLES;
|
|
@@ -60175,7 +60176,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60175
60176
|
},
|
|
60176
60177
|
getTexCoordParams: (() =>
|
|
60177
60178
|
{
|
|
60178
|
-
const texCoordParams = { min: new Numbers_Vector3 (
|
|
60179
|
+
const texCoordParams = { min: new Numbers_Vector3 (), Ssize: 0, Sindex: 0, Tindex: 0 };
|
|
60179
60180
|
|
|
60180
60181
|
return function ()
|
|
60181
60182
|
{
|
|
@@ -60240,7 +60241,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60240
60241
|
{
|
|
60241
60242
|
const
|
|
60242
60243
|
P = normals [p],
|
|
60243
|
-
N = new Numbers_Vector3 (
|
|
60244
|
+
N = new Numbers_Vector3 ();
|
|
60244
60245
|
|
|
60245
60246
|
for (const q of vertex)
|
|
60246
60247
|
{
|
|
@@ -60273,10 +60274,10 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60273
60274
|
const
|
|
60274
60275
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
60275
60276
|
uvt = { u: 0, v: 0, t: 0 },
|
|
60276
|
-
v0 = new Numbers_Vector3 (
|
|
60277
|
-
v1 = new Numbers_Vector3 (
|
|
60278
|
-
v2 = new Numbers_Vector3 (
|
|
60279
|
-
clipPoint = new Numbers_Vector3 (
|
|
60277
|
+
v0 = new Numbers_Vector3 (),
|
|
60278
|
+
v1 = new Numbers_Vector3 (),
|
|
60279
|
+
v2 = new Numbers_Vector3 (),
|
|
60280
|
+
clipPoint = new Numbers_Vector3 ();
|
|
60280
60281
|
|
|
60281
60282
|
return function (hitRay, matrix, clipPlanes, intersections)
|
|
60282
60283
|
{
|
|
@@ -60340,8 +60341,8 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60340
60341
|
getPlanesWithOffset: (() =>
|
|
60341
60342
|
{
|
|
60342
60343
|
const
|
|
60343
|
-
min = new Numbers_Vector3 (
|
|
60344
|
-
max = new Numbers_Vector3 (
|
|
60344
|
+
min = new Numbers_Vector3 (),
|
|
60345
|
+
max = new Numbers_Vector3 (),
|
|
60345
60346
|
planes = [ ];
|
|
60346
60347
|
|
|
60347
60348
|
for (let i = 0; i < 5; ++ i)
|
|
@@ -60360,7 +60361,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60360
60361
|
})(),
|
|
60361
60362
|
intersectsBBox: (() =>
|
|
60362
60363
|
{
|
|
60363
|
-
const intersection = new Numbers_Vector3 (
|
|
60364
|
+
const intersection = new Numbers_Vector3 ();
|
|
60364
60365
|
|
|
60365
60366
|
return function (hitRay, offsets)
|
|
60366
60367
|
{
|
|
@@ -60437,11 +60438,11 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60437
60438
|
intersectsBox: (() =>
|
|
60438
60439
|
{
|
|
60439
60440
|
const
|
|
60440
|
-
v0 = new Numbers_Vector3 (
|
|
60441
|
-
v1 = new Numbers_Vector3 (
|
|
60442
|
-
v2 = new Numbers_Vector3 (
|
|
60441
|
+
v0 = new Numbers_Vector3 (),
|
|
60442
|
+
v1 = new Numbers_Vector3 (),
|
|
60443
|
+
v2 = new Numbers_Vector3 (),
|
|
60443
60444
|
invMatrix = new Numbers_Matrix4 (),
|
|
60444
|
-
clipPoint = new Numbers_Vector3 (
|
|
60445
|
+
clipPoint = new Numbers_Vector3 ();
|
|
60445
60446
|
|
|
60446
60447
|
return function (box, clipPlanes, modelViewMatrix)
|
|
60447
60448
|
{
|
|
@@ -60495,10 +60496,10 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60495
60496
|
set_shading__: (() =>
|
|
60496
60497
|
{
|
|
60497
60498
|
const
|
|
60498
|
-
v0 = new Numbers_Vector3 (
|
|
60499
|
-
v1 = new Numbers_Vector3 (
|
|
60500
|
-
v2 = new Numbers_Vector3 (
|
|
60501
|
-
normal = new Numbers_Vector3 (
|
|
60499
|
+
v0 = new Numbers_Vector3 (),
|
|
60500
|
+
v1 = new Numbers_Vector3 (),
|
|
60501
|
+
v2 = new Numbers_Vector3 (),
|
|
60502
|
+
normal = new Numbers_Vector3 ();
|
|
60502
60503
|
|
|
60503
60504
|
return function (shading)
|
|
60504
60505
|
{
|
|
@@ -60563,7 +60564,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60563
60564
|
},
|
|
60564
60565
|
rebuild: (() =>
|
|
60565
60566
|
{
|
|
60566
|
-
const point = new Numbers_Vector3 (
|
|
60567
|
+
const point = new Numbers_Vector3 ();
|
|
60567
60568
|
|
|
60568
60569
|
return function ()
|
|
60569
60570
|
{
|
|
@@ -61422,12 +61423,12 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
61422
61423
|
const U_DIMENSION = 20;
|
|
61423
61424
|
|
|
61424
61425
|
const
|
|
61425
|
-
z1 = new Numbers_Complex (
|
|
61426
|
-
z2 = new Numbers_Complex (
|
|
61427
|
-
y1 = new Numbers_Complex (
|
|
61428
|
-
y2 = new Numbers_Complex (
|
|
61429
|
-
y3 = new Numbers_Complex (
|
|
61430
|
-
y4 = new Numbers_Complex (
|
|
61426
|
+
z1 = new Numbers_Complex (),
|
|
61427
|
+
z2 = new Numbers_Complex (),
|
|
61428
|
+
y1 = new Numbers_Complex (),
|
|
61429
|
+
y2 = new Numbers_Complex (),
|
|
61430
|
+
y3 = new Numbers_Complex (),
|
|
61431
|
+
y4 = new Numbers_Complex ();
|
|
61431
61432
|
|
|
61432
61433
|
return function (radius, vAngle, angle, color, bottom)
|
|
61433
61434
|
{
|
|
@@ -61649,7 +61650,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
61649
61650
|
const
|
|
61650
61651
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
61651
61652
|
rotation = new Numbers_Rotation4 (),
|
|
61652
|
-
scale = new Numbers_Vector3 (
|
|
61653
|
+
scale = new Numbers_Vector3 ();
|
|
61653
61654
|
|
|
61654
61655
|
return function (gl, renderObject, viewport)
|
|
61655
61656
|
{
|
|
@@ -62429,7 +62430,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62429
62430
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62430
62431
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62431
62432
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62432
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62433
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(864);
|
|
62433
62434
|
/*******************************************************************************
|
|
62434
62435
|
*
|
|
62435
62436
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62881,7 +62882,7 @@ Object .defineProperties (Background,
|
|
|
62881
62882
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "topUrl", new x_ite_Fields .MFString ()),
|
|
62882
62883
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "bottomUrl", new x_ite_Fields .MFString ()),
|
|
62883
62884
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyAngle", new x_ite_Fields .MFFloat ()),
|
|
62884
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 (
|
|
62885
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 ())),
|
|
62885
62886
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundAngle", new x_ite_Fields .MFFloat ()),
|
|
62886
62887
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundColor", new x_ite_Fields .MFColor ()),
|
|
62887
62888
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "transparency", new x_ite_Fields .SFFloat ()),
|
|
@@ -64383,7 +64384,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator .prototype, Interpo
|
|
|
64383
64384
|
},
|
|
64384
64385
|
interpolate: (() =>
|
|
64385
64386
|
{
|
|
64386
|
-
const keyValue = new Numbers_Vector3 (
|
|
64387
|
+
const keyValue = new Numbers_Vector3 ();
|
|
64387
64388
|
|
|
64388
64389
|
return function (index0, index1, weight)
|
|
64389
64390
|
{
|
|
@@ -64776,7 +64777,7 @@ function X3DViewpointNode (executionContext)
|
|
|
64776
64777
|
this .descriptions = [ ];
|
|
64777
64778
|
this .userPosition = new Numbers_Vector3 (0, 1, 0);
|
|
64778
64779
|
this .userOrientation = new Numbers_Rotation4 ();
|
|
64779
|
-
this .userCenterOfRotation = new Numbers_Vector3 (
|
|
64780
|
+
this .userCenterOfRotation = new Numbers_Vector3 ();
|
|
64780
64781
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
64781
64782
|
this .cameraSpaceMatrix = new Numbers_Matrix4 (1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 10, 1);
|
|
64782
64783
|
this .viewMatrix = new Numbers_Matrix4 (1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -10, 1);
|
|
@@ -65098,9 +65099,9 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65098
65099
|
getRelativeTransformation: (() =>
|
|
65099
65100
|
{
|
|
65100
65101
|
const
|
|
65101
|
-
position = new Numbers_Vector3 (
|
|
65102
|
+
position = new Numbers_Vector3 (),
|
|
65102
65103
|
orientation = new Numbers_Rotation4 (),
|
|
65103
|
-
scale = new Numbers_Vector3 (
|
|
65104
|
+
scale = new Numbers_Vector3 (),
|
|
65104
65105
|
scaleOrientation = new Numbers_Rotation4 ();
|
|
65105
65106
|
|
|
65106
65107
|
return function (fromViewpointNode)
|
|
@@ -65123,9 +65124,9 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65123
65124
|
getLookAtRotation: (() =>
|
|
65124
65125
|
{
|
|
65125
65126
|
const
|
|
65126
|
-
x = new Numbers_Vector3 (
|
|
65127
|
-
y = new Numbers_Vector3 (
|
|
65128
|
-
z = new Numbers_Vector3 (
|
|
65127
|
+
x = new Numbers_Vector3 (),
|
|
65128
|
+
y = new Numbers_Vector3 (),
|
|
65129
|
+
z = new Numbers_Vector3 (),
|
|
65129
65130
|
m = new Numbers_Matrix3 (),
|
|
65130
65131
|
r = new Numbers_Rotation4 ();
|
|
65131
65132
|
|
|
@@ -65150,7 +65151,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65150
65151
|
|
|
65151
65152
|
const minDistance = layerNode .getNavigationInfo () .getNearValue () * 2;
|
|
65152
65153
|
|
|
65153
|
-
this .lookAt (layerNode, point, minDistance, transitionTime
|
|
65154
|
+
this .lookAt (layerNode, point, minDistance, transitionTime, factor, straighten);
|
|
65154
65155
|
},
|
|
65155
65156
|
lookAtBBox (layerNode, bbox, transitionTime = 1, factor, straighten)
|
|
65156
65157
|
{
|
|
@@ -65437,7 +65438,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
65437
65438
|
},
|
|
65438
65439
|
getViewportSize: (() =>
|
|
65439
65440
|
{
|
|
65440
|
-
const viewportSize = new Numbers_Vector2 (
|
|
65441
|
+
const viewportSize = new Numbers_Vector2 ();
|
|
65441
65442
|
|
|
65442
65443
|
return function (viewport, nearValue)
|
|
65443
65444
|
{
|
|
@@ -65701,7 +65702,6 @@ x_ite_Namespace .add ("Layer", "x_ite/Components/Layering/Layer", Layer_default_
|
|
|
65701
65702
|
|
|
65702
65703
|
|
|
65703
65704
|
|
|
65704
|
-
|
|
65705
65705
|
function LayerSet (executionContext)
|
|
65706
65706
|
{
|
|
65707
65707
|
Core_X3DNode .call (this, executionContext);
|
|
@@ -66024,7 +66024,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66024
66024
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66025
66025
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66026
66026
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66027
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66027
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(864);
|
|
66028
66028
|
/*******************************************************************************
|
|
66029
66029
|
*
|
|
66030
66030
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66947,7 +66947,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66947
66947
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66948
66948
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66949
66949
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66950
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66950
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(864);
|
|
66951
66951
|
/*******************************************************************************
|
|
66952
66952
|
*
|
|
66953
66953
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -70107,7 +70107,7 @@ Object .defineProperties (TextureBackground,
|
|
|
70107
70107
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
70108
70108
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_bind", new x_ite_Fields .SFBool ()),
|
|
70109
70109
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyAngle", new x_ite_Fields .MFFloat ()),
|
|
70110
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 (
|
|
70110
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 ())),
|
|
70111
70111
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundAngle", new x_ite_Fields .MFFloat ()),
|
|
70112
70112
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundColor", new x_ite_Fields .MFColor ()),
|
|
70113
70113
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "transparency", new x_ite_Fields .SFFloat ()),
|
|
@@ -70424,8 +70424,8 @@ function ProximitySensor (executionContext)
|
|
|
70424
70424
|
|
|
70425
70425
|
this .setZeroTest (true);
|
|
70426
70426
|
|
|
70427
|
-
this .min = new Numbers_Vector3 (
|
|
70428
|
-
this .max = new Numbers_Vector3 (
|
|
70427
|
+
this .min = new Numbers_Vector3 ();
|
|
70428
|
+
this .max = new Numbers_Vector3 ();
|
|
70429
70429
|
this .layerNode = null;
|
|
70430
70430
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
70431
70431
|
this .inside = false;
|
|
@@ -70473,9 +70473,9 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, Environmenta
|
|
|
70473
70473
|
update: (() =>
|
|
70474
70474
|
{
|
|
70475
70475
|
const
|
|
70476
|
-
position = new Numbers_Vector3 (
|
|
70476
|
+
position = new Numbers_Vector3 (),
|
|
70477
70477
|
orientation = new Numbers_Rotation4 (),
|
|
70478
|
-
centerOfRotation = new Numbers_Vector3 (
|
|
70478
|
+
centerOfRotation = new Numbers_Vector3 (),
|
|
70479
70479
|
centerOfRotationMatrix = new Numbers_Matrix4 ();
|
|
70480
70480
|
|
|
70481
70481
|
return function ()
|
|
@@ -70820,7 +70820,7 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, Environmenta
|
|
|
70820
70820
|
process: (() =>
|
|
70821
70821
|
{
|
|
70822
70822
|
const
|
|
70823
|
-
position = new Numbers_Vector3 (
|
|
70823
|
+
position = new Numbers_Vector3 (),
|
|
70824
70824
|
orientation = new Numbers_Rotation4 ();
|
|
70825
70825
|
|
|
70826
70826
|
return function ()
|
|
@@ -71671,10 +71671,10 @@ x_ite_Namespace .add ("X3DChaserNode", "x_ite/Components/Followers/X3DChaserNode
|
|
|
71671
71671
|
|
|
71672
71672
|
|
|
71673
71673
|
var
|
|
71674
|
-
initialValue = new Numbers_Vector3 (
|
|
71675
|
-
initialDestination = new Numbers_Vector3 (
|
|
71676
|
-
deltaOut = new Numbers_Vector3 (
|
|
71677
|
-
vector = new Numbers_Vector3 (
|
|
71674
|
+
initialValue = new Numbers_Vector3 (),
|
|
71675
|
+
initialDestination = new Numbers_Vector3 (),
|
|
71676
|
+
deltaOut = new Numbers_Vector3 (),
|
|
71677
|
+
vector = new Numbers_Vector3 ();
|
|
71678
71678
|
|
|
71679
71679
|
function ColorChaser (executionContext)
|
|
71680
71680
|
{
|
|
@@ -71687,7 +71687,7 @@ Object .assign (Object .setPrototypeOf (ColorChaser .prototype, Followers_X3DCha
|
|
|
71687
71687
|
{
|
|
71688
71688
|
getVector ()
|
|
71689
71689
|
{
|
|
71690
|
-
return new Numbers_Vector3 (
|
|
71690
|
+
return new Numbers_Vector3 ();
|
|
71691
71691
|
},
|
|
71692
71692
|
getValue ()
|
|
71693
71693
|
{
|
|
@@ -72004,10 +72004,10 @@ x_ite_Namespace .add ("X3DDamperNode", "x_ite/Components/Followers/X3DDamperNode
|
|
|
72004
72004
|
|
|
72005
72005
|
|
|
72006
72006
|
var
|
|
72007
|
-
ColorDamper_a = new Numbers_Vector3 (
|
|
72008
|
-
ColorDamper_initialValue = new Numbers_Vector3 (
|
|
72009
|
-
ColorDamper_initialDestination = new Numbers_Vector3 (
|
|
72010
|
-
ColorDamper_vector = new Numbers_Vector3 (
|
|
72007
|
+
ColorDamper_a = new Numbers_Vector3 (),
|
|
72008
|
+
ColorDamper_initialValue = new Numbers_Vector3 (),
|
|
72009
|
+
ColorDamper_initialDestination = new Numbers_Vector3 (),
|
|
72010
|
+
ColorDamper_vector = new Numbers_Vector3 ();
|
|
72011
72011
|
|
|
72012
72012
|
function ColorDamper (executionContext)
|
|
72013
72013
|
{
|
|
@@ -72020,7 +72020,7 @@ Object .assign (Object .setPrototypeOf (ColorDamper .prototype, Followers_X3DDam
|
|
|
72020
72020
|
{
|
|
72021
72021
|
getVector ()
|
|
72022
72022
|
{
|
|
72023
|
-
return new Numbers_Vector3 (
|
|
72023
|
+
return new Numbers_Vector3 ();
|
|
72024
72024
|
},
|
|
72025
72025
|
getValue ()
|
|
72026
72026
|
{
|
|
@@ -72235,7 +72235,7 @@ function X3DArrayFollowerTemplate (Type)
|
|
|
72235
72235
|
let distance = 0;
|
|
72236
72236
|
|
|
72237
72237
|
for (let i = 0, length = lhs .length; i < length; ++ i)
|
|
72238
|
-
distance = Math .max (a .assign (lhs [i]) .subtract (rhs [i]) .magnitude ());
|
|
72238
|
+
distance = Math .max (a .assign (lhs [i]) .subtract (rhs [i]) .magnitude (), distance);
|
|
72239
72239
|
|
|
72240
72240
|
return distance < tolerance;
|
|
72241
72241
|
},
|
|
@@ -72432,7 +72432,7 @@ Object .assign (Object .setPrototypeOf (CoordinateChaser .prototype, Followers_X
|
|
|
72432
72432
|
{
|
|
72433
72433
|
getVector ()
|
|
72434
72434
|
{
|
|
72435
|
-
return new Numbers_Vector3 (
|
|
72435
|
+
return new Numbers_Vector3 ();
|
|
72436
72436
|
},
|
|
72437
72437
|
});
|
|
72438
72438
|
|
|
@@ -72464,8 +72464,8 @@ Object .defineProperties (CoordinateChaser,
|
|
|
72464
72464
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
72465
72465
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_value", new x_ite_Fields .MFVec3f ()),
|
|
72466
72466
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_destination", new x_ite_Fields .MFVec3f ()),
|
|
72467
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72468
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72467
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72468
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72469
72469
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "duration", new x_ite_Fields .SFTime (1)),
|
|
72470
72470
|
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "isActive", new x_ite_Fields .SFBool ()),
|
|
72471
72471
|
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "value_changed", new x_ite_Fields .MFVec3f ()),
|
|
@@ -72550,7 +72550,7 @@ Object .assign (Object .setPrototypeOf (CoordinateDamper .prototype, Followers_X
|
|
|
72550
72550
|
{
|
|
72551
72551
|
getVector ()
|
|
72552
72552
|
{
|
|
72553
|
-
return new Numbers_Vector3 (
|
|
72553
|
+
return new Numbers_Vector3 ();
|
|
72554
72554
|
},
|
|
72555
72555
|
});
|
|
72556
72556
|
|
|
@@ -72582,8 +72582,8 @@ Object .defineProperties (CoordinateDamper,
|
|
|
72582
72582
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
72583
72583
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_value", new x_ite_Fields .MFVec3f ()),
|
|
72584
72584
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_destination", new x_ite_Fields .MFVec3f ()),
|
|
72585
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72586
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72585
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72586
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72587
72587
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "order", new x_ite_Fields .SFInt32 (3)),
|
|
72588
72588
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tau", new x_ite_Fields .SFTime (0.3)),
|
|
72589
72589
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tolerance", new x_ite_Fields .SFFloat (-1)),
|
|
@@ -72939,7 +72939,7 @@ Object .assign (Object .setPrototypeOf (PositionChaser .prototype, Followers_X3D
|
|
|
72939
72939
|
{
|
|
72940
72940
|
getVector ()
|
|
72941
72941
|
{
|
|
72942
|
-
return new Numbers_Vector3 (
|
|
72942
|
+
return new Numbers_Vector3 ();
|
|
72943
72943
|
},
|
|
72944
72944
|
});
|
|
72945
72945
|
|
|
@@ -73052,7 +73052,7 @@ Object .assign (Object .setPrototypeOf (PositionChaser2D .prototype, Followers_X
|
|
|
73052
73052
|
{
|
|
73053
73053
|
getVector ()
|
|
73054
73054
|
{
|
|
73055
|
-
return new Numbers_Vector2 (
|
|
73055
|
+
return new Numbers_Vector2 ();
|
|
73056
73056
|
},
|
|
73057
73057
|
});
|
|
73058
73058
|
|
|
@@ -73165,7 +73165,7 @@ Object .assign (Object .setPrototypeOf (PositionDamper .prototype, Followers_X3D
|
|
|
73165
73165
|
{
|
|
73166
73166
|
getVector ()
|
|
73167
73167
|
{
|
|
73168
|
-
return new Numbers_Vector3 (
|
|
73168
|
+
return new Numbers_Vector3 ();
|
|
73169
73169
|
},
|
|
73170
73170
|
});
|
|
73171
73171
|
|
|
@@ -73280,7 +73280,7 @@ Object .assign (Object .setPrototypeOf (PositionDamper2D .prototype, Followers_X
|
|
|
73280
73280
|
{
|
|
73281
73281
|
getVector ()
|
|
73282
73282
|
{
|
|
73283
|
-
return new Numbers_Vector2 (
|
|
73283
|
+
return new Numbers_Vector2 ();
|
|
73284
73284
|
},
|
|
73285
73285
|
});
|
|
73286
73286
|
|
|
@@ -73672,7 +73672,7 @@ Object .assign (Object .setPrototypeOf (TexCoordChaser2D .prototype, Followers_X
|
|
|
73672
73672
|
{
|
|
73673
73673
|
getVector ()
|
|
73674
73674
|
{
|
|
73675
|
-
return new Numbers_Vector2 (
|
|
73675
|
+
return new Numbers_Vector2 ();
|
|
73676
73676
|
},
|
|
73677
73677
|
});
|
|
73678
73678
|
|
|
@@ -73790,7 +73790,7 @@ Object .assign (Object .setPrototypeOf (TexCoordDamper2D .prototype, Followers_X
|
|
|
73790
73790
|
{
|
|
73791
73791
|
getVector ()
|
|
73792
73792
|
{
|
|
73793
|
-
return new Numbers_Vector2 (
|
|
73793
|
+
return new Numbers_Vector2 ();
|
|
73794
73794
|
},
|
|
73795
73795
|
});
|
|
73796
73796
|
|
|
@@ -74184,7 +74184,7 @@ Object .assign (Object .setPrototypeOf (Cone .prototype, Rendering_X3DGeometryNo
|
|
|
74184
74184
|
geometry = options .getSideGeometry (),
|
|
74185
74185
|
defaultNormals = geometry .getNormals (),
|
|
74186
74186
|
defaultVertices = geometry .getVertices (),
|
|
74187
|
-
v1 = new Numbers_Vector3 (
|
|
74187
|
+
v1 = new Numbers_Vector3 (),
|
|
74188
74188
|
rz = new Numbers_Rotation4 (1, 0, 0, -Math .atan (bottomRadius / height)),
|
|
74189
74189
|
rx = new Numbers_Rotation4 ();
|
|
74190
74190
|
|
|
@@ -74352,9 +74352,6 @@ x_ite_Namespace .add ("Cone", "x_ite/Components/Geometry3D/Cone", Cone_default_)
|
|
|
74352
74352
|
|
|
74353
74353
|
|
|
74354
74354
|
|
|
74355
|
-
|
|
74356
|
-
|
|
74357
|
-
|
|
74358
74355
|
function Cylinder (executionContext)
|
|
74359
74356
|
{
|
|
74360
74357
|
Rendering_X3DGeometryNode .call (this, executionContext);
|
|
@@ -74748,7 +74745,7 @@ Object .assign (Object .setPrototypeOf (ElevationGrid .prototype, Rendering_X3DG
|
|
|
74748
74745
|
normalIndex .get (c1) .push (normals .length + 1);
|
|
74749
74746
|
normalIndex .get (c2) .push (normals .length + 2);
|
|
74750
74747
|
|
|
74751
|
-
const normal = Geometry_Triangle3 .normal (points [c0], points [c1], points [c2], new Numbers_Vector3 (
|
|
74748
|
+
const normal = Geometry_Triangle3 .normal (points [c0], points [c1], points [c2], new Numbers_Vector3 ());
|
|
74752
74749
|
|
|
74753
74750
|
if (cw)
|
|
74754
74751
|
normal .negate ();
|
|
@@ -75119,16 +75116,16 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75119
75116
|
const rotations = [ ];
|
|
75120
75117
|
|
|
75121
75118
|
const
|
|
75122
|
-
SCPxAxis = new Numbers_Vector3 (
|
|
75123
|
-
SCPyAxis = new Numbers_Vector3 (
|
|
75124
|
-
SCPzAxis = new Numbers_Vector3 (
|
|
75119
|
+
SCPxAxis = new Numbers_Vector3 (),
|
|
75120
|
+
SCPyAxis = new Numbers_Vector3 (),
|
|
75121
|
+
SCPzAxis = new Numbers_Vector3 ();
|
|
75125
75122
|
|
|
75126
75123
|
const
|
|
75127
|
-
SCPyAxisPrevious = new Numbers_Vector3 (
|
|
75128
|
-
SCPzAxisPrevious = new Numbers_Vector3 (
|
|
75124
|
+
SCPyAxisPrevious = new Numbers_Vector3 (),
|
|
75125
|
+
SCPzAxisPrevious = new Numbers_Vector3 ();
|
|
75129
75126
|
|
|
75130
75127
|
const
|
|
75131
|
-
vector3 = new Numbers_Vector3 (
|
|
75128
|
+
vector3 = new Numbers_Vector3 (),
|
|
75132
75129
|
rotation = new Numbers_Rotation4 ();
|
|
75133
75130
|
|
|
75134
75131
|
return function ()
|
|
@@ -75309,9 +75306,9 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75309
75306
|
build: (() =>
|
|
75310
75307
|
{
|
|
75311
75308
|
const
|
|
75312
|
-
min = new Numbers_Vector2 (
|
|
75313
|
-
max = new Numbers_Vector2 (
|
|
75314
|
-
vector2 = new Numbers_Vector2 (
|
|
75309
|
+
min = new Numbers_Vector2 (),
|
|
75310
|
+
max = new Numbers_Vector2 (),
|
|
75311
|
+
vector2 = new Numbers_Vector2 ();
|
|
75315
75312
|
|
|
75316
75313
|
return function ()
|
|
75317
75314
|
{
|
|
@@ -75413,14 +75410,14 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75413
75410
|
if (cw)
|
|
75414
75411
|
{
|
|
75415
75412
|
var
|
|
75416
|
-
normal1 = Geometry_Triangle3 .normal (p3, p2, p1, new Numbers_Vector3 (
|
|
75417
|
-
normal2 = Geometry_Triangle3 .normal (p4, p3, p1, new Numbers_Vector3 (
|
|
75413
|
+
normal1 = Geometry_Triangle3 .normal (p3, p2, p1, new Numbers_Vector3 ()),
|
|
75414
|
+
normal2 = Geometry_Triangle3 .normal (p4, p3, p1, new Numbers_Vector3 ());
|
|
75418
75415
|
}
|
|
75419
75416
|
else
|
|
75420
75417
|
{
|
|
75421
75418
|
var
|
|
75422
|
-
normal1 = Geometry_Triangle3 .normal (p1, p2, p3, new Numbers_Vector3 (
|
|
75423
|
-
normal2 = Geometry_Triangle3 .normal (p1, p3, p4, new Numbers_Vector3 (
|
|
75419
|
+
normal1 = Geometry_Triangle3 .normal (p1, p2, p3, new Numbers_Vector3 ()),
|
|
75420
|
+
normal2 = Geometry_Triangle3 .normal (p1, p3, p4, new Numbers_Vector3 ());
|
|
75424
75421
|
}
|
|
75425
75422
|
|
|
75426
75423
|
// Merge points on the left and right side if spine is coincident for better normal generation.
|
|
@@ -75569,7 +75566,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75569
75566
|
const normal = Geometry_Triangle3 .normal (points [triangles [0]],
|
|
75570
75567
|
points [triangles [1]],
|
|
75571
75568
|
points [triangles [2]],
|
|
75572
|
-
new Numbers_Vector3 (
|
|
75569
|
+
new Numbers_Vector3 ());
|
|
75573
75570
|
|
|
75574
75571
|
if (cw)
|
|
75575
75572
|
normal .negate ();
|
|
@@ -75609,7 +75606,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75609
75606
|
const normal = Geometry_Triangle3 .normal (points [triangles [0]],
|
|
75610
75607
|
points [triangles [1]],
|
|
75611
75608
|
points [triangles [2]],
|
|
75612
|
-
new Numbers_Vector3 (
|
|
75609
|
+
new Numbers_Vector3 ());
|
|
75613
75610
|
|
|
75614
75611
|
if (cw)
|
|
75615
75612
|
normal .negate ();
|
|
@@ -75699,7 +75696,7 @@ Object .defineProperties (Extrusion,
|
|
|
75699
75696
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "crossSection", new x_ite_Fields .MFVec2f (new Numbers_Vector2 (1, 1), new Numbers_Vector2 (1, -1), new Numbers_Vector2 (-1, -1), new Numbers_Vector2 (-1, 1), new Numbers_Vector2 (1, 1))),
|
|
75700
75697
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "orientation", new x_ite_Fields .MFRotation (new Numbers_Rotation4 ())),
|
|
75701
75698
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "scale", new x_ite_Fields .MFVec2f (new Numbers_Vector2 (1, 1))),
|
|
75702
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "spine", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
75699
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "spine", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (), new Numbers_Vector3 (0, 1, 0))),
|
|
75703
75700
|
]),
|
|
75704
75701
|
enumerable: true,
|
|
75705
75702
|
},
|
|
@@ -76029,15 +76026,15 @@ Object .assign (Object .setPrototypeOf (X3DComposedGeometryNode .prototype, Rend
|
|
|
76029
76026
|
getPolygonNormal: (() =>
|
|
76030
76027
|
{
|
|
76031
76028
|
let
|
|
76032
|
-
current = new Numbers_Vector3 (
|
|
76033
|
-
next = new Numbers_Vector3 (
|
|
76029
|
+
current = new Numbers_Vector3 (),
|
|
76030
|
+
next = new Numbers_Vector3 ();
|
|
76034
76031
|
|
|
76035
76032
|
return function (index, verticesPerPolygon, coord)
|
|
76036
76033
|
{
|
|
76037
76034
|
// Determine polygon normal.
|
|
76038
76035
|
// We use Newell's method https://www.opengl.org/wiki/Calculating_a_Surface_Normal here:
|
|
76039
76036
|
|
|
76040
|
-
const normal = new Numbers_Vector3 (
|
|
76037
|
+
const normal = new Numbers_Vector3 ();
|
|
76041
76038
|
|
|
76042
76039
|
coord .get1Point (this .getPolygonIndex (index), next);
|
|
76043
76040
|
|
|
@@ -76363,7 +76360,7 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, Rendering_X3D
|
|
|
76363
76360
|
length = vertices .length;
|
|
76364
76361
|
|
|
76365
76362
|
for (let i = polygon .length; i < length; ++ i)
|
|
76366
|
-
polygon .push (new Numbers_Vector3 (
|
|
76363
|
+
polygon .push (new Numbers_Vector3 ());
|
|
76367
76364
|
|
|
76368
76365
|
for (let i = 0; i < length; ++ i)
|
|
76369
76366
|
{
|
|
@@ -76460,15 +76457,15 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, Rendering_X3D
|
|
|
76460
76457
|
getPolygonNormal: (() =>
|
|
76461
76458
|
{
|
|
76462
76459
|
let
|
|
76463
|
-
current = new Numbers_Vector3 (
|
|
76464
|
-
next = new Numbers_Vector3 (
|
|
76460
|
+
current = new Numbers_Vector3 (),
|
|
76461
|
+
next = new Numbers_Vector3 ();
|
|
76465
76462
|
|
|
76466
76463
|
return function (vertices, coordIndex, coord)
|
|
76467
76464
|
{
|
|
76468
76465
|
// Determine polygon normal.
|
|
76469
76466
|
// We use Newell's method https://www.opengl.org/wiki/Calculating_a_Surface_Normal here:
|
|
76470
76467
|
|
|
76471
|
-
const normal = new Numbers_Vector3 (
|
|
76468
|
+
const normal = new Numbers_Vector3 ();
|
|
76472
76469
|
|
|
76473
76470
|
coord .get1Point (coordIndex [vertices [0]], next);
|
|
76474
76471
|
|
|
@@ -78205,8 +78202,8 @@ Object .assign (Object .setPrototypeOf (NormalInterpolator .prototype, Interpola
|
|
|
78205
78202
|
interpolate: (() =>
|
|
78206
78203
|
{
|
|
78207
78204
|
const
|
|
78208
|
-
keyValue0 = new Numbers_Vector3 (
|
|
78209
|
-
keyValue1 = new Numbers_Vector3 (
|
|
78205
|
+
keyValue0 = new Numbers_Vector3 (),
|
|
78206
|
+
keyValue1 = new Numbers_Vector3 ();
|
|
78210
78207
|
|
|
78211
78208
|
return function (index0, index1, weight)
|
|
78212
78209
|
{
|
|
@@ -78374,7 +78371,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator2D .prototype, Inter
|
|
|
78374
78371
|
},
|
|
78375
78372
|
interpolate: (() =>
|
|
78376
78373
|
{
|
|
78377
|
-
const keyValue = new Numbers_Vector2 (
|
|
78374
|
+
const keyValue = new Numbers_Vector2 ();
|
|
78378
78375
|
|
|
78379
78376
|
return function (index0, index1, weight)
|
|
78380
78377
|
{
|
|
@@ -78587,7 +78584,7 @@ Object .assign (CatmullRomSplineInterpolator .prototype,
|
|
|
78587
78584
|
})(),
|
|
78588
78585
|
interpolate: (() =>
|
|
78589
78586
|
{
|
|
78590
|
-
const S = new Numbers_Vector4 (
|
|
78587
|
+
const S = new Numbers_Vector4 ();
|
|
78591
78588
|
|
|
78592
78589
|
const H = new Numbers_Matrix4 ( 2, -2, 1, 1,
|
|
78593
78590
|
-3, 3, -2, -1,
|
|
@@ -79884,7 +79881,7 @@ function Viewport (executionContext)
|
|
|
79884
79881
|
|
|
79885
79882
|
this .addType (Base_X3DConstants .Viewport);
|
|
79886
79883
|
|
|
79887
|
-
this .rectangle = new Numbers_Vector4 (
|
|
79884
|
+
this .rectangle = new Numbers_Vector4 ();
|
|
79888
79885
|
}
|
|
79889
79886
|
|
|
79890
79887
|
Object .assign (Object .setPrototypeOf (Viewport .prototype, Layering_X3DViewportNode .prototype),
|
|
@@ -80382,11 +80379,11 @@ const DirectionalLights = Utility_ObjectCache (DirectionalLightContainer);
|
|
|
80382
80379
|
|
|
80383
80380
|
function DirectionalLightContainer ()
|
|
80384
80381
|
{
|
|
80385
|
-
this .direction = new Numbers_Vector3 (
|
|
80382
|
+
this .direction = new Numbers_Vector3 ();
|
|
80386
80383
|
this .shadowBuffer = null;
|
|
80387
80384
|
this .bbox = new Geometry_Box3 ();
|
|
80388
80385
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
80389
|
-
this .viewport = new Numbers_Vector4 (
|
|
80386
|
+
this .viewport = new Numbers_Vector4 ();
|
|
80390
80387
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
80391
80388
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
80392
80389
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -80954,11 +80951,11 @@ const PointLights = Utility_ObjectCache (PointLightContainer);
|
|
|
80954
80951
|
|
|
80955
80952
|
function PointLightContainer ()
|
|
80956
80953
|
{
|
|
80957
|
-
this .location = new Numbers_Vector3 (
|
|
80954
|
+
this .location = new Numbers_Vector3 ();
|
|
80958
80955
|
this .matrixArray = new Float32Array (9);
|
|
80959
80956
|
this .shadowBuffer = null;
|
|
80960
80957
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
80961
|
-
this .viewport = new Numbers_Vector4 (
|
|
80958
|
+
this .viewport = new Numbers_Vector4 ();
|
|
80962
80959
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
80963
80960
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
80964
80961
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -81270,19 +81267,18 @@ x_ite_Namespace .add ("PointLight", "x_ite/Components/Lighting/PointLight", Poin
|
|
|
81270
81267
|
|
|
81271
81268
|
|
|
81272
81269
|
|
|
81273
|
-
|
|
81274
81270
|
const SpotLights = Utility_ObjectCache (SpotLightContainer);
|
|
81275
81271
|
|
|
81276
81272
|
function SpotLightContainer ()
|
|
81277
81273
|
{
|
|
81278
|
-
this .location = new Numbers_Vector3 (
|
|
81279
|
-
this .direction = new Numbers_Vector3 (
|
|
81274
|
+
this .location = new Numbers_Vector3 ();
|
|
81275
|
+
this .direction = new Numbers_Vector3 ();
|
|
81280
81276
|
this .matrixArray = new Float32Array (9);
|
|
81281
81277
|
this .renderShadow = true;
|
|
81282
81278
|
this .shadowBuffer = null;
|
|
81283
81279
|
this .bbox = new Geometry_Box3 ();
|
|
81284
81280
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
81285
|
-
this .viewport = new Numbers_Vector4 (
|
|
81281
|
+
this .viewport = new Numbers_Vector4 ();
|
|
81286
81282
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
81287
81283
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
81288
81284
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -81291,8 +81287,8 @@ function SpotLightContainer ()
|
|
|
81291
81287
|
this .shadowMatrix = new Numbers_Matrix4 ();
|
|
81292
81288
|
this .shadowMatrixArray = new Float32Array (16);
|
|
81293
81289
|
this .rotation = new Numbers_Rotation4 ();
|
|
81294
|
-
this .lightBBoxMin = new Numbers_Vector3 (
|
|
81295
|
-
this .lightBBoxMax = new Numbers_Vector3 (
|
|
81290
|
+
this .lightBBoxMin = new Numbers_Vector3 ();
|
|
81291
|
+
this .lightBBoxMax = new Numbers_Vector3 ();
|
|
81296
81292
|
this .textureUnit = undefined;
|
|
81297
81293
|
}
|
|
81298
81294
|
|
|
@@ -81728,10 +81724,10 @@ Object .assign (Object .setPrototypeOf (Billboard .prototype, Grouping_X3DGroupi
|
|
|
81728
81724
|
{
|
|
81729
81725
|
const
|
|
81730
81726
|
inverseModelViewMatrix = new Numbers_Matrix4 (),
|
|
81731
|
-
viewerYAxis = new Numbers_Vector3 (
|
|
81732
|
-
y = new Numbers_Vector3 (
|
|
81733
|
-
N1 = new Numbers_Vector3 (
|
|
81734
|
-
N2 = new Numbers_Vector3 (
|
|
81727
|
+
viewerYAxis = new Numbers_Vector3 (),
|
|
81728
|
+
y = new Numbers_Vector3 (),
|
|
81729
|
+
N1 = new Numbers_Vector3 (),
|
|
81730
|
+
N2 = new Numbers_Vector3 (),
|
|
81735
81731
|
rotation = new Numbers_Rotation4 ();
|
|
81736
81732
|
|
|
81737
81733
|
return function (modelViewMatrix)
|
|
@@ -82643,7 +82639,7 @@ Object .assign (Object .setPrototypeOf (OrthoViewpoint .prototype, Navigation_X3
|
|
|
82643
82639
|
},
|
|
82644
82640
|
getViewportSize: (() =>
|
|
82645
82641
|
{
|
|
82646
|
-
const viewportSize = new Numbers_Vector2 (
|
|
82642
|
+
const viewportSize = new Numbers_Vector2 ();
|
|
82647
82643
|
|
|
82648
82644
|
return function (viewport, nearValue)
|
|
82649
82645
|
{
|
|
@@ -83102,7 +83098,7 @@ function PointingDeviceSensorContainer (node, modelViewMatrix, projectionMatrix,
|
|
|
83102
83098
|
this .node = null;
|
|
83103
83099
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
83104
83100
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
83105
|
-
this .viewport = new Numbers_Vector4 (
|
|
83101
|
+
this .viewport = new Numbers_Vector4 ();
|
|
83106
83102
|
|
|
83107
83103
|
this .set (node, modelViewMatrix, projectionMatrix, viewport);
|
|
83108
83104
|
}
|
|
@@ -83346,7 +83342,7 @@ Object .assign (Object .setPrototypeOf (X3DTouchSensorNode .prototype, PointingD
|
|
|
83346
83342
|
{
|
|
83347
83343
|
const
|
|
83348
83344
|
invModelViewMatrix = new Numbers_Matrix4 (),
|
|
83349
|
-
texCoord = new Numbers_Vector2 (
|
|
83345
|
+
texCoord = new Numbers_Vector2 ();
|
|
83350
83346
|
|
|
83351
83347
|
return function (over, hit, modelViewMatrix, projectionMatrix, viewport)
|
|
83352
83348
|
{
|
|
@@ -84794,21 +84790,21 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84794
84790
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
84795
84791
|
this .invModelViewMatrix = new Numbers_Matrix4 ();
|
|
84796
84792
|
|
|
84797
|
-
this .cylinder = new Geometry_Cylinder3 (new Geometry_Line3 (new Numbers_Vector3 (
|
|
84793
|
+
this .cylinder = new Geometry_Cylinder3 (new Geometry_Line3 (new Numbers_Vector3 (), new Numbers_Vector3 ()), 0);
|
|
84798
84794
|
this .disk = false;
|
|
84799
84795
|
this .yPlane = null;
|
|
84800
84796
|
this .zPlane = null;
|
|
84801
84797
|
this .sxPlane = null;
|
|
84802
84798
|
this .szNormal = null;
|
|
84803
84799
|
this .behind = false;
|
|
84804
|
-
this .fromVector = new Numbers_Vector3 (
|
|
84800
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
84805
84801
|
this .startOffset = new Numbers_Rotation4 ();
|
|
84806
84802
|
},
|
|
84807
84803
|
isBehind (hitRay, hitPoint)
|
|
84808
84804
|
{
|
|
84809
84805
|
const
|
|
84810
84806
|
enter = new Numbers_Vector3 (0, 0 ,0),
|
|
84811
|
-
exit = new Numbers_Vector3 (
|
|
84807
|
+
exit = new Numbers_Vector3 ();
|
|
84812
84808
|
|
|
84813
84809
|
this .cylinder .intersectsLine (hitRay, enter, exit);
|
|
84814
84810
|
|
|
@@ -84816,12 +84812,12 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84816
84812
|
},
|
|
84817
84813
|
getTrackPoint (hitRay, trackPoint)
|
|
84818
84814
|
{
|
|
84819
|
-
const zPoint = new Numbers_Vector3 (
|
|
84815
|
+
const zPoint = new Numbers_Vector3 ();
|
|
84820
84816
|
|
|
84821
84817
|
this .zPlane .intersectsLine (hitRay, zPoint);
|
|
84822
84818
|
|
|
84823
84819
|
const
|
|
84824
|
-
axisPoint = zPoint .copy () .add (this .cylinder .axis .getPerpendicularVectorToPoint (zPoint, new Numbers_Vector3 (
|
|
84820
|
+
axisPoint = zPoint .copy () .add (this .cylinder .axis .getPerpendicularVectorToPoint (zPoint, new Numbers_Vector3 ())),
|
|
84825
84821
|
distance = this .sxPlane .getDistanceToPoint (zPoint) / this .cylinder .radius,
|
|
84826
84822
|
section = Math .floor ((distance + 1) / 2);
|
|
84827
84823
|
|
|
@@ -84838,7 +84834,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84838
84834
|
},
|
|
84839
84835
|
getAngle (rotation)
|
|
84840
84836
|
{
|
|
84841
|
-
if (rotation .getAxis (new Numbers_Vector3 (
|
|
84837
|
+
if (rotation .getAxis (new Numbers_Vector3 ()) .dot (this .cylinder .axis .direction) > 0)
|
|
84842
84838
|
return rotation .angle;
|
|
84843
84839
|
else
|
|
84844
84840
|
return -rotation .angle;
|
|
@@ -84882,8 +84878,8 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84882
84878
|
cameraBack = this .invModelViewMatrix .multDirMatrix (new Numbers_Vector3 (0, 0, 1)) .normalize ();
|
|
84883
84879
|
|
|
84884
84880
|
const
|
|
84885
|
-
axis = new Geometry_Line3 (new Numbers_Vector3 (
|
|
84886
|
-
radius = axis .getPerpendicularVectorToPoint (hitPoint, new Numbers_Vector3 (
|
|
84881
|
+
axis = new Geometry_Line3 (new Numbers_Vector3 (), yAxis),
|
|
84882
|
+
radius = axis .getPerpendicularVectorToPoint (hitPoint, new Numbers_Vector3 ()) .magnitude ();
|
|
84887
84883
|
|
|
84888
84884
|
this .cylinder = new Geometry_Cylinder3 (axis, radius);
|
|
84889
84885
|
this .disk = Math .abs (cameraBack .dot (yAxis)) > Math .cos (this ._diskAngle .getValue ());
|
|
@@ -84896,17 +84892,17 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84896
84892
|
billboardToViewer = this .invModelViewMatrix .origin,
|
|
84897
84893
|
sxNormal = yAxis .copy () .cross (billboardToViewer) .normalize ();
|
|
84898
84894
|
|
|
84899
|
-
this .sxPlane = new Geometry_Plane3 (new Numbers_Vector3 (
|
|
84895
|
+
this .sxPlane = new Geometry_Plane3 (new Numbers_Vector3 (), sxNormal); // Billboarded special x-plane made parallel to sensors axis.
|
|
84900
84896
|
this .szNormal = sxNormal .copy () .cross (yAxis) .normalize (); // Billboarded special z-normal made parallel to sensors axis.
|
|
84901
84897
|
|
|
84902
|
-
const trackPoint = new Numbers_Vector3 (
|
|
84898
|
+
const trackPoint = new Numbers_Vector3 ();
|
|
84903
84899
|
|
|
84904
84900
|
if (this .disk)
|
|
84905
84901
|
this .yPlane .intersectsLine (hitRay, trackPoint);
|
|
84906
84902
|
else
|
|
84907
84903
|
this .getTrackPoint (hitRay, trackPoint);
|
|
84908
84904
|
|
|
84909
|
-
this .fromVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 (
|
|
84905
|
+
this .fromVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 ()) .negate ();
|
|
84910
84906
|
this .startOffset = new Numbers_Rotation4 (yAxis, this ._offset .getValue ());
|
|
84911
84907
|
|
|
84912
84908
|
this ._trackPoint_changed = trackPoint;
|
|
@@ -84923,7 +84919,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84923
84919
|
|
|
84924
84920
|
const
|
|
84925
84921
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
84926
|
-
trackPoint = new Numbers_Vector3 (
|
|
84922
|
+
trackPoint = new Numbers_Vector3 ();
|
|
84927
84923
|
|
|
84928
84924
|
if (this .disk)
|
|
84929
84925
|
this .yPlane .intersectsLine (hitRay, trackPoint);
|
|
@@ -84933,7 +84929,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84933
84929
|
this ._trackPoint_changed = trackPoint;
|
|
84934
84930
|
|
|
84935
84931
|
const
|
|
84936
|
-
toVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 (
|
|
84932
|
+
toVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 ()) .negate (),
|
|
84937
84933
|
rotation = new Numbers_Rotation4 (this .fromVector, toVector);
|
|
84938
84934
|
|
|
84939
84935
|
if (this .disk)
|
|
@@ -84965,7 +84961,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84965
84961
|
endVector = rotation .multVecRot (this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 0, 1))),
|
|
84966
84962
|
deltaRotation = new Numbers_Rotation4 (this .startVector, endVector),
|
|
84967
84963
|
axis = this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 1, 0)),
|
|
84968
|
-
sign = axis .dot (deltaRotation .getAxis (new Numbers_Vector3 (
|
|
84964
|
+
sign = axis .dot (deltaRotation .getAxis (new Numbers_Vector3 ())) > 0 ? 1 : -1,
|
|
84969
84965
|
min = this ._minAngle .getValue (),
|
|
84970
84966
|
max = this ._maxAngle .getValue ();
|
|
84971
84967
|
|
|
@@ -85141,7 +85137,7 @@ Object .assign (Line2 .prototype,
|
|
|
85141
85137
|
},
|
|
85142
85138
|
getPerpendicularVectorToPoint: (() =>
|
|
85143
85139
|
{
|
|
85144
|
-
const t = new Numbers_Vector2 (
|
|
85140
|
+
const t = new Numbers_Vector2 ();
|
|
85145
85141
|
|
|
85146
85142
|
return function (point, result)
|
|
85147
85143
|
{
|
|
@@ -85152,7 +85148,7 @@ Object .assign (Line2 .prototype,
|
|
|
85152
85148
|
})(),
|
|
85153
85149
|
intersectsLine: (() =>
|
|
85154
85150
|
{
|
|
85155
|
-
const u = new Numbers_Vector2 (
|
|
85151
|
+
const u = new Numbers_Vector2 ();
|
|
85156
85152
|
|
|
85157
85153
|
return function (line, point)
|
|
85158
85154
|
{
|
|
@@ -85262,7 +85258,7 @@ x_ite_Namespace .add ("Line2", "standard/Math/Geometry/Line2", Line2_default_);
|
|
|
85262
85258
|
|
|
85263
85259
|
const
|
|
85264
85260
|
screenLine = new Geometry_Line2 (Numbers_Vector2 .Zero, Numbers_Vector2 .Zero),
|
|
85265
|
-
trackPoint1 = new Numbers_Vector2 (
|
|
85261
|
+
trackPoint1 = new Numbers_Vector2 (),
|
|
85266
85262
|
trackPointLine = new Geometry_Line3 (Numbers_Vector3 .Zero, Numbers_Vector3 .Zero);
|
|
85267
85263
|
|
|
85268
85264
|
function PlaneSensor (executionContext)
|
|
@@ -85295,8 +85291,8 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85295
85291
|
this .planeSensor = true;
|
|
85296
85292
|
this .plane = null;
|
|
85297
85293
|
this .line = null;
|
|
85298
|
-
this .startOffset = new Numbers_Vector3 (
|
|
85299
|
-
this .startPoint = new Numbers_Vector3 (
|
|
85294
|
+
this .startOffset = new Numbers_Vector3 ();
|
|
85295
|
+
this .startPoint = new Numbers_Vector3 ();
|
|
85300
85296
|
},
|
|
85301
85297
|
getLineTrackPoint (pointer, line, trackPoint)
|
|
85302
85298
|
{
|
|
@@ -85373,13 +85369,13 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85373
85369
|
this .trackStart (this .startPoint);
|
|
85374
85370
|
}
|
|
85375
85371
|
|
|
85376
|
-
// new Plane3 (new Vector3 (
|
|
85372
|
+
// new Plane3 (new Vector3 (), this .plane .normal) .intersectsLine (hitRay, trackPoint);
|
|
85377
85373
|
}
|
|
85378
85374
|
else
|
|
85379
85375
|
{
|
|
85380
85376
|
if (this .getLineTrackPoint (hit .pointer, this .line, this .startPoint))
|
|
85381
85377
|
{
|
|
85382
|
-
const trackPoint = new Numbers_Vector3 (
|
|
85378
|
+
const trackPoint = new Numbers_Vector3 ();
|
|
85383
85379
|
|
|
85384
85380
|
try
|
|
85385
85381
|
{
|
|
@@ -85411,7 +85407,7 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85411
85407
|
{
|
|
85412
85408
|
const
|
|
85413
85409
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
85414
|
-
endPoint = new Numbers_Vector3 (
|
|
85410
|
+
endPoint = new Numbers_Vector3 ();
|
|
85415
85411
|
|
|
85416
85412
|
if (this .plane .intersectsLine (hitRay, endPoint))
|
|
85417
85413
|
this .track (endPoint, endPoint .copy ());
|
|
@@ -85421,8 +85417,8 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85421
85417
|
else
|
|
85422
85418
|
{
|
|
85423
85419
|
const
|
|
85424
|
-
endPoint = new Numbers_Vector3 (
|
|
85425
|
-
trackPoint = new Numbers_Vector3 (
|
|
85420
|
+
endPoint = new Numbers_Vector3 (),
|
|
85421
|
+
trackPoint = new Numbers_Vector3 ();
|
|
85426
85422
|
|
|
85427
85423
|
if (this .getLineTrackPoint (hit .pointer, this .line, endPoint))
|
|
85428
85424
|
{
|
|
@@ -85627,13 +85623,13 @@ Object .assign (Sphere3 .prototype,
|
|
|
85627
85623
|
intersectsTriangle: (() =>
|
|
85628
85624
|
{
|
|
85629
85625
|
const
|
|
85630
|
-
AB = new Numbers_Vector3 (
|
|
85631
|
-
AC = new Numbers_Vector3 (
|
|
85632
|
-
BC = new Numbers_Vector3 (
|
|
85633
|
-
CA = new Numbers_Vector3 (
|
|
85634
|
-
Q1 = new Numbers_Vector3 (
|
|
85635
|
-
Q2 = new Numbers_Vector3 (
|
|
85636
|
-
Q3 = new Numbers_Vector3 (
|
|
85626
|
+
AB = new Numbers_Vector3 (),
|
|
85627
|
+
AC = new Numbers_Vector3 (),
|
|
85628
|
+
BC = new Numbers_Vector3 (),
|
|
85629
|
+
CA = new Numbers_Vector3 (),
|
|
85630
|
+
Q1 = new Numbers_Vector3 (),
|
|
85631
|
+
Q2 = new Numbers_Vector3 (),
|
|
85632
|
+
Q3 = new Numbers_Vector3 ();
|
|
85637
85633
|
|
|
85638
85634
|
return function (A, B, C)
|
|
85639
85635
|
{
|
|
@@ -85778,7 +85774,6 @@ x_ite_Namespace .add ("Sphere3", "standard/Math/Geometry/Sphere3", Sphere3_defau
|
|
|
85778
85774
|
|
|
85779
85775
|
|
|
85780
85776
|
|
|
85781
|
-
|
|
85782
85777
|
function SphereSensor (executionContext)
|
|
85783
85778
|
{
|
|
85784
85779
|
PointingDeviceSensor_X3DDragSensorNode .call (this, executionContext);
|
|
@@ -85798,13 +85793,13 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85798
85793
|
this .sphere = null;
|
|
85799
85794
|
this .zPlane = null;
|
|
85800
85795
|
this .behind = false;
|
|
85801
|
-
this .fromVector = new Numbers_Vector3 (
|
|
85802
|
-
this .startPoint = new Numbers_Vector3 (
|
|
85796
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
85797
|
+
this .startPoint = new Numbers_Vector3 ();
|
|
85803
85798
|
this .startOffset = new Numbers_Rotation4 ();
|
|
85804
85799
|
},
|
|
85805
85800
|
getTrackPoint (hitRay, trackPoint, behind)
|
|
85806
85801
|
{
|
|
85807
|
-
const exit = new Numbers_Vector3 (
|
|
85802
|
+
const exit = new Numbers_Vector3 ();
|
|
85808
85803
|
|
|
85809
85804
|
if (this .sphere .intersectsLine (hitRay, trackPoint, exit))
|
|
85810
85805
|
{
|
|
@@ -85827,7 +85822,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85827
85822
|
|
|
85828
85823
|
const
|
|
85829
85824
|
hitPoint = this .invModelViewMatrix .multVecMatrix (hit .point .copy ()),
|
|
85830
|
-
center = new Numbers_Vector3 (
|
|
85825
|
+
center = new Numbers_Vector3 ();
|
|
85831
85826
|
|
|
85832
85827
|
this .zPlane = new Geometry_Plane3 (center, this .invModelViewMatrix .multDirMatrix (new Numbers_Vector3 (0, 0, 1)) .normalize ()); // Screen aligned Z-plane
|
|
85833
85828
|
this .sphere = new Geometry_Sphere3 (hitPoint .magnitude (), center);
|
|
@@ -85850,7 +85845,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85850
85845
|
{
|
|
85851
85846
|
const
|
|
85852
85847
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
85853
|
-
trackPoint = new Numbers_Vector3 (
|
|
85848
|
+
trackPoint = new Numbers_Vector3 ();
|
|
85854
85849
|
|
|
85855
85850
|
if (this .getTrackPoint (hitRay, trackPoint, this .behind))
|
|
85856
85851
|
{
|
|
@@ -85862,7 +85857,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85862
85857
|
{
|
|
85863
85858
|
// Find trackPoint on the plane with sphere
|
|
85864
85859
|
|
|
85865
|
-
const tangentPoint = new Numbers_Vector3 (
|
|
85860
|
+
const tangentPoint = new Numbers_Vector3 ();
|
|
85866
85861
|
|
|
85867
85862
|
this .zPlane .intersectsLine (hitRay, tangentPoint);
|
|
85868
85863
|
|
|
@@ -85875,7 +85870,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85875
85870
|
// Find trackPoint behind sphere
|
|
85876
85871
|
|
|
85877
85872
|
const
|
|
85878
|
-
triNormal = Geometry_Triangle3 .normal (this .sphere .center, trackPoint, this .startPoint, new Numbers_Vector3 (
|
|
85873
|
+
triNormal = Geometry_Triangle3 .normal (this .sphere .center, trackPoint, this .startPoint, new Numbers_Vector3 ()),
|
|
85879
85874
|
dirFromCenter = trackPoint .copy () .subtract (this .sphere .center) .normalize (),
|
|
85880
85875
|
normal = triNormal .copy () .cross (dirFromCenter) .normalize ();
|
|
85881
85876
|
|
|
@@ -86122,7 +86117,7 @@ function ClipPlane (executionContext)
|
|
|
86122
86117
|
this .addType (Base_X3DConstants .ClipPlane);
|
|
86123
86118
|
|
|
86124
86119
|
this .enabled = false;
|
|
86125
|
-
this .plane = new Numbers_Vector4 (
|
|
86120
|
+
this .plane = new Numbers_Vector4 ();
|
|
86126
86121
|
}
|
|
86127
86122
|
|
|
86128
86123
|
Object .assign (Object .setPrototypeOf (ClipPlane .prototype, Core_X3DChildNode .prototype),
|
|
@@ -86738,9 +86733,9 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86738
86733
|
getNormal: (() =>
|
|
86739
86734
|
{
|
|
86740
86735
|
const
|
|
86741
|
-
point1 = new Numbers_Vector3 (
|
|
86742
|
-
point2 = new Numbers_Vector3 (
|
|
86743
|
-
point3 = new Numbers_Vector3 (
|
|
86736
|
+
point1 = new Numbers_Vector3 (),
|
|
86737
|
+
point2 = new Numbers_Vector3 (),
|
|
86738
|
+
point3 = new Numbers_Vector3 ();
|
|
86744
86739
|
|
|
86745
86740
|
return function (index1, index2, index3)
|
|
86746
86741
|
{
|
|
@@ -86753,19 +86748,19 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86753
86748
|
return Geometry_Triangle3 .normal (this .get1Point (index1, point1),
|
|
86754
86749
|
this .get1Point (index2, point2),
|
|
86755
86750
|
this .get1Point (index3, point3),
|
|
86756
|
-
new Numbers_Vector3 (
|
|
86751
|
+
new Numbers_Vector3 ());
|
|
86757
86752
|
}
|
|
86758
86753
|
|
|
86759
|
-
return new Numbers_Vector3 (
|
|
86754
|
+
return new Numbers_Vector3 ();
|
|
86760
86755
|
};
|
|
86761
86756
|
})(),
|
|
86762
86757
|
getQuadNormal: (() =>
|
|
86763
86758
|
{
|
|
86764
86759
|
const
|
|
86765
|
-
point1 = new Numbers_Vector3 (
|
|
86766
|
-
point2 = new Numbers_Vector3 (
|
|
86767
|
-
point3 = new Numbers_Vector3 (
|
|
86768
|
-
point4 = new Numbers_Vector3 (
|
|
86760
|
+
point1 = new Numbers_Vector3 (),
|
|
86761
|
+
point2 = new Numbers_Vector3 (),
|
|
86762
|
+
point3 = new Numbers_Vector3 (),
|
|
86763
|
+
point4 = new Numbers_Vector3 ();
|
|
86769
86764
|
|
|
86770
86765
|
return function (index1, index2, index3, index4)
|
|
86771
86766
|
{
|
|
@@ -86779,10 +86774,10 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86779
86774
|
this .get1Point (index2, point2),
|
|
86780
86775
|
this .get1Point (index3, point3),
|
|
86781
86776
|
this .get1Point (index4, point4),
|
|
86782
|
-
new Numbers_Vector3 (
|
|
86777
|
+
new Numbers_Vector3 ());
|
|
86783
86778
|
}
|
|
86784
86779
|
|
|
86785
|
-
return new Numbers_Vector3 (
|
|
86780
|
+
return new Numbers_Vector3 ();
|
|
86786
86781
|
};
|
|
86787
86782
|
})(),
|
|
86788
86783
|
});
|
|
@@ -87121,10 +87116,10 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
87121
87116
|
{
|
|
87122
87117
|
const
|
|
87123
87118
|
modelViewProjectionMatrix = new Numbers_Matrix4 (),
|
|
87124
|
-
point0 = new Numbers_Vector4 (
|
|
87125
|
-
point1 = new Numbers_Vector4 (
|
|
87126
|
-
projectedPoint0 = new Numbers_Vector2 (
|
|
87127
|
-
projectedPoint1 = new Numbers_Vector2 (
|
|
87119
|
+
point0 = new Numbers_Vector4 (),
|
|
87120
|
+
point1 = new Numbers_Vector4 (),
|
|
87121
|
+
projectedPoint0 = new Numbers_Vector2 (),
|
|
87122
|
+
projectedPoint1 = new Numbers_Vector2 ();
|
|
87128
87123
|
|
|
87129
87124
|
return function (gl, renderContext)
|
|
87130
87125
|
{
|
|
@@ -88673,7 +88668,6 @@ x_ite_Namespace .add ("X3DNormalNode", "x_ite/Components/Rendering/X3DNormalNode
|
|
|
88673
88668
|
|
|
88674
88669
|
|
|
88675
88670
|
|
|
88676
|
-
|
|
88677
88671
|
function Normal (executionContext)
|
|
88678
88672
|
{
|
|
88679
88673
|
Rendering_X3DNormalNode .call (this, executionContext);
|
|
@@ -89778,7 +89772,6 @@ x_ite_Namespace .add ("Rendering", "x_ite/Components/Rendering", Rendering_defau
|
|
|
89778
89772
|
|
|
89779
89773
|
|
|
89780
89774
|
|
|
89781
|
-
|
|
89782
89775
|
function X3DShaderNode (executionContext)
|
|
89783
89776
|
{
|
|
89784
89777
|
Shape_X3DAppearanceChildNode .call (this, executionContext);
|
|
@@ -89838,7 +89831,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89838
89831
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89839
89832
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89840
89833
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89841
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89834
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(864);
|
|
89842
89835
|
/*******************************************************************************
|
|
89843
89836
|
*
|
|
89844
89837
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95479,7 +95472,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95479
95472
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95480
95473
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95481
95474
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95482
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95475
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(864);
|
|
95483
95476
|
/*******************************************************************************
|
|
95484
95477
|
*
|
|
95485
95478
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96136,7 +96129,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
96136
96129
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
96137
96130
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
96138
96131
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
96139
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
96132
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(864);
|
|
96140
96133
|
/*******************************************************************************
|
|
96141
96134
|
*
|
|
96142
96135
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98614,8 +98607,8 @@ function X3DShapeNode (executionContext)
|
|
|
98614
98607
|
this .addType (Base_X3DConstants .X3DShapeNode);
|
|
98615
98608
|
|
|
98616
98609
|
this .bbox = new Geometry_Box3 ();
|
|
98617
|
-
this .bboxSize = new Numbers_Vector3 (
|
|
98618
|
-
this .bboxCenter = new Numbers_Vector3 (
|
|
98610
|
+
this .bboxSize = new Numbers_Vector3 ();
|
|
98611
|
+
this .bboxCenter = new Numbers_Vector3 ();
|
|
98619
98612
|
}
|
|
98620
98613
|
|
|
98621
98614
|
Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNode .prototype),
|
|
@@ -99703,6 +99696,7 @@ function X3DSoundProcessingNode (executionContext)
|
|
|
99703
99696
|
this .childNodes = [ ];
|
|
99704
99697
|
this .audioDestination = new GainNode (audioContext, { gain: 0 });
|
|
99705
99698
|
this .audioSource = new GainNode (audioContext, { gain: 1 });
|
|
99699
|
+
this .soundProcessor = this .audioSource;
|
|
99706
99700
|
}
|
|
99707
99701
|
|
|
99708
99702
|
Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound_X3DSoundNode .prototype),
|
|
@@ -99736,10 +99730,18 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99736
99730
|
},
|
|
99737
99731
|
getSoundProcessor ()
|
|
99738
99732
|
{
|
|
99739
|
-
return this .
|
|
99733
|
+
return this .soundProcessor;
|
|
99734
|
+
},
|
|
99735
|
+
setSoundProcessor (value)
|
|
99736
|
+
{
|
|
99737
|
+
this .soundProcessor = value ?? this .audioSource;
|
|
99738
|
+
|
|
99739
|
+
this .set_enabled__ ();
|
|
99740
99740
|
},
|
|
99741
99741
|
set_enabled__ ()
|
|
99742
99742
|
{
|
|
99743
|
+
Time_X3DTimeDependentNode .prototype .set_enabled__ .call (this);
|
|
99744
|
+
|
|
99743
99745
|
this .audioDestination .disconnect ();
|
|
99744
99746
|
|
|
99745
99747
|
if (this ._enabled .getValue ())
|
|
@@ -99748,7 +99750,7 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99748
99750
|
this .set_channelCountMode__ ();
|
|
99749
99751
|
this .set_channelInterpretation__ ();
|
|
99750
99752
|
|
|
99751
|
-
this .audioDestination .connect (this .
|
|
99753
|
+
this .audioDestination .connect (this .soundProcessor);
|
|
99752
99754
|
}
|
|
99753
99755
|
else
|
|
99754
99756
|
{
|
|
@@ -99758,8 +99760,6 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99758
99760
|
|
|
99759
99761
|
this .audioDestination .connect (this .audioSource);
|
|
99760
99762
|
}
|
|
99761
|
-
|
|
99762
|
-
Time_X3DTimeDependentNode .prototype .set_enabled__ .call (this);
|
|
99763
99763
|
},
|
|
99764
99764
|
set_gain__ ()
|
|
99765
99765
|
{
|
|
@@ -99950,14 +99950,12 @@ Object .assign (Object .setPrototypeOf (Analyser .prototype, Sound_X3DSoundProce
|
|
|
99950
99950
|
this ._maxDecibels .addInterest ("set_decibels__", this);
|
|
99951
99951
|
this ._smoothingTimeConstant .addInterest ("set_smoothingTimeConstant__", this);
|
|
99952
99952
|
|
|
99953
|
+
this .setSoundProcessor (this .analyserNode);
|
|
99954
|
+
|
|
99953
99955
|
this .set_fftSize__ ();
|
|
99954
99956
|
this .set_decibels__ ();
|
|
99955
99957
|
this .set_smoothingTimeConstant__ ();
|
|
99956
99958
|
},
|
|
99957
|
-
getSoundProcessor ()
|
|
99958
|
-
{
|
|
99959
|
-
return this .analyserNode;
|
|
99960
|
-
},
|
|
99961
99959
|
set_fftSize__ ()
|
|
99962
99960
|
{
|
|
99963
99961
|
this .analyserNode .fftSize = Math_Algorithm .clamp (Math_Algorithm .nextPowerOfTwo (this ._fftSize .getValue ()), 32, 32768);
|
|
@@ -101122,15 +101120,13 @@ Object .assign (Object .setPrototypeOf (BiquadFilter .prototype, Sound_X3DSoundP
|
|
|
101122
101120
|
this ._frequency .addInterest ("set_frequency__", this);
|
|
101123
101121
|
this ._qualityFactor .addInterest ("set_qualityFactor__", this);
|
|
101124
101122
|
|
|
101123
|
+
this .setSoundProcessor (this .biquadFilterNode);
|
|
101124
|
+
|
|
101125
101125
|
this .set_detune__ ();
|
|
101126
101126
|
this .set_type__ ();
|
|
101127
101127
|
this .set_frequency__ ();
|
|
101128
101128
|
this .set_qualityFactor__ ();
|
|
101129
101129
|
},
|
|
101130
|
-
getSoundProcessor ()
|
|
101131
|
-
{
|
|
101132
|
-
return this .biquadFilterNode;
|
|
101133
|
-
},
|
|
101134
101130
|
set_detune__ ()
|
|
101135
101131
|
{
|
|
101136
101132
|
this .biquadFilterNode .detune .value = this ._detune .getValue ();
|
|
@@ -101392,14 +101388,14 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
|
|
|
101392
101388
|
},
|
|
101393
101389
|
loadData ()
|
|
101394
101390
|
{
|
|
101395
|
-
this .
|
|
101391
|
+
this .setMediaElement (null);
|
|
101396
101392
|
|
|
101397
101393
|
new InputOutput_FileLoader (this) .loadDocument (this ._url, async (data, URL) =>
|
|
101398
101394
|
{
|
|
101399
101395
|
if (data === null)
|
|
101400
101396
|
{
|
|
101401
101397
|
// No URL could be loaded.
|
|
101402
|
-
this .
|
|
101398
|
+
this .setMediaElement (null);
|
|
101403
101399
|
this .setLoadState (Base_X3DConstants .FAILED_STATE);
|
|
101404
101400
|
}
|
|
101405
101401
|
else if (data instanceof ArrayBuffer)
|
|
@@ -101577,6 +101573,7 @@ function X3DSoundChannelNode (executionContext)
|
|
|
101577
101573
|
this .childNodes = [ ];
|
|
101578
101574
|
this .audioDestination = new GainNode (audioContext, { gain: 0 });
|
|
101579
101575
|
this .audioSource = new GainNode (audioContext, { gain: 1 });
|
|
101576
|
+
this .soundProcessor = this .audioSource;
|
|
101580
101577
|
}
|
|
101581
101578
|
|
|
101582
101579
|
Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3DSoundNode .prototype),
|
|
@@ -101609,7 +101606,13 @@ Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3
|
|
|
101609
101606
|
},
|
|
101610
101607
|
getSoundProcessor ()
|
|
101611
101608
|
{
|
|
101612
|
-
return this .
|
|
101609
|
+
return this .soundProcessor;
|
|
101610
|
+
},
|
|
101611
|
+
setSoundProcessor (value)
|
|
101612
|
+
{
|
|
101613
|
+
this .soundProcessor = value ?? this .audioSource;
|
|
101614
|
+
|
|
101615
|
+
this .set_enabled__ ();
|
|
101613
101616
|
},
|
|
101614
101617
|
set_enabled__ ()
|
|
101615
101618
|
{
|
|
@@ -101621,7 +101624,7 @@ Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3
|
|
|
101621
101624
|
this .set_channelCountMode__ ();
|
|
101622
101625
|
this .set_channelInterpretation__ ();
|
|
101623
101626
|
|
|
101624
|
-
this .audioDestination .connect (this .
|
|
101627
|
+
this .audioDestination .connect (this .soundProcessor);
|
|
101625
101628
|
}
|
|
101626
101629
|
else
|
|
101627
101630
|
{
|
|
@@ -101965,10 +101968,6 @@ function ChannelSelector (executionContext)
|
|
|
101965
101968
|
Sound_X3DSoundChannelNode .call (this, executionContext);
|
|
101966
101969
|
|
|
101967
101970
|
this .addType (Base_X3DConstants .ChannelSelector);
|
|
101968
|
-
|
|
101969
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
101970
|
-
|
|
101971
|
-
this .channelSplitterNode = new ChannelSplitterNode (audioContext);
|
|
101972
101971
|
}
|
|
101973
101972
|
|
|
101974
101973
|
Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSoundChannelNode .prototype),
|
|
@@ -101981,10 +101980,6 @@ Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSou
|
|
|
101981
101980
|
|
|
101982
101981
|
this .set_channelSelection__ ();
|
|
101983
101982
|
},
|
|
101984
|
-
getSoundProcessor ()
|
|
101985
|
-
{
|
|
101986
|
-
return this .channelSplitterNode;
|
|
101987
|
-
},
|
|
101988
101983
|
set_channelSelection__ ()
|
|
101989
101984
|
{
|
|
101990
101985
|
const
|
|
@@ -101992,14 +101987,14 @@ Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSou
|
|
|
101992
101987
|
channelSelection = Math_Algorithm .clamp (this ._channelSelection .getValue (), 0, 31),
|
|
101993
101988
|
numberOfOutputs = channelSelection + 1;
|
|
101994
101989
|
|
|
101995
|
-
this .channelSplitterNode
|
|
101990
|
+
this .channelSplitterNode ?.disconnect ();
|
|
101996
101991
|
|
|
101997
|
-
if (this .channelSplitterNode
|
|
101992
|
+
if (this .channelSplitterNode ?.numberOfOutputs !== numberOfOutputs)
|
|
101998
101993
|
this .channelSplitterNode = new ChannelSplitterNode (audioContext, { numberOfOutputs });
|
|
101999
101994
|
|
|
102000
101995
|
this .channelSplitterNode .connect (this .getAudioSource (), channelSelection);
|
|
102001
101996
|
|
|
102002
|
-
this .
|
|
101997
|
+
this .setSoundProcessor (this .channelSplitterNode);
|
|
102003
101998
|
},
|
|
102004
101999
|
});
|
|
102005
102000
|
|
|
@@ -102324,13 +102319,11 @@ Object .assign (Object .setPrototypeOf (Convolver .prototype, Sound_X3DSoundProc
|
|
|
102324
102319
|
this ._buffer .addInterest ("set_buffer__", this);
|
|
102325
102320
|
this ._normalize .addInterest ("set_normalize__", this);
|
|
102326
102321
|
|
|
102322
|
+
this .setSoundProcessor (this .convolverNode);
|
|
102323
|
+
|
|
102327
102324
|
this .set_buffer__ ();
|
|
102328
102325
|
this .set_normalize__ ();
|
|
102329
102326
|
},
|
|
102330
|
-
getSoundProcessor ()
|
|
102331
|
-
{
|
|
102332
|
-
return this .convolverNode;
|
|
102333
|
-
},
|
|
102334
102327
|
set_buffer__ ()
|
|
102335
102328
|
{
|
|
102336
102329
|
const
|
|
@@ -102478,12 +102471,6 @@ function Delay (executionContext)
|
|
|
102478
102471
|
Sound_X3DSoundProcessingNode .call (this, executionContext);
|
|
102479
102472
|
|
|
102480
102473
|
this .addType (Base_X3DConstants .Delay);
|
|
102481
|
-
|
|
102482
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
102483
|
-
|
|
102484
|
-
this .delayNode = new DelayNode (audioContext);
|
|
102485
|
-
|
|
102486
|
-
this .delayNode .connect (this .getAudioSource ());
|
|
102487
102474
|
}
|
|
102488
102475
|
|
|
102489
102476
|
Object .assign (Object .setPrototypeOf (Delay .prototype, Sound_X3DSoundProcessingNode .prototype),
|
|
@@ -102492,20 +102479,38 @@ Object .assign (Object .setPrototypeOf (Delay .prototype, Sound_X3DSoundProcessi
|
|
|
102492
102479
|
{
|
|
102493
102480
|
Sound_X3DSoundProcessingNode .prototype .initialize .call (this);
|
|
102494
102481
|
|
|
102495
|
-
this .
|
|
102496
|
-
this .
|
|
102482
|
+
this ._maxDelayTime .addInterest ("set_maxDelayTime__", this);
|
|
102483
|
+
this ._delayTime .addInterest ("set_delayTime__", this);
|
|
102497
102484
|
|
|
102498
|
-
this .
|
|
102485
|
+
this .set_maxDelayTime__ ();
|
|
102499
102486
|
},
|
|
102500
|
-
|
|
102487
|
+
set_delayTime__ ()
|
|
102501
102488
|
{
|
|
102502
|
-
|
|
102489
|
+
const
|
|
102490
|
+
maxDelayTime = Math .max (this ._maxDelayTime .getValue (), 0),
|
|
102491
|
+
delayTime = Math_Algorithm .clamp (this ._delayTime .getValue (), 0, maxDelayTime);
|
|
102492
|
+
|
|
102493
|
+
this .delayNode .delayTime .value = delayTime;
|
|
102503
102494
|
},
|
|
102504
|
-
|
|
102495
|
+
set_maxDelayTime__ ()
|
|
102505
102496
|
{
|
|
102506
|
-
|
|
102497
|
+
this .delayNode ?.disconnect ();
|
|
102498
|
+
|
|
102499
|
+
this .delayNode = this .createSoundProcessor ();
|
|
102500
|
+
|
|
102501
|
+
this .delayNode .connect (this .getAudioSource ());
|
|
102507
102502
|
|
|
102508
|
-
this .
|
|
102503
|
+
this .setSoundProcessor (this .delayNode);
|
|
102504
|
+
},
|
|
102505
|
+
createSoundProcessor ()
|
|
102506
|
+
{
|
|
102507
|
+
const
|
|
102508
|
+
audioContext = this .getBrowser () .getAudioContext (),
|
|
102509
|
+
maxDelayTime = Math .max (this ._maxDelayTime .getValue (), 0),
|
|
102510
|
+
delayTime = Math_Algorithm .clamp (this ._delayTime .getValue (), 0, maxDelayTime),
|
|
102511
|
+
delayNode = new DelayNode (audioContext, { maxDelayTime, delayTime });
|
|
102512
|
+
|
|
102513
|
+
return delayNode;
|
|
102509
102514
|
},
|
|
102510
102515
|
});
|
|
102511
102516
|
|
|
@@ -102540,8 +102545,8 @@ Object .defineProperties (Delay,
|
|
|
102540
102545
|
|
|
102541
102546
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "gain", new x_ite_Fields .SFFloat (1)),
|
|
102542
102547
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tailTime", new x_ite_Fields .SFTime ()),
|
|
102543
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "delayTime", new x_ite_Fields .SFTime ()),
|
|
102544
102548
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "maxDelayTime", new x_ite_Fields .SFTime (1)),
|
|
102549
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "delayTime", new x_ite_Fields .SFTime ()),
|
|
102545
102550
|
|
|
102546
102551
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "channelCount", new x_ite_Fields .SFInt32 ()), // skip test
|
|
102547
102552
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "channelCountMode", new x_ite_Fields .SFString ("MAX")),
|
|
@@ -102646,16 +102651,14 @@ Object .assign (Object .setPrototypeOf (DynamicsCompressor .prototype, Sound_X3D
|
|
|
102646
102651
|
this ._release .addInterest ("set_release__", this);
|
|
102647
102652
|
this ._threshold .addInterest ("set_threshold__", this);
|
|
102648
102653
|
|
|
102654
|
+
this .setSoundProcessor (this .dynamicsCompressorNode);
|
|
102655
|
+
|
|
102649
102656
|
this .set_attack__ ();
|
|
102650
102657
|
this .set_knee__ ();
|
|
102651
102658
|
this .set_ratio__ ();
|
|
102652
102659
|
this .set_release__ ();
|
|
102653
102660
|
this .set_threshold__ ();
|
|
102654
102661
|
},
|
|
102655
|
-
getSoundProcessor ()
|
|
102656
|
-
{
|
|
102657
|
-
return this .dynamicsCompressorNode;
|
|
102658
|
-
},
|
|
102659
102662
|
set_attack__ ()
|
|
102660
102663
|
{
|
|
102661
102664
|
this .dynamicsCompressorNode .attack .value = Math_Algorithm .clamp (this ._attack .getValue (), 0, 1);
|
|
@@ -102968,11 +102971,11 @@ Object .assign (Object .setPrototypeOf (ListenerPointSource .prototype, Sound_X3
|
|
|
102968
102971
|
traverse: (() =>
|
|
102969
102972
|
{
|
|
102970
102973
|
const
|
|
102971
|
-
position = new Numbers_Vector3 (
|
|
102974
|
+
position = new Numbers_Vector3 (),
|
|
102972
102975
|
orientation = new Numbers_Rotation4 (),
|
|
102973
102976
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
102974
|
-
forwardVector = new Numbers_Vector3 (
|
|
102975
|
-
upVector = new Numbers_Vector3 (
|
|
102977
|
+
forwardVector = new Numbers_Vector3 (),
|
|
102978
|
+
upVector = new Numbers_Vector3 ();
|
|
102976
102979
|
|
|
102977
102980
|
return function (type, renderObject)
|
|
102978
102981
|
{
|
|
@@ -103337,10 +103340,6 @@ function OscillatorSource (executionContext)
|
|
|
103337
103340
|
this .addType (Base_X3DConstants .OscillatorSource);
|
|
103338
103341
|
|
|
103339
103342
|
this .addChildObjects (Base_X3DConstants .inputOutput, "loop", new x_ite_Fields .SFBool ());
|
|
103340
|
-
|
|
103341
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
103342
|
-
|
|
103343
|
-
this .oscillatorNode = new OscillatorNode (audioContext);
|
|
103344
103343
|
}
|
|
103345
103344
|
|
|
103346
103345
|
Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSoundSourceNode .prototype),
|
|
@@ -103355,6 +103354,36 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103355
103354
|
|
|
103356
103355
|
this .set_periodicWave__ ();
|
|
103357
103356
|
},
|
|
103357
|
+
set_detune__ ()
|
|
103358
|
+
{
|
|
103359
|
+
if (!this .oscillatorNode)
|
|
103360
|
+
return;
|
|
103361
|
+
|
|
103362
|
+
this .oscillatorNode .detune .value = Math .max (this ._detune .getValue (), 0);
|
|
103363
|
+
},
|
|
103364
|
+
set_frequency__ ()
|
|
103365
|
+
{
|
|
103366
|
+
if (!this .oscillatorNode)
|
|
103367
|
+
return;
|
|
103368
|
+
|
|
103369
|
+
this .oscillatorNode .frequency .value = Math .max (this ._frequency .getValue (), 0);
|
|
103370
|
+
},
|
|
103371
|
+
set_periodicWave__ ()
|
|
103372
|
+
{
|
|
103373
|
+
if (this .periodicWaveNode)
|
|
103374
|
+
{
|
|
103375
|
+
this .periodicWaveNode ._type .removeInterest ("set_type__", this);
|
|
103376
|
+
this .periodicWaveNode ._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103377
|
+
this .periodicWaveNode ._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103378
|
+
}
|
|
103379
|
+
|
|
103380
|
+
this .periodicWaveNode = Base_X3DCast (Base_X3DConstants .PeriodicWave, this ._periodicWave)
|
|
103381
|
+
?? this .getBrowser () .getDefaultPeriodicWave ();
|
|
103382
|
+
|
|
103383
|
+
this .periodicWaveNode ._type .addInterest ("set_type__", this);
|
|
103384
|
+
|
|
103385
|
+
this .set_type__ ();
|
|
103386
|
+
},
|
|
103358
103387
|
set_type__: (function ()
|
|
103359
103388
|
{
|
|
103360
103389
|
const types = new Map ([
|
|
@@ -103367,6 +103396,9 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103367
103396
|
|
|
103368
103397
|
return function ()
|
|
103369
103398
|
{
|
|
103399
|
+
if (!this .oscillatorNode)
|
|
103400
|
+
return;
|
|
103401
|
+
|
|
103370
103402
|
this .periodicWaveNode ._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103371
103403
|
this .periodicWaveNode ._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103372
103404
|
|
|
@@ -103385,27 +103417,6 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103385
103417
|
}
|
|
103386
103418
|
};
|
|
103387
103419
|
})(),
|
|
103388
|
-
set_detune__ ()
|
|
103389
|
-
{
|
|
103390
|
-
this .oscillatorNode .detune .value = Math .max (this ._detune .getValue (), 0);
|
|
103391
|
-
},
|
|
103392
|
-
set_frequency__ ()
|
|
103393
|
-
{
|
|
103394
|
-
this .oscillatorNode .frequency .value = Math .max (this ._frequency .getValue (), 0);
|
|
103395
|
-
},
|
|
103396
|
-
set_periodicWave__ ()
|
|
103397
|
-
{
|
|
103398
|
-
this .periodicWaveNode ?._type .removeInterest ("set_type__", this);
|
|
103399
|
-
this .periodicWaveNode ?._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103400
|
-
this .periodicWaveNode ?._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103401
|
-
|
|
103402
|
-
this .periodicWaveNode = Base_X3DCast (Base_X3DConstants .PeriodicWave, this ._periodicWave)
|
|
103403
|
-
?? this .getBrowser () .getDefaultPeriodicWave ();
|
|
103404
|
-
|
|
103405
|
-
this .periodicWaveNode ._type .addInterest ("set_type__", this);
|
|
103406
|
-
|
|
103407
|
-
this .set_type__ ();
|
|
103408
|
-
},
|
|
103409
103420
|
set_periodicWaveOptions__ ()
|
|
103410
103421
|
{
|
|
103411
103422
|
this .oscillatorNode .setPeriodicWave (this .periodicWaveNode .createPeriodicWave ());
|
|
@@ -103416,20 +103427,20 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103416
103427
|
|
|
103417
103428
|
this .oscillatorNode = new OscillatorNode (audioContext);
|
|
103418
103429
|
|
|
103419
|
-
this .set_type__ ();
|
|
103420
|
-
this .set_frequency__ ();
|
|
103421
103430
|
this .set_detune__ ();
|
|
103431
|
+
this .set_frequency__ ();
|
|
103432
|
+
this .set_type__ ();
|
|
103422
103433
|
|
|
103423
103434
|
this .oscillatorNode .connect (this .getAudioSource ());
|
|
103424
103435
|
this .oscillatorNode .start ();
|
|
103425
103436
|
},
|
|
103426
103437
|
set_pause ()
|
|
103427
103438
|
{
|
|
103428
|
-
this .
|
|
103439
|
+
this .set_stop ();
|
|
103429
103440
|
},
|
|
103430
103441
|
set_resume ()
|
|
103431
103442
|
{
|
|
103432
|
-
this .
|
|
103443
|
+
this .set_start ();
|
|
103433
103444
|
},
|
|
103434
103445
|
set_stop ()
|
|
103435
103446
|
{
|
|
@@ -103848,8 +103859,8 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103848
103859
|
traverse: (() =>
|
|
103849
103860
|
{
|
|
103850
103861
|
const
|
|
103851
|
-
min = { distance: 0, intersection: new Numbers_Vector3 (
|
|
103852
|
-
max = { distance: 0, intersection: new Numbers_Vector3 (
|
|
103862
|
+
min = { distance: 0, intersection: new Numbers_Vector3 () },
|
|
103863
|
+
max = { distance: 0, intersection: new Numbers_Vector3 () };
|
|
103853
103864
|
|
|
103854
103865
|
return function (type, renderObject)
|
|
103855
103866
|
{
|
|
@@ -103900,16 +103911,16 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103900
103911
|
getEllipsoidParameter: (() =>
|
|
103901
103912
|
{
|
|
103902
103913
|
const
|
|
103903
|
-
location = new Numbers_Vector3 (
|
|
103914
|
+
location = new Numbers_Vector3 (),
|
|
103904
103915
|
sphereMatrix = new Numbers_Matrix4 (),
|
|
103905
103916
|
invSphereMatrix = new Numbers_Matrix4 (),
|
|
103906
103917
|
rotation = new Numbers_Rotation4 (),
|
|
103907
103918
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
103908
103919
|
sphere = new Geometry_Sphere3 (1, Numbers_Vector3 .Zero),
|
|
103909
|
-
normal = new Numbers_Vector3 (
|
|
103920
|
+
normal = new Numbers_Vector3 (),
|
|
103910
103921
|
line = new Geometry_Line3 (Numbers_Vector3 .Zero, Numbers_Vector3 .zAxis),
|
|
103911
|
-
enterPoint = new Numbers_Vector3 (
|
|
103912
|
-
exitPoint = new Numbers_Vector3 (
|
|
103922
|
+
enterPoint = new Numbers_Vector3 (),
|
|
103923
|
+
exitPoint = new Numbers_Vector3 ();
|
|
103913
103924
|
|
|
103914
103925
|
return function (modelViewMatrix, back, front, value)
|
|
103915
103926
|
{
|
|
@@ -103962,9 +103973,9 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103962
103973
|
{
|
|
103963
103974
|
const
|
|
103964
103975
|
rotation = new Numbers_Rotation4 (),
|
|
103965
|
-
location = new Numbers_Vector3 (
|
|
103966
|
-
direction = new Numbers_Vector3 (
|
|
103967
|
-
xAxis = new Numbers_Vector3 (
|
|
103976
|
+
location = new Numbers_Vector3 (),
|
|
103977
|
+
direction = new Numbers_Vector3 (),
|
|
103978
|
+
xAxis = new Numbers_Vector3 (),
|
|
103968
103979
|
result = { };
|
|
103969
103980
|
|
|
103970
103981
|
return function (modelViewMatrix)
|
|
@@ -104311,8 +104322,8 @@ Object .assign (Object .setPrototypeOf (SpatialSound .prototype, Sound_X3DSoundN
|
|
|
104311
104322
|
traverse: (() =>
|
|
104312
104323
|
{
|
|
104313
104324
|
const
|
|
104314
|
-
location = new Numbers_Vector3 (
|
|
104315
|
-
direction = new Numbers_Vector3 (
|
|
104325
|
+
location = new Numbers_Vector3 (),
|
|
104326
|
+
direction = new Numbers_Vector3 ();
|
|
104316
104327
|
|
|
104317
104328
|
return function (type, renderObject)
|
|
104318
104329
|
{
|
|
@@ -104721,13 +104732,11 @@ Object .assign (Object .setPrototypeOf (WaveShaper .prototype, Sound_X3DSoundPro
|
|
|
104721
104732
|
this ._curve .addInterest ("set_curve__", this);
|
|
104722
104733
|
this ._oversample .addInterest ("set_oversample__", this);
|
|
104723
104734
|
|
|
104735
|
+
this .setSoundProcessor (this .waveShaperNode);
|
|
104736
|
+
|
|
104724
104737
|
this .set_curve__ ();
|
|
104725
104738
|
this .set_oversample__ ();
|
|
104726
104739
|
},
|
|
104727
|
-
getSoundProcessor ()
|
|
104728
|
-
{
|
|
104729
|
-
return this .waveShaperNode;
|
|
104730
|
-
},
|
|
104731
104740
|
set_curve__ ()
|
|
104732
104741
|
{
|
|
104733
104742
|
if (this ._curve .length < 2)
|
|
@@ -105054,8 +105063,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
105054
105063
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
105055
105064
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
105056
105065
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
105057
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
105058
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
105066
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(864);
|
|
105067
|
+
/* provided dependency */ var SuperGif = __webpack_require__(275);
|
|
105059
105068
|
/*******************************************************************************
|
|
105060
105069
|
*
|
|
105061
105070
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107366,7 +107375,7 @@ Object .assign (Object .setPrototypeOf (TextureTransform .prototype, Texturing_X
|
|
|
107366
107375
|
eventsProcessed: (() =>
|
|
107367
107376
|
{
|
|
107368
107377
|
const
|
|
107369
|
-
vector = new Numbers_Vector2 (
|
|
107378
|
+
vector = new Numbers_Vector2 (),
|
|
107370
107379
|
matrix3 = new Numbers_Matrix3 ();
|
|
107371
107380
|
|
|
107372
107381
|
return function ()
|
|
@@ -108337,7 +108346,7 @@ const gettext_default_ = gettext;
|
|
|
108337
108346
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
108338
108347
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
108339
108348
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
108340
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
108349
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(864);
|
|
108341
108350
|
/*******************************************************************************
|
|
108342
108351
|
*
|
|
108343
108352
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -108767,7 +108776,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
108767
108776
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
108768
108777
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
108769
108778
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
108770
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
108779
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(864);
|
|
108771
108780
|
/*******************************************************************************
|
|
108772
108781
|
*
|
|
108773
108782
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109361,7 +109370,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
109361
109370
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
109362
109371
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
109363
109372
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
109364
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
109373
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(864);
|
|
109365
109374
|
/*******************************************************************************
|
|
109366
109375
|
*
|
|
109367
109376
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109484,8 +109493,8 @@ const Notification_default_ = Notification;
|
|
|
109484
109493
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
109485
109494
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
109486
109495
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
109487
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
109488
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
109496
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(52);
|
|
109497
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(864);
|
|
109489
109498
|
/*******************************************************************************
|
|
109490
109499
|
*
|
|
109491
109500
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112246,7 +112255,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
112246
112255
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
112247
112256
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
112248
112257
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
112249
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
112258
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(864);
|
|
112250
112259
|
/*******************************************************************************
|
|
112251
112260
|
*
|
|
112252
112261
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112921,7 +112930,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
112921
112930
|
{
|
|
112922
112931
|
const
|
|
112923
112932
|
geoOrigin = viewpoint ._geoOrigin,
|
|
112924
|
-
geoCoord = new Numbers_Vector3 (
|
|
112933
|
+
geoCoord = new Numbers_Vector3 ();
|
|
112925
112934
|
|
|
112926
112935
|
if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
|
|
112927
112936
|
{
|
|
@@ -114659,7 +114668,7 @@ Object .assign (Object .setPrototypeOf (X3DViewer .prototype, Base_X3DBaseNode .
|
|
|
114659
114668
|
},
|
|
114660
114669
|
isPointerInRectangle: (() =>
|
|
114661
114670
|
{
|
|
114662
|
-
const pointer = new Numbers_Vector2 (
|
|
114671
|
+
const pointer = new Numbers_Vector2 ();
|
|
114663
114672
|
|
|
114664
114673
|
return function (x, y)
|
|
114665
114674
|
{
|
|
@@ -114674,8 +114683,8 @@ Object .assign (Object .setPrototypeOf (X3DViewer .prototype, Base_X3DBaseNode .
|
|
|
114674
114683
|
{
|
|
114675
114684
|
const
|
|
114676
114685
|
axis = new Numbers_Vector3 (0, 0, -1),
|
|
114677
|
-
distance = new Numbers_Vector3 (
|
|
114678
|
-
far = new Numbers_Vector3 (
|
|
114686
|
+
distance = new Numbers_Vector3 (),
|
|
114687
|
+
far = new Numbers_Vector3 ();
|
|
114679
114688
|
|
|
114680
114689
|
return function (x, y, result)
|
|
114681
114690
|
{
|
|
@@ -114769,8 +114778,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
114769
114778
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
114770
114779
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
114771
114780
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
114772
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
114773
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
114781
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(910);
|
|
114782
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(864);
|
|
114774
114783
|
/*******************************************************************************
|
|
114775
114784
|
*
|
|
114776
114785
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114850,23 +114859,23 @@ function ExamineViewer (executionContext, navigationInfo)
|
|
|
114850
114859
|
|
|
114851
114860
|
this .button = -1;
|
|
114852
114861
|
this .orientationOffset = new Numbers_Rotation4 ();
|
|
114853
|
-
this .fromVector = new Numbers_Vector3 (
|
|
114854
|
-
this .toVector = new Numbers_Vector3 (
|
|
114855
|
-
this .fromPoint = new Numbers_Vector3 (
|
|
114856
|
-
this .toPoint = new Numbers_Vector3 (
|
|
114862
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
114863
|
+
this .toVector = new Numbers_Vector3 ();
|
|
114864
|
+
this .fromPoint = new Numbers_Vector3 ();
|
|
114865
|
+
this .toPoint = new Numbers_Vector3 ();
|
|
114857
114866
|
this .rotation = new Numbers_Rotation4 ();
|
|
114858
|
-
this .direction = new Numbers_Vector3 (
|
|
114859
|
-
this .axis = new Numbers_Vector3 (
|
|
114867
|
+
this .direction = new Numbers_Vector3 ();
|
|
114868
|
+
this .axis = new Numbers_Vector3 ();
|
|
114860
114869
|
this .pressTime = 0;
|
|
114861
114870
|
this .motionTime = 0;
|
|
114862
114871
|
|
|
114863
114872
|
this .touchMode = 0;
|
|
114864
|
-
this .touch1 = new Numbers_Vector2 (
|
|
114865
|
-
this .touch2 = new Numbers_Vector2 (
|
|
114873
|
+
this .touch1 = new Numbers_Vector2 ();
|
|
114874
|
+
this .touch2 = new Numbers_Vector2 ();
|
|
114866
114875
|
this .tapStart = 0;
|
|
114867
114876
|
this .dblTapInterval = 0.4;
|
|
114868
114877
|
|
|
114869
|
-
this .initialPositionOffset = new Numbers_Vector3 (
|
|
114878
|
+
this .initialPositionOffset = new Numbers_Vector3 ();
|
|
114870
114879
|
this .initialOrientationOffset = new Numbers_Rotation4 ();
|
|
114871
114880
|
this .positionChaser = new Followers_PositionChaser (executionContext);
|
|
114872
114881
|
this .centerOfRotationChaser = new Followers_PositionChaser (executionContext);
|
|
@@ -115054,7 +115063,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115054
115063
|
},
|
|
115055
115064
|
mousemove: (() =>
|
|
115056
115065
|
{
|
|
115057
|
-
const fromPoint = new Numbers_Vector3 (
|
|
115066
|
+
const fromPoint = new Numbers_Vector3 ();
|
|
115058
115067
|
|
|
115059
115068
|
return function (event)
|
|
115060
115069
|
{
|
|
@@ -115107,8 +115116,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115107
115116
|
mousewheel: (() =>
|
|
115108
115117
|
{
|
|
115109
115118
|
const
|
|
115110
|
-
step = new Numbers_Vector3 (
|
|
115111
|
-
translation = new Numbers_Vector3 (
|
|
115119
|
+
step = new Numbers_Vector3 (),
|
|
115120
|
+
translation = new Numbers_Vector3 ();
|
|
115112
115121
|
|
|
115113
115122
|
return function (event)
|
|
115114
115123
|
{
|
|
@@ -115236,8 +115245,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115236
115245
|
const
|
|
115237
115246
|
MOVE_ANGLE = 0.7,
|
|
115238
115247
|
ZOOM_ANGLE = -0.7,
|
|
115239
|
-
touch1Change = new Numbers_Vector2 (
|
|
115240
|
-
touch2Change = new Numbers_Vector2 (
|
|
115248
|
+
touch1Change = new Numbers_Vector2 (),
|
|
115249
|
+
touch2Change = new Numbers_Vector2 ();
|
|
115241
115250
|
|
|
115242
115251
|
return function (event)
|
|
115243
115252
|
{
|
|
@@ -115407,7 +115416,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115407
115416
|
|
|
115408
115417
|
this .axis .assign (axis);
|
|
115409
115418
|
|
|
115410
|
-
if (rotation .getAxis (new Numbers_Vector3 (
|
|
115419
|
+
if (rotation .getAxis (new Numbers_Vector3 ()) .dot (Numbers_Vector3 .yAxis) < 0 !== rotation .angle < 0)
|
|
115411
115420
|
this .axis .negate ();
|
|
115412
115421
|
|
|
115413
115422
|
this .timeSensor ._cycleInterval = Math .PI / (rotationChange .angle * SPIN_FACTOR * 30);
|
|
@@ -115427,8 +115436,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115427
115436
|
spin: (() =>
|
|
115428
115437
|
{
|
|
115429
115438
|
const
|
|
115430
|
-
direction = new Numbers_Vector3 (
|
|
115431
|
-
positionOffset = new Numbers_Vector3 (
|
|
115439
|
+
direction = new Numbers_Vector3 (),
|
|
115440
|
+
positionOffset = new Numbers_Vector3 (),
|
|
115432
115441
|
orientationOffset = new Numbers_Rotation4 (),
|
|
115433
115442
|
rotation = new Numbers_Rotation4 ();
|
|
115434
115443
|
|
|
@@ -115467,8 +115476,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115467
115476
|
addMove: (() =>
|
|
115468
115477
|
{
|
|
115469
115478
|
const
|
|
115470
|
-
positionOffset = new Numbers_Vector3 (
|
|
115471
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
115479
|
+
positionOffset = new Numbers_Vector3 (),
|
|
115480
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
115472
115481
|
|
|
115473
115482
|
return function (positionOffsetChange, centerOfRotationOffsetChange)
|
|
115474
115483
|
{
|
|
@@ -115518,8 +115527,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115518
115527
|
getPositionOffset: (() =>
|
|
115519
115528
|
{
|
|
115520
115529
|
const
|
|
115521
|
-
distance = new Numbers_Vector3 (
|
|
115522
|
-
d = new Numbers_Vector3 (
|
|
115530
|
+
distance = new Numbers_Vector3 (),
|
|
115531
|
+
d = new Numbers_Vector3 (),
|
|
115523
115532
|
oob = new Numbers_Rotation4 ();
|
|
115524
115533
|
|
|
115525
115534
|
return function (positionOffsetBefore, orientationOffsetBefore, orientationOffsetAfter)
|
|
@@ -115540,7 +115549,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115540
115549
|
const
|
|
115541
115550
|
userOrientation = new Numbers_Rotation4 (),
|
|
115542
115551
|
orientationOffset = new Numbers_Rotation4 (),
|
|
115543
|
-
zAxis = new Numbers_Vector3 (
|
|
115552
|
+
zAxis = new Numbers_Vector3 ();
|
|
115544
115553
|
|
|
115545
115554
|
return function (rotation, orientationOffsetBefore, _throw)
|
|
115546
115555
|
{
|
|
@@ -115581,7 +115590,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115581
115590
|
})(),
|
|
115582
115591
|
getHorizonRotation: (() =>
|
|
115583
115592
|
{
|
|
115584
|
-
const zAxis = new Numbers_Vector3 (
|
|
115593
|
+
const zAxis = new Numbers_Vector3 ();
|
|
115585
115594
|
|
|
115586
115595
|
return function (rotation)
|
|
115587
115596
|
{
|
|
@@ -115642,8 +115651,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
115642
115651
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
115643
115652
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
115644
115653
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
115645
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
115646
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
115654
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(910);
|
|
115655
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(864);
|
|
115647
115656
|
/*******************************************************************************
|
|
115648
115657
|
*
|
|
115649
115658
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115727,9 +115736,9 @@ function X3DFlyViewer (executionContext, navigationInfo)
|
|
|
115727
115736
|
gl = browser .getContext ();
|
|
115728
115737
|
|
|
115729
115738
|
this .button = -1;
|
|
115730
|
-
this .fromVector = new Numbers_Vector3 (
|
|
115731
|
-
this .toVector = new Numbers_Vector3 (
|
|
115732
|
-
this .direction = new Numbers_Vector3 (
|
|
115739
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
115740
|
+
this .toVector = new Numbers_Vector3 ();
|
|
115741
|
+
this .direction = new Numbers_Vector3 ();
|
|
115733
115742
|
this .startTime = 0;
|
|
115734
115743
|
this .event = null;
|
|
115735
115744
|
this .lookAround = false;
|
|
@@ -116057,9 +116066,9 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116057
116066
|
fly: (() =>
|
|
116058
116067
|
{
|
|
116059
116068
|
const
|
|
116060
|
-
upVector = new Numbers_Vector3 (
|
|
116061
|
-
direction = new Numbers_Vector3 (
|
|
116062
|
-
axis = new Numbers_Vector3 (
|
|
116069
|
+
upVector = new Numbers_Vector3 (),
|
|
116070
|
+
direction = new Numbers_Vector3 (),
|
|
116071
|
+
axis = new Numbers_Vector3 (),
|
|
116063
116072
|
userOrientation = new Numbers_Rotation4 (),
|
|
116064
116073
|
orientationOffset = new Numbers_Rotation4 (),
|
|
116065
116074
|
rubberBandRotation = new Numbers_Rotation4 ();
|
|
@@ -116131,8 +116140,8 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116131
116140
|
pan: (() =>
|
|
116132
116141
|
{
|
|
116133
116142
|
const
|
|
116134
|
-
direction = new Numbers_Vector3 (
|
|
116135
|
-
axis = new Numbers_Vector3 (
|
|
116143
|
+
direction = new Numbers_Vector3 (),
|
|
116144
|
+
axis = new Numbers_Vector3 ();
|
|
116136
116145
|
|
|
116137
116146
|
return function ()
|
|
116138
116147
|
{
|
|
@@ -116273,10 +116282,10 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116273
116282
|
display: (() =>
|
|
116274
116283
|
{
|
|
116275
116284
|
const
|
|
116276
|
-
fromPoint = new Numbers_Vector3 (
|
|
116277
|
-
toPoint = new Numbers_Vector3 (
|
|
116278
|
-
normal = new Numbers_Vector3 (
|
|
116279
|
-
vertex = new Numbers_Vector3 (
|
|
116285
|
+
fromPoint = new Numbers_Vector3 (),
|
|
116286
|
+
toPoint = new Numbers_Vector3 (),
|
|
116287
|
+
normal = new Numbers_Vector3 (),
|
|
116288
|
+
vertex = new Numbers_Vector3 (),
|
|
116280
116289
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
116281
116290
|
projectionMatrixArray = new Float32Array (Numbers_Matrix4 .Identity),
|
|
116282
116291
|
modelViewMatrixArray = new Float32Array (Numbers_Matrix4 .Identity),
|
|
@@ -116492,7 +116501,7 @@ Object .assign (Object .setPrototypeOf (WalkViewer .prototype, Navigation_X3DFly
|
|
|
116492
116501
|
getTranslationOffset: (() =>
|
|
116493
116502
|
{
|
|
116494
116503
|
const
|
|
116495
|
-
localYAxis = new Numbers_Vector3 (
|
|
116504
|
+
localYAxis = new Numbers_Vector3 (),
|
|
116496
116505
|
userOrientation = new Numbers_Rotation4 (),
|
|
116497
116506
|
rotation = new Numbers_Rotation4 ();
|
|
116498
116507
|
|
|
@@ -116652,8 +116661,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
116652
116661
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
116653
116662
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
116654
116663
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
116655
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
116656
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
116664
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(910);
|
|
116665
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(864);
|
|
116657
116666
|
/*******************************************************************************
|
|
116658
116667
|
*
|
|
116659
116668
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116717,15 +116726,15 @@ const PlaneViewer_SCROLL_FACTOR = PlaneViewer_macOS ? 1 / 160 : 1 / 20;
|
|
|
116717
116726
|
const
|
|
116718
116727
|
PlaneViewer_vector = new Numbers_Vector3 (0 ,0, 0),
|
|
116719
116728
|
positionOffset = new Numbers_Vector3 (0 ,0, 0),
|
|
116720
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
116729
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
116721
116730
|
|
|
116722
116731
|
function PlaneViewer (executionContext, navigationInfo)
|
|
116723
116732
|
{
|
|
116724
116733
|
Navigation_X3DViewer .call (this, executionContext, navigationInfo);
|
|
116725
116734
|
|
|
116726
116735
|
this .button = -1;
|
|
116727
|
-
this .fromPoint = new Numbers_Vector3 (
|
|
116728
|
-
this .toPoint = new Numbers_Vector3 (
|
|
116736
|
+
this .fromPoint = new Numbers_Vector3 ();
|
|
116737
|
+
this .toPoint = new Numbers_Vector3 ();
|
|
116729
116738
|
}
|
|
116730
116739
|
|
|
116731
116740
|
Object .assign (Object .setPrototypeOf (PlaneViewer .prototype, Navigation_X3DViewer .prototype),
|
|
@@ -116984,8 +116993,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
116984
116993
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
116985
116994
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
116986
116995
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
116987
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
116988
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
116996
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(910);
|
|
116997
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(864);
|
|
116989
116998
|
/*******************************************************************************
|
|
116990
116999
|
*
|
|
116991
117000
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117058,11 +117067,11 @@ function LookAtViewer (executionContext, navigationInfo)
|
|
|
117058
117067
|
Navigation_X3DViewer .call (this, executionContext, navigationInfo);
|
|
117059
117068
|
|
|
117060
117069
|
this .button = -1;
|
|
117061
|
-
this .fromVector = new Numbers_Vector3 (
|
|
117062
|
-
this .toVector = new Numbers_Vector3 (
|
|
117070
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
117071
|
+
this .toVector = new Numbers_Vector3 ();
|
|
117063
117072
|
|
|
117064
|
-
this .touch1 = new Numbers_Vector2 (
|
|
117065
|
-
this .touch2 = new Numbers_Vector2 (
|
|
117073
|
+
this .touch1 = new Numbers_Vector2 ();
|
|
117074
|
+
this .touch2 = new Numbers_Vector2 ();
|
|
117066
117075
|
this .tapStart = 0;
|
|
117067
117076
|
this .dblTapInterval = 0.4;
|
|
117068
117077
|
|
|
@@ -117202,8 +117211,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117202
117211
|
mousewheel: (() =>
|
|
117203
117212
|
{
|
|
117204
117213
|
const
|
|
117205
|
-
step = new Numbers_Vector3 (
|
|
117206
|
-
translation = new Numbers_Vector3 (
|
|
117214
|
+
step = new Numbers_Vector3 (),
|
|
117215
|
+
translation = new Numbers_Vector3 ();
|
|
117207
117216
|
|
|
117208
117217
|
return function (event)
|
|
117209
117218
|
{
|
|
@@ -117303,8 +117312,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117303
117312
|
const
|
|
117304
117313
|
MOVE_ANGLE = 0.7,
|
|
117305
117314
|
ZOOM_ANGLE = -0.7,
|
|
117306
|
-
touch1Change = new Numbers_Vector2 (
|
|
117307
|
-
touch2Change = new Numbers_Vector2 (
|
|
117315
|
+
touch1Change = new Numbers_Vector2 (),
|
|
117316
|
+
touch2Change = new Numbers_Vector2 ();
|
|
117308
117317
|
|
|
117309
117318
|
return function (event)
|
|
117310
117319
|
{
|
|
@@ -117386,8 +117395,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117386
117395
|
addMove: (() =>
|
|
117387
117396
|
{
|
|
117388
117397
|
const
|
|
117389
|
-
positionOffset = new Numbers_Vector3 (
|
|
117390
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
117398
|
+
positionOffset = new Numbers_Vector3 (),
|
|
117399
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
117391
117400
|
|
|
117392
117401
|
return function (positionOffsetChange, centerOfRotationOffsetChange)
|
|
117393
117402
|
{
|
|
@@ -118124,8 +118133,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
118124
118133
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
118125
118134
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
118126
118135
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
118127
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
118128
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
118136
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(910);
|
|
118137
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(864);
|
|
118129
118138
|
/*******************************************************************************
|
|
118130
118139
|
*
|
|
118131
118140
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118660,7 +118669,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
118660
118669
|
{
|
|
118661
118670
|
this [_pointingDevice] = new PointingDeviceSensor_PointingDevice (this .getPrivateScene ());
|
|
118662
118671
|
this [_pointingDeviceSensorNodes] = new Set ();
|
|
118663
|
-
this [_pointer] = new Numbers_Vector2 (
|
|
118672
|
+
this [_pointer] = new Numbers_Vector2 ();
|
|
118664
118673
|
this [_overSensors] = [ ];
|
|
118665
118674
|
this [_activeSensors] = [ ];
|
|
118666
118675
|
this [_pointingLayer] = null;
|
|
@@ -118676,9 +118685,9 @@ function X3DPointingDeviceSensorContext ()
|
|
|
118676
118685
|
sensors: [ ],
|
|
118677
118686
|
viewMatrix: new Numbers_Matrix4 (),
|
|
118678
118687
|
modelViewMatrix: new Numbers_Matrix4 (),
|
|
118679
|
-
point: new Numbers_Vector3 (
|
|
118680
|
-
normal: new Numbers_Vector3 (
|
|
118681
|
-
texCoord: new Numbers_Vector4 (
|
|
118688
|
+
point: new Numbers_Vector3 (),
|
|
118689
|
+
normal: new Numbers_Vector3 (),
|
|
118690
|
+
texCoord: new Numbers_Vector4 (),
|
|
118682
118691
|
layerNode: null,
|
|
118683
118692
|
shapeNode: null,
|
|
118684
118693
|
copy ()
|
|
@@ -119416,7 +119425,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
119416
119425
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
119417
119426
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
119418
119427
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
119419
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
119428
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(864);
|
|
119420
119429
|
/*******************************************************************************
|
|
119421
119430
|
*
|
|
119422
119431
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120278,10 +120287,15 @@ Object .assign (X3DSoundContext .prototype,
|
|
|
120278
120287
|
},
|
|
120279
120288
|
startAudioElement (audioElement, functionName = "play")
|
|
120280
120289
|
{
|
|
120281
|
-
|
|
120282
|
-
|
|
120283
|
-
|
|
120290
|
+
if (!audioElement)
|
|
120291
|
+
return;
|
|
120292
|
+
|
|
120293
|
+
const id = `X3DSoundContext-${Base_X3DObject .getId (audioElement)}`;
|
|
120284
120294
|
|
|
120295
|
+
const disconnect = () => this .getCanvas () .off (`.${id}`);
|
|
120296
|
+
|
|
120297
|
+
const connect = () =>
|
|
120298
|
+
{
|
|
120285
120299
|
const events = [
|
|
120286
120300
|
"blur",
|
|
120287
120301
|
"click",
|
|
@@ -120292,18 +120306,28 @@ Object .assign (X3DSoundContext .prototype,
|
|
|
120292
120306
|
"keyup",
|
|
120293
120307
|
"mousedown",
|
|
120294
120308
|
"mouseup",
|
|
120309
|
+
"mousewheel",
|
|
120295
120310
|
"pointerup",
|
|
120296
120311
|
"touchend",
|
|
120312
|
+
"touchmove",
|
|
120313
|
+
"touchstart",
|
|
120297
120314
|
]
|
|
120298
120315
|
.map (event => `${event}.${id}`);
|
|
120299
120316
|
|
|
120300
|
-
this .getCanvas () .on (events .join (" "),
|
|
120317
|
+
this .getCanvas () .on (events .join (" "), () =>
|
|
120301
120318
|
{
|
|
120302
120319
|
audioElement [functionName] ()
|
|
120303
|
-
.then (
|
|
120320
|
+
.then (disconnect)
|
|
120304
120321
|
.catch (Function .prototype);
|
|
120305
120322
|
});
|
|
120306
|
-
}
|
|
120323
|
+
};
|
|
120324
|
+
|
|
120325
|
+
audioElement [functionName] ()
|
|
120326
|
+
.then (disconnect)
|
|
120327
|
+
.catch (connect);
|
|
120328
|
+
|
|
120329
|
+
if (audioElement === this [_audioContext])
|
|
120330
|
+
connect ();
|
|
120307
120331
|
},
|
|
120308
120332
|
});
|
|
120309
120333
|
|
|
@@ -120313,7 +120337,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
120313
120337
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
120314
120338
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
120315
120339
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
120316
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
120340
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(864);
|
|
120317
120341
|
const KTXDecoder_default_ = class KTXDecoder
|
|
120318
120342
|
{
|
|
120319
120343
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120863,7 +120887,7 @@ function X3DTimeContext ()
|
|
|
120863
120887
|
{
|
|
120864
120888
|
this [_currentTime] = Date .now () / 1000;
|
|
120865
120889
|
this [_currentFrameRate] = 60;
|
|
120866
|
-
this [_currentPosition] = new Numbers_Vector3 (
|
|
120890
|
+
this [_currentPosition] = new Numbers_Vector3 ();
|
|
120867
120891
|
this [_currentSpeed] = 0;
|
|
120868
120892
|
}
|
|
120869
120893
|
|
|
@@ -120883,7 +120907,7 @@ Object .assign (X3DTimeContext .prototype,
|
|
|
120883
120907
|
},
|
|
120884
120908
|
advanceTime: (() =>
|
|
120885
120909
|
{
|
|
120886
|
-
const lastPosition = new Numbers_Vector3 (
|
|
120910
|
+
const lastPosition = new Numbers_Vector3 ();
|
|
120887
120911
|
|
|
120888
120912
|
return function ()
|
|
120889
120913
|
{
|
|
@@ -121867,7 +121891,7 @@ const Components_default_ = Components;
|
|
|
121867
121891
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
121868
121892
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
121869
121893
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
121870
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
121894
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(864);
|
|
121871
121895
|
/*******************************************************************************
|
|
121872
121896
|
* MIT License
|
|
121873
121897
|
*
|
|
@@ -122159,8 +122183,10 @@ class DOMIntegration
|
|
|
122159
122183
|
|
|
122160
122184
|
const X3DElement = DOMIntegration_$.data (node .getInternalScene (), "X3D");
|
|
122161
122185
|
|
|
122162
|
-
if (X3DElement)
|
|
122163
|
-
|
|
122186
|
+
if (!X3DElement)
|
|
122187
|
+
break;
|
|
122188
|
+
|
|
122189
|
+
element .appendChild (X3DElement);
|
|
122164
122190
|
|
|
122165
122191
|
// Add Inline elements, and connect to node events.
|
|
122166
122192
|
|
|
@@ -122998,7 +123024,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
122998
123024
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
122999
123025
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
123000
123026
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
123001
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
123027
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(864);
|
|
123002
123028
|
/*******************************************************************************
|
|
123003
123029
|
*
|
|
123004
123030
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124090,7 +124116,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
124090
124116
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
124091
124117
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
124092
124118
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
124093
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
124119
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(864);
|
|
124094
124120
|
/*******************************************************************************
|
|
124095
124121
|
*
|
|
124096
124122
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124227,8 +124253,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
124227
124253
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
124228
124254
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
124229
124255
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
124230
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
124231
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
124256
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(864);
|
|
124257
|
+
/* provided dependency */ var pako = __webpack_require__(212);
|
|
124232
124258
|
Object .assign (jquery_$,
|
|
124233
124259
|
{
|
|
124234
124260
|
decodeText (input)
|
|
@@ -124305,14 +124331,14 @@ const jquery_default_ = jquery_$;
|
|
|
124305
124331
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
124306
124332
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
124307
124333
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
124308
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
124334
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(405);
|
|
124309
124335
|
const libtess_default_ = libtess_libtess;
|
|
124310
124336
|
;
|
|
124311
124337
|
|
|
124312
124338
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
124313
124339
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
124314
124340
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
124315
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
124341
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(864);
|
|
124316
124342
|
/*******************************************************************************
|
|
124317
124343
|
*
|
|
124318
124344
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124620,7 +124646,7 @@ Object .assign (X3D,
|
|
|
124620
124646
|
|
|
124621
124647
|
// Assign X3D to global namespace.
|
|
124622
124648
|
|
|
124623
|
-
window [Symbol .for ("X_ITE.X3D-9.4.
|
|
124649
|
+
window [Symbol .for ("X_ITE.X3D-9.4.2")] = x_ite_X3D;
|
|
124624
124650
|
|
|
124625
124651
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
124626
124652
|
|