x_ite 9.4.1 → 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 +693 -679
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +693 -679
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.4.
|
|
1
|
+
/* X_ITE v9.4.2 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 52:
|
|
15
15
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
16
16
|
|
|
17
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
17
|
+
/* provided dependency */ var jQuery = __webpack_require__(864);
|
|
18
18
|
/**
|
|
19
19
|
* @preserve jquery.fullscreen 1.1.5
|
|
20
20
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -210,7 +210,7 @@ installFullScreenHandlers();
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 910:
|
|
214
214
|
/***/ ((module, exports, __webpack_require__) => {
|
|
215
215
|
|
|
216
216
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
224
224
|
(function (factory) {
|
|
225
225
|
if ( true ) {
|
|
226
226
|
// AMD. Register as an anonymous module.
|
|
227
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
227
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(864)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
228
228
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
229
229
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
230
230
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
435
435
|
|
|
436
436
|
/***/ }),
|
|
437
437
|
|
|
438
|
-
/***/
|
|
438
|
+
/***/ 864:
|
|
439
439
|
/***/ (function(module, exports) {
|
|
440
440
|
|
|
441
441
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11159,7 +11159,7 @@ return jQuery;
|
|
|
11159
11159
|
|
|
11160
11160
|
/***/ }),
|
|
11161
11161
|
|
|
11162
|
-
/***/
|
|
11162
|
+
/***/ 405:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 212:
|
|
15942
15942
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15943
15943
|
|
|
15944
15944
|
|
|
@@ -19183,7 +19183,7 @@ if (true) {
|
|
|
19183
19183
|
|
|
19184
19184
|
/***/ }),
|
|
19185
19185
|
|
|
19186
|
-
/***/
|
|
19186
|
+
/***/ 275:
|
|
19187
19187
|
/***/ (function(module, exports) {
|
|
19188
19188
|
|
|
19189
19189
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20311
20311
|
}
|
|
20312
20312
|
else
|
|
20313
20313
|
{
|
|
20314
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-9.4.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.4.2")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -21498,7 +21498,6 @@ x_ite_Namespace .add ("DEVELOPMENT", "x_ite/DEVELOPMENT", DEVELOPMENT_default_);
|
|
|
21498
21498
|
const
|
|
21499
21499
|
_name = Symbol (),
|
|
21500
21500
|
_interests = Symbol (),
|
|
21501
|
-
_values = Symbol (),
|
|
21502
21501
|
_userData = Symbol ();
|
|
21503
21502
|
|
|
21504
21503
|
function X3DObject () { }
|
|
@@ -23298,7 +23297,7 @@ const
|
|
|
23298
23297
|
_g = Symbol .for ("X_ITE.Color3.g"),
|
|
23299
23298
|
_b = Symbol .for ("X_ITE.Color3.b");
|
|
23300
23299
|
|
|
23301
|
-
function Color3 (r, g, b)
|
|
23300
|
+
function Color3 (r = 0, g = 0, b = 0)
|
|
23302
23301
|
{
|
|
23303
23302
|
this [_r] = clamp (r, 0, 1);
|
|
23304
23303
|
this [_g] = clamp (g, 0, 1);
|
|
@@ -23447,8 +23446,8 @@ Object .defineProperties (Color3 .prototype,
|
|
|
23447
23446
|
|
|
23448
23447
|
Object .assign (Color3,
|
|
23449
23448
|
{
|
|
23450
|
-
Black: new Color3 (
|
|
23451
|
-
White: new Color3 (1, 1, 1),
|
|
23449
|
+
Black: Object .freeze (new Color3 ()),
|
|
23450
|
+
White: Object .freeze (new Color3 (1, 1, 1)),
|
|
23452
23451
|
HSV (h, s, v)
|
|
23453
23452
|
{
|
|
23454
23453
|
const color = Object .create (this .prototype);
|
|
@@ -23560,7 +23559,7 @@ function SFColor (r, g, b)
|
|
|
23560
23559
|
switch (arguments .length)
|
|
23561
23560
|
{
|
|
23562
23561
|
case 0:
|
|
23563
|
-
Base_X3DField .call (this, new Numbers_Color3 (
|
|
23562
|
+
Base_X3DField .call (this, new Numbers_Color3 ());
|
|
23564
23563
|
break;
|
|
23565
23564
|
|
|
23566
23565
|
case 1:
|
|
@@ -23799,7 +23798,7 @@ const
|
|
|
23799
23798
|
Color4_b = Symbol .for ("X_ITE.Color3.b"),
|
|
23800
23799
|
_a = Symbol ();
|
|
23801
23800
|
|
|
23802
|
-
function Color4 (r, g, b, a)
|
|
23801
|
+
function Color4 (r = 0, g = 0, b = 0, a = 0)
|
|
23803
23802
|
{
|
|
23804
23803
|
this [Color4_r] = Color4_clamp (r, 0, 1);
|
|
23805
23804
|
this [Color4_g] = Color4_clamp (g, 0, 1);
|
|
@@ -23908,9 +23907,9 @@ Object .defineProperties (Color4 .prototype,
|
|
|
23908
23907
|
|
|
23909
23908
|
Object .assign (Color4,
|
|
23910
23909
|
{
|
|
23911
|
-
Transparent: new Color4 (
|
|
23912
|
-
Black: new Color4 (0, 0, 0, 1),
|
|
23913
|
-
White: new Color4 (1, 1, 1, 1),
|
|
23910
|
+
Transparent: Object .freeze (new Color4 ()),
|
|
23911
|
+
Black: Object .freeze (new Color4 (0, 0, 0, 1)),
|
|
23912
|
+
White: Object .freeze (new Color4 (1, 1, 1, 1)),
|
|
23914
23913
|
HSVA (h, s, v, a)
|
|
23915
23914
|
{
|
|
23916
23915
|
const color = Object .create (this .prototype);
|
|
@@ -23990,7 +23989,7 @@ function SFColorRGBA (r, g, b, a)
|
|
|
23990
23989
|
switch (arguments .length)
|
|
23991
23990
|
{
|
|
23992
23991
|
case 0:
|
|
23993
|
-
Base_X3DField .call (this, new Numbers_Color4 (
|
|
23992
|
+
Base_X3DField .call (this, new Numbers_Color4 ());
|
|
23994
23993
|
break;
|
|
23995
23994
|
|
|
23996
23995
|
case 1:
|
|
@@ -24750,7 +24749,7 @@ x_ite_Namespace .add ("SFMatrixPrototypeTemplate", "x_ite/Fields/SFMatrixPrototy
|
|
|
24750
24749
|
*
|
|
24751
24750
|
******************************************************************************/
|
|
24752
24751
|
|
|
24753
|
-
function Vector2 (x, y)
|
|
24752
|
+
function Vector2 (x = 0, y = 0)
|
|
24754
24753
|
{
|
|
24755
24754
|
this .x = x;
|
|
24756
24755
|
this .y = y;
|
|
@@ -24934,10 +24933,10 @@ Object .defineProperties (Vector2 .prototype,
|
|
|
24934
24933
|
|
|
24935
24934
|
Object .assign (Vector2,
|
|
24936
24935
|
{
|
|
24937
|
-
Zero: new Vector2 (
|
|
24938
|
-
One: new Vector2 (1, 1),
|
|
24939
|
-
xAxis: new Vector2 (1, 0),
|
|
24940
|
-
yAxis: new Vector2 (0, 1),
|
|
24936
|
+
Zero: Object .freeze (new Vector2 ()),
|
|
24937
|
+
One: Object .freeze (new Vector2 (1, 1)),
|
|
24938
|
+
xAxis: Object .freeze (new Vector2 (1, 0)),
|
|
24939
|
+
yAxis: Object .freeze (new Vector2 (0, 1)),
|
|
24941
24940
|
});
|
|
24942
24941
|
|
|
24943
24942
|
const Vector2_default_ = Vector2;
|
|
@@ -24995,7 +24994,7 @@ x_ite_Namespace .add ("Vector2", "standard/Math/Numbers/Vector2", Vector2_defaul
|
|
|
24995
24994
|
|
|
24996
24995
|
|
|
24997
24996
|
|
|
24998
|
-
function Vector3 (x, y, z)
|
|
24997
|
+
function Vector3 (x = 0, y = 0, z = 0)
|
|
24999
24998
|
{
|
|
25000
24999
|
this .x = x;
|
|
25001
25000
|
this .y = y;
|
|
@@ -25154,7 +25153,7 @@ Object .assign (Vector3 .prototype,
|
|
|
25154
25153
|
},
|
|
25155
25154
|
slerp: (() =>
|
|
25156
25155
|
{
|
|
25157
|
-
const tmp = new Vector3 (
|
|
25156
|
+
const tmp = new Vector3 ();
|
|
25158
25157
|
|
|
25159
25158
|
return function (destination, t)
|
|
25160
25159
|
{
|
|
@@ -25230,11 +25229,11 @@ Object .defineProperties (Vector3 .prototype,
|
|
|
25230
25229
|
|
|
25231
25230
|
Object .assign (Vector3,
|
|
25232
25231
|
{
|
|
25233
|
-
Zero: new Vector3 (
|
|
25234
|
-
One: new Vector3 (1, 1, 1),
|
|
25235
|
-
xAxis: new Vector3 (1, 0, 0),
|
|
25236
|
-
yAxis: new Vector3 (0, 1, 0),
|
|
25237
|
-
zAxis: new Vector3 (0, 0, 1),
|
|
25232
|
+
Zero: Object .freeze (new Vector3 ()),
|
|
25233
|
+
One: Object .freeze (new Vector3 (1, 1, 1)),
|
|
25234
|
+
xAxis: Object .freeze (new Vector3 (1, 0, 0)),
|
|
25235
|
+
yAxis: Object .freeze (new Vector3 (0, 1, 0)),
|
|
25236
|
+
zAxis: Object .freeze (new Vector3 (0, 0, 1)),
|
|
25238
25237
|
});
|
|
25239
25238
|
|
|
25240
25239
|
const Vector3_default_ = Vector3;
|
|
@@ -25484,7 +25483,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25484
25483
|
{
|
|
25485
25484
|
get: (() =>
|
|
25486
25485
|
{
|
|
25487
|
-
const vector = new Numbers_Vector2 (
|
|
25486
|
+
const vector = new Numbers_Vector2 ();
|
|
25488
25487
|
|
|
25489
25488
|
return function () { return vector .set (this [0], this [1]); };
|
|
25490
25489
|
})(),
|
|
@@ -25493,7 +25492,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25493
25492
|
{
|
|
25494
25493
|
get: (() =>
|
|
25495
25494
|
{
|
|
25496
|
-
const vector = new Numbers_Vector2 (
|
|
25495
|
+
const vector = new Numbers_Vector2 ();
|
|
25497
25496
|
|
|
25498
25497
|
return function () { return vector .set (this [2], this [3]); };
|
|
25499
25498
|
})(),
|
|
@@ -25514,7 +25513,7 @@ Object .defineProperties (Matrix2 .prototype,
|
|
|
25514
25513
|
|
|
25515
25514
|
Object .assign (Matrix2,
|
|
25516
25515
|
{
|
|
25517
|
-
Identity: new Matrix2 (),
|
|
25516
|
+
Identity: Object .freeze (new Matrix2 ()),
|
|
25518
25517
|
});
|
|
25519
25518
|
|
|
25520
25519
|
const Matrix2_default_ = Matrix2;
|
|
@@ -25834,7 +25833,7 @@ Object .assign (Matrix3 .prototype,
|
|
|
25834
25833
|
},
|
|
25835
25834
|
set: (() =>
|
|
25836
25835
|
{
|
|
25837
|
-
const invCenter = new Numbers_Vector2 (
|
|
25836
|
+
const invCenter = new Numbers_Vector2 ();
|
|
25838
25837
|
|
|
25839
25838
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
25840
25839
|
{
|
|
@@ -25964,14 +25963,14 @@ Object .assign (Matrix3 .prototype,
|
|
|
25964
25963
|
get: (() =>
|
|
25965
25964
|
{
|
|
25966
25965
|
const
|
|
25967
|
-
dummyTranslation = new Numbers_Vector2 (
|
|
25968
|
-
dummyRotation = new Numbers_Vector3 (
|
|
25969
|
-
dummyScale = new Numbers_Vector2 (
|
|
25970
|
-
dummyScaleOrientation = new Numbers_Vector3 (
|
|
25971
|
-
dummyCenter = new Numbers_Vector2 (
|
|
25966
|
+
dummyTranslation = new Numbers_Vector2 (),
|
|
25967
|
+
dummyRotation = new Numbers_Vector3 (),
|
|
25968
|
+
dummyScale = new Numbers_Vector2 (),
|
|
25969
|
+
dummyScaleOrientation = new Numbers_Vector3 (),
|
|
25970
|
+
dummyCenter = new Numbers_Vector2 (),
|
|
25972
25971
|
rotMatrix = new Numbers_Matrix2 (),
|
|
25973
25972
|
soMatrix = new Numbers_Matrix2 (),
|
|
25974
|
-
c = new Numbers_Vector2 (
|
|
25973
|
+
c = new Numbers_Vector2 ();
|
|
25975
25974
|
|
|
25976
25975
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
25977
25976
|
{
|
|
@@ -26302,7 +26301,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26302
26301
|
{
|
|
26303
26302
|
get: (() =>
|
|
26304
26303
|
{
|
|
26305
|
-
const vector = new Numbers_Vector3 (
|
|
26304
|
+
const vector = new Numbers_Vector3 ();
|
|
26306
26305
|
|
|
26307
26306
|
return function () { return vector .set (this [0], this [1], this [2]); };
|
|
26308
26307
|
})(),
|
|
@@ -26311,7 +26310,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26311
26310
|
{
|
|
26312
26311
|
get: (() =>
|
|
26313
26312
|
{
|
|
26314
|
-
const vector = new Numbers_Vector3 (
|
|
26313
|
+
const vector = new Numbers_Vector3 ();
|
|
26315
26314
|
|
|
26316
26315
|
return function () { return vector .set (this [3], this [4], this [5]); };
|
|
26317
26316
|
})(),
|
|
@@ -26320,7 +26319,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26320
26319
|
{
|
|
26321
26320
|
get: (() =>
|
|
26322
26321
|
{
|
|
26323
|
-
const vector = new Numbers_Vector3 (
|
|
26322
|
+
const vector = new Numbers_Vector3 ();
|
|
26324
26323
|
|
|
26325
26324
|
return function () { return vector .set (this [6], this [7], this [8]); };
|
|
26326
26325
|
})(),
|
|
@@ -26329,7 +26328,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26329
26328
|
{
|
|
26330
26329
|
get: (() =>
|
|
26331
26330
|
{
|
|
26332
|
-
const vector = new Numbers_Vector2 (
|
|
26331
|
+
const vector = new Numbers_Vector2 ();
|
|
26333
26332
|
|
|
26334
26333
|
return function () { return vector .set (this [0], this [1]); };
|
|
26335
26334
|
})(),
|
|
@@ -26338,7 +26337,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26338
26337
|
{
|
|
26339
26338
|
get: (() =>
|
|
26340
26339
|
{
|
|
26341
|
-
const vector = new Numbers_Vector2 (
|
|
26340
|
+
const vector = new Numbers_Vector2 ();
|
|
26342
26341
|
|
|
26343
26342
|
return function () { return vector .set (this [3], this [4]); };
|
|
26344
26343
|
})(),
|
|
@@ -26347,7 +26346,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26347
26346
|
{
|
|
26348
26347
|
get: (() =>
|
|
26349
26348
|
{
|
|
26350
|
-
const vector = new Numbers_Vector2 (
|
|
26349
|
+
const vector = new Numbers_Vector2 ();
|
|
26351
26350
|
|
|
26352
26351
|
return function () { return vector .set (this [6], this [7]); };
|
|
26353
26352
|
})(),
|
|
@@ -26370,7 +26369,7 @@ Object .defineProperties (Matrix3 .prototype,
|
|
|
26370
26369
|
|
|
26371
26370
|
Object .assign (Matrix3,
|
|
26372
26371
|
{
|
|
26373
|
-
Identity: new Matrix3 (),
|
|
26372
|
+
Identity: Object .freeze (new Matrix3 ()),
|
|
26374
26373
|
Rotation (rotation)
|
|
26375
26374
|
{
|
|
26376
26375
|
const
|
|
@@ -26603,7 +26602,7 @@ x_ite_Namespace .add ("SFMatrix3", "x_ite/Fields/SFMatrix3", SFMatrix3_default_)
|
|
|
26603
26602
|
*
|
|
26604
26603
|
******************************************************************************/
|
|
26605
26604
|
|
|
26606
|
-
function Vector4 (x, y, z, w)
|
|
26605
|
+
function Vector4 (x = 0, y = 0, z = 0, w = 0)
|
|
26607
26606
|
{
|
|
26608
26607
|
this .x = x;
|
|
26609
26608
|
this .y = y;
|
|
@@ -26854,12 +26853,12 @@ Object .defineProperties (Vector4 .prototype,
|
|
|
26854
26853
|
|
|
26855
26854
|
Object .assign (Vector4,
|
|
26856
26855
|
{
|
|
26857
|
-
Zero: new Vector4 (
|
|
26858
|
-
One: new Vector4 (1, 1, 1, 1),
|
|
26859
|
-
xAxis: new Vector4 (1, 0, 0, 0),
|
|
26860
|
-
yAxis: new Vector4 (0, 1, 0, 0),
|
|
26861
|
-
zAxis: new Vector4 (0, 0, 1, 0),
|
|
26862
|
-
wAxis: new Vector4 (0, 0, 0, 1),
|
|
26856
|
+
Zero: Object .freeze (new Vector4 ()),
|
|
26857
|
+
One: Object .freeze (new Vector4 (1, 1, 1, 1)),
|
|
26858
|
+
xAxis: Object .freeze (new Vector4 (1, 0, 0, 0)),
|
|
26859
|
+
yAxis: Object .freeze (new Vector4 (0, 1, 0, 0)),
|
|
26860
|
+
zAxis: Object .freeze (new Vector4 (0, 0, 1, 0)),
|
|
26861
|
+
wAxis: Object .freeze (new Vector4 (0, 0, 0, 1)),
|
|
26863
26862
|
});
|
|
26864
26863
|
|
|
26865
26864
|
const Vector4_default_ = Vector4;
|
|
@@ -26919,7 +26918,7 @@ x_ite_Namespace .add ("Vector4", "standard/Math/Numbers/Vector4", Vector4_defaul
|
|
|
26919
26918
|
|
|
26920
26919
|
|
|
26921
26920
|
|
|
26922
|
-
function Quaternion (x, y, z, w)
|
|
26921
|
+
function Quaternion (x = 0, y = 0, z = 0, w = 1)
|
|
26923
26922
|
{
|
|
26924
26923
|
this .x = x;
|
|
26925
26924
|
this .y = y;
|
|
@@ -27476,7 +27475,7 @@ Object .defineProperties (Quaternion .prototype,
|
|
|
27476
27475
|
{
|
|
27477
27476
|
get: (() =>
|
|
27478
27477
|
{
|
|
27479
|
-
const result = new Numbers_Vector3 (
|
|
27478
|
+
const result = new Numbers_Vector3 ();
|
|
27480
27479
|
|
|
27481
27480
|
return function ()
|
|
27482
27481
|
{
|
|
@@ -27490,14 +27489,14 @@ Object .defineProperties (Quaternion .prototype,
|
|
|
27490
27489
|
|
|
27491
27490
|
Object .assign (Quaternion,
|
|
27492
27491
|
{
|
|
27493
|
-
Identity: new Quaternion (
|
|
27492
|
+
Identity: Object .freeze (new Quaternion ()),
|
|
27494
27493
|
spline: (() =>
|
|
27495
27494
|
{
|
|
27496
27495
|
const
|
|
27497
|
-
q0 = new Quaternion (
|
|
27498
|
-
q1 = new Quaternion (
|
|
27499
|
-
q2 = new Quaternion (
|
|
27500
|
-
q1_i = new Quaternion (
|
|
27496
|
+
q0 = new Quaternion (),
|
|
27497
|
+
q1 = new Quaternion (),
|
|
27498
|
+
q2 = new Quaternion (),
|
|
27499
|
+
q1_i = new Quaternion ();
|
|
27501
27500
|
|
|
27502
27501
|
return function (Q0, Q1, Q2)
|
|
27503
27502
|
{
|
|
@@ -27527,9 +27526,9 @@ Object .assign (Quaternion,
|
|
|
27527
27526
|
});
|
|
27528
27527
|
|
|
27529
27528
|
const
|
|
27530
|
-
t1 = new Quaternion (
|
|
27531
|
-
t2 = new Quaternion (
|
|
27532
|
-
t3 = new Quaternion (
|
|
27529
|
+
t1 = new Quaternion (),
|
|
27530
|
+
t2 = new Quaternion (),
|
|
27531
|
+
t3 = new Quaternion (),
|
|
27533
27532
|
Quaternion_m = new Numbers_Matrix3 ();
|
|
27534
27533
|
|
|
27535
27534
|
const Quaternion_default_ = Quaternion;
|
|
@@ -27609,7 +27608,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27609
27608
|
{
|
|
27610
27609
|
case 0:
|
|
27611
27610
|
{
|
|
27612
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27611
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27613
27612
|
return;
|
|
27614
27613
|
}
|
|
27615
27614
|
case 1:
|
|
@@ -27624,7 +27623,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27624
27623
|
arg0 = arguments [0],
|
|
27625
27624
|
arg1 = arguments [1];
|
|
27626
27625
|
|
|
27627
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27626
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27628
27627
|
|
|
27629
27628
|
if (arg1 instanceof Numbers_Vector3)
|
|
27630
27629
|
return this .setFromToVec (arg0, arg1);
|
|
@@ -27638,7 +27637,7 @@ function Rotation4 (x, y, z, angle)
|
|
|
27638
27637
|
}
|
|
27639
27638
|
case 4:
|
|
27640
27639
|
{
|
|
27641
|
-
this [_quaternion] = new Numbers_Quaternion (
|
|
27640
|
+
this [_quaternion] = new Numbers_Quaternion ();
|
|
27642
27641
|
this .set (x, y, z, angle);
|
|
27643
27642
|
return;
|
|
27644
27643
|
}
|
|
@@ -27718,7 +27717,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27718
27717
|
},
|
|
27719
27718
|
get: (() =>
|
|
27720
27719
|
{
|
|
27721
|
-
const result = new Numbers_Vector4 (
|
|
27720
|
+
const result = new Numbers_Vector4 ();
|
|
27722
27721
|
|
|
27723
27722
|
return function ()
|
|
27724
27723
|
{
|
|
@@ -27757,10 +27756,10 @@ Object .assign (Rotation4 .prototype,
|
|
|
27757
27756
|
setFromToVec: (() =>
|
|
27758
27757
|
{
|
|
27759
27758
|
const
|
|
27760
|
-
from = new Numbers_Vector3 (
|
|
27761
|
-
to = new Numbers_Vector3 (
|
|
27762
|
-
cv = new Numbers_Vector3 (
|
|
27763
|
-
t = new Numbers_Vector3 (
|
|
27759
|
+
from = new Numbers_Vector3 (),
|
|
27760
|
+
to = new Numbers_Vector3 (),
|
|
27761
|
+
cv = new Numbers_Vector3 (),
|
|
27762
|
+
t = new Numbers_Vector3 ();
|
|
27764
27763
|
|
|
27765
27764
|
return function (fromVec, toVec)
|
|
27766
27765
|
{
|
|
@@ -27819,7 +27818,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27819
27818
|
{
|
|
27820
27819
|
this .set (vector .x, vector .y, vector .z, this [_angle]);
|
|
27821
27820
|
},
|
|
27822
|
-
getAxis (axis = new Numbers_Vector3 (
|
|
27821
|
+
getAxis (axis = new Numbers_Vector3 ())
|
|
27823
27822
|
{
|
|
27824
27823
|
return axis .set (this [_x], this [_y], this [_z]);
|
|
27825
27824
|
},
|
|
@@ -27829,7 +27828,7 @@ Object .assign (Rotation4 .prototype,
|
|
|
27829
27828
|
this .update ();
|
|
27830
27829
|
return this;
|
|
27831
27830
|
},
|
|
27832
|
-
getQuaternion (quaternion = new Numbers_Quaternion (
|
|
27831
|
+
getQuaternion (quaternion = new Numbers_Quaternion ())
|
|
27833
27832
|
{
|
|
27834
27833
|
return quaternion .assign (this [_quaternion]);
|
|
27835
27834
|
},
|
|
@@ -27914,9 +27913,9 @@ Object .assign (Rotation4 .prototype,
|
|
|
27914
27913
|
straighten: (() =>
|
|
27915
27914
|
{
|
|
27916
27915
|
const
|
|
27917
|
-
localXAxis = new Numbers_Vector3 (
|
|
27918
|
-
localZAxis = new Numbers_Vector3 (
|
|
27919
|
-
upNormal = new Numbers_Vector3 (
|
|
27916
|
+
localXAxis = new Numbers_Vector3 (),
|
|
27917
|
+
localZAxis = new Numbers_Vector3 (),
|
|
27918
|
+
upNormal = new Numbers_Vector3 (),
|
|
27920
27919
|
rotation = new Rotation4 ();
|
|
27921
27920
|
|
|
27922
27921
|
return function (upVector = Numbers_Vector3 .yAxis)
|
|
@@ -28031,7 +28030,7 @@ Object .defineProperties (Rotation4 .prototype,
|
|
|
28031
28030
|
|
|
28032
28031
|
Object .assign (Rotation4,
|
|
28033
28032
|
{
|
|
28034
|
-
Identity: new Rotation4 (),
|
|
28033
|
+
Identity: Object .freeze (new Rotation4 ()),
|
|
28035
28034
|
fromQuaternion (quaternion)
|
|
28036
28035
|
{
|
|
28037
28036
|
return new Rotation4 () .setQuaternion (quaternion);
|
|
@@ -28182,7 +28181,7 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
28182
28181
|
{
|
|
28183
28182
|
const
|
|
28184
28183
|
invScaleOrientation = new Numbers_Rotation4 (),
|
|
28185
|
-
invCenter = new Numbers_Vector3 (
|
|
28184
|
+
invCenter = new Numbers_Vector3 ();
|
|
28186
28185
|
|
|
28187
28186
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
28188
28187
|
{
|
|
@@ -28312,14 +28311,14 @@ Object .assign (Matrix4_Matrix4 .prototype,
|
|
|
28312
28311
|
get: (() =>
|
|
28313
28312
|
{
|
|
28314
28313
|
const
|
|
28315
|
-
dummyTranslation = new Numbers_Vector3 (
|
|
28314
|
+
dummyTranslation = new Numbers_Vector3 (),
|
|
28316
28315
|
dummyRotation = new Numbers_Rotation4 (),
|
|
28317
|
-
dummyScale = new Numbers_Vector3 (
|
|
28316
|
+
dummyScale = new Numbers_Vector3 (),
|
|
28318
28317
|
dummyScaleOrientation = new Numbers_Rotation4 (),
|
|
28319
|
-
dummyCenter = new Numbers_Vector3 (
|
|
28318
|
+
dummyCenter = new Numbers_Vector3 (),
|
|
28320
28319
|
rot = new Numbers_Matrix3 (),
|
|
28321
28320
|
so = new Numbers_Matrix3 (),
|
|
28322
|
-
c = new Numbers_Vector3 (
|
|
28321
|
+
c = new Numbers_Vector3 ();
|
|
28323
28322
|
|
|
28324
28323
|
return function (translation, rotation, scale, scaleOrientation, center)
|
|
28325
28324
|
{
|
|
@@ -28735,7 +28734,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28735
28734
|
{
|
|
28736
28735
|
get: (() =>
|
|
28737
28736
|
{
|
|
28738
|
-
const vector = new Numbers_Vector4 (
|
|
28737
|
+
const vector = new Numbers_Vector4 ();
|
|
28739
28738
|
|
|
28740
28739
|
return function () { return vector .set (this [0], this [1], this [2], this [3]); };
|
|
28741
28740
|
})(),
|
|
@@ -28744,7 +28743,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28744
28743
|
{
|
|
28745
28744
|
get: (() =>
|
|
28746
28745
|
{
|
|
28747
|
-
const vector = new Numbers_Vector4 (
|
|
28746
|
+
const vector = new Numbers_Vector4 ();
|
|
28748
28747
|
|
|
28749
28748
|
return function () { return vector .set (this [4], this [5], this [6], this [7]); };
|
|
28750
28749
|
})(),
|
|
@@ -28753,7 +28752,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28753
28752
|
{
|
|
28754
28753
|
get: (() =>
|
|
28755
28754
|
{
|
|
28756
|
-
const vector = new Numbers_Vector4 (
|
|
28755
|
+
const vector = new Numbers_Vector4 ();
|
|
28757
28756
|
|
|
28758
28757
|
return function () { return vector .set (this [8], this [9], this [10], this [11]); };
|
|
28759
28758
|
})(),
|
|
@@ -28762,7 +28761,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28762
28761
|
{
|
|
28763
28762
|
get: (() =>
|
|
28764
28763
|
{
|
|
28765
|
-
const vector = new Numbers_Vector4 (
|
|
28764
|
+
const vector = new Numbers_Vector4 ();
|
|
28766
28765
|
|
|
28767
28766
|
return function () { return vector .set (this [12], this [13], this [14], this [15]); };
|
|
28768
28767
|
})(),
|
|
@@ -28771,7 +28770,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28771
28770
|
{
|
|
28772
28771
|
get: (() =>
|
|
28773
28772
|
{
|
|
28774
|
-
const vector = new Numbers_Vector3 (
|
|
28773
|
+
const vector = new Numbers_Vector3 ();
|
|
28775
28774
|
|
|
28776
28775
|
return function () { return vector .set (this [0], this [1], this [2]); };
|
|
28777
28776
|
})(),
|
|
@@ -28780,7 +28779,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28780
28779
|
{
|
|
28781
28780
|
get: (() =>
|
|
28782
28781
|
{
|
|
28783
|
-
const vector = new Numbers_Vector3 (
|
|
28782
|
+
const vector = new Numbers_Vector3 ();
|
|
28784
28783
|
|
|
28785
28784
|
return function () { return vector .set (this [4], this [5], this [6]); };
|
|
28786
28785
|
})(),
|
|
@@ -28789,7 +28788,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28789
28788
|
{
|
|
28790
28789
|
get: (() =>
|
|
28791
28790
|
{
|
|
28792
|
-
const vector = new Numbers_Vector3 (
|
|
28791
|
+
const vector = new Numbers_Vector3 ();
|
|
28793
28792
|
|
|
28794
28793
|
return function () { return vector .set (this [8], this [9], this [10]); };
|
|
28795
28794
|
})(),
|
|
@@ -28798,7 +28797,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28798
28797
|
{
|
|
28799
28798
|
get: (() =>
|
|
28800
28799
|
{
|
|
28801
|
-
const vector = new Numbers_Vector3 (
|
|
28800
|
+
const vector = new Numbers_Vector3 ();
|
|
28802
28801
|
|
|
28803
28802
|
return function () { return vector .set (this [12], this [13], this [14]); };
|
|
28804
28803
|
})(),
|
|
@@ -28822,7 +28821,7 @@ Object .defineProperties (Matrix4_Matrix4 .prototype,
|
|
|
28822
28821
|
|
|
28823
28822
|
Object .assign (Matrix4_Matrix4,
|
|
28824
28823
|
{
|
|
28825
|
-
Identity: new Matrix4_Matrix4 (),
|
|
28824
|
+
Identity: Object .freeze (new Matrix4_Matrix4 ()),
|
|
28826
28825
|
Rotation (rotation)
|
|
28827
28826
|
{
|
|
28828
28827
|
return Object .create (this .prototype) .setQuaternion (rotation .getQuaternion (q));
|
|
@@ -29845,7 +29844,7 @@ function SFVec3Template (TypeName, double)
|
|
|
29845
29844
|
switch (arguments .length)
|
|
29846
29845
|
{
|
|
29847
29846
|
case 0:
|
|
29848
|
-
Base_X3DField .call (this, new Numbers_Vector3 (
|
|
29847
|
+
Base_X3DField .call (this, new Numbers_Vector3 ());
|
|
29849
29848
|
break;
|
|
29850
29849
|
|
|
29851
29850
|
case 1:
|
|
@@ -30522,7 +30521,7 @@ function SFVec2Template (TypeName, double)
|
|
|
30522
30521
|
switch (arguments .length)
|
|
30523
30522
|
{
|
|
30524
30523
|
case 0:
|
|
30525
|
-
Base_X3DField .call (this, new Numbers_Vector2 (
|
|
30524
|
+
Base_X3DField .call (this, new Numbers_Vector2 ());
|
|
30526
30525
|
break;
|
|
30527
30526
|
|
|
30528
30527
|
case 1:
|
|
@@ -30647,7 +30646,7 @@ function SFVec4Template (TypeName, double)
|
|
|
30647
30646
|
switch (arguments .length)
|
|
30648
30647
|
{
|
|
30649
30648
|
case 0:
|
|
30650
|
-
Base_X3DField .call (this, new Numbers_Vector4 (
|
|
30649
|
+
Base_X3DField .call (this, new Numbers_Vector4 ());
|
|
30651
30650
|
break;
|
|
30652
30651
|
|
|
30653
30652
|
case 1:
|
|
@@ -34246,7 +34245,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34246
34245
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34247
34246
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34248
34247
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34249
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34248
|
+
/* provided dependency */ var $ = __webpack_require__(864);
|
|
34250
34249
|
/*******************************************************************************
|
|
34251
34250
|
*
|
|
34252
34251
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34383,7 +34382,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34383
34382
|
*
|
|
34384
34383
|
******************************************************************************/
|
|
34385
34384
|
|
|
34386
|
-
const BROWSER_VERSION_default_ = "9.4.
|
|
34385
|
+
const BROWSER_VERSION_default_ = "9.4.2";
|
|
34387
34386
|
;
|
|
34388
34387
|
|
|
34389
34388
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38964,7 +38963,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
38964
38963
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
38965
38964
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
38966
38965
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38967
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38966
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(864);
|
|
38968
38967
|
/*******************************************************************************
|
|
38969
38968
|
*
|
|
38970
38969
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39226,7 +39225,7 @@ const Expressions_default_ = Expressions;
|
|
|
39226
39225
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
39227
39226
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
39228
39227
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39229
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39228
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(864);
|
|
39230
39229
|
/*******************************************************************************
|
|
39231
39230
|
*
|
|
39232
39231
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39381,14 +39380,14 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
|
|
|
39381
39380
|
SFImage: new x_ite_Fields .SFImage (),
|
|
39382
39381
|
SFNode: new x_ite_Fields .SFNode (),
|
|
39383
39382
|
MFString: new x_ite_Fields .MFString (),
|
|
39384
|
-
Color3: new Numbers_Color3 (
|
|
39385
|
-
Color4: new Numbers_Color4 (
|
|
39383
|
+
Color3: new Numbers_Color3 (),
|
|
39384
|
+
Color4: new Numbers_Color4 (),
|
|
39386
39385
|
Matrix3: new Numbers_Matrix3 (),
|
|
39387
39386
|
Matrix4: new Numbers_Matrix4 (),
|
|
39388
39387
|
Rotation4: new Numbers_Rotation4 (),
|
|
39389
|
-
Vector2: new Numbers_Vector2 (
|
|
39390
|
-
Vector3: new Numbers_Vector3 (
|
|
39391
|
-
Vector4: new Numbers_Vector4 (
|
|
39388
|
+
Vector2: new Numbers_Vector2 (),
|
|
39389
|
+
Vector3: new Numbers_Vector3 (),
|
|
39390
|
+
Vector4: new Numbers_Vector4 (),
|
|
39392
39391
|
CONSTANTS: {
|
|
39393
39392
|
NAN: Number .NaN,
|
|
39394
39393
|
INFINITY: Number .POSITIVE_INFINITY,
|
|
@@ -41912,7 +41911,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41912
41911
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41913
41912
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41914
41913
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41915
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41914
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(864);
|
|
41916
41915
|
/*******************************************************************************
|
|
41917
41916
|
*
|
|
41918
41917
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42217,7 +42216,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42217
42216
|
{
|
|
42218
42217
|
const
|
|
42219
42218
|
componentNameIdCharacters = xmlElement .getAttribute ("name"),
|
|
42220
|
-
componentSupportLevel
|
|
42219
|
+
componentSupportLevel = xmlElement .getAttribute ("level");
|
|
42221
42220
|
|
|
42222
42221
|
if (componentNameIdCharacters === null)
|
|
42223
42222
|
return console .warn ("XML Parser: Bad component statement. Expected name attribute.");
|
|
@@ -42225,7 +42224,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
42225
42224
|
if (componentSupportLevel === null)
|
|
42226
42225
|
return console .warn ("XML Parser: Bad component statement. Expected level attribute.");
|
|
42227
42226
|
|
|
42228
|
-
const component = this .getBrowser () .getComponent (componentNameIdCharacters, componentSupportLevel);
|
|
42227
|
+
const component = this .getBrowser () .getComponent (componentNameIdCharacters, parseInt (componentSupportLevel));
|
|
42229
42228
|
|
|
42230
42229
|
this .getScene () .updateComponent (component);
|
|
42231
42230
|
}
|
|
@@ -43765,7 +43764,7 @@ Object .assign (X3DOptimizer .prototype,
|
|
|
43765
43764
|
// Combine single Transform nodes.
|
|
43766
43765
|
|
|
43767
43766
|
const
|
|
43768
|
-
translation = new Numbers_Vector3 (
|
|
43767
|
+
translation = new Numbers_Vector3 (),
|
|
43769
43768
|
rotation = new Numbers_Rotation4 (),
|
|
43770
43769
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
43771
43770
|
scaleOrientation = new Numbers_Rotation4 (),
|
|
@@ -44021,7 +44020,7 @@ const URLs_default_ = URLs;
|
|
|
44021
44020
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
44022
44021
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
44023
44022
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
44024
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
44023
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(864);
|
|
44025
44024
|
/*******************************************************************************
|
|
44026
44025
|
*
|
|
44027
44026
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44464,7 +44463,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44464
44463
|
scene = this .getExecutionContext (),
|
|
44465
44464
|
lightNode = scene .createNode ("EnvironmentLight", false),
|
|
44466
44465
|
name = `EnvironmentLight${id}`,
|
|
44467
|
-
quaternion = new Numbers_Quaternion (
|
|
44466
|
+
quaternion = new Numbers_Quaternion ();
|
|
44468
44467
|
|
|
44469
44468
|
scene .addNamedNode (scene .getUniqueName (name), lightNode);
|
|
44470
44469
|
scene .addExportedNode (scene .getUniqueExportName (name), lightNode);
|
|
@@ -44933,7 +44932,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44933
44932
|
materialNode = this .refineMaterial (mode, this .createMaterial (material, mode)),
|
|
44934
44933
|
name = this .sanitizeName (material .name);
|
|
44935
44934
|
|
|
44936
|
-
const emissiveFactor = new Numbers_Color3 (
|
|
44935
|
+
const emissiveFactor = new Numbers_Color3 ();
|
|
44937
44936
|
|
|
44938
44937
|
if (this .vectorValue (material .emissiveFactor, emissiveFactor))
|
|
44939
44938
|
materialNode ._emissiveColor = emissiveFactor;
|
|
@@ -45064,8 +45063,8 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45064
45063
|
materialNode = scene .createNode ("PhysicalMaterial", false);
|
|
45065
45064
|
|
|
45066
45065
|
const
|
|
45067
|
-
baseColorFactor = new Numbers_Color4 (
|
|
45068
|
-
baseColor = new Numbers_Color3 (
|
|
45066
|
+
baseColorFactor = new Numbers_Color4 (),
|
|
45067
|
+
baseColor = new Numbers_Color3 ();
|
|
45069
45068
|
|
|
45070
45069
|
if (this .vectorValue (pbrMetallicRoughness .baseColorFactor, baseColorFactor))
|
|
45071
45070
|
{
|
|
@@ -45093,9 +45092,9 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45093
45092
|
materialNode = scene .createNode ("Material", false);
|
|
45094
45093
|
|
|
45095
45094
|
const
|
|
45096
|
-
diffuseFactor = new Numbers_Color4 (
|
|
45097
|
-
diffuseColor = new Numbers_Color3 (
|
|
45098
|
-
specularFactor = new Numbers_Color3 (
|
|
45095
|
+
diffuseFactor = new Numbers_Color4 (),
|
|
45096
|
+
diffuseColor = new Numbers_Color3 (),
|
|
45097
|
+
specularFactor = new Numbers_Color3 ();
|
|
45099
45098
|
|
|
45100
45099
|
if (this .vectorValue (pbrSpecularGlossiness .diffuseFactor, diffuseFactor))
|
|
45101
45100
|
{
|
|
@@ -45229,7 +45228,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45229
45228
|
mapping = `TEXCOORD_${this .texCoordIndex + this .textureTransformNodes .length + 1}`;
|
|
45230
45229
|
|
|
45231
45230
|
const
|
|
45232
|
-
translation = new Numbers_Vector2 (
|
|
45231
|
+
translation = new Numbers_Vector2 (),
|
|
45233
45232
|
scale = new Numbers_Vector2 (1, 1),
|
|
45234
45233
|
matrix = new Numbers_Matrix4 ();
|
|
45235
45234
|
|
|
@@ -45679,11 +45678,11 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45679
45678
|
// Set transformation matrix.
|
|
45680
45679
|
|
|
45681
45680
|
const
|
|
45682
|
-
translation = new Numbers_Vector3 (
|
|
45681
|
+
translation = new Numbers_Vector3 (),
|
|
45683
45682
|
rotation = new Numbers_Rotation4 (),
|
|
45684
45683
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
45685
45684
|
scaleOrientation = new Numbers_Rotation4 (),
|
|
45686
|
-
quaternion = new Numbers_Quaternion (
|
|
45685
|
+
quaternion = new Numbers_Quaternion (),
|
|
45687
45686
|
matrix = new Numbers_Matrix4 ();
|
|
45688
45687
|
|
|
45689
45688
|
if (this .vectorValue (node .matrix, matrix))
|
|
@@ -47213,7 +47212,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
47213
47212
|
},
|
|
47214
47213
|
applyMorphTargets: (function ()
|
|
47215
47214
|
{
|
|
47216
|
-
const value = new Numbers_Vector3 (
|
|
47215
|
+
const value = new Numbers_Vector3 ();
|
|
47217
47216
|
|
|
47218
47217
|
return function (array, targets, key, weights, normalized)
|
|
47219
47218
|
{
|
|
@@ -47271,11 +47270,13 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
47271
47270
|
td = times [index1] - times [index0],
|
|
47272
47271
|
t1 = (time - times [index0]) / td,
|
|
47273
47272
|
t2 = t1 * t1,
|
|
47274
|
-
t3 = t2 * t1
|
|
47275
|
-
|
|
47276
|
-
|
|
47277
|
-
|
|
47278
|
-
|
|
47273
|
+
t3 = t2 * t1;
|
|
47274
|
+
|
|
47275
|
+
let
|
|
47276
|
+
v0 = values [(index0 + 1) * length + i],
|
|
47277
|
+
b0 = values [(index0 + 2) * length + i],
|
|
47278
|
+
v1 = values [(index1 + 1) * length + i],
|
|
47279
|
+
a1 = values [(index1 + 0) * length + i];
|
|
47279
47280
|
|
|
47280
47281
|
v0 *= 2 * t3 - 3 * t2 + 1;
|
|
47281
47282
|
b0 *= td * (t3 - 2 * t2 + t1);
|
|
@@ -47322,7 +47323,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
47322
47323
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47323
47324
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47324
47325
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47325
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47326
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(864);
|
|
47326
47327
|
/*******************************************************************************
|
|
47327
47328
|
*
|
|
47328
47329
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47474,7 +47475,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47474
47475
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47475
47476
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47476
47477
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47477
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47478
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(864);
|
|
47478
47479
|
/*******************************************************************************
|
|
47479
47480
|
*
|
|
47480
47481
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48212,7 +48213,7 @@ function MaterialParser (scene, input)
|
|
|
48212
48213
|
this .material = scene .createNode ("Material");
|
|
48213
48214
|
this .materials = new Map ();
|
|
48214
48215
|
this .textures = new Map ();
|
|
48215
|
-
this .color3 = new Numbers_Color3 (
|
|
48216
|
+
this .color3 = new Numbers_Color3 ();
|
|
48216
48217
|
this .id = "";
|
|
48217
48218
|
}
|
|
48218
48219
|
|
|
@@ -50007,7 +50008,7 @@ x_ite_Namespace .add ("PLYBParser", "x_ite/Parser/PLYBParser", PLYBParser_defaul
|
|
|
50007
50008
|
*
|
|
50008
50009
|
******************************************************************************/
|
|
50009
50010
|
|
|
50010
|
-
function Complex (real, imag)
|
|
50011
|
+
function Complex (real = 0, imag = 0)
|
|
50011
50012
|
{
|
|
50012
50013
|
this .real = real;
|
|
50013
50014
|
this .imag = imag;
|
|
@@ -50333,10 +50334,10 @@ Object .assign (Box2 .prototype,
|
|
|
50333
50334
|
add: (() =>
|
|
50334
50335
|
{
|
|
50335
50336
|
const
|
|
50336
|
-
lhs_min = new Numbers_Vector2 (
|
|
50337
|
-
lhs_max = new Numbers_Vector2 (
|
|
50338
|
-
rhs_min = new Numbers_Vector2 (
|
|
50339
|
-
rhs_max = new Numbers_Vector2 (
|
|
50337
|
+
lhs_min = new Numbers_Vector2 (),
|
|
50338
|
+
lhs_max = new Numbers_Vector2 (),
|
|
50339
|
+
rhs_min = new Numbers_Vector2 (),
|
|
50340
|
+
rhs_max = new Numbers_Vector2 ();
|
|
50340
50341
|
|
|
50341
50342
|
return function (box)
|
|
50342
50343
|
{
|
|
@@ -50371,7 +50372,7 @@ Object .assign (Box2 .prototype,
|
|
|
50371
50372
|
},
|
|
50372
50373
|
getAbsoluteExtents: (() =>
|
|
50373
50374
|
{
|
|
50374
|
-
const p1 = new Numbers_Vector2 (
|
|
50375
|
+
const p1 = new Numbers_Vector2 ();
|
|
50375
50376
|
|
|
50376
50377
|
return function (min, max)
|
|
50377
50378
|
{
|
|
@@ -50397,8 +50398,8 @@ Object .assign (Box2 .prototype,
|
|
|
50397
50398
|
containsPoint: (() =>
|
|
50398
50399
|
{
|
|
50399
50400
|
const
|
|
50400
|
-
min = new Numbers_Vector2 (
|
|
50401
|
-
max = new Numbers_Vector2 (
|
|
50401
|
+
min = new Numbers_Vector2 (),
|
|
50402
|
+
max = new Numbers_Vector2 ();
|
|
50402
50403
|
|
|
50403
50404
|
return function (point)
|
|
50404
50405
|
{
|
|
@@ -50445,8 +50446,8 @@ Object .defineProperties (Box2 .prototype,
|
|
|
50445
50446
|
get: (() =>
|
|
50446
50447
|
{
|
|
50447
50448
|
const
|
|
50448
|
-
min = new Numbers_Vector2 (
|
|
50449
|
-
max = new Numbers_Vector2 (
|
|
50449
|
+
min = new Numbers_Vector2 (),
|
|
50450
|
+
max = new Numbers_Vector2 ();
|
|
50450
50451
|
|
|
50451
50452
|
return function ()
|
|
50452
50453
|
{
|
|
@@ -50555,7 +50556,7 @@ const Bezier =
|
|
|
50555
50556
|
cubic: (() =>
|
|
50556
50557
|
{
|
|
50557
50558
|
const
|
|
50558
|
-
v = new Numbers_Vector4 (
|
|
50559
|
+
v = new Numbers_Vector4 (),
|
|
50559
50560
|
c = new Numbers_Matrix4 (1, 0, 0, 0, -3, 3, 0, 0, 3, -6, 3, 0, -1, 3, -3, 1),
|
|
50560
50561
|
p = new Numbers_Matrix4 ();
|
|
50561
50562
|
|
|
@@ -50829,8 +50830,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50829
50830
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50830
50831
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50831
50832
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50832
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50833
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50833
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(864);
|
|
50834
|
+
/* provided dependency */ var libtess = __webpack_require__(405);
|
|
50834
50835
|
/*******************************************************************************
|
|
50835
50836
|
*
|
|
50836
50837
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -51881,7 +51882,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
51881
51882
|
{
|
|
51882
51883
|
const
|
|
51883
51884
|
g = this .radialGradientElement (xmlElement, bbox, { stops: [ ] }),
|
|
51884
|
-
gradient = this .context .createRadialGradient (g .fx, g .fy, g.
|
|
51885
|
+
gradient = this .context .createRadialGradient (g .fx, g .fy, g .fr, g .cx, g .cy, g .r);
|
|
51885
51886
|
|
|
51886
51887
|
return this .drawGradient (gradient, g, bbox);
|
|
51887
51888
|
},
|
|
@@ -53315,7 +53316,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
53315
53316
|
},
|
|
53316
53317
|
colorValue: (() =>
|
|
53317
53318
|
{
|
|
53318
|
-
const color = new Numbers_Color4 (
|
|
53319
|
+
const color = new Numbers_Color4 ();
|
|
53319
53320
|
|
|
53320
53321
|
return function (c)
|
|
53321
53322
|
{
|
|
@@ -53356,7 +53357,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
|
|
|
53356
53357
|
const
|
|
53357
53358
|
transformNode = scene .createNode ("Transform"),
|
|
53358
53359
|
matrix = Numbers_Matrix4 .Matrix3 (m),
|
|
53359
|
-
translation = new Numbers_Vector3 (
|
|
53360
|
+
translation = new Numbers_Vector3 (),
|
|
53360
53361
|
rotation = new Numbers_Rotation4 (),
|
|
53361
53362
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
53362
53363
|
scaleOrientation = new Numbers_Rotation4 ();
|
|
@@ -53598,7 +53599,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53598
53599
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53599
53600
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53600
53601
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53601
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53602
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(864);
|
|
53602
53603
|
/*******************************************************************************
|
|
53603
53604
|
*
|
|
53604
53605
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53818,8 +53819,8 @@ x_ite_Namespace .add ("GoldenGate", "x_ite/Parser/GoldenGate", GoldenGate_defaul
|
|
|
53818
53819
|
|
|
53819
53820
|
|
|
53820
53821
|
const
|
|
53821
|
-
normal = new Numbers_Vector3 (
|
|
53822
|
-
point = new Numbers_Vector3 (
|
|
53822
|
+
normal = new Numbers_Vector3 (),
|
|
53823
|
+
point = new Numbers_Vector3 (),
|
|
53823
53824
|
invMatrix = new Numbers_Matrix4 ();
|
|
53824
53825
|
|
|
53825
53826
|
function Plane3 (point, normal)
|
|
@@ -53903,15 +53904,15 @@ Object .assign (Plane3 .prototype,
|
|
|
53903
53904
|
{
|
|
53904
53905
|
return point .dot (this .normal) - this .distanceFromOrigin;
|
|
53905
53906
|
},
|
|
53906
|
-
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 (
|
|
53907
|
+
getPerpendicularVectorToPoint (point, result = new Numbers_Vector3 ())
|
|
53907
53908
|
{
|
|
53908
53909
|
return result .assign (this .normal) .multiply (this .getDistanceToPoint (point));
|
|
53909
53910
|
},
|
|
53910
53911
|
getClosestPointToPoint: (function ()
|
|
53911
53912
|
{
|
|
53912
|
-
const p = new Numbers_Vector3 (
|
|
53913
|
+
const p = new Numbers_Vector3 ();
|
|
53913
53914
|
|
|
53914
|
-
return function (point, result = new Numbers_Vector3 (
|
|
53915
|
+
return function (point, result = new Numbers_Vector3 ())
|
|
53915
53916
|
{
|
|
53916
53917
|
return result .assign (point) .add (this .getPerpendicularVectorToPoint (point, p));
|
|
53917
53918
|
};
|
|
@@ -53948,7 +53949,7 @@ const Plane3_default_ = Plane3;
|
|
|
53948
53949
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53949
53950
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53950
53951
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53951
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53952
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(405);
|
|
53952
53953
|
/*******************************************************************************
|
|
53953
53954
|
*
|
|
53954
53955
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54003,8 +54004,8 @@ const Triangle3 =
|
|
|
54003
54004
|
area: (() =>
|
|
54004
54005
|
{
|
|
54005
54006
|
const
|
|
54006
|
-
B = new Numbers_Vector3 (
|
|
54007
|
-
C = new Numbers_Vector3 (
|
|
54007
|
+
B = new Numbers_Vector3 (),
|
|
54008
|
+
C = new Numbers_Vector3 ();
|
|
54008
54009
|
|
|
54009
54010
|
return function (a, b, c)
|
|
54010
54011
|
{
|
|
@@ -54277,40 +54278,40 @@ x_ite_Namespace .add ("SAT", "standard/Math/Algorithms/SAT", SAT_default_);
|
|
|
54277
54278
|
|
|
54278
54279
|
function ViewVolume (projectionMatrix, viewport, scissor)
|
|
54279
54280
|
{
|
|
54280
|
-
this .viewport = new Numbers_Vector4 (
|
|
54281
|
-
this .scissor = new Numbers_Vector4 (
|
|
54281
|
+
this .viewport = new Numbers_Vector4 ();
|
|
54282
|
+
this .scissor = new Numbers_Vector4 ();
|
|
54282
54283
|
|
|
54283
54284
|
this .points = [
|
|
54284
|
-
new Numbers_Vector3 (
|
|
54285
|
-
new Numbers_Vector3 (
|
|
54286
|
-
new Numbers_Vector3 (
|
|
54287
|
-
new Numbers_Vector3 (
|
|
54288
|
-
|
|
54289
|
-
new Numbers_Vector3 (
|
|
54290
|
-
new Numbers_Vector3 (
|
|
54291
|
-
new Numbers_Vector3 (
|
|
54292
|
-
new Numbers_Vector3 (
|
|
54285
|
+
new Numbers_Vector3 (),
|
|
54286
|
+
new Numbers_Vector3 (),
|
|
54287
|
+
new Numbers_Vector3 (),
|
|
54288
|
+
new Numbers_Vector3 (),
|
|
54289
|
+
|
|
54290
|
+
new Numbers_Vector3 (),
|
|
54291
|
+
new Numbers_Vector3 (),
|
|
54292
|
+
new Numbers_Vector3 (),
|
|
54293
|
+
new Numbers_Vector3 (),
|
|
54293
54294
|
];
|
|
54294
54295
|
|
|
54295
54296
|
this .normals = [
|
|
54296
|
-
new Numbers_Vector3 (
|
|
54297
|
-
new Numbers_Vector3 (
|
|
54298
|
-
new Numbers_Vector3 (
|
|
54299
|
-
new Numbers_Vector3 (
|
|
54300
|
-
new Numbers_Vector3 (
|
|
54301
|
-
new Numbers_Vector3 (
|
|
54297
|
+
new Numbers_Vector3 (), // front
|
|
54298
|
+
new Numbers_Vector3 (), // left
|
|
54299
|
+
new Numbers_Vector3 (), // right
|
|
54300
|
+
new Numbers_Vector3 (), // top
|
|
54301
|
+
new Numbers_Vector3 (), // bottom
|
|
54302
|
+
new Numbers_Vector3 (), // back
|
|
54302
54303
|
];
|
|
54303
54304
|
|
|
54304
54305
|
this .edges = [
|
|
54305
|
-
new Numbers_Vector3 (
|
|
54306
|
-
new Numbers_Vector3 (
|
|
54307
|
-
new Numbers_Vector3 (
|
|
54308
|
-
new Numbers_Vector3 (
|
|
54309
|
-
|
|
54310
|
-
new Numbers_Vector3 (
|
|
54311
|
-
new Numbers_Vector3 (
|
|
54312
|
-
new Numbers_Vector3 (
|
|
54313
|
-
new Numbers_Vector3 (
|
|
54306
|
+
new Numbers_Vector3 (),
|
|
54307
|
+
new Numbers_Vector3 (),
|
|
54308
|
+
new Numbers_Vector3 (),
|
|
54309
|
+
new Numbers_Vector3 (),
|
|
54310
|
+
|
|
54311
|
+
new Numbers_Vector3 (),
|
|
54312
|
+
new Numbers_Vector3 (),
|
|
54313
|
+
new Numbers_Vector3 (),
|
|
54314
|
+
new Numbers_Vector3 (),
|
|
54314
54315
|
];
|
|
54315
54316
|
|
|
54316
54317
|
this .planes = [
|
|
@@ -54441,33 +54442,33 @@ Object .assign (ViewVolume .prototype,
|
|
|
54441
54442
|
intersectsBox: (() =>
|
|
54442
54443
|
{
|
|
54443
54444
|
const points1 = [
|
|
54444
|
-
new Numbers_Vector3 (
|
|
54445
|
-
new Numbers_Vector3 (
|
|
54446
|
-
new Numbers_Vector3 (
|
|
54447
|
-
new Numbers_Vector3 (
|
|
54448
|
-
|
|
54449
|
-
new Numbers_Vector3 (
|
|
54450
|
-
new Numbers_Vector3 (
|
|
54451
|
-
new Numbers_Vector3 (
|
|
54452
|
-
new Numbers_Vector3 (
|
|
54445
|
+
new Numbers_Vector3 (),
|
|
54446
|
+
new Numbers_Vector3 (),
|
|
54447
|
+
new Numbers_Vector3 (),
|
|
54448
|
+
new Numbers_Vector3 (),
|
|
54449
|
+
|
|
54450
|
+
new Numbers_Vector3 (),
|
|
54451
|
+
new Numbers_Vector3 (),
|
|
54452
|
+
new Numbers_Vector3 (),
|
|
54453
|
+
new Numbers_Vector3 (),
|
|
54453
54454
|
];
|
|
54454
54455
|
|
|
54455
54456
|
const normals1 = [
|
|
54456
|
-
new Numbers_Vector3 (
|
|
54457
|
-
new Numbers_Vector3 (
|
|
54458
|
-
new Numbers_Vector3 (
|
|
54457
|
+
new Numbers_Vector3 (),
|
|
54458
|
+
new Numbers_Vector3 (),
|
|
54459
|
+
new Numbers_Vector3 (),
|
|
54459
54460
|
];
|
|
54460
54461
|
|
|
54461
54462
|
const axes1 = [
|
|
54462
|
-
new Numbers_Vector3 (
|
|
54463
|
-
new Numbers_Vector3 (
|
|
54464
|
-
new Numbers_Vector3 (
|
|
54463
|
+
new Numbers_Vector3 (),
|
|
54464
|
+
new Numbers_Vector3 (),
|
|
54465
|
+
new Numbers_Vector3 (),
|
|
54465
54466
|
];
|
|
54466
54467
|
|
|
54467
54468
|
const axes = [ ];
|
|
54468
54469
|
|
|
54469
54470
|
for (let i = 0; i < 3 * 8; ++ i)
|
|
54470
|
-
axes .push (new Numbers_Vector3 (
|
|
54471
|
+
axes .push (new Numbers_Vector3 ());
|
|
54471
54472
|
|
|
54472
54473
|
return function (box)
|
|
54473
54474
|
{
|
|
@@ -54522,7 +54523,7 @@ Object .assign (ViewVolume,
|
|
|
54522
54523
|
})(),
|
|
54523
54524
|
unProjectPointMatrix: (() =>
|
|
54524
54525
|
{
|
|
54525
|
-
const vin = new Numbers_Vector4 (
|
|
54526
|
+
const vin = new Numbers_Vector4 ();
|
|
54526
54527
|
|
|
54527
54528
|
return function (winx, winy, winz, invModelViewProjectionMatrix, viewport, point)
|
|
54528
54529
|
{
|
|
@@ -54552,8 +54553,8 @@ Object .assign (ViewVolume,
|
|
|
54552
54553
|
unProjectRayMatrix: (() =>
|
|
54553
54554
|
{
|
|
54554
54555
|
const
|
|
54555
|
-
near = new Numbers_Vector3 (
|
|
54556
|
-
far = new Numbers_Vector3 (
|
|
54556
|
+
near = new Numbers_Vector3 (),
|
|
54557
|
+
far = new Numbers_Vector3 ();
|
|
54557
54558
|
|
|
54558
54559
|
return function (winx, winy, invModelViewProjectionMatrix, viewport, result)
|
|
54559
54560
|
{
|
|
@@ -54565,7 +54566,7 @@ Object .assign (ViewVolume,
|
|
|
54565
54566
|
})(),
|
|
54566
54567
|
projectPoint: (() =>
|
|
54567
54568
|
{
|
|
54568
|
-
const vin = new Numbers_Vector4 (
|
|
54569
|
+
const vin = new Numbers_Vector4 ();
|
|
54569
54570
|
|
|
54570
54571
|
return function (point, modelViewMatrix, projectionMatrix, viewport, vout)
|
|
54571
54572
|
{
|
|
@@ -54585,7 +54586,7 @@ Object .assign (ViewVolume,
|
|
|
54585
54586
|
})(),
|
|
54586
54587
|
projectPointMatrix: (() =>
|
|
54587
54588
|
{
|
|
54588
|
-
const vin = new Numbers_Vector4 (
|
|
54589
|
+
const vin = new Numbers_Vector4 ();
|
|
54589
54590
|
|
|
54590
54591
|
return function (point, modelViewProjectionMatrix, viewport, vout)
|
|
54591
54592
|
{
|
|
@@ -54615,9 +54616,9 @@ Object .assign (ViewVolume,
|
|
|
54615
54616
|
projectLineMatrix: (() =>
|
|
54616
54617
|
{
|
|
54617
54618
|
const
|
|
54618
|
-
near = new Numbers_Vector2 (
|
|
54619
|
-
far = new Numbers_Vector2 (
|
|
54620
|
-
direction = new Numbers_Vector3 (
|
|
54619
|
+
near = new Numbers_Vector2 (),
|
|
54620
|
+
far = new Numbers_Vector2 (),
|
|
54621
|
+
direction = new Numbers_Vector3 ();
|
|
54621
54622
|
|
|
54622
54623
|
return function (line, modelViewProjectionMatrix, viewport, result)
|
|
54623
54624
|
{
|
|
@@ -54795,7 +54796,7 @@ Object .assign (TextureBuffer .prototype,
|
|
|
54795
54796
|
{
|
|
54796
54797
|
const
|
|
54797
54798
|
invProjectionMatrix = new Numbers_Matrix4 (),
|
|
54798
|
-
point = new Numbers_Vector3 (
|
|
54799
|
+
point = new Numbers_Vector3 ();
|
|
54799
54800
|
|
|
54800
54801
|
return function (projectionMatrix, viewport)
|
|
54801
54802
|
{
|
|
@@ -55146,8 +55147,8 @@ const Camera =
|
|
|
55146
55147
|
orthoBox: (() =>
|
|
55147
55148
|
{
|
|
55148
55149
|
const
|
|
55149
|
-
min = new Numbers_Vector3 (
|
|
55150
|
-
max = new Numbers_Vector3 (
|
|
55150
|
+
min = new Numbers_Vector3 (),
|
|
55151
|
+
max = new Numbers_Vector3 ();
|
|
55151
55152
|
|
|
55152
55153
|
return function (box, matrix)
|
|
55153
55154
|
{
|
|
@@ -55300,9 +55301,9 @@ Object .assign (Box3 .prototype,
|
|
|
55300
55301
|
getAbsoluteExtents: (() =>
|
|
55301
55302
|
{
|
|
55302
55303
|
const
|
|
55303
|
-
r1 = new Numbers_Vector3 (
|
|
55304
|
-
p1 = new Numbers_Vector3 (
|
|
55305
|
-
p4 = new Numbers_Vector3 (
|
|
55304
|
+
r1 = new Numbers_Vector3 (),
|
|
55305
|
+
p1 = new Numbers_Vector3 (),
|
|
55306
|
+
p4 = new Numbers_Vector3 ();
|
|
55306
55307
|
|
|
55307
55308
|
return function (min, max)
|
|
55308
55309
|
{
|
|
@@ -55338,10 +55339,10 @@ Object .assign (Box3 .prototype,
|
|
|
55338
55339
|
getPoints: (() =>
|
|
55339
55340
|
{
|
|
55340
55341
|
const
|
|
55341
|
-
x = new Numbers_Vector3 (
|
|
55342
|
-
y = new Numbers_Vector3 (
|
|
55343
|
-
z = new Numbers_Vector3 (
|
|
55344
|
-
r1 = new Numbers_Vector3 (
|
|
55342
|
+
x = new Numbers_Vector3 (),
|
|
55343
|
+
y = new Numbers_Vector3 (),
|
|
55344
|
+
z = new Numbers_Vector3 (),
|
|
55345
|
+
r1 = new Numbers_Vector3 ();
|
|
55345
55346
|
|
|
55346
55347
|
return function (points)
|
|
55347
55348
|
{
|
|
@@ -55405,9 +55406,9 @@ Object .assign (Box3 .prototype,
|
|
|
55405
55406
|
getNormals: (() =>
|
|
55406
55407
|
{
|
|
55407
55408
|
const
|
|
55408
|
-
x = new Numbers_Vector3 (
|
|
55409
|
-
y = new Numbers_Vector3 (
|
|
55410
|
-
z = new Numbers_Vector3 (
|
|
55409
|
+
x = new Numbers_Vector3 (),
|
|
55410
|
+
y = new Numbers_Vector3 (),
|
|
55411
|
+
z = new Numbers_Vector3 ();
|
|
55411
55412
|
|
|
55412
55413
|
const axes = [ Numbers_Vector3 .xAxis, Numbers_Vector3 .yAxis, Numbers_Vector3 .zAxis ];
|
|
55413
55414
|
|
|
@@ -55523,10 +55524,10 @@ Object .assign (Box3 .prototype,
|
|
|
55523
55524
|
add: (() =>
|
|
55524
55525
|
{
|
|
55525
55526
|
const
|
|
55526
|
-
lhs_min = new Numbers_Vector3 (
|
|
55527
|
-
lhs_max = new Numbers_Vector3 (
|
|
55528
|
-
rhs_min = new Numbers_Vector3 (
|
|
55529
|
-
rhs_max = new Numbers_Vector3 (
|
|
55527
|
+
lhs_min = new Numbers_Vector3 (),
|
|
55528
|
+
lhs_max = new Numbers_Vector3 (),
|
|
55529
|
+
rhs_min = new Numbers_Vector3 (),
|
|
55530
|
+
rhs_max = new Numbers_Vector3 ();
|
|
55530
55531
|
|
|
55531
55532
|
return function (box)
|
|
55532
55533
|
{
|
|
@@ -55555,8 +55556,8 @@ Object .assign (Box3 .prototype,
|
|
|
55555
55556
|
containsPoint: (() =>
|
|
55556
55557
|
{
|
|
55557
55558
|
const
|
|
55558
|
-
min = new Numbers_Vector3 (
|
|
55559
|
-
max = new Numbers_Vector3 (
|
|
55559
|
+
min = new Numbers_Vector3 (),
|
|
55560
|
+
max = new Numbers_Vector3 ();
|
|
55560
55561
|
|
|
55561
55562
|
return function (point)
|
|
55562
55563
|
{
|
|
@@ -55573,59 +55574,59 @@ Object .assign (Box3 .prototype,
|
|
|
55573
55574
|
intersectsBox: (() =>
|
|
55574
55575
|
{
|
|
55575
55576
|
const points1 = [
|
|
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 points2 = [
|
|
55588
|
-
new Numbers_Vector3 (
|
|
55589
|
-
new Numbers_Vector3 (
|
|
55590
|
-
new Numbers_Vector3 (
|
|
55591
|
-
new Numbers_Vector3 (
|
|
55592
|
-
|
|
55593
|
-
new Numbers_Vector3 (
|
|
55594
|
-
new Numbers_Vector3 (
|
|
55595
|
-
new Numbers_Vector3 (
|
|
55596
|
-
new Numbers_Vector3 (
|
|
55589
|
+
new Numbers_Vector3 (),
|
|
55590
|
+
new Numbers_Vector3 (),
|
|
55591
|
+
new Numbers_Vector3 (),
|
|
55592
|
+
new Numbers_Vector3 (),
|
|
55593
|
+
|
|
55594
|
+
new Numbers_Vector3 (),
|
|
55595
|
+
new Numbers_Vector3 (),
|
|
55596
|
+
new Numbers_Vector3 (),
|
|
55597
|
+
new Numbers_Vector3 (),
|
|
55597
55598
|
];
|
|
55598
55599
|
|
|
55599
55600
|
const axes1 = [
|
|
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
55605
|
|
|
55605
55606
|
const axes2 = [
|
|
55606
|
-
new Numbers_Vector3 (
|
|
55607
|
-
new Numbers_Vector3 (
|
|
55608
|
-
new Numbers_Vector3 (
|
|
55607
|
+
new Numbers_Vector3 (),
|
|
55608
|
+
new Numbers_Vector3 (),
|
|
55609
|
+
new Numbers_Vector3 (),
|
|
55609
55610
|
];
|
|
55610
55611
|
|
|
55611
55612
|
const axes9 = [
|
|
55612
|
-
new Numbers_Vector3 (
|
|
55613
|
-
new Numbers_Vector3 (
|
|
55614
|
-
new Numbers_Vector3 (
|
|
55613
|
+
new Numbers_Vector3 (),
|
|
55614
|
+
new Numbers_Vector3 (),
|
|
55615
|
+
new Numbers_Vector3 (),
|
|
55615
55616
|
|
|
55616
|
-
new Numbers_Vector3 (
|
|
55617
|
-
new Numbers_Vector3 (
|
|
55618
|
-
new Numbers_Vector3 (
|
|
55617
|
+
new Numbers_Vector3 (),
|
|
55618
|
+
new Numbers_Vector3 (),
|
|
55619
|
+
new Numbers_Vector3 (),
|
|
55619
55620
|
|
|
55620
|
-
new Numbers_Vector3 (
|
|
55621
|
-
new Numbers_Vector3 (
|
|
55622
|
-
new Numbers_Vector3 (
|
|
55621
|
+
new Numbers_Vector3 (),
|
|
55622
|
+
new Numbers_Vector3 (),
|
|
55623
|
+
new Numbers_Vector3 (),
|
|
55623
55624
|
];
|
|
55624
55625
|
|
|
55625
55626
|
const normals = [
|
|
55626
|
-
new Numbers_Vector3 (
|
|
55627
|
-
new Numbers_Vector3 (
|
|
55628
|
-
new Numbers_Vector3 (
|
|
55627
|
+
new Numbers_Vector3 (),
|
|
55628
|
+
new Numbers_Vector3 (),
|
|
55629
|
+
new Numbers_Vector3 (),
|
|
55629
55630
|
];
|
|
55630
55631
|
|
|
55631
55632
|
return function (other)
|
|
@@ -55675,51 +55676,51 @@ Object .assign (Box3 .prototype,
|
|
|
55675
55676
|
intersectsTriangle: (() =>
|
|
55676
55677
|
{
|
|
55677
55678
|
const points1 = [
|
|
55678
|
-
new Numbers_Vector3 (
|
|
55679
|
-
new Numbers_Vector3 (
|
|
55680
|
-
new Numbers_Vector3 (
|
|
55681
|
-
new Numbers_Vector3 (
|
|
55682
|
-
|
|
55683
|
-
new Numbers_Vector3 (
|
|
55684
|
-
new Numbers_Vector3 (
|
|
55685
|
-
new Numbers_Vector3 (
|
|
55686
|
-
new Numbers_Vector3 (
|
|
55679
|
+
new Numbers_Vector3 (),
|
|
55680
|
+
new Numbers_Vector3 (),
|
|
55681
|
+
new Numbers_Vector3 (),
|
|
55682
|
+
new Numbers_Vector3 (),
|
|
55683
|
+
|
|
55684
|
+
new Numbers_Vector3 (),
|
|
55685
|
+
new Numbers_Vector3 (),
|
|
55686
|
+
new Numbers_Vector3 (),
|
|
55687
|
+
new Numbers_Vector3 (),
|
|
55687
55688
|
];
|
|
55688
55689
|
|
|
55689
55690
|
const axes1 = [
|
|
55690
|
-
new Numbers_Vector3 (
|
|
55691
|
-
new Numbers_Vector3 (
|
|
55692
|
-
new Numbers_Vector3 (
|
|
55691
|
+
new Numbers_Vector3 (),
|
|
55692
|
+
new Numbers_Vector3 (),
|
|
55693
|
+
new Numbers_Vector3 (),
|
|
55693
55694
|
];
|
|
55694
55695
|
|
|
55695
55696
|
const axes9 = [
|
|
55696
|
-
new Numbers_Vector3 (
|
|
55697
|
-
new Numbers_Vector3 (
|
|
55698
|
-
new Numbers_Vector3 (
|
|
55697
|
+
new Numbers_Vector3 (),
|
|
55698
|
+
new Numbers_Vector3 (),
|
|
55699
|
+
new Numbers_Vector3 (),
|
|
55699
55700
|
|
|
55700
|
-
new Numbers_Vector3 (
|
|
55701
|
-
new Numbers_Vector3 (
|
|
55702
|
-
new Numbers_Vector3 (
|
|
55701
|
+
new Numbers_Vector3 (),
|
|
55702
|
+
new Numbers_Vector3 (),
|
|
55703
|
+
new Numbers_Vector3 (),
|
|
55703
55704
|
|
|
55704
|
-
new Numbers_Vector3 (
|
|
55705
|
-
new Numbers_Vector3 (
|
|
55706
|
-
new Numbers_Vector3 (
|
|
55705
|
+
new Numbers_Vector3 (),
|
|
55706
|
+
new Numbers_Vector3 (),
|
|
55707
|
+
new Numbers_Vector3 (),
|
|
55707
55708
|
];
|
|
55708
55709
|
|
|
55709
55710
|
const normals = [
|
|
55710
|
-
new Numbers_Vector3 (
|
|
55711
|
-
new Numbers_Vector3 (
|
|
55712
|
-
new Numbers_Vector3 (
|
|
55711
|
+
new Numbers_Vector3 (),
|
|
55712
|
+
new Numbers_Vector3 (),
|
|
55713
|
+
new Numbers_Vector3 (),
|
|
55713
55714
|
];
|
|
55714
55715
|
|
|
55715
55716
|
const triangle = [ ];
|
|
55716
55717
|
|
|
55717
|
-
const triangleNormal = [ new Numbers_Vector3 (
|
|
55718
|
+
const triangleNormal = [ new Numbers_Vector3 () ];
|
|
55718
55719
|
|
|
55719
55720
|
const triangleEdges = [
|
|
55720
|
-
new Numbers_Vector3 (
|
|
55721
|
-
new Numbers_Vector3 (
|
|
55722
|
-
new Numbers_Vector3 (
|
|
55721
|
+
new Numbers_Vector3 (),
|
|
55722
|
+
new Numbers_Vector3 (),
|
|
55723
|
+
new Numbers_Vector3 ()
|
|
55723
55724
|
];
|
|
55724
55725
|
|
|
55725
55726
|
return function (a, b, c)
|
|
@@ -55806,8 +55807,8 @@ Object .defineProperties (Box3 .prototype,
|
|
|
55806
55807
|
get: (() =>
|
|
55807
55808
|
{
|
|
55808
55809
|
const
|
|
55809
|
-
min = new Numbers_Vector3 (
|
|
55810
|
-
max = new Numbers_Vector3 (
|
|
55810
|
+
min = new Numbers_Vector3 (),
|
|
55811
|
+
max = new Numbers_Vector3 ();
|
|
55811
55812
|
|
|
55812
55813
|
return function ()
|
|
55813
55814
|
{
|
|
@@ -55928,7 +55929,7 @@ Object .assign (Line3 .prototype,
|
|
|
55928
55929
|
matrix .multDirMatrix (this .direction) .normalize ();
|
|
55929
55930
|
return this;
|
|
55930
55931
|
},
|
|
55931
|
-
getClosestPointToPoint (point, result = new Numbers_Vector3 (
|
|
55932
|
+
getClosestPointToPoint (point, result = new Numbers_Vector3 ())
|
|
55932
55933
|
{
|
|
55933
55934
|
const
|
|
55934
55935
|
r = result .assign (point) .subtract (this .point),
|
|
@@ -55938,7 +55939,7 @@ Object .assign (Line3 .prototype,
|
|
|
55938
55939
|
},
|
|
55939
55940
|
getClosestPointToLine: (() =>
|
|
55940
55941
|
{
|
|
55941
|
-
const u = new Numbers_Vector3 (
|
|
55942
|
+
const u = new Numbers_Vector3 ();
|
|
55942
55943
|
|
|
55943
55944
|
return function (line, point)
|
|
55944
55945
|
{
|
|
@@ -55961,9 +55962,9 @@ Object .assign (Line3 .prototype,
|
|
|
55961
55962
|
})(),
|
|
55962
55963
|
getPerpendicularVectorToPoint: (() =>
|
|
55963
55964
|
{
|
|
55964
|
-
const t = new Numbers_Vector3 (
|
|
55965
|
+
const t = new Numbers_Vector3 ();
|
|
55965
55966
|
|
|
55966
|
-
return function (point, result = new Numbers_Vector3 (
|
|
55967
|
+
return function (point, result = new Numbers_Vector3 ())
|
|
55967
55968
|
{
|
|
55968
55969
|
result .assign (this .point) .subtract (point);
|
|
55969
55970
|
|
|
@@ -55973,10 +55974,10 @@ Object .assign (Line3 .prototype,
|
|
|
55973
55974
|
getPerpendicularVectorToLine: (() =>
|
|
55974
55975
|
{
|
|
55975
55976
|
const
|
|
55976
|
-
d = new Numbers_Vector3 (
|
|
55977
|
-
ad = new Numbers_Vector3 (
|
|
55977
|
+
d = new Numbers_Vector3 (),
|
|
55978
|
+
ad = new Numbers_Vector3 ();
|
|
55978
55979
|
|
|
55979
|
-
return function (line, result = new Numbers_Vector3 (
|
|
55980
|
+
return function (line, result = new Numbers_Vector3 ())
|
|
55980
55981
|
{
|
|
55981
55982
|
const bd = result;
|
|
55982
55983
|
|
|
@@ -56001,8 +56002,8 @@ Object .assign (Line3 .prototype,
|
|
|
56001
56002
|
intersectsTriangle: (() =>
|
|
56002
56003
|
{
|
|
56003
56004
|
const
|
|
56004
|
-
pvec = new Numbers_Vector3 (
|
|
56005
|
-
tvec = new Numbers_Vector3 (
|
|
56005
|
+
pvec = new Numbers_Vector3 (),
|
|
56006
|
+
tvec = new Numbers_Vector3 ();
|
|
56006
56007
|
|
|
56007
56008
|
return function (A, B, C, uvt)
|
|
56008
56009
|
{
|
|
@@ -56661,7 +56662,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56661
56662
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
56662
56663
|
cameraSpaceProjectionMatrix = new Numbers_Matrix4 (),
|
|
56663
56664
|
localOrientation = new Numbers_Rotation4 (),
|
|
56664
|
-
vector = new Numbers_Vector3 (
|
|
56665
|
+
vector = new Numbers_Vector3 (),
|
|
56665
56666
|
rotation = new Numbers_Rotation4 ();
|
|
56666
56667
|
|
|
56667
56668
|
return function (direction)
|
|
@@ -56789,8 +56790,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56789
56790
|
addPointingShape: (() =>
|
|
56790
56791
|
{
|
|
56791
56792
|
const
|
|
56792
|
-
bboxSize = new Numbers_Vector3 (
|
|
56793
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56793
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56794
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56794
56795
|
|
|
56795
56796
|
return function (shapeNode)
|
|
56796
56797
|
{
|
|
@@ -56838,8 +56839,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56838
56839
|
addCollisionShape: (() =>
|
|
56839
56840
|
{
|
|
56840
56841
|
const
|
|
56841
|
-
bboxSize = new Numbers_Vector3 (
|
|
56842
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56842
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56843
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56843
56844
|
|
|
56844
56845
|
return function (shapeNode)
|
|
56845
56846
|
{
|
|
@@ -56889,8 +56890,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56889
56890
|
addShadowShape: (() =>
|
|
56890
56891
|
{
|
|
56891
56892
|
const
|
|
56892
|
-
bboxSize = new Numbers_Vector3 (
|
|
56893
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56893
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56894
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56894
56895
|
|
|
56895
56896
|
return function (shapeNode)
|
|
56896
56897
|
{
|
|
@@ -56936,8 +56937,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56936
56937
|
addDisplayShape: (() =>
|
|
56937
56938
|
{
|
|
56938
56939
|
const
|
|
56939
|
-
bboxSize = new Numbers_Vector3 (
|
|
56940
|
-
bboxCenter = new Numbers_Vector3 (
|
|
56940
|
+
bboxSize = new Numbers_Vector3 (),
|
|
56941
|
+
bboxCenter = new Numbers_Vector3 ();
|
|
56941
56942
|
|
|
56942
56943
|
return function (shapeNode)
|
|
56943
56944
|
{
|
|
@@ -56998,7 +56999,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56998
56999
|
renderObject: this,
|
|
56999
57000
|
transparent: transparent,
|
|
57000
57001
|
modelViewMatrix: new Float32Array (16),
|
|
57001
|
-
scissor: new Numbers_Vector4 (
|
|
57002
|
+
scissor: new Numbers_Vector4 (),
|
|
57002
57003
|
localObjects: [ ],
|
|
57003
57004
|
objectsKeys: [ ], // [clip planes, lights]
|
|
57004
57005
|
};
|
|
@@ -57076,7 +57077,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57076
57077
|
invModelViewMatrix = new Numbers_Matrix4 (),
|
|
57077
57078
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
57078
57079
|
collisionBox = new Geometry_Box3 (Numbers_Vector3 .Zero, Numbers_Vector3 .Zero),
|
|
57079
|
-
collisionSize = new Numbers_Vector3 (
|
|
57080
|
+
collisionSize = new Numbers_Vector3 ();
|
|
57080
57081
|
|
|
57081
57082
|
return function ()
|
|
57082
57083
|
{
|
|
@@ -57132,7 +57133,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57132
57133
|
const
|
|
57133
57134
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
57134
57135
|
cameraSpaceProjectionMatrix = new Numbers_Matrix4 (),
|
|
57135
|
-
translation = new Numbers_Vector3 (
|
|
57136
|
+
translation = new Numbers_Vector3 (),
|
|
57136
57137
|
rotation = new Numbers_Rotation4 ();
|
|
57137
57138
|
|
|
57138
57139
|
return function ()
|
|
@@ -59888,8 +59889,8 @@ function X3DGeometryNode (executionContext)
|
|
|
59888
59889
|
|
|
59889
59890
|
const browser = this .getBrowser ();
|
|
59890
59891
|
|
|
59891
|
-
this .min = new Numbers_Vector3 (
|
|
59892
|
-
this .max = new Numbers_Vector3 (
|
|
59892
|
+
this .min = new Numbers_Vector3 ();
|
|
59893
|
+
this .max = new Numbers_Vector3 ();
|
|
59893
59894
|
this .bbox = Geometry_Box3 .Extents (this .min, this .max);
|
|
59894
59895
|
this .solid = true;
|
|
59895
59896
|
this .primitiveMode = browser .getContext () .TRIANGLES;
|
|
@@ -60187,7 +60188,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60187
60188
|
},
|
|
60188
60189
|
getTexCoordParams: (() =>
|
|
60189
60190
|
{
|
|
60190
|
-
const texCoordParams = { min: new Numbers_Vector3 (
|
|
60191
|
+
const texCoordParams = { min: new Numbers_Vector3 (), Ssize: 0, Sindex: 0, Tindex: 0 };
|
|
60191
60192
|
|
|
60192
60193
|
return function ()
|
|
60193
60194
|
{
|
|
@@ -60252,7 +60253,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60252
60253
|
{
|
|
60253
60254
|
const
|
|
60254
60255
|
P = normals [p],
|
|
60255
|
-
N = new Numbers_Vector3 (
|
|
60256
|
+
N = new Numbers_Vector3 ();
|
|
60256
60257
|
|
|
60257
60258
|
for (const q of vertex)
|
|
60258
60259
|
{
|
|
@@ -60285,10 +60286,10 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60285
60286
|
const
|
|
60286
60287
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
60287
60288
|
uvt = { u: 0, v: 0, t: 0 },
|
|
60288
|
-
v0 = new Numbers_Vector3 (
|
|
60289
|
-
v1 = new Numbers_Vector3 (
|
|
60290
|
-
v2 = new Numbers_Vector3 (
|
|
60291
|
-
clipPoint = new Numbers_Vector3 (
|
|
60289
|
+
v0 = new Numbers_Vector3 (),
|
|
60290
|
+
v1 = new Numbers_Vector3 (),
|
|
60291
|
+
v2 = new Numbers_Vector3 (),
|
|
60292
|
+
clipPoint = new Numbers_Vector3 ();
|
|
60292
60293
|
|
|
60293
60294
|
return function (hitRay, matrix, clipPlanes, intersections)
|
|
60294
60295
|
{
|
|
@@ -60352,8 +60353,8 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60352
60353
|
getPlanesWithOffset: (() =>
|
|
60353
60354
|
{
|
|
60354
60355
|
const
|
|
60355
|
-
min = new Numbers_Vector3 (
|
|
60356
|
-
max = new Numbers_Vector3 (
|
|
60356
|
+
min = new Numbers_Vector3 (),
|
|
60357
|
+
max = new Numbers_Vector3 (),
|
|
60357
60358
|
planes = [ ];
|
|
60358
60359
|
|
|
60359
60360
|
for (let i = 0; i < 5; ++ i)
|
|
@@ -60372,7 +60373,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60372
60373
|
})(),
|
|
60373
60374
|
intersectsBBox: (() =>
|
|
60374
60375
|
{
|
|
60375
|
-
const intersection = new Numbers_Vector3 (
|
|
60376
|
+
const intersection = new Numbers_Vector3 ();
|
|
60376
60377
|
|
|
60377
60378
|
return function (hitRay, offsets)
|
|
60378
60379
|
{
|
|
@@ -60449,11 +60450,11 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60449
60450
|
intersectsBox: (() =>
|
|
60450
60451
|
{
|
|
60451
60452
|
const
|
|
60452
|
-
v0 = new Numbers_Vector3 (
|
|
60453
|
-
v1 = new Numbers_Vector3 (
|
|
60454
|
-
v2 = new Numbers_Vector3 (
|
|
60453
|
+
v0 = new Numbers_Vector3 (),
|
|
60454
|
+
v1 = new Numbers_Vector3 (),
|
|
60455
|
+
v2 = new Numbers_Vector3 (),
|
|
60455
60456
|
invMatrix = new Numbers_Matrix4 (),
|
|
60456
|
-
clipPoint = new Numbers_Vector3 (
|
|
60457
|
+
clipPoint = new Numbers_Vector3 ();
|
|
60457
60458
|
|
|
60458
60459
|
return function (box, clipPlanes, modelViewMatrix)
|
|
60459
60460
|
{
|
|
@@ -60507,10 +60508,10 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60507
60508
|
set_shading__: (() =>
|
|
60508
60509
|
{
|
|
60509
60510
|
const
|
|
60510
|
-
v0 = new Numbers_Vector3 (
|
|
60511
|
-
v1 = new Numbers_Vector3 (
|
|
60512
|
-
v2 = new Numbers_Vector3 (
|
|
60513
|
-
normal = new Numbers_Vector3 (
|
|
60511
|
+
v0 = new Numbers_Vector3 (),
|
|
60512
|
+
v1 = new Numbers_Vector3 (),
|
|
60513
|
+
v2 = new Numbers_Vector3 (),
|
|
60514
|
+
normal = new Numbers_Vector3 ();
|
|
60514
60515
|
|
|
60515
60516
|
return function (shading)
|
|
60516
60517
|
{
|
|
@@ -60575,7 +60576,7 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
60575
60576
|
},
|
|
60576
60577
|
rebuild: (() =>
|
|
60577
60578
|
{
|
|
60578
|
-
const point = new Numbers_Vector3 (
|
|
60579
|
+
const point = new Numbers_Vector3 ();
|
|
60579
60580
|
|
|
60580
60581
|
return function ()
|
|
60581
60582
|
{
|
|
@@ -61434,12 +61435,12 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
61434
61435
|
const U_DIMENSION = 20;
|
|
61435
61436
|
|
|
61436
61437
|
const
|
|
61437
|
-
z1 = new Numbers_Complex (
|
|
61438
|
-
z2 = new Numbers_Complex (
|
|
61439
|
-
y1 = new Numbers_Complex (
|
|
61440
|
-
y2 = new Numbers_Complex (
|
|
61441
|
-
y3 = new Numbers_Complex (
|
|
61442
|
-
y4 = new Numbers_Complex (
|
|
61438
|
+
z1 = new Numbers_Complex (),
|
|
61439
|
+
z2 = new Numbers_Complex (),
|
|
61440
|
+
y1 = new Numbers_Complex (),
|
|
61441
|
+
y2 = new Numbers_Complex (),
|
|
61442
|
+
y3 = new Numbers_Complex (),
|
|
61443
|
+
y4 = new Numbers_Complex ();
|
|
61443
61444
|
|
|
61444
61445
|
return function (radius, vAngle, angle, color, bottom)
|
|
61445
61446
|
{
|
|
@@ -61661,7 +61662,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
61661
61662
|
const
|
|
61662
61663
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
61663
61664
|
rotation = new Numbers_Rotation4 (),
|
|
61664
|
-
scale = new Numbers_Vector3 (
|
|
61665
|
+
scale = new Numbers_Vector3 ();
|
|
61665
61666
|
|
|
61666
61667
|
return function (gl, renderObject, viewport)
|
|
61667
61668
|
{
|
|
@@ -62441,7 +62442,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62441
62442
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
62442
62443
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
62443
62444
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62444
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62445
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(864);
|
|
62445
62446
|
/*******************************************************************************
|
|
62446
62447
|
*
|
|
62447
62448
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -62893,7 +62894,7 @@ Object .defineProperties (Background,
|
|
|
62893
62894
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "topUrl", new x_ite_Fields .MFString ()),
|
|
62894
62895
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "bottomUrl", new x_ite_Fields .MFString ()),
|
|
62895
62896
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyAngle", new x_ite_Fields .MFFloat ()),
|
|
62896
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 (
|
|
62897
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 ())),
|
|
62897
62898
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundAngle", new x_ite_Fields .MFFloat ()),
|
|
62898
62899
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundColor", new x_ite_Fields .MFColor ()),
|
|
62899
62900
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "transparency", new x_ite_Fields .SFFloat ()),
|
|
@@ -64395,7 +64396,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator .prototype, Interpo
|
|
|
64395
64396
|
},
|
|
64396
64397
|
interpolate: (() =>
|
|
64397
64398
|
{
|
|
64398
|
-
const keyValue = new Numbers_Vector3 (
|
|
64399
|
+
const keyValue = new Numbers_Vector3 ();
|
|
64399
64400
|
|
|
64400
64401
|
return function (index0, index1, weight)
|
|
64401
64402
|
{
|
|
@@ -64788,7 +64789,7 @@ function X3DViewpointNode (executionContext)
|
|
|
64788
64789
|
this .descriptions = [ ];
|
|
64789
64790
|
this .userPosition = new Numbers_Vector3 (0, 1, 0);
|
|
64790
64791
|
this .userOrientation = new Numbers_Rotation4 ();
|
|
64791
|
-
this .userCenterOfRotation = new Numbers_Vector3 (
|
|
64792
|
+
this .userCenterOfRotation = new Numbers_Vector3 ();
|
|
64792
64793
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
64793
64794
|
this .cameraSpaceMatrix = new Numbers_Matrix4 (1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 10, 1);
|
|
64794
64795
|
this .viewMatrix = new Numbers_Matrix4 (1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -10, 1);
|
|
@@ -65110,9 +65111,9 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65110
65111
|
getRelativeTransformation: (() =>
|
|
65111
65112
|
{
|
|
65112
65113
|
const
|
|
65113
|
-
position = new Numbers_Vector3 (
|
|
65114
|
+
position = new Numbers_Vector3 (),
|
|
65114
65115
|
orientation = new Numbers_Rotation4 (),
|
|
65115
|
-
scale = new Numbers_Vector3 (
|
|
65116
|
+
scale = new Numbers_Vector3 (),
|
|
65116
65117
|
scaleOrientation = new Numbers_Rotation4 ();
|
|
65117
65118
|
|
|
65118
65119
|
return function (fromViewpointNode)
|
|
@@ -65135,9 +65136,9 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65135
65136
|
getLookAtRotation: (() =>
|
|
65136
65137
|
{
|
|
65137
65138
|
const
|
|
65138
|
-
x = new Numbers_Vector3 (
|
|
65139
|
-
y = new Numbers_Vector3 (
|
|
65140
|
-
z = new Numbers_Vector3 (
|
|
65139
|
+
x = new Numbers_Vector3 (),
|
|
65140
|
+
y = new Numbers_Vector3 (),
|
|
65141
|
+
z = new Numbers_Vector3 (),
|
|
65141
65142
|
m = new Numbers_Matrix3 (),
|
|
65142
65143
|
r = new Numbers_Rotation4 ();
|
|
65143
65144
|
|
|
@@ -65162,7 +65163,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65162
65163
|
|
|
65163
65164
|
const minDistance = layerNode .getNavigationInfo () .getNearValue () * 2;
|
|
65164
65165
|
|
|
65165
|
-
this .lookAt (layerNode, point, minDistance, transitionTime
|
|
65166
|
+
this .lookAt (layerNode, point, minDistance, transitionTime, factor, straighten);
|
|
65166
65167
|
},
|
|
65167
65168
|
lookAtBBox (layerNode, bbox, transitionTime = 1, factor, straighten)
|
|
65168
65169
|
{
|
|
@@ -65449,7 +65450,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, Navigation_X3DView
|
|
|
65449
65450
|
},
|
|
65450
65451
|
getViewportSize: (() =>
|
|
65451
65452
|
{
|
|
65452
|
-
const viewportSize = new Numbers_Vector2 (
|
|
65453
|
+
const viewportSize = new Numbers_Vector2 ();
|
|
65453
65454
|
|
|
65454
65455
|
return function (viewport, nearValue)
|
|
65455
65456
|
{
|
|
@@ -65713,7 +65714,6 @@ x_ite_Namespace .add ("Layer", "x_ite/Components/Layering/Layer", Layer_default_
|
|
|
65713
65714
|
|
|
65714
65715
|
|
|
65715
65716
|
|
|
65716
|
-
|
|
65717
65717
|
function LayerSet (executionContext)
|
|
65718
65718
|
{
|
|
65719
65719
|
Core_X3DNode .call (this, executionContext);
|
|
@@ -66036,7 +66036,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66036
66036
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66037
66037
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66038
66038
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66039
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66039
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(864);
|
|
66040
66040
|
/*******************************************************************************
|
|
66041
66041
|
*
|
|
66042
66042
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66959,7 +66959,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
66959
66959
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
66960
66960
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
66961
66961
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
66962
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
66962
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(864);
|
|
66963
66963
|
/*******************************************************************************
|
|
66964
66964
|
*
|
|
66965
66965
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -70119,7 +70119,7 @@ Object .defineProperties (TextureBackground,
|
|
|
70119
70119
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
70120
70120
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_bind", new x_ite_Fields .SFBool ()),
|
|
70121
70121
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyAngle", new x_ite_Fields .MFFloat ()),
|
|
70122
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 (
|
|
70122
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "skyColor", new x_ite_Fields .MFColor (new Numbers_Color3 ())),
|
|
70123
70123
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundAngle", new x_ite_Fields .MFFloat ()),
|
|
70124
70124
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "groundColor", new x_ite_Fields .MFColor ()),
|
|
70125
70125
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "transparency", new x_ite_Fields .SFFloat ()),
|
|
@@ -70436,8 +70436,8 @@ function ProximitySensor (executionContext)
|
|
|
70436
70436
|
|
|
70437
70437
|
this .setZeroTest (true);
|
|
70438
70438
|
|
|
70439
|
-
this .min = new Numbers_Vector3 (
|
|
70440
|
-
this .max = new Numbers_Vector3 (
|
|
70439
|
+
this .min = new Numbers_Vector3 ();
|
|
70440
|
+
this .max = new Numbers_Vector3 ();
|
|
70441
70441
|
this .layerNode = null;
|
|
70442
70442
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
70443
70443
|
this .inside = false;
|
|
@@ -70485,9 +70485,9 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, Environmenta
|
|
|
70485
70485
|
update: (() =>
|
|
70486
70486
|
{
|
|
70487
70487
|
const
|
|
70488
|
-
position = new Numbers_Vector3 (
|
|
70488
|
+
position = new Numbers_Vector3 (),
|
|
70489
70489
|
orientation = new Numbers_Rotation4 (),
|
|
70490
|
-
centerOfRotation = new Numbers_Vector3 (
|
|
70490
|
+
centerOfRotation = new Numbers_Vector3 (),
|
|
70491
70491
|
centerOfRotationMatrix = new Numbers_Matrix4 ();
|
|
70492
70492
|
|
|
70493
70493
|
return function ()
|
|
@@ -70832,7 +70832,7 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, Environmenta
|
|
|
70832
70832
|
process: (() =>
|
|
70833
70833
|
{
|
|
70834
70834
|
const
|
|
70835
|
-
position = new Numbers_Vector3 (
|
|
70835
|
+
position = new Numbers_Vector3 (),
|
|
70836
70836
|
orientation = new Numbers_Rotation4 ();
|
|
70837
70837
|
|
|
70838
70838
|
return function ()
|
|
@@ -71683,10 +71683,10 @@ x_ite_Namespace .add ("X3DChaserNode", "x_ite/Components/Followers/X3DChaserNode
|
|
|
71683
71683
|
|
|
71684
71684
|
|
|
71685
71685
|
var
|
|
71686
|
-
initialValue = new Numbers_Vector3 (
|
|
71687
|
-
initialDestination = new Numbers_Vector3 (
|
|
71688
|
-
deltaOut = new Numbers_Vector3 (
|
|
71689
|
-
vector = new Numbers_Vector3 (
|
|
71686
|
+
initialValue = new Numbers_Vector3 (),
|
|
71687
|
+
initialDestination = new Numbers_Vector3 (),
|
|
71688
|
+
deltaOut = new Numbers_Vector3 (),
|
|
71689
|
+
vector = new Numbers_Vector3 ();
|
|
71690
71690
|
|
|
71691
71691
|
function ColorChaser (executionContext)
|
|
71692
71692
|
{
|
|
@@ -71699,7 +71699,7 @@ Object .assign (Object .setPrototypeOf (ColorChaser .prototype, Followers_X3DCha
|
|
|
71699
71699
|
{
|
|
71700
71700
|
getVector ()
|
|
71701
71701
|
{
|
|
71702
|
-
return new Numbers_Vector3 (
|
|
71702
|
+
return new Numbers_Vector3 ();
|
|
71703
71703
|
},
|
|
71704
71704
|
getValue ()
|
|
71705
71705
|
{
|
|
@@ -72016,10 +72016,10 @@ x_ite_Namespace .add ("X3DDamperNode", "x_ite/Components/Followers/X3DDamperNode
|
|
|
72016
72016
|
|
|
72017
72017
|
|
|
72018
72018
|
var
|
|
72019
|
-
ColorDamper_a = new Numbers_Vector3 (
|
|
72020
|
-
ColorDamper_initialValue = new Numbers_Vector3 (
|
|
72021
|
-
ColorDamper_initialDestination = new Numbers_Vector3 (
|
|
72022
|
-
ColorDamper_vector = new Numbers_Vector3 (
|
|
72019
|
+
ColorDamper_a = new Numbers_Vector3 (),
|
|
72020
|
+
ColorDamper_initialValue = new Numbers_Vector3 (),
|
|
72021
|
+
ColorDamper_initialDestination = new Numbers_Vector3 (),
|
|
72022
|
+
ColorDamper_vector = new Numbers_Vector3 ();
|
|
72023
72023
|
|
|
72024
72024
|
function ColorDamper (executionContext)
|
|
72025
72025
|
{
|
|
@@ -72032,7 +72032,7 @@ Object .assign (Object .setPrototypeOf (ColorDamper .prototype, Followers_X3DDam
|
|
|
72032
72032
|
{
|
|
72033
72033
|
getVector ()
|
|
72034
72034
|
{
|
|
72035
|
-
return new Numbers_Vector3 (
|
|
72035
|
+
return new Numbers_Vector3 ();
|
|
72036
72036
|
},
|
|
72037
72037
|
getValue ()
|
|
72038
72038
|
{
|
|
@@ -72247,7 +72247,7 @@ function X3DArrayFollowerTemplate (Type)
|
|
|
72247
72247
|
let distance = 0;
|
|
72248
72248
|
|
|
72249
72249
|
for (let i = 0, length = lhs .length; i < length; ++ i)
|
|
72250
|
-
distance = Math .max (a .assign (lhs [i]) .subtract (rhs [i]) .magnitude ());
|
|
72250
|
+
distance = Math .max (a .assign (lhs [i]) .subtract (rhs [i]) .magnitude (), distance);
|
|
72251
72251
|
|
|
72252
72252
|
return distance < tolerance;
|
|
72253
72253
|
},
|
|
@@ -72444,7 +72444,7 @@ Object .assign (Object .setPrototypeOf (CoordinateChaser .prototype, Followers_X
|
|
|
72444
72444
|
{
|
|
72445
72445
|
getVector ()
|
|
72446
72446
|
{
|
|
72447
|
-
return new Numbers_Vector3 (
|
|
72447
|
+
return new Numbers_Vector3 ();
|
|
72448
72448
|
},
|
|
72449
72449
|
});
|
|
72450
72450
|
|
|
@@ -72476,8 +72476,8 @@ Object .defineProperties (CoordinateChaser,
|
|
|
72476
72476
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
72477
72477
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_value", new x_ite_Fields .MFVec3f ()),
|
|
72478
72478
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_destination", new x_ite_Fields .MFVec3f ()),
|
|
72479
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72480
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72479
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72480
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72481
72481
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "duration", new x_ite_Fields .SFTime (1)),
|
|
72482
72482
|
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "isActive", new x_ite_Fields .SFBool ()),
|
|
72483
72483
|
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "value_changed", new x_ite_Fields .MFVec3f ()),
|
|
@@ -72562,7 +72562,7 @@ Object .assign (Object .setPrototypeOf (CoordinateDamper .prototype, Followers_X
|
|
|
72562
72562
|
{
|
|
72563
72563
|
getVector ()
|
|
72564
72564
|
{
|
|
72565
|
-
return new Numbers_Vector3 (
|
|
72565
|
+
return new Numbers_Vector3 ();
|
|
72566
72566
|
},
|
|
72567
72567
|
});
|
|
72568
72568
|
|
|
@@ -72594,8 +72594,8 @@ Object .defineProperties (CoordinateDamper,
|
|
|
72594
72594
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
72595
72595
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_value", new x_ite_Fields .MFVec3f ()),
|
|
72596
72596
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOnly, "set_destination", new x_ite_Fields .MFVec3f ()),
|
|
72597
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72598
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
72597
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialValue", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72598
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "initialDestination", new x_ite_Fields .MFVec3f (new Numbers_Vector3 ())),
|
|
72599
72599
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "order", new x_ite_Fields .SFInt32 (3)),
|
|
72600
72600
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tau", new x_ite_Fields .SFTime (0.3)),
|
|
72601
72601
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tolerance", new x_ite_Fields .SFFloat (-1)),
|
|
@@ -72951,7 +72951,7 @@ Object .assign (Object .setPrototypeOf (PositionChaser .prototype, Followers_X3D
|
|
|
72951
72951
|
{
|
|
72952
72952
|
getVector ()
|
|
72953
72953
|
{
|
|
72954
|
-
return new Numbers_Vector3 (
|
|
72954
|
+
return new Numbers_Vector3 ();
|
|
72955
72955
|
},
|
|
72956
72956
|
});
|
|
72957
72957
|
|
|
@@ -73064,7 +73064,7 @@ Object .assign (Object .setPrototypeOf (PositionChaser2D .prototype, Followers_X
|
|
|
73064
73064
|
{
|
|
73065
73065
|
getVector ()
|
|
73066
73066
|
{
|
|
73067
|
-
return new Numbers_Vector2 (
|
|
73067
|
+
return new Numbers_Vector2 ();
|
|
73068
73068
|
},
|
|
73069
73069
|
});
|
|
73070
73070
|
|
|
@@ -73177,7 +73177,7 @@ Object .assign (Object .setPrototypeOf (PositionDamper .prototype, Followers_X3D
|
|
|
73177
73177
|
{
|
|
73178
73178
|
getVector ()
|
|
73179
73179
|
{
|
|
73180
|
-
return new Numbers_Vector3 (
|
|
73180
|
+
return new Numbers_Vector3 ();
|
|
73181
73181
|
},
|
|
73182
73182
|
});
|
|
73183
73183
|
|
|
@@ -73292,7 +73292,7 @@ Object .assign (Object .setPrototypeOf (PositionDamper2D .prototype, Followers_X
|
|
|
73292
73292
|
{
|
|
73293
73293
|
getVector ()
|
|
73294
73294
|
{
|
|
73295
|
-
return new Numbers_Vector2 (
|
|
73295
|
+
return new Numbers_Vector2 ();
|
|
73296
73296
|
},
|
|
73297
73297
|
});
|
|
73298
73298
|
|
|
@@ -73684,7 +73684,7 @@ Object .assign (Object .setPrototypeOf (TexCoordChaser2D .prototype, Followers_X
|
|
|
73684
73684
|
{
|
|
73685
73685
|
getVector ()
|
|
73686
73686
|
{
|
|
73687
|
-
return new Numbers_Vector2 (
|
|
73687
|
+
return new Numbers_Vector2 ();
|
|
73688
73688
|
},
|
|
73689
73689
|
});
|
|
73690
73690
|
|
|
@@ -73802,7 +73802,7 @@ Object .assign (Object .setPrototypeOf (TexCoordDamper2D .prototype, Followers_X
|
|
|
73802
73802
|
{
|
|
73803
73803
|
getVector ()
|
|
73804
73804
|
{
|
|
73805
|
-
return new Numbers_Vector2 (
|
|
73805
|
+
return new Numbers_Vector2 ();
|
|
73806
73806
|
},
|
|
73807
73807
|
});
|
|
73808
73808
|
|
|
@@ -74196,7 +74196,7 @@ Object .assign (Object .setPrototypeOf (Cone .prototype, Rendering_X3DGeometryNo
|
|
|
74196
74196
|
geometry = options .getSideGeometry (),
|
|
74197
74197
|
defaultNormals = geometry .getNormals (),
|
|
74198
74198
|
defaultVertices = geometry .getVertices (),
|
|
74199
|
-
v1 = new Numbers_Vector3 (
|
|
74199
|
+
v1 = new Numbers_Vector3 (),
|
|
74200
74200
|
rz = new Numbers_Rotation4 (1, 0, 0, -Math .atan (bottomRadius / height)),
|
|
74201
74201
|
rx = new Numbers_Rotation4 ();
|
|
74202
74202
|
|
|
@@ -74364,9 +74364,6 @@ x_ite_Namespace .add ("Cone", "x_ite/Components/Geometry3D/Cone", Cone_default_)
|
|
|
74364
74364
|
|
|
74365
74365
|
|
|
74366
74366
|
|
|
74367
|
-
|
|
74368
|
-
|
|
74369
|
-
|
|
74370
74367
|
function Cylinder (executionContext)
|
|
74371
74368
|
{
|
|
74372
74369
|
Rendering_X3DGeometryNode .call (this, executionContext);
|
|
@@ -74760,7 +74757,7 @@ Object .assign (Object .setPrototypeOf (ElevationGrid .prototype, Rendering_X3DG
|
|
|
74760
74757
|
normalIndex .get (c1) .push (normals .length + 1);
|
|
74761
74758
|
normalIndex .get (c2) .push (normals .length + 2);
|
|
74762
74759
|
|
|
74763
|
-
const normal = Geometry_Triangle3 .normal (points [c0], points [c1], points [c2], new Numbers_Vector3 (
|
|
74760
|
+
const normal = Geometry_Triangle3 .normal (points [c0], points [c1], points [c2], new Numbers_Vector3 ());
|
|
74764
74761
|
|
|
74765
74762
|
if (cw)
|
|
74766
74763
|
normal .negate ();
|
|
@@ -75131,16 +75128,16 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75131
75128
|
const rotations = [ ];
|
|
75132
75129
|
|
|
75133
75130
|
const
|
|
75134
|
-
SCPxAxis = new Numbers_Vector3 (
|
|
75135
|
-
SCPyAxis = new Numbers_Vector3 (
|
|
75136
|
-
SCPzAxis = new Numbers_Vector3 (
|
|
75131
|
+
SCPxAxis = new Numbers_Vector3 (),
|
|
75132
|
+
SCPyAxis = new Numbers_Vector3 (),
|
|
75133
|
+
SCPzAxis = new Numbers_Vector3 ();
|
|
75137
75134
|
|
|
75138
75135
|
const
|
|
75139
|
-
SCPyAxisPrevious = new Numbers_Vector3 (
|
|
75140
|
-
SCPzAxisPrevious = new Numbers_Vector3 (
|
|
75136
|
+
SCPyAxisPrevious = new Numbers_Vector3 (),
|
|
75137
|
+
SCPzAxisPrevious = new Numbers_Vector3 ();
|
|
75141
75138
|
|
|
75142
75139
|
const
|
|
75143
|
-
vector3 = new Numbers_Vector3 (
|
|
75140
|
+
vector3 = new Numbers_Vector3 (),
|
|
75144
75141
|
rotation = new Numbers_Rotation4 ();
|
|
75145
75142
|
|
|
75146
75143
|
return function ()
|
|
@@ -75321,9 +75318,9 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75321
75318
|
build: (() =>
|
|
75322
75319
|
{
|
|
75323
75320
|
const
|
|
75324
|
-
min = new Numbers_Vector2 (
|
|
75325
|
-
max = new Numbers_Vector2 (
|
|
75326
|
-
vector2 = new Numbers_Vector2 (
|
|
75321
|
+
min = new Numbers_Vector2 (),
|
|
75322
|
+
max = new Numbers_Vector2 (),
|
|
75323
|
+
vector2 = new Numbers_Vector2 ();
|
|
75327
75324
|
|
|
75328
75325
|
return function ()
|
|
75329
75326
|
{
|
|
@@ -75425,14 +75422,14 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75425
75422
|
if (cw)
|
|
75426
75423
|
{
|
|
75427
75424
|
var
|
|
75428
|
-
normal1 = Geometry_Triangle3 .normal (p3, p2, p1, new Numbers_Vector3 (
|
|
75429
|
-
normal2 = Geometry_Triangle3 .normal (p4, p3, p1, new Numbers_Vector3 (
|
|
75425
|
+
normal1 = Geometry_Triangle3 .normal (p3, p2, p1, new Numbers_Vector3 ()),
|
|
75426
|
+
normal2 = Geometry_Triangle3 .normal (p4, p3, p1, new Numbers_Vector3 ());
|
|
75430
75427
|
}
|
|
75431
75428
|
else
|
|
75432
75429
|
{
|
|
75433
75430
|
var
|
|
75434
|
-
normal1 = Geometry_Triangle3 .normal (p1, p2, p3, new Numbers_Vector3 (
|
|
75435
|
-
normal2 = Geometry_Triangle3 .normal (p1, p3, p4, new Numbers_Vector3 (
|
|
75431
|
+
normal1 = Geometry_Triangle3 .normal (p1, p2, p3, new Numbers_Vector3 ()),
|
|
75432
|
+
normal2 = Geometry_Triangle3 .normal (p1, p3, p4, new Numbers_Vector3 ());
|
|
75436
75433
|
}
|
|
75437
75434
|
|
|
75438
75435
|
// Merge points on the left and right side if spine is coincident for better normal generation.
|
|
@@ -75581,7 +75578,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75581
75578
|
const normal = Geometry_Triangle3 .normal (points [triangles [0]],
|
|
75582
75579
|
points [triangles [1]],
|
|
75583
75580
|
points [triangles [2]],
|
|
75584
|
-
new Numbers_Vector3 (
|
|
75581
|
+
new Numbers_Vector3 ());
|
|
75585
75582
|
|
|
75586
75583
|
if (cw)
|
|
75587
75584
|
normal .negate ();
|
|
@@ -75621,7 +75618,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, Rendering_X3DGeome
|
|
|
75621
75618
|
const normal = Geometry_Triangle3 .normal (points [triangles [0]],
|
|
75622
75619
|
points [triangles [1]],
|
|
75623
75620
|
points [triangles [2]],
|
|
75624
|
-
new Numbers_Vector3 (
|
|
75621
|
+
new Numbers_Vector3 ());
|
|
75625
75622
|
|
|
75626
75623
|
if (cw)
|
|
75627
75624
|
normal .negate ();
|
|
@@ -75711,7 +75708,7 @@ Object .defineProperties (Extrusion,
|
|
|
75711
75708
|
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))),
|
|
75712
75709
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "orientation", new x_ite_Fields .MFRotation (new Numbers_Rotation4 ())),
|
|
75713
75710
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "scale", new x_ite_Fields .MFVec2f (new Numbers_Vector2 (1, 1))),
|
|
75714
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "spine", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (
|
|
75711
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "spine", new x_ite_Fields .MFVec3f (new Numbers_Vector3 (), new Numbers_Vector3 (0, 1, 0))),
|
|
75715
75712
|
]),
|
|
75716
75713
|
enumerable: true,
|
|
75717
75714
|
},
|
|
@@ -76041,15 +76038,15 @@ Object .assign (Object .setPrototypeOf (X3DComposedGeometryNode .prototype, Rend
|
|
|
76041
76038
|
getPolygonNormal: (() =>
|
|
76042
76039
|
{
|
|
76043
76040
|
let
|
|
76044
|
-
current = new Numbers_Vector3 (
|
|
76045
|
-
next = new Numbers_Vector3 (
|
|
76041
|
+
current = new Numbers_Vector3 (),
|
|
76042
|
+
next = new Numbers_Vector3 ();
|
|
76046
76043
|
|
|
76047
76044
|
return function (index, verticesPerPolygon, coord)
|
|
76048
76045
|
{
|
|
76049
76046
|
// Determine polygon normal.
|
|
76050
76047
|
// We use Newell's method https://www.opengl.org/wiki/Calculating_a_Surface_Normal here:
|
|
76051
76048
|
|
|
76052
|
-
const normal = new Numbers_Vector3 (
|
|
76049
|
+
const normal = new Numbers_Vector3 ();
|
|
76053
76050
|
|
|
76054
76051
|
coord .get1Point (this .getPolygonIndex (index), next);
|
|
76055
76052
|
|
|
@@ -76375,7 +76372,7 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, Rendering_X3D
|
|
|
76375
76372
|
length = vertices .length;
|
|
76376
76373
|
|
|
76377
76374
|
for (let i = polygon .length; i < length; ++ i)
|
|
76378
|
-
polygon .push (new Numbers_Vector3 (
|
|
76375
|
+
polygon .push (new Numbers_Vector3 ());
|
|
76379
76376
|
|
|
76380
76377
|
for (let i = 0; i < length; ++ i)
|
|
76381
76378
|
{
|
|
@@ -76472,15 +76469,15 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, Rendering_X3D
|
|
|
76472
76469
|
getPolygonNormal: (() =>
|
|
76473
76470
|
{
|
|
76474
76471
|
let
|
|
76475
|
-
current = new Numbers_Vector3 (
|
|
76476
|
-
next = new Numbers_Vector3 (
|
|
76472
|
+
current = new Numbers_Vector3 (),
|
|
76473
|
+
next = new Numbers_Vector3 ();
|
|
76477
76474
|
|
|
76478
76475
|
return function (vertices, coordIndex, coord)
|
|
76479
76476
|
{
|
|
76480
76477
|
// Determine polygon normal.
|
|
76481
76478
|
// We use Newell's method https://www.opengl.org/wiki/Calculating_a_Surface_Normal here:
|
|
76482
76479
|
|
|
76483
|
-
const normal = new Numbers_Vector3 (
|
|
76480
|
+
const normal = new Numbers_Vector3 ();
|
|
76484
76481
|
|
|
76485
76482
|
coord .get1Point (coordIndex [vertices [0]], next);
|
|
76486
76483
|
|
|
@@ -78217,8 +78214,8 @@ Object .assign (Object .setPrototypeOf (NormalInterpolator .prototype, Interpola
|
|
|
78217
78214
|
interpolate: (() =>
|
|
78218
78215
|
{
|
|
78219
78216
|
const
|
|
78220
|
-
keyValue0 = new Numbers_Vector3 (
|
|
78221
|
-
keyValue1 = new Numbers_Vector3 (
|
|
78217
|
+
keyValue0 = new Numbers_Vector3 (),
|
|
78218
|
+
keyValue1 = new Numbers_Vector3 ();
|
|
78222
78219
|
|
|
78223
78220
|
return function (index0, index1, weight)
|
|
78224
78221
|
{
|
|
@@ -78386,7 +78383,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator2D .prototype, Inter
|
|
|
78386
78383
|
},
|
|
78387
78384
|
interpolate: (() =>
|
|
78388
78385
|
{
|
|
78389
|
-
const keyValue = new Numbers_Vector2 (
|
|
78386
|
+
const keyValue = new Numbers_Vector2 ();
|
|
78390
78387
|
|
|
78391
78388
|
return function (index0, index1, weight)
|
|
78392
78389
|
{
|
|
@@ -78599,7 +78596,7 @@ Object .assign (CatmullRomSplineInterpolator .prototype,
|
|
|
78599
78596
|
})(),
|
|
78600
78597
|
interpolate: (() =>
|
|
78601
78598
|
{
|
|
78602
|
-
const S = new Numbers_Vector4 (
|
|
78599
|
+
const S = new Numbers_Vector4 ();
|
|
78603
78600
|
|
|
78604
78601
|
const H = new Numbers_Matrix4 ( 2, -2, 1, 1,
|
|
78605
78602
|
-3, 3, -2, -1,
|
|
@@ -79896,7 +79893,7 @@ function Viewport (executionContext)
|
|
|
79896
79893
|
|
|
79897
79894
|
this .addType (Base_X3DConstants .Viewport);
|
|
79898
79895
|
|
|
79899
|
-
this .rectangle = new Numbers_Vector4 (
|
|
79896
|
+
this .rectangle = new Numbers_Vector4 ();
|
|
79900
79897
|
}
|
|
79901
79898
|
|
|
79902
79899
|
Object .assign (Object .setPrototypeOf (Viewport .prototype, Layering_X3DViewportNode .prototype),
|
|
@@ -80394,11 +80391,11 @@ const DirectionalLights = Utility_ObjectCache (DirectionalLightContainer);
|
|
|
80394
80391
|
|
|
80395
80392
|
function DirectionalLightContainer ()
|
|
80396
80393
|
{
|
|
80397
|
-
this .direction = new Numbers_Vector3 (
|
|
80394
|
+
this .direction = new Numbers_Vector3 ();
|
|
80398
80395
|
this .shadowBuffer = null;
|
|
80399
80396
|
this .bbox = new Geometry_Box3 ();
|
|
80400
80397
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
80401
|
-
this .viewport = new Numbers_Vector4 (
|
|
80398
|
+
this .viewport = new Numbers_Vector4 ();
|
|
80402
80399
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
80403
80400
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
80404
80401
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -80966,11 +80963,11 @@ const PointLights = Utility_ObjectCache (PointLightContainer);
|
|
|
80966
80963
|
|
|
80967
80964
|
function PointLightContainer ()
|
|
80968
80965
|
{
|
|
80969
|
-
this .location = new Numbers_Vector3 (
|
|
80966
|
+
this .location = new Numbers_Vector3 ();
|
|
80970
80967
|
this .matrixArray = new Float32Array (9);
|
|
80971
80968
|
this .shadowBuffer = null;
|
|
80972
80969
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
80973
|
-
this .viewport = new Numbers_Vector4 (
|
|
80970
|
+
this .viewport = new Numbers_Vector4 ();
|
|
80974
80971
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
80975
80972
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
80976
80973
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -81282,19 +81279,18 @@ x_ite_Namespace .add ("PointLight", "x_ite/Components/Lighting/PointLight", Poin
|
|
|
81282
81279
|
|
|
81283
81280
|
|
|
81284
81281
|
|
|
81285
|
-
|
|
81286
81282
|
const SpotLights = Utility_ObjectCache (SpotLightContainer);
|
|
81287
81283
|
|
|
81288
81284
|
function SpotLightContainer ()
|
|
81289
81285
|
{
|
|
81290
|
-
this .location = new Numbers_Vector3 (
|
|
81291
|
-
this .direction = new Numbers_Vector3 (
|
|
81286
|
+
this .location = new Numbers_Vector3 ();
|
|
81287
|
+
this .direction = new Numbers_Vector3 ();
|
|
81292
81288
|
this .matrixArray = new Float32Array (9);
|
|
81293
81289
|
this .renderShadow = true;
|
|
81294
81290
|
this .shadowBuffer = null;
|
|
81295
81291
|
this .bbox = new Geometry_Box3 ();
|
|
81296
81292
|
this .viewVolume = new Geometry_ViewVolume ();
|
|
81297
|
-
this .viewport = new Numbers_Vector4 (
|
|
81293
|
+
this .viewport = new Numbers_Vector4 ();
|
|
81298
81294
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
81299
81295
|
this .modelViewMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
81300
81296
|
this .modelMatrix = new Numbers_Matrix4 ();
|
|
@@ -81303,8 +81299,8 @@ function SpotLightContainer ()
|
|
|
81303
81299
|
this .shadowMatrix = new Numbers_Matrix4 ();
|
|
81304
81300
|
this .shadowMatrixArray = new Float32Array (16);
|
|
81305
81301
|
this .rotation = new Numbers_Rotation4 ();
|
|
81306
|
-
this .lightBBoxMin = new Numbers_Vector3 (
|
|
81307
|
-
this .lightBBoxMax = new Numbers_Vector3 (
|
|
81302
|
+
this .lightBBoxMin = new Numbers_Vector3 ();
|
|
81303
|
+
this .lightBBoxMax = new Numbers_Vector3 ();
|
|
81308
81304
|
this .textureUnit = undefined;
|
|
81309
81305
|
}
|
|
81310
81306
|
|
|
@@ -81740,10 +81736,10 @@ Object .assign (Object .setPrototypeOf (Billboard .prototype, Grouping_X3DGroupi
|
|
|
81740
81736
|
{
|
|
81741
81737
|
const
|
|
81742
81738
|
inverseModelViewMatrix = new Numbers_Matrix4 (),
|
|
81743
|
-
viewerYAxis = new Numbers_Vector3 (
|
|
81744
|
-
y = new Numbers_Vector3 (
|
|
81745
|
-
N1 = new Numbers_Vector3 (
|
|
81746
|
-
N2 = new Numbers_Vector3 (
|
|
81739
|
+
viewerYAxis = new Numbers_Vector3 (),
|
|
81740
|
+
y = new Numbers_Vector3 (),
|
|
81741
|
+
N1 = new Numbers_Vector3 (),
|
|
81742
|
+
N2 = new Numbers_Vector3 (),
|
|
81747
81743
|
rotation = new Numbers_Rotation4 ();
|
|
81748
81744
|
|
|
81749
81745
|
return function (modelViewMatrix)
|
|
@@ -82655,7 +82651,7 @@ Object .assign (Object .setPrototypeOf (OrthoViewpoint .prototype, Navigation_X3
|
|
|
82655
82651
|
},
|
|
82656
82652
|
getViewportSize: (() =>
|
|
82657
82653
|
{
|
|
82658
|
-
const viewportSize = new Numbers_Vector2 (
|
|
82654
|
+
const viewportSize = new Numbers_Vector2 ();
|
|
82659
82655
|
|
|
82660
82656
|
return function (viewport, nearValue)
|
|
82661
82657
|
{
|
|
@@ -83114,7 +83110,7 @@ function PointingDeviceSensorContainer (node, modelViewMatrix, projectionMatrix,
|
|
|
83114
83110
|
this .node = null;
|
|
83115
83111
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
83116
83112
|
this .projectionMatrix = new Numbers_Matrix4 ();
|
|
83117
|
-
this .viewport = new Numbers_Vector4 (
|
|
83113
|
+
this .viewport = new Numbers_Vector4 ();
|
|
83118
83114
|
|
|
83119
83115
|
this .set (node, modelViewMatrix, projectionMatrix, viewport);
|
|
83120
83116
|
}
|
|
@@ -83358,7 +83354,7 @@ Object .assign (Object .setPrototypeOf (X3DTouchSensorNode .prototype, PointingD
|
|
|
83358
83354
|
{
|
|
83359
83355
|
const
|
|
83360
83356
|
invModelViewMatrix = new Numbers_Matrix4 (),
|
|
83361
|
-
texCoord = new Numbers_Vector2 (
|
|
83357
|
+
texCoord = new Numbers_Vector2 ();
|
|
83362
83358
|
|
|
83363
83359
|
return function (over, hit, modelViewMatrix, projectionMatrix, viewport)
|
|
83364
83360
|
{
|
|
@@ -84806,21 +84802,21 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84806
84802
|
this .modelViewMatrix = new Numbers_Matrix4 ();
|
|
84807
84803
|
this .invModelViewMatrix = new Numbers_Matrix4 ();
|
|
84808
84804
|
|
|
84809
|
-
this .cylinder = new Geometry_Cylinder3 (new Geometry_Line3 (new Numbers_Vector3 (
|
|
84805
|
+
this .cylinder = new Geometry_Cylinder3 (new Geometry_Line3 (new Numbers_Vector3 (), new Numbers_Vector3 ()), 0);
|
|
84810
84806
|
this .disk = false;
|
|
84811
84807
|
this .yPlane = null;
|
|
84812
84808
|
this .zPlane = null;
|
|
84813
84809
|
this .sxPlane = null;
|
|
84814
84810
|
this .szNormal = null;
|
|
84815
84811
|
this .behind = false;
|
|
84816
|
-
this .fromVector = new Numbers_Vector3 (
|
|
84812
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
84817
84813
|
this .startOffset = new Numbers_Rotation4 ();
|
|
84818
84814
|
},
|
|
84819
84815
|
isBehind (hitRay, hitPoint)
|
|
84820
84816
|
{
|
|
84821
84817
|
const
|
|
84822
84818
|
enter = new Numbers_Vector3 (0, 0 ,0),
|
|
84823
|
-
exit = new Numbers_Vector3 (
|
|
84819
|
+
exit = new Numbers_Vector3 ();
|
|
84824
84820
|
|
|
84825
84821
|
this .cylinder .intersectsLine (hitRay, enter, exit);
|
|
84826
84822
|
|
|
@@ -84828,12 +84824,12 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84828
84824
|
},
|
|
84829
84825
|
getTrackPoint (hitRay, trackPoint)
|
|
84830
84826
|
{
|
|
84831
|
-
const zPoint = new Numbers_Vector3 (
|
|
84827
|
+
const zPoint = new Numbers_Vector3 ();
|
|
84832
84828
|
|
|
84833
84829
|
this .zPlane .intersectsLine (hitRay, zPoint);
|
|
84834
84830
|
|
|
84835
84831
|
const
|
|
84836
|
-
axisPoint = zPoint .copy () .add (this .cylinder .axis .getPerpendicularVectorToPoint (zPoint, new Numbers_Vector3 (
|
|
84832
|
+
axisPoint = zPoint .copy () .add (this .cylinder .axis .getPerpendicularVectorToPoint (zPoint, new Numbers_Vector3 ())),
|
|
84837
84833
|
distance = this .sxPlane .getDistanceToPoint (zPoint) / this .cylinder .radius,
|
|
84838
84834
|
section = Math .floor ((distance + 1) / 2);
|
|
84839
84835
|
|
|
@@ -84850,7 +84846,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84850
84846
|
},
|
|
84851
84847
|
getAngle (rotation)
|
|
84852
84848
|
{
|
|
84853
|
-
if (rotation .getAxis (new Numbers_Vector3 (
|
|
84849
|
+
if (rotation .getAxis (new Numbers_Vector3 ()) .dot (this .cylinder .axis .direction) > 0)
|
|
84854
84850
|
return rotation .angle;
|
|
84855
84851
|
else
|
|
84856
84852
|
return -rotation .angle;
|
|
@@ -84894,8 +84890,8 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84894
84890
|
cameraBack = this .invModelViewMatrix .multDirMatrix (new Numbers_Vector3 (0, 0, 1)) .normalize ();
|
|
84895
84891
|
|
|
84896
84892
|
const
|
|
84897
|
-
axis = new Geometry_Line3 (new Numbers_Vector3 (
|
|
84898
|
-
radius = axis .getPerpendicularVectorToPoint (hitPoint, new Numbers_Vector3 (
|
|
84893
|
+
axis = new Geometry_Line3 (new Numbers_Vector3 (), yAxis),
|
|
84894
|
+
radius = axis .getPerpendicularVectorToPoint (hitPoint, new Numbers_Vector3 ()) .magnitude ();
|
|
84899
84895
|
|
|
84900
84896
|
this .cylinder = new Geometry_Cylinder3 (axis, radius);
|
|
84901
84897
|
this .disk = Math .abs (cameraBack .dot (yAxis)) > Math .cos (this ._diskAngle .getValue ());
|
|
@@ -84908,17 +84904,17 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84908
84904
|
billboardToViewer = this .invModelViewMatrix .origin,
|
|
84909
84905
|
sxNormal = yAxis .copy () .cross (billboardToViewer) .normalize ();
|
|
84910
84906
|
|
|
84911
|
-
this .sxPlane = new Geometry_Plane3 (new Numbers_Vector3 (
|
|
84907
|
+
this .sxPlane = new Geometry_Plane3 (new Numbers_Vector3 (), sxNormal); // Billboarded special x-plane made parallel to sensors axis.
|
|
84912
84908
|
this .szNormal = sxNormal .copy () .cross (yAxis) .normalize (); // Billboarded special z-normal made parallel to sensors axis.
|
|
84913
84909
|
|
|
84914
|
-
const trackPoint = new Numbers_Vector3 (
|
|
84910
|
+
const trackPoint = new Numbers_Vector3 ();
|
|
84915
84911
|
|
|
84916
84912
|
if (this .disk)
|
|
84917
84913
|
this .yPlane .intersectsLine (hitRay, trackPoint);
|
|
84918
84914
|
else
|
|
84919
84915
|
this .getTrackPoint (hitRay, trackPoint);
|
|
84920
84916
|
|
|
84921
|
-
this .fromVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 (
|
|
84917
|
+
this .fromVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 ()) .negate ();
|
|
84922
84918
|
this .startOffset = new Numbers_Rotation4 (yAxis, this ._offset .getValue ());
|
|
84923
84919
|
|
|
84924
84920
|
this ._trackPoint_changed = trackPoint;
|
|
@@ -84935,7 +84931,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84935
84931
|
|
|
84936
84932
|
const
|
|
84937
84933
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
84938
|
-
trackPoint = new Numbers_Vector3 (
|
|
84934
|
+
trackPoint = new Numbers_Vector3 ();
|
|
84939
84935
|
|
|
84940
84936
|
if (this .disk)
|
|
84941
84937
|
this .yPlane .intersectsLine (hitRay, trackPoint);
|
|
@@ -84945,7 +84941,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84945
84941
|
this ._trackPoint_changed = trackPoint;
|
|
84946
84942
|
|
|
84947
84943
|
const
|
|
84948
|
-
toVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 (
|
|
84944
|
+
toVector = this .cylinder .axis .getPerpendicularVectorToPoint (trackPoint, new Numbers_Vector3 ()) .negate (),
|
|
84949
84945
|
rotation = new Numbers_Rotation4 (this .fromVector, toVector);
|
|
84950
84946
|
|
|
84951
84947
|
if (this .disk)
|
|
@@ -84977,7 +84973,7 @@ Object .assign (Object .setPrototypeOf (CylinderSensor .prototype, PointingDevic
|
|
|
84977
84973
|
endVector = rotation .multVecRot (this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 0, 1))),
|
|
84978
84974
|
deltaRotation = new Numbers_Rotation4 (this .startVector, endVector),
|
|
84979
84975
|
axis = this ._axisRotation .getValue () .multVecRot (new Numbers_Vector3 (0, 1, 0)),
|
|
84980
|
-
sign = axis .dot (deltaRotation .getAxis (new Numbers_Vector3 (
|
|
84976
|
+
sign = axis .dot (deltaRotation .getAxis (new Numbers_Vector3 ())) > 0 ? 1 : -1,
|
|
84981
84977
|
min = this ._minAngle .getValue (),
|
|
84982
84978
|
max = this ._maxAngle .getValue ();
|
|
84983
84979
|
|
|
@@ -85153,7 +85149,7 @@ Object .assign (Line2 .prototype,
|
|
|
85153
85149
|
},
|
|
85154
85150
|
getPerpendicularVectorToPoint: (() =>
|
|
85155
85151
|
{
|
|
85156
|
-
const t = new Numbers_Vector2 (
|
|
85152
|
+
const t = new Numbers_Vector2 ();
|
|
85157
85153
|
|
|
85158
85154
|
return function (point, result)
|
|
85159
85155
|
{
|
|
@@ -85164,7 +85160,7 @@ Object .assign (Line2 .prototype,
|
|
|
85164
85160
|
})(),
|
|
85165
85161
|
intersectsLine: (() =>
|
|
85166
85162
|
{
|
|
85167
|
-
const u = new Numbers_Vector2 (
|
|
85163
|
+
const u = new Numbers_Vector2 ();
|
|
85168
85164
|
|
|
85169
85165
|
return function (line, point)
|
|
85170
85166
|
{
|
|
@@ -85274,7 +85270,7 @@ x_ite_Namespace .add ("Line2", "standard/Math/Geometry/Line2", Line2_default_);
|
|
|
85274
85270
|
|
|
85275
85271
|
const
|
|
85276
85272
|
screenLine = new Geometry_Line2 (Numbers_Vector2 .Zero, Numbers_Vector2 .Zero),
|
|
85277
|
-
trackPoint1 = new Numbers_Vector2 (
|
|
85273
|
+
trackPoint1 = new Numbers_Vector2 (),
|
|
85278
85274
|
trackPointLine = new Geometry_Line3 (Numbers_Vector3 .Zero, Numbers_Vector3 .Zero);
|
|
85279
85275
|
|
|
85280
85276
|
function PlaneSensor (executionContext)
|
|
@@ -85307,8 +85303,8 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85307
85303
|
this .planeSensor = true;
|
|
85308
85304
|
this .plane = null;
|
|
85309
85305
|
this .line = null;
|
|
85310
|
-
this .startOffset = new Numbers_Vector3 (
|
|
85311
|
-
this .startPoint = new Numbers_Vector3 (
|
|
85306
|
+
this .startOffset = new Numbers_Vector3 ();
|
|
85307
|
+
this .startPoint = new Numbers_Vector3 ();
|
|
85312
85308
|
},
|
|
85313
85309
|
getLineTrackPoint (pointer, line, trackPoint)
|
|
85314
85310
|
{
|
|
@@ -85385,13 +85381,13 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85385
85381
|
this .trackStart (this .startPoint);
|
|
85386
85382
|
}
|
|
85387
85383
|
|
|
85388
|
-
// new Plane3 (new Vector3 (
|
|
85384
|
+
// new Plane3 (new Vector3 (), this .plane .normal) .intersectsLine (hitRay, trackPoint);
|
|
85389
85385
|
}
|
|
85390
85386
|
else
|
|
85391
85387
|
{
|
|
85392
85388
|
if (this .getLineTrackPoint (hit .pointer, this .line, this .startPoint))
|
|
85393
85389
|
{
|
|
85394
|
-
const trackPoint = new Numbers_Vector3 (
|
|
85390
|
+
const trackPoint = new Numbers_Vector3 ();
|
|
85395
85391
|
|
|
85396
85392
|
try
|
|
85397
85393
|
{
|
|
@@ -85423,7 +85419,7 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85423
85419
|
{
|
|
85424
85420
|
const
|
|
85425
85421
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
85426
|
-
endPoint = new Numbers_Vector3 (
|
|
85422
|
+
endPoint = new Numbers_Vector3 ();
|
|
85427
85423
|
|
|
85428
85424
|
if (this .plane .intersectsLine (hitRay, endPoint))
|
|
85429
85425
|
this .track (endPoint, endPoint .copy ());
|
|
@@ -85433,8 +85429,8 @@ Object .assign (Object .setPrototypeOf (PlaneSensor .prototype, PointingDeviceSe
|
|
|
85433
85429
|
else
|
|
85434
85430
|
{
|
|
85435
85431
|
const
|
|
85436
|
-
endPoint = new Numbers_Vector3 (
|
|
85437
|
-
trackPoint = new Numbers_Vector3 (
|
|
85432
|
+
endPoint = new Numbers_Vector3 (),
|
|
85433
|
+
trackPoint = new Numbers_Vector3 ();
|
|
85438
85434
|
|
|
85439
85435
|
if (this .getLineTrackPoint (hit .pointer, this .line, endPoint))
|
|
85440
85436
|
{
|
|
@@ -85639,13 +85635,13 @@ Object .assign (Sphere3 .prototype,
|
|
|
85639
85635
|
intersectsTriangle: (() =>
|
|
85640
85636
|
{
|
|
85641
85637
|
const
|
|
85642
|
-
AB = new Numbers_Vector3 (
|
|
85643
|
-
AC = new Numbers_Vector3 (
|
|
85644
|
-
BC = new Numbers_Vector3 (
|
|
85645
|
-
CA = new Numbers_Vector3 (
|
|
85646
|
-
Q1 = new Numbers_Vector3 (
|
|
85647
|
-
Q2 = new Numbers_Vector3 (
|
|
85648
|
-
Q3 = new Numbers_Vector3 (
|
|
85638
|
+
AB = new Numbers_Vector3 (),
|
|
85639
|
+
AC = new Numbers_Vector3 (),
|
|
85640
|
+
BC = new Numbers_Vector3 (),
|
|
85641
|
+
CA = new Numbers_Vector3 (),
|
|
85642
|
+
Q1 = new Numbers_Vector3 (),
|
|
85643
|
+
Q2 = new Numbers_Vector3 (),
|
|
85644
|
+
Q3 = new Numbers_Vector3 ();
|
|
85649
85645
|
|
|
85650
85646
|
return function (A, B, C)
|
|
85651
85647
|
{
|
|
@@ -85790,7 +85786,6 @@ x_ite_Namespace .add ("Sphere3", "standard/Math/Geometry/Sphere3", Sphere3_defau
|
|
|
85790
85786
|
|
|
85791
85787
|
|
|
85792
85788
|
|
|
85793
|
-
|
|
85794
85789
|
function SphereSensor (executionContext)
|
|
85795
85790
|
{
|
|
85796
85791
|
PointingDeviceSensor_X3DDragSensorNode .call (this, executionContext);
|
|
@@ -85810,13 +85805,13 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85810
85805
|
this .sphere = null;
|
|
85811
85806
|
this .zPlane = null;
|
|
85812
85807
|
this .behind = false;
|
|
85813
|
-
this .fromVector = new Numbers_Vector3 (
|
|
85814
|
-
this .startPoint = new Numbers_Vector3 (
|
|
85808
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
85809
|
+
this .startPoint = new Numbers_Vector3 ();
|
|
85815
85810
|
this .startOffset = new Numbers_Rotation4 ();
|
|
85816
85811
|
},
|
|
85817
85812
|
getTrackPoint (hitRay, trackPoint, behind)
|
|
85818
85813
|
{
|
|
85819
|
-
const exit = new Numbers_Vector3 (
|
|
85814
|
+
const exit = new Numbers_Vector3 ();
|
|
85820
85815
|
|
|
85821
85816
|
if (this .sphere .intersectsLine (hitRay, trackPoint, exit))
|
|
85822
85817
|
{
|
|
@@ -85839,7 +85834,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85839
85834
|
|
|
85840
85835
|
const
|
|
85841
85836
|
hitPoint = this .invModelViewMatrix .multVecMatrix (hit .point .copy ()),
|
|
85842
|
-
center = new Numbers_Vector3 (
|
|
85837
|
+
center = new Numbers_Vector3 ();
|
|
85843
85838
|
|
|
85844
85839
|
this .zPlane = new Geometry_Plane3 (center, this .invModelViewMatrix .multDirMatrix (new Numbers_Vector3 (0, 0, 1)) .normalize ()); // Screen aligned Z-plane
|
|
85845
85840
|
this .sphere = new Geometry_Sphere3 (hitPoint .magnitude (), center);
|
|
@@ -85862,7 +85857,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85862
85857
|
{
|
|
85863
85858
|
const
|
|
85864
85859
|
hitRay = hit .hitRay .copy () .multLineMatrix (this .invModelViewMatrix),
|
|
85865
|
-
trackPoint = new Numbers_Vector3 (
|
|
85860
|
+
trackPoint = new Numbers_Vector3 ();
|
|
85866
85861
|
|
|
85867
85862
|
if (this .getTrackPoint (hitRay, trackPoint, this .behind))
|
|
85868
85863
|
{
|
|
@@ -85874,7 +85869,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85874
85869
|
{
|
|
85875
85870
|
// Find trackPoint on the plane with sphere
|
|
85876
85871
|
|
|
85877
|
-
const tangentPoint = new Numbers_Vector3 (
|
|
85872
|
+
const tangentPoint = new Numbers_Vector3 ();
|
|
85878
85873
|
|
|
85879
85874
|
this .zPlane .intersectsLine (hitRay, tangentPoint);
|
|
85880
85875
|
|
|
@@ -85887,7 +85882,7 @@ Object .assign (Object .setPrototypeOf (SphereSensor .prototype, PointingDeviceS
|
|
|
85887
85882
|
// Find trackPoint behind sphere
|
|
85888
85883
|
|
|
85889
85884
|
const
|
|
85890
|
-
triNormal = Geometry_Triangle3 .normal (this .sphere .center, trackPoint, this .startPoint, new Numbers_Vector3 (
|
|
85885
|
+
triNormal = Geometry_Triangle3 .normal (this .sphere .center, trackPoint, this .startPoint, new Numbers_Vector3 ()),
|
|
85891
85886
|
dirFromCenter = trackPoint .copy () .subtract (this .sphere .center) .normalize (),
|
|
85892
85887
|
normal = triNormal .copy () .cross (dirFromCenter) .normalize ();
|
|
85893
85888
|
|
|
@@ -86134,7 +86129,7 @@ function ClipPlane (executionContext)
|
|
|
86134
86129
|
this .addType (Base_X3DConstants .ClipPlane);
|
|
86135
86130
|
|
|
86136
86131
|
this .enabled = false;
|
|
86137
|
-
this .plane = new Numbers_Vector4 (
|
|
86132
|
+
this .plane = new Numbers_Vector4 ();
|
|
86138
86133
|
}
|
|
86139
86134
|
|
|
86140
86135
|
Object .assign (Object .setPrototypeOf (ClipPlane .prototype, Core_X3DChildNode .prototype),
|
|
@@ -86750,9 +86745,9 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86750
86745
|
getNormal: (() =>
|
|
86751
86746
|
{
|
|
86752
86747
|
const
|
|
86753
|
-
point1 = new Numbers_Vector3 (
|
|
86754
|
-
point2 = new Numbers_Vector3 (
|
|
86755
|
-
point3 = new Numbers_Vector3 (
|
|
86748
|
+
point1 = new Numbers_Vector3 (),
|
|
86749
|
+
point2 = new Numbers_Vector3 (),
|
|
86750
|
+
point3 = new Numbers_Vector3 ();
|
|
86756
86751
|
|
|
86757
86752
|
return function (index1, index2, index3)
|
|
86758
86753
|
{
|
|
@@ -86765,19 +86760,19 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86765
86760
|
return Geometry_Triangle3 .normal (this .get1Point (index1, point1),
|
|
86766
86761
|
this .get1Point (index2, point2),
|
|
86767
86762
|
this .get1Point (index3, point3),
|
|
86768
|
-
new Numbers_Vector3 (
|
|
86763
|
+
new Numbers_Vector3 ());
|
|
86769
86764
|
}
|
|
86770
86765
|
|
|
86771
|
-
return new Numbers_Vector3 (
|
|
86766
|
+
return new Numbers_Vector3 ();
|
|
86772
86767
|
};
|
|
86773
86768
|
})(),
|
|
86774
86769
|
getQuadNormal: (() =>
|
|
86775
86770
|
{
|
|
86776
86771
|
const
|
|
86777
|
-
point1 = new Numbers_Vector3 (
|
|
86778
|
-
point2 = new Numbers_Vector3 (
|
|
86779
|
-
point3 = new Numbers_Vector3 (
|
|
86780
|
-
point4 = new Numbers_Vector3 (
|
|
86772
|
+
point1 = new Numbers_Vector3 (),
|
|
86773
|
+
point2 = new Numbers_Vector3 (),
|
|
86774
|
+
point3 = new Numbers_Vector3 (),
|
|
86775
|
+
point4 = new Numbers_Vector3 ();
|
|
86781
86776
|
|
|
86782
86777
|
return function (index1, index2, index3, index4)
|
|
86783
86778
|
{
|
|
@@ -86791,10 +86786,10 @@ Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_
|
|
|
86791
86786
|
this .get1Point (index2, point2),
|
|
86792
86787
|
this .get1Point (index3, point3),
|
|
86793
86788
|
this .get1Point (index4, point4),
|
|
86794
|
-
new Numbers_Vector3 (
|
|
86789
|
+
new Numbers_Vector3 ());
|
|
86795
86790
|
}
|
|
86796
86791
|
|
|
86797
|
-
return new Numbers_Vector3 (
|
|
86792
|
+
return new Numbers_Vector3 ();
|
|
86798
86793
|
};
|
|
86799
86794
|
})(),
|
|
86800
86795
|
});
|
|
@@ -87133,10 +87128,10 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
87133
87128
|
{
|
|
87134
87129
|
const
|
|
87135
87130
|
modelViewProjectionMatrix = new Numbers_Matrix4 (),
|
|
87136
|
-
point0 = new Numbers_Vector4 (
|
|
87137
|
-
point1 = new Numbers_Vector4 (
|
|
87138
|
-
projectedPoint0 = new Numbers_Vector2 (
|
|
87139
|
-
projectedPoint1 = new Numbers_Vector2 (
|
|
87131
|
+
point0 = new Numbers_Vector4 (),
|
|
87132
|
+
point1 = new Numbers_Vector4 (),
|
|
87133
|
+
projectedPoint0 = new Numbers_Vector2 (),
|
|
87134
|
+
projectedPoint1 = new Numbers_Vector2 ();
|
|
87140
87135
|
|
|
87141
87136
|
return function (gl, renderContext)
|
|
87142
87137
|
{
|
|
@@ -88685,7 +88680,6 @@ x_ite_Namespace .add ("X3DNormalNode", "x_ite/Components/Rendering/X3DNormalNode
|
|
|
88685
88680
|
|
|
88686
88681
|
|
|
88687
88682
|
|
|
88688
|
-
|
|
88689
88683
|
function Normal (executionContext)
|
|
88690
88684
|
{
|
|
88691
88685
|
Rendering_X3DNormalNode .call (this, executionContext);
|
|
@@ -89790,7 +89784,6 @@ x_ite_Namespace .add ("Rendering", "x_ite/Components/Rendering", Rendering_defau
|
|
|
89790
89784
|
|
|
89791
89785
|
|
|
89792
89786
|
|
|
89793
|
-
|
|
89794
89787
|
function X3DShaderNode (executionContext)
|
|
89795
89788
|
{
|
|
89796
89789
|
Shape_X3DAppearanceChildNode .call (this, executionContext);
|
|
@@ -89850,7 +89843,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89850
89843
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89851
89844
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89852
89845
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89853
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89846
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(864);
|
|
89854
89847
|
/*******************************************************************************
|
|
89855
89848
|
*
|
|
89856
89849
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95491,7 +95484,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95491
95484
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95492
95485
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95493
95486
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95494
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95487
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(864);
|
|
95495
95488
|
/*******************************************************************************
|
|
95496
95489
|
*
|
|
95497
95490
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96148,7 +96141,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
96148
96141
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
96149
96142
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
96150
96143
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
96151
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
96144
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(864);
|
|
96152
96145
|
/*******************************************************************************
|
|
96153
96146
|
*
|
|
96154
96147
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98626,8 +98619,8 @@ function X3DShapeNode (executionContext)
|
|
|
98626
98619
|
this .addType (Base_X3DConstants .X3DShapeNode);
|
|
98627
98620
|
|
|
98628
98621
|
this .bbox = new Geometry_Box3 ();
|
|
98629
|
-
this .bboxSize = new Numbers_Vector3 (
|
|
98630
|
-
this .bboxCenter = new Numbers_Vector3 (
|
|
98622
|
+
this .bboxSize = new Numbers_Vector3 ();
|
|
98623
|
+
this .bboxCenter = new Numbers_Vector3 ();
|
|
98631
98624
|
}
|
|
98632
98625
|
|
|
98633
98626
|
Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNode .prototype),
|
|
@@ -99715,6 +99708,7 @@ function X3DSoundProcessingNode (executionContext)
|
|
|
99715
99708
|
this .childNodes = [ ];
|
|
99716
99709
|
this .audioDestination = new GainNode (audioContext, { gain: 0 });
|
|
99717
99710
|
this .audioSource = new GainNode (audioContext, { gain: 1 });
|
|
99711
|
+
this .soundProcessor = this .audioSource;
|
|
99718
99712
|
}
|
|
99719
99713
|
|
|
99720
99714
|
Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound_X3DSoundNode .prototype),
|
|
@@ -99748,10 +99742,18 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99748
99742
|
},
|
|
99749
99743
|
getSoundProcessor ()
|
|
99750
99744
|
{
|
|
99751
|
-
return this .
|
|
99745
|
+
return this .soundProcessor;
|
|
99746
|
+
},
|
|
99747
|
+
setSoundProcessor (value)
|
|
99748
|
+
{
|
|
99749
|
+
this .soundProcessor = value ?? this .audioSource;
|
|
99750
|
+
|
|
99751
|
+
this .set_enabled__ ();
|
|
99752
99752
|
},
|
|
99753
99753
|
set_enabled__ ()
|
|
99754
99754
|
{
|
|
99755
|
+
Time_X3DTimeDependentNode .prototype .set_enabled__ .call (this);
|
|
99756
|
+
|
|
99755
99757
|
this .audioDestination .disconnect ();
|
|
99756
99758
|
|
|
99757
99759
|
if (this ._enabled .getValue ())
|
|
@@ -99760,7 +99762,7 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99760
99762
|
this .set_channelCountMode__ ();
|
|
99761
99763
|
this .set_channelInterpretation__ ();
|
|
99762
99764
|
|
|
99763
|
-
this .audioDestination .connect (this .
|
|
99765
|
+
this .audioDestination .connect (this .soundProcessor);
|
|
99764
99766
|
}
|
|
99765
99767
|
else
|
|
99766
99768
|
{
|
|
@@ -99770,8 +99772,6 @@ Object .assign (Object .setPrototypeOf (X3DSoundProcessingNode .prototype, Sound
|
|
|
99770
99772
|
|
|
99771
99773
|
this .audioDestination .connect (this .audioSource);
|
|
99772
99774
|
}
|
|
99773
|
-
|
|
99774
|
-
Time_X3DTimeDependentNode .prototype .set_enabled__ .call (this);
|
|
99775
99775
|
},
|
|
99776
99776
|
set_gain__ ()
|
|
99777
99777
|
{
|
|
@@ -99962,14 +99962,12 @@ Object .assign (Object .setPrototypeOf (Analyser .prototype, Sound_X3DSoundProce
|
|
|
99962
99962
|
this ._maxDecibels .addInterest ("set_decibels__", this);
|
|
99963
99963
|
this ._smoothingTimeConstant .addInterest ("set_smoothingTimeConstant__", this);
|
|
99964
99964
|
|
|
99965
|
+
this .setSoundProcessor (this .analyserNode);
|
|
99966
|
+
|
|
99965
99967
|
this .set_fftSize__ ();
|
|
99966
99968
|
this .set_decibels__ ();
|
|
99967
99969
|
this .set_smoothingTimeConstant__ ();
|
|
99968
99970
|
},
|
|
99969
|
-
getSoundProcessor ()
|
|
99970
|
-
{
|
|
99971
|
-
return this .analyserNode;
|
|
99972
|
-
},
|
|
99973
99971
|
set_fftSize__ ()
|
|
99974
99972
|
{
|
|
99975
99973
|
this .analyserNode .fftSize = Math_Algorithm .clamp (Math_Algorithm .nextPowerOfTwo (this ._fftSize .getValue ()), 32, 32768);
|
|
@@ -101134,15 +101132,13 @@ Object .assign (Object .setPrototypeOf (BiquadFilter .prototype, Sound_X3DSoundP
|
|
|
101134
101132
|
this ._frequency .addInterest ("set_frequency__", this);
|
|
101135
101133
|
this ._qualityFactor .addInterest ("set_qualityFactor__", this);
|
|
101136
101134
|
|
|
101135
|
+
this .setSoundProcessor (this .biquadFilterNode);
|
|
101136
|
+
|
|
101137
101137
|
this .set_detune__ ();
|
|
101138
101138
|
this .set_type__ ();
|
|
101139
101139
|
this .set_frequency__ ();
|
|
101140
101140
|
this .set_qualityFactor__ ();
|
|
101141
101141
|
},
|
|
101142
|
-
getSoundProcessor ()
|
|
101143
|
-
{
|
|
101144
|
-
return this .biquadFilterNode;
|
|
101145
|
-
},
|
|
101146
101142
|
set_detune__ ()
|
|
101147
101143
|
{
|
|
101148
101144
|
this .biquadFilterNode .detune .value = this ._detune .getValue ();
|
|
@@ -101589,6 +101585,7 @@ function X3DSoundChannelNode (executionContext)
|
|
|
101589
101585
|
this .childNodes = [ ];
|
|
101590
101586
|
this .audioDestination = new GainNode (audioContext, { gain: 0 });
|
|
101591
101587
|
this .audioSource = new GainNode (audioContext, { gain: 1 });
|
|
101588
|
+
this .soundProcessor = this .audioSource;
|
|
101592
101589
|
}
|
|
101593
101590
|
|
|
101594
101591
|
Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3DSoundNode .prototype),
|
|
@@ -101621,7 +101618,13 @@ Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3
|
|
|
101621
101618
|
},
|
|
101622
101619
|
getSoundProcessor ()
|
|
101623
101620
|
{
|
|
101624
|
-
return this .
|
|
101621
|
+
return this .soundProcessor;
|
|
101622
|
+
},
|
|
101623
|
+
setSoundProcessor (value)
|
|
101624
|
+
{
|
|
101625
|
+
this .soundProcessor = value ?? this .audioSource;
|
|
101626
|
+
|
|
101627
|
+
this .set_enabled__ ();
|
|
101625
101628
|
},
|
|
101626
101629
|
set_enabled__ ()
|
|
101627
101630
|
{
|
|
@@ -101633,7 +101636,7 @@ Object .assign (Object .setPrototypeOf (X3DSoundChannelNode .prototype, Sound_X3
|
|
|
101633
101636
|
this .set_channelCountMode__ ();
|
|
101634
101637
|
this .set_channelInterpretation__ ();
|
|
101635
101638
|
|
|
101636
|
-
this .audioDestination .connect (this .
|
|
101639
|
+
this .audioDestination .connect (this .soundProcessor);
|
|
101637
101640
|
}
|
|
101638
101641
|
else
|
|
101639
101642
|
{
|
|
@@ -101977,10 +101980,6 @@ function ChannelSelector (executionContext)
|
|
|
101977
101980
|
Sound_X3DSoundChannelNode .call (this, executionContext);
|
|
101978
101981
|
|
|
101979
101982
|
this .addType (Base_X3DConstants .ChannelSelector);
|
|
101980
|
-
|
|
101981
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
101982
|
-
|
|
101983
|
-
this .channelSplitterNode = new ChannelSplitterNode (audioContext);
|
|
101984
101983
|
}
|
|
101985
101984
|
|
|
101986
101985
|
Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSoundChannelNode .prototype),
|
|
@@ -101993,10 +101992,6 @@ Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSou
|
|
|
101993
101992
|
|
|
101994
101993
|
this .set_channelSelection__ ();
|
|
101995
101994
|
},
|
|
101996
|
-
getSoundProcessor ()
|
|
101997
|
-
{
|
|
101998
|
-
return this .channelSplitterNode;
|
|
101999
|
-
},
|
|
102000
101995
|
set_channelSelection__ ()
|
|
102001
101996
|
{
|
|
102002
101997
|
const
|
|
@@ -102004,14 +101999,14 @@ Object .assign (Object .setPrototypeOf (ChannelSelector .prototype, Sound_X3DSou
|
|
|
102004
101999
|
channelSelection = Math_Algorithm .clamp (this ._channelSelection .getValue (), 0, 31),
|
|
102005
102000
|
numberOfOutputs = channelSelection + 1;
|
|
102006
102001
|
|
|
102007
|
-
this .channelSplitterNode
|
|
102002
|
+
this .channelSplitterNode ?.disconnect ();
|
|
102008
102003
|
|
|
102009
|
-
if (this .channelSplitterNode
|
|
102004
|
+
if (this .channelSplitterNode ?.numberOfOutputs !== numberOfOutputs)
|
|
102010
102005
|
this .channelSplitterNode = new ChannelSplitterNode (audioContext, { numberOfOutputs });
|
|
102011
102006
|
|
|
102012
102007
|
this .channelSplitterNode .connect (this .getAudioSource (), channelSelection);
|
|
102013
102008
|
|
|
102014
|
-
this .
|
|
102009
|
+
this .setSoundProcessor (this .channelSplitterNode);
|
|
102015
102010
|
},
|
|
102016
102011
|
});
|
|
102017
102012
|
|
|
@@ -102336,13 +102331,11 @@ Object .assign (Object .setPrototypeOf (Convolver .prototype, Sound_X3DSoundProc
|
|
|
102336
102331
|
this ._buffer .addInterest ("set_buffer__", this);
|
|
102337
102332
|
this ._normalize .addInterest ("set_normalize__", this);
|
|
102338
102333
|
|
|
102334
|
+
this .setSoundProcessor (this .convolverNode);
|
|
102335
|
+
|
|
102339
102336
|
this .set_buffer__ ();
|
|
102340
102337
|
this .set_normalize__ ();
|
|
102341
102338
|
},
|
|
102342
|
-
getSoundProcessor ()
|
|
102343
|
-
{
|
|
102344
|
-
return this .convolverNode;
|
|
102345
|
-
},
|
|
102346
102339
|
set_buffer__ ()
|
|
102347
102340
|
{
|
|
102348
102341
|
const
|
|
@@ -102490,12 +102483,6 @@ function Delay (executionContext)
|
|
|
102490
102483
|
Sound_X3DSoundProcessingNode .call (this, executionContext);
|
|
102491
102484
|
|
|
102492
102485
|
this .addType (Base_X3DConstants .Delay);
|
|
102493
|
-
|
|
102494
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
102495
|
-
|
|
102496
|
-
this .delayNode = new DelayNode (audioContext);
|
|
102497
|
-
|
|
102498
|
-
this .delayNode .connect (this .getAudioSource ());
|
|
102499
102486
|
}
|
|
102500
102487
|
|
|
102501
102488
|
Object .assign (Object .setPrototypeOf (Delay .prototype, Sound_X3DSoundProcessingNode .prototype),
|
|
@@ -102504,20 +102491,38 @@ Object .assign (Object .setPrototypeOf (Delay .prototype, Sound_X3DSoundProcessi
|
|
|
102504
102491
|
{
|
|
102505
102492
|
Sound_X3DSoundProcessingNode .prototype .initialize .call (this);
|
|
102506
102493
|
|
|
102507
|
-
this .
|
|
102508
|
-
this .
|
|
102494
|
+
this ._maxDelayTime .addInterest ("set_maxDelayTime__", this);
|
|
102495
|
+
this ._delayTime .addInterest ("set_delayTime__", this);
|
|
102509
102496
|
|
|
102510
|
-
this .
|
|
102497
|
+
this .set_maxDelayTime__ ();
|
|
102511
102498
|
},
|
|
102512
|
-
|
|
102499
|
+
set_delayTime__ ()
|
|
102513
102500
|
{
|
|
102514
|
-
|
|
102501
|
+
const
|
|
102502
|
+
maxDelayTime = Math .max (this ._maxDelayTime .getValue (), 0),
|
|
102503
|
+
delayTime = Math_Algorithm .clamp (this ._delayTime .getValue (), 0, maxDelayTime);
|
|
102504
|
+
|
|
102505
|
+
this .delayNode .delayTime .value = delayTime;
|
|
102515
102506
|
},
|
|
102516
|
-
|
|
102507
|
+
set_maxDelayTime__ ()
|
|
102508
|
+
{
|
|
102509
|
+
this .delayNode ?.disconnect ();
|
|
102510
|
+
|
|
102511
|
+
this .delayNode = this .createSoundProcessor ();
|
|
102512
|
+
|
|
102513
|
+
this .delayNode .connect (this .getAudioSource ());
|
|
102514
|
+
|
|
102515
|
+
this .setSoundProcessor (this .delayNode);
|
|
102516
|
+
},
|
|
102517
|
+
createSoundProcessor ()
|
|
102517
102518
|
{
|
|
102518
|
-
const
|
|
102519
|
+
const
|
|
102520
|
+
audioContext = this .getBrowser () .getAudioContext (),
|
|
102521
|
+
maxDelayTime = Math .max (this ._maxDelayTime .getValue (), 0),
|
|
102522
|
+
delayTime = Math_Algorithm .clamp (this ._delayTime .getValue (), 0, maxDelayTime),
|
|
102523
|
+
delayNode = new DelayNode (audioContext, { maxDelayTime, delayTime });
|
|
102519
102524
|
|
|
102520
|
-
|
|
102525
|
+
return delayNode;
|
|
102521
102526
|
},
|
|
102522
102527
|
});
|
|
102523
102528
|
|
|
@@ -102552,8 +102557,8 @@ Object .defineProperties (Delay,
|
|
|
102552
102557
|
|
|
102553
102558
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "gain", new x_ite_Fields .SFFloat (1)),
|
|
102554
102559
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "tailTime", new x_ite_Fields .SFTime ()),
|
|
102555
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "delayTime", new x_ite_Fields .SFTime ()),
|
|
102556
102560
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "maxDelayTime", new x_ite_Fields .SFTime (1)),
|
|
102561
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "delayTime", new x_ite_Fields .SFTime ()),
|
|
102557
102562
|
|
|
102558
102563
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "channelCount", new x_ite_Fields .SFInt32 ()), // skip test
|
|
102559
102564
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "channelCountMode", new x_ite_Fields .SFString ("MAX")),
|
|
@@ -102658,16 +102663,14 @@ Object .assign (Object .setPrototypeOf (DynamicsCompressor .prototype, Sound_X3D
|
|
|
102658
102663
|
this ._release .addInterest ("set_release__", this);
|
|
102659
102664
|
this ._threshold .addInterest ("set_threshold__", this);
|
|
102660
102665
|
|
|
102666
|
+
this .setSoundProcessor (this .dynamicsCompressorNode);
|
|
102667
|
+
|
|
102661
102668
|
this .set_attack__ ();
|
|
102662
102669
|
this .set_knee__ ();
|
|
102663
102670
|
this .set_ratio__ ();
|
|
102664
102671
|
this .set_release__ ();
|
|
102665
102672
|
this .set_threshold__ ();
|
|
102666
102673
|
},
|
|
102667
|
-
getSoundProcessor ()
|
|
102668
|
-
{
|
|
102669
|
-
return this .dynamicsCompressorNode;
|
|
102670
|
-
},
|
|
102671
102674
|
set_attack__ ()
|
|
102672
102675
|
{
|
|
102673
102676
|
this .dynamicsCompressorNode .attack .value = Math_Algorithm .clamp (this ._attack .getValue (), 0, 1);
|
|
@@ -102980,11 +102983,11 @@ Object .assign (Object .setPrototypeOf (ListenerPointSource .prototype, Sound_X3
|
|
|
102980
102983
|
traverse: (() =>
|
|
102981
102984
|
{
|
|
102982
102985
|
const
|
|
102983
|
-
position = new Numbers_Vector3 (
|
|
102986
|
+
position = new Numbers_Vector3 (),
|
|
102984
102987
|
orientation = new Numbers_Rotation4 (),
|
|
102985
102988
|
modelViewMatrix = new Numbers_Matrix4 (),
|
|
102986
|
-
forwardVector = new Numbers_Vector3 (
|
|
102987
|
-
upVector = new Numbers_Vector3 (
|
|
102989
|
+
forwardVector = new Numbers_Vector3 (),
|
|
102990
|
+
upVector = new Numbers_Vector3 ();
|
|
102988
102991
|
|
|
102989
102992
|
return function (type, renderObject)
|
|
102990
102993
|
{
|
|
@@ -103349,10 +103352,6 @@ function OscillatorSource (executionContext)
|
|
|
103349
103352
|
this .addType (Base_X3DConstants .OscillatorSource);
|
|
103350
103353
|
|
|
103351
103354
|
this .addChildObjects (Base_X3DConstants .inputOutput, "loop", new x_ite_Fields .SFBool ());
|
|
103352
|
-
|
|
103353
|
-
const audioContext = this .getBrowser () .getAudioContext ();
|
|
103354
|
-
|
|
103355
|
-
this .oscillatorNode = new OscillatorNode (audioContext);
|
|
103356
103355
|
}
|
|
103357
103356
|
|
|
103358
103357
|
Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSoundSourceNode .prototype),
|
|
@@ -103367,6 +103366,36 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103367
103366
|
|
|
103368
103367
|
this .set_periodicWave__ ();
|
|
103369
103368
|
},
|
|
103369
|
+
set_detune__ ()
|
|
103370
|
+
{
|
|
103371
|
+
if (!this .oscillatorNode)
|
|
103372
|
+
return;
|
|
103373
|
+
|
|
103374
|
+
this .oscillatorNode .detune .value = Math .max (this ._detune .getValue (), 0);
|
|
103375
|
+
},
|
|
103376
|
+
set_frequency__ ()
|
|
103377
|
+
{
|
|
103378
|
+
if (!this .oscillatorNode)
|
|
103379
|
+
return;
|
|
103380
|
+
|
|
103381
|
+
this .oscillatorNode .frequency .value = Math .max (this ._frequency .getValue (), 0);
|
|
103382
|
+
},
|
|
103383
|
+
set_periodicWave__ ()
|
|
103384
|
+
{
|
|
103385
|
+
if (this .periodicWaveNode)
|
|
103386
|
+
{
|
|
103387
|
+
this .periodicWaveNode ._type .removeInterest ("set_type__", this);
|
|
103388
|
+
this .periodicWaveNode ._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103389
|
+
this .periodicWaveNode ._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103390
|
+
}
|
|
103391
|
+
|
|
103392
|
+
this .periodicWaveNode = Base_X3DCast (Base_X3DConstants .PeriodicWave, this ._periodicWave)
|
|
103393
|
+
?? this .getBrowser () .getDefaultPeriodicWave ();
|
|
103394
|
+
|
|
103395
|
+
this .periodicWaveNode ._type .addInterest ("set_type__", this);
|
|
103396
|
+
|
|
103397
|
+
this .set_type__ ();
|
|
103398
|
+
},
|
|
103370
103399
|
set_type__: (function ()
|
|
103371
103400
|
{
|
|
103372
103401
|
const types = new Map ([
|
|
@@ -103379,6 +103408,9 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103379
103408
|
|
|
103380
103409
|
return function ()
|
|
103381
103410
|
{
|
|
103411
|
+
if (!this .oscillatorNode)
|
|
103412
|
+
return;
|
|
103413
|
+
|
|
103382
103414
|
this .periodicWaveNode ._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103383
103415
|
this .periodicWaveNode ._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103384
103416
|
|
|
@@ -103397,27 +103429,6 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103397
103429
|
}
|
|
103398
103430
|
};
|
|
103399
103431
|
})(),
|
|
103400
|
-
set_detune__ ()
|
|
103401
|
-
{
|
|
103402
|
-
this .oscillatorNode .detune .value = Math .max (this ._detune .getValue (), 0);
|
|
103403
|
-
},
|
|
103404
|
-
set_frequency__ ()
|
|
103405
|
-
{
|
|
103406
|
-
this .oscillatorNode .frequency .value = Math .max (this ._frequency .getValue (), 0);
|
|
103407
|
-
},
|
|
103408
|
-
set_periodicWave__ ()
|
|
103409
|
-
{
|
|
103410
|
-
this .periodicWaveNode ?._type .removeInterest ("set_type__", this);
|
|
103411
|
-
this .periodicWaveNode ?._optionsReal .removeInterest ("set_periodicWaveOptions__", this);
|
|
103412
|
-
this .periodicWaveNode ?._optionsImag .removeInterest ("set_periodicWaveOptions__", this);
|
|
103413
|
-
|
|
103414
|
-
this .periodicWaveNode = Base_X3DCast (Base_X3DConstants .PeriodicWave, this ._periodicWave)
|
|
103415
|
-
?? this .getBrowser () .getDefaultPeriodicWave ();
|
|
103416
|
-
|
|
103417
|
-
this .periodicWaveNode ._type .addInterest ("set_type__", this);
|
|
103418
|
-
|
|
103419
|
-
this .set_type__ ();
|
|
103420
|
-
},
|
|
103421
103432
|
set_periodicWaveOptions__ ()
|
|
103422
103433
|
{
|
|
103423
103434
|
this .oscillatorNode .setPeriodicWave (this .periodicWaveNode .createPeriodicWave ());
|
|
@@ -103428,20 +103439,20 @@ Object .assign (Object .setPrototypeOf (OscillatorSource .prototype, Sound_X3DSo
|
|
|
103428
103439
|
|
|
103429
103440
|
this .oscillatorNode = new OscillatorNode (audioContext);
|
|
103430
103441
|
|
|
103431
|
-
this .set_type__ ();
|
|
103432
|
-
this .set_frequency__ ();
|
|
103433
103442
|
this .set_detune__ ();
|
|
103443
|
+
this .set_frequency__ ();
|
|
103444
|
+
this .set_type__ ();
|
|
103434
103445
|
|
|
103435
103446
|
this .oscillatorNode .connect (this .getAudioSource ());
|
|
103436
103447
|
this .oscillatorNode .start ();
|
|
103437
103448
|
},
|
|
103438
103449
|
set_pause ()
|
|
103439
103450
|
{
|
|
103440
|
-
this .
|
|
103451
|
+
this .set_stop ();
|
|
103441
103452
|
},
|
|
103442
103453
|
set_resume ()
|
|
103443
103454
|
{
|
|
103444
|
-
this .
|
|
103455
|
+
this .set_start ();
|
|
103445
103456
|
},
|
|
103446
103457
|
set_stop ()
|
|
103447
103458
|
{
|
|
@@ -103860,8 +103871,8 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103860
103871
|
traverse: (() =>
|
|
103861
103872
|
{
|
|
103862
103873
|
const
|
|
103863
|
-
min = { distance: 0, intersection: new Numbers_Vector3 (
|
|
103864
|
-
max = { distance: 0, intersection: new Numbers_Vector3 (
|
|
103874
|
+
min = { distance: 0, intersection: new Numbers_Vector3 () },
|
|
103875
|
+
max = { distance: 0, intersection: new Numbers_Vector3 () };
|
|
103865
103876
|
|
|
103866
103877
|
return function (type, renderObject)
|
|
103867
103878
|
{
|
|
@@ -103912,16 +103923,16 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103912
103923
|
getEllipsoidParameter: (() =>
|
|
103913
103924
|
{
|
|
103914
103925
|
const
|
|
103915
|
-
location = new Numbers_Vector3 (
|
|
103926
|
+
location = new Numbers_Vector3 (),
|
|
103916
103927
|
sphereMatrix = new Numbers_Matrix4 (),
|
|
103917
103928
|
invSphereMatrix = new Numbers_Matrix4 (),
|
|
103918
103929
|
rotation = new Numbers_Rotation4 (),
|
|
103919
103930
|
scale = new Numbers_Vector3 (1, 1, 1),
|
|
103920
103931
|
sphere = new Geometry_Sphere3 (1, Numbers_Vector3 .Zero),
|
|
103921
|
-
normal = new Numbers_Vector3 (
|
|
103932
|
+
normal = new Numbers_Vector3 (),
|
|
103922
103933
|
line = new Geometry_Line3 (Numbers_Vector3 .Zero, Numbers_Vector3 .zAxis),
|
|
103923
|
-
enterPoint = new Numbers_Vector3 (
|
|
103924
|
-
exitPoint = new Numbers_Vector3 (
|
|
103934
|
+
enterPoint = new Numbers_Vector3 (),
|
|
103935
|
+
exitPoint = new Numbers_Vector3 ();
|
|
103925
103936
|
|
|
103926
103937
|
return function (modelViewMatrix, back, front, value)
|
|
103927
103938
|
{
|
|
@@ -103974,9 +103985,9 @@ Object .assign (Object .setPrototypeOf (Sound .prototype, Sound_X3DSoundNode .pr
|
|
|
103974
103985
|
{
|
|
103975
103986
|
const
|
|
103976
103987
|
rotation = new Numbers_Rotation4 (),
|
|
103977
|
-
location = new Numbers_Vector3 (
|
|
103978
|
-
direction = new Numbers_Vector3 (
|
|
103979
|
-
xAxis = new Numbers_Vector3 (
|
|
103988
|
+
location = new Numbers_Vector3 (),
|
|
103989
|
+
direction = new Numbers_Vector3 (),
|
|
103990
|
+
xAxis = new Numbers_Vector3 (),
|
|
103980
103991
|
result = { };
|
|
103981
103992
|
|
|
103982
103993
|
return function (modelViewMatrix)
|
|
@@ -104323,8 +104334,8 @@ Object .assign (Object .setPrototypeOf (SpatialSound .prototype, Sound_X3DSoundN
|
|
|
104323
104334
|
traverse: (() =>
|
|
104324
104335
|
{
|
|
104325
104336
|
const
|
|
104326
|
-
location = new Numbers_Vector3 (
|
|
104327
|
-
direction = new Numbers_Vector3 (
|
|
104337
|
+
location = new Numbers_Vector3 (),
|
|
104338
|
+
direction = new Numbers_Vector3 ();
|
|
104328
104339
|
|
|
104329
104340
|
return function (type, renderObject)
|
|
104330
104341
|
{
|
|
@@ -104733,13 +104744,11 @@ Object .assign (Object .setPrototypeOf (WaveShaper .prototype, Sound_X3DSoundPro
|
|
|
104733
104744
|
this ._curve .addInterest ("set_curve__", this);
|
|
104734
104745
|
this ._oversample .addInterest ("set_oversample__", this);
|
|
104735
104746
|
|
|
104747
|
+
this .setSoundProcessor (this .waveShaperNode);
|
|
104748
|
+
|
|
104736
104749
|
this .set_curve__ ();
|
|
104737
104750
|
this .set_oversample__ ();
|
|
104738
104751
|
},
|
|
104739
|
-
getSoundProcessor ()
|
|
104740
|
-
{
|
|
104741
|
-
return this .waveShaperNode;
|
|
104742
|
-
},
|
|
104743
104752
|
set_curve__ ()
|
|
104744
104753
|
{
|
|
104745
104754
|
if (this ._curve .length < 2)
|
|
@@ -105066,8 +105075,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
105066
105075
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
105067
105076
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
105068
105077
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
105069
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
105070
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
105078
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(864);
|
|
105079
|
+
/* provided dependency */ var SuperGif = __webpack_require__(275);
|
|
105071
105080
|
/*******************************************************************************
|
|
105072
105081
|
*
|
|
105073
105082
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107378,7 +107387,7 @@ Object .assign (Object .setPrototypeOf (TextureTransform .prototype, Texturing_X
|
|
|
107378
107387
|
eventsProcessed: (() =>
|
|
107379
107388
|
{
|
|
107380
107389
|
const
|
|
107381
|
-
vector = new Numbers_Vector2 (
|
|
107390
|
+
vector = new Numbers_Vector2 (),
|
|
107382
107391
|
matrix3 = new Numbers_Matrix3 ();
|
|
107383
107392
|
|
|
107384
107393
|
return function ()
|
|
@@ -108349,7 +108358,7 @@ const gettext_default_ = gettext;
|
|
|
108349
108358
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
108350
108359
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
108351
108360
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
108352
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
108361
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(864);
|
|
108353
108362
|
/*******************************************************************************
|
|
108354
108363
|
*
|
|
108355
108364
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -108779,7 +108788,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
108779
108788
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
108780
108789
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
108781
108790
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
108782
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
108791
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(864);
|
|
108783
108792
|
/*******************************************************************************
|
|
108784
108793
|
*
|
|
108785
108794
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109373,7 +109382,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
109373
109382
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
109374
109383
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
109375
109384
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
109376
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
109385
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(864);
|
|
109377
109386
|
/*******************************************************************************
|
|
109378
109387
|
*
|
|
109379
109388
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109496,8 +109505,8 @@ const Notification_default_ = Notification;
|
|
|
109496
109505
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
109497
109506
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
109498
109507
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
109499
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
109500
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
109508
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(52);
|
|
109509
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(864);
|
|
109501
109510
|
/*******************************************************************************
|
|
109502
109511
|
*
|
|
109503
109512
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112258,7 +112267,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
112258
112267
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
112259
112268
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
112260
112269
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
112261
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
112270
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(864);
|
|
112262
112271
|
/*******************************************************************************
|
|
112263
112272
|
*
|
|
112264
112273
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112933,7 +112942,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
112933
112942
|
{
|
|
112934
112943
|
const
|
|
112935
112944
|
geoOrigin = viewpoint ._geoOrigin,
|
|
112936
|
-
geoCoord = new Numbers_Vector3 (
|
|
112945
|
+
geoCoord = new Numbers_Vector3 ();
|
|
112937
112946
|
|
|
112938
112947
|
if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
|
|
112939
112948
|
{
|
|
@@ -114671,7 +114680,7 @@ Object .assign (Object .setPrototypeOf (X3DViewer .prototype, Base_X3DBaseNode .
|
|
|
114671
114680
|
},
|
|
114672
114681
|
isPointerInRectangle: (() =>
|
|
114673
114682
|
{
|
|
114674
|
-
const pointer = new Numbers_Vector2 (
|
|
114683
|
+
const pointer = new Numbers_Vector2 ();
|
|
114675
114684
|
|
|
114676
114685
|
return function (x, y)
|
|
114677
114686
|
{
|
|
@@ -114686,8 +114695,8 @@ Object .assign (Object .setPrototypeOf (X3DViewer .prototype, Base_X3DBaseNode .
|
|
|
114686
114695
|
{
|
|
114687
114696
|
const
|
|
114688
114697
|
axis = new Numbers_Vector3 (0, 0, -1),
|
|
114689
|
-
distance = new Numbers_Vector3 (
|
|
114690
|
-
far = new Numbers_Vector3 (
|
|
114698
|
+
distance = new Numbers_Vector3 (),
|
|
114699
|
+
far = new Numbers_Vector3 ();
|
|
114691
114700
|
|
|
114692
114701
|
return function (x, y, result)
|
|
114693
114702
|
{
|
|
@@ -114781,8 +114790,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
114781
114790
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
114782
114791
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
114783
114792
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
114784
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
114785
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
114793
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(910);
|
|
114794
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(864);
|
|
114786
114795
|
/*******************************************************************************
|
|
114787
114796
|
*
|
|
114788
114797
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114862,23 +114871,23 @@ function ExamineViewer (executionContext, navigationInfo)
|
|
|
114862
114871
|
|
|
114863
114872
|
this .button = -1;
|
|
114864
114873
|
this .orientationOffset = new Numbers_Rotation4 ();
|
|
114865
|
-
this .fromVector = new Numbers_Vector3 (
|
|
114866
|
-
this .toVector = new Numbers_Vector3 (
|
|
114867
|
-
this .fromPoint = new Numbers_Vector3 (
|
|
114868
|
-
this .toPoint = new Numbers_Vector3 (
|
|
114874
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
114875
|
+
this .toVector = new Numbers_Vector3 ();
|
|
114876
|
+
this .fromPoint = new Numbers_Vector3 ();
|
|
114877
|
+
this .toPoint = new Numbers_Vector3 ();
|
|
114869
114878
|
this .rotation = new Numbers_Rotation4 ();
|
|
114870
|
-
this .direction = new Numbers_Vector3 (
|
|
114871
|
-
this .axis = new Numbers_Vector3 (
|
|
114879
|
+
this .direction = new Numbers_Vector3 ();
|
|
114880
|
+
this .axis = new Numbers_Vector3 ();
|
|
114872
114881
|
this .pressTime = 0;
|
|
114873
114882
|
this .motionTime = 0;
|
|
114874
114883
|
|
|
114875
114884
|
this .touchMode = 0;
|
|
114876
|
-
this .touch1 = new Numbers_Vector2 (
|
|
114877
|
-
this .touch2 = new Numbers_Vector2 (
|
|
114885
|
+
this .touch1 = new Numbers_Vector2 ();
|
|
114886
|
+
this .touch2 = new Numbers_Vector2 ();
|
|
114878
114887
|
this .tapStart = 0;
|
|
114879
114888
|
this .dblTapInterval = 0.4;
|
|
114880
114889
|
|
|
114881
|
-
this .initialPositionOffset = new Numbers_Vector3 (
|
|
114890
|
+
this .initialPositionOffset = new Numbers_Vector3 ();
|
|
114882
114891
|
this .initialOrientationOffset = new Numbers_Rotation4 ();
|
|
114883
114892
|
this .positionChaser = new Followers_PositionChaser (executionContext);
|
|
114884
114893
|
this .centerOfRotationChaser = new Followers_PositionChaser (executionContext);
|
|
@@ -115066,7 +115075,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115066
115075
|
},
|
|
115067
115076
|
mousemove: (() =>
|
|
115068
115077
|
{
|
|
115069
|
-
const fromPoint = new Numbers_Vector3 (
|
|
115078
|
+
const fromPoint = new Numbers_Vector3 ();
|
|
115070
115079
|
|
|
115071
115080
|
return function (event)
|
|
115072
115081
|
{
|
|
@@ -115119,8 +115128,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115119
115128
|
mousewheel: (() =>
|
|
115120
115129
|
{
|
|
115121
115130
|
const
|
|
115122
|
-
step = new Numbers_Vector3 (
|
|
115123
|
-
translation = new Numbers_Vector3 (
|
|
115131
|
+
step = new Numbers_Vector3 (),
|
|
115132
|
+
translation = new Numbers_Vector3 ();
|
|
115124
115133
|
|
|
115125
115134
|
return function (event)
|
|
115126
115135
|
{
|
|
@@ -115248,8 +115257,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115248
115257
|
const
|
|
115249
115258
|
MOVE_ANGLE = 0.7,
|
|
115250
115259
|
ZOOM_ANGLE = -0.7,
|
|
115251
|
-
touch1Change = new Numbers_Vector2 (
|
|
115252
|
-
touch2Change = new Numbers_Vector2 (
|
|
115260
|
+
touch1Change = new Numbers_Vector2 (),
|
|
115261
|
+
touch2Change = new Numbers_Vector2 ();
|
|
115253
115262
|
|
|
115254
115263
|
return function (event)
|
|
115255
115264
|
{
|
|
@@ -115419,7 +115428,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115419
115428
|
|
|
115420
115429
|
this .axis .assign (axis);
|
|
115421
115430
|
|
|
115422
|
-
if (rotation .getAxis (new Numbers_Vector3 (
|
|
115431
|
+
if (rotation .getAxis (new Numbers_Vector3 ()) .dot (Numbers_Vector3 .yAxis) < 0 !== rotation .angle < 0)
|
|
115423
115432
|
this .axis .negate ();
|
|
115424
115433
|
|
|
115425
115434
|
this .timeSensor ._cycleInterval = Math .PI / (rotationChange .angle * SPIN_FACTOR * 30);
|
|
@@ -115439,8 +115448,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115439
115448
|
spin: (() =>
|
|
115440
115449
|
{
|
|
115441
115450
|
const
|
|
115442
|
-
direction = new Numbers_Vector3 (
|
|
115443
|
-
positionOffset = new Numbers_Vector3 (
|
|
115451
|
+
direction = new Numbers_Vector3 (),
|
|
115452
|
+
positionOffset = new Numbers_Vector3 (),
|
|
115444
115453
|
orientationOffset = new Numbers_Rotation4 (),
|
|
115445
115454
|
rotation = new Numbers_Rotation4 ();
|
|
115446
115455
|
|
|
@@ -115479,8 +115488,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115479
115488
|
addMove: (() =>
|
|
115480
115489
|
{
|
|
115481
115490
|
const
|
|
115482
|
-
positionOffset = new Numbers_Vector3 (
|
|
115483
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
115491
|
+
positionOffset = new Numbers_Vector3 (),
|
|
115492
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
115484
115493
|
|
|
115485
115494
|
return function (positionOffsetChange, centerOfRotationOffsetChange)
|
|
115486
115495
|
{
|
|
@@ -115530,8 +115539,8 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115530
115539
|
getPositionOffset: (() =>
|
|
115531
115540
|
{
|
|
115532
115541
|
const
|
|
115533
|
-
distance = new Numbers_Vector3 (
|
|
115534
|
-
d = new Numbers_Vector3 (
|
|
115542
|
+
distance = new Numbers_Vector3 (),
|
|
115543
|
+
d = new Numbers_Vector3 (),
|
|
115535
115544
|
oob = new Numbers_Rotation4 ();
|
|
115536
115545
|
|
|
115537
115546
|
return function (positionOffsetBefore, orientationOffsetBefore, orientationOffsetAfter)
|
|
@@ -115552,7 +115561,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115552
115561
|
const
|
|
115553
115562
|
userOrientation = new Numbers_Rotation4 (),
|
|
115554
115563
|
orientationOffset = new Numbers_Rotation4 (),
|
|
115555
|
-
zAxis = new Numbers_Vector3 (
|
|
115564
|
+
zAxis = new Numbers_Vector3 ();
|
|
115556
115565
|
|
|
115557
115566
|
return function (rotation, orientationOffsetBefore, _throw)
|
|
115558
115567
|
{
|
|
@@ -115593,7 +115602,7 @@ Object .assign (Object .setPrototypeOf (ExamineViewer .prototype, Navigation_X3D
|
|
|
115593
115602
|
})(),
|
|
115594
115603
|
getHorizonRotation: (() =>
|
|
115595
115604
|
{
|
|
115596
|
-
const zAxis = new Numbers_Vector3 (
|
|
115605
|
+
const zAxis = new Numbers_Vector3 ();
|
|
115597
115606
|
|
|
115598
115607
|
return function (rotation)
|
|
115599
115608
|
{
|
|
@@ -115654,8 +115663,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
115654
115663
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
115655
115664
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
115656
115665
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
115657
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
115658
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
115666
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(910);
|
|
115667
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(864);
|
|
115659
115668
|
/*******************************************************************************
|
|
115660
115669
|
*
|
|
115661
115670
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115739,9 +115748,9 @@ function X3DFlyViewer (executionContext, navigationInfo)
|
|
|
115739
115748
|
gl = browser .getContext ();
|
|
115740
115749
|
|
|
115741
115750
|
this .button = -1;
|
|
115742
|
-
this .fromVector = new Numbers_Vector3 (
|
|
115743
|
-
this .toVector = new Numbers_Vector3 (
|
|
115744
|
-
this .direction = new Numbers_Vector3 (
|
|
115751
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
115752
|
+
this .toVector = new Numbers_Vector3 ();
|
|
115753
|
+
this .direction = new Numbers_Vector3 ();
|
|
115745
115754
|
this .startTime = 0;
|
|
115746
115755
|
this .event = null;
|
|
115747
115756
|
this .lookAround = false;
|
|
@@ -116069,9 +116078,9 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116069
116078
|
fly: (() =>
|
|
116070
116079
|
{
|
|
116071
116080
|
const
|
|
116072
|
-
upVector = new Numbers_Vector3 (
|
|
116073
|
-
direction = new Numbers_Vector3 (
|
|
116074
|
-
axis = new Numbers_Vector3 (
|
|
116081
|
+
upVector = new Numbers_Vector3 (),
|
|
116082
|
+
direction = new Numbers_Vector3 (),
|
|
116083
|
+
axis = new Numbers_Vector3 (),
|
|
116075
116084
|
userOrientation = new Numbers_Rotation4 (),
|
|
116076
116085
|
orientationOffset = new Numbers_Rotation4 (),
|
|
116077
116086
|
rubberBandRotation = new Numbers_Rotation4 ();
|
|
@@ -116143,8 +116152,8 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116143
116152
|
pan: (() =>
|
|
116144
116153
|
{
|
|
116145
116154
|
const
|
|
116146
|
-
direction = new Numbers_Vector3 (
|
|
116147
|
-
axis = new Numbers_Vector3 (
|
|
116155
|
+
direction = new Numbers_Vector3 (),
|
|
116156
|
+
axis = new Numbers_Vector3 ();
|
|
116148
116157
|
|
|
116149
116158
|
return function ()
|
|
116150
116159
|
{
|
|
@@ -116285,10 +116294,10 @@ Object .assign (Object .setPrototypeOf (X3DFlyViewer .prototype, Navigation_X3DV
|
|
|
116285
116294
|
display: (() =>
|
|
116286
116295
|
{
|
|
116287
116296
|
const
|
|
116288
|
-
fromPoint = new Numbers_Vector3 (
|
|
116289
|
-
toPoint = new Numbers_Vector3 (
|
|
116290
|
-
normal = new Numbers_Vector3 (
|
|
116291
|
-
vertex = new Numbers_Vector3 (
|
|
116297
|
+
fromPoint = new Numbers_Vector3 (),
|
|
116298
|
+
toPoint = new Numbers_Vector3 (),
|
|
116299
|
+
normal = new Numbers_Vector3 (),
|
|
116300
|
+
vertex = new Numbers_Vector3 (),
|
|
116292
116301
|
projectionMatrix = new Numbers_Matrix4 (),
|
|
116293
116302
|
projectionMatrixArray = new Float32Array (Numbers_Matrix4 .Identity),
|
|
116294
116303
|
modelViewMatrixArray = new Float32Array (Numbers_Matrix4 .Identity),
|
|
@@ -116504,7 +116513,7 @@ Object .assign (Object .setPrototypeOf (WalkViewer .prototype, Navigation_X3DFly
|
|
|
116504
116513
|
getTranslationOffset: (() =>
|
|
116505
116514
|
{
|
|
116506
116515
|
const
|
|
116507
|
-
localYAxis = new Numbers_Vector3 (
|
|
116516
|
+
localYAxis = new Numbers_Vector3 (),
|
|
116508
116517
|
userOrientation = new Numbers_Rotation4 (),
|
|
116509
116518
|
rotation = new Numbers_Rotation4 ();
|
|
116510
116519
|
|
|
@@ -116664,8 +116673,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
116664
116673
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
116665
116674
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
116666
116675
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
116667
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
116668
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
116676
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(910);
|
|
116677
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(864);
|
|
116669
116678
|
/*******************************************************************************
|
|
116670
116679
|
*
|
|
116671
116680
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116729,15 +116738,15 @@ const PlaneViewer_SCROLL_FACTOR = PlaneViewer_macOS ? 1 / 160 : 1 / 20;
|
|
|
116729
116738
|
const
|
|
116730
116739
|
PlaneViewer_vector = new Numbers_Vector3 (0 ,0, 0),
|
|
116731
116740
|
positionOffset = new Numbers_Vector3 (0 ,0, 0),
|
|
116732
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
116741
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
116733
116742
|
|
|
116734
116743
|
function PlaneViewer (executionContext, navigationInfo)
|
|
116735
116744
|
{
|
|
116736
116745
|
Navigation_X3DViewer .call (this, executionContext, navigationInfo);
|
|
116737
116746
|
|
|
116738
116747
|
this .button = -1;
|
|
116739
|
-
this .fromPoint = new Numbers_Vector3 (
|
|
116740
|
-
this .toPoint = new Numbers_Vector3 (
|
|
116748
|
+
this .fromPoint = new Numbers_Vector3 ();
|
|
116749
|
+
this .toPoint = new Numbers_Vector3 ();
|
|
116741
116750
|
}
|
|
116742
116751
|
|
|
116743
116752
|
Object .assign (Object .setPrototypeOf (PlaneViewer .prototype, Navigation_X3DViewer .prototype),
|
|
@@ -116996,8 +117005,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
116996
117005
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
116997
117006
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
116998
117007
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
116999
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
117000
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
117008
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(910);
|
|
117009
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(864);
|
|
117001
117010
|
/*******************************************************************************
|
|
117002
117011
|
*
|
|
117003
117012
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117070,11 +117079,11 @@ function LookAtViewer (executionContext, navigationInfo)
|
|
|
117070
117079
|
Navigation_X3DViewer .call (this, executionContext, navigationInfo);
|
|
117071
117080
|
|
|
117072
117081
|
this .button = -1;
|
|
117073
|
-
this .fromVector = new Numbers_Vector3 (
|
|
117074
|
-
this .toVector = new Numbers_Vector3 (
|
|
117082
|
+
this .fromVector = new Numbers_Vector3 ();
|
|
117083
|
+
this .toVector = new Numbers_Vector3 ();
|
|
117075
117084
|
|
|
117076
|
-
this .touch1 = new Numbers_Vector2 (
|
|
117077
|
-
this .touch2 = new Numbers_Vector2 (
|
|
117085
|
+
this .touch1 = new Numbers_Vector2 ();
|
|
117086
|
+
this .touch2 = new Numbers_Vector2 ();
|
|
117078
117087
|
this .tapStart = 0;
|
|
117079
117088
|
this .dblTapInterval = 0.4;
|
|
117080
117089
|
|
|
@@ -117214,8 +117223,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117214
117223
|
mousewheel: (() =>
|
|
117215
117224
|
{
|
|
117216
117225
|
const
|
|
117217
|
-
step = new Numbers_Vector3 (
|
|
117218
|
-
translation = new Numbers_Vector3 (
|
|
117226
|
+
step = new Numbers_Vector3 (),
|
|
117227
|
+
translation = new Numbers_Vector3 ();
|
|
117219
117228
|
|
|
117220
117229
|
return function (event)
|
|
117221
117230
|
{
|
|
@@ -117315,8 +117324,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117315
117324
|
const
|
|
117316
117325
|
MOVE_ANGLE = 0.7,
|
|
117317
117326
|
ZOOM_ANGLE = -0.7,
|
|
117318
|
-
touch1Change = new Numbers_Vector2 (
|
|
117319
|
-
touch2Change = new Numbers_Vector2 (
|
|
117327
|
+
touch1Change = new Numbers_Vector2 (),
|
|
117328
|
+
touch2Change = new Numbers_Vector2 ();
|
|
117320
117329
|
|
|
117321
117330
|
return function (event)
|
|
117322
117331
|
{
|
|
@@ -117398,8 +117407,8 @@ Object .assign (Object .setPrototypeOf (LookAtViewer .prototype, Navigation_X3DV
|
|
|
117398
117407
|
addMove: (() =>
|
|
117399
117408
|
{
|
|
117400
117409
|
const
|
|
117401
|
-
positionOffset = new Numbers_Vector3 (
|
|
117402
|
-
centerOfRotationOffset = new Numbers_Vector3 (
|
|
117410
|
+
positionOffset = new Numbers_Vector3 (),
|
|
117411
|
+
centerOfRotationOffset = new Numbers_Vector3 ();
|
|
117403
117412
|
|
|
117404
117413
|
return function (positionOffsetChange, centerOfRotationOffsetChange)
|
|
117405
117414
|
{
|
|
@@ -118136,8 +118145,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
118136
118145
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
118137
118146
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
118138
118147
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
118139
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
118140
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
118148
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(910);
|
|
118149
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(864);
|
|
118141
118150
|
/*******************************************************************************
|
|
118142
118151
|
*
|
|
118143
118152
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118672,7 +118681,7 @@ function X3DPointingDeviceSensorContext ()
|
|
|
118672
118681
|
{
|
|
118673
118682
|
this [_pointingDevice] = new PointingDeviceSensor_PointingDevice (this .getPrivateScene ());
|
|
118674
118683
|
this [_pointingDeviceSensorNodes] = new Set ();
|
|
118675
|
-
this [_pointer] = new Numbers_Vector2 (
|
|
118684
|
+
this [_pointer] = new Numbers_Vector2 ();
|
|
118676
118685
|
this [_overSensors] = [ ];
|
|
118677
118686
|
this [_activeSensors] = [ ];
|
|
118678
118687
|
this [_pointingLayer] = null;
|
|
@@ -118688,9 +118697,9 @@ function X3DPointingDeviceSensorContext ()
|
|
|
118688
118697
|
sensors: [ ],
|
|
118689
118698
|
viewMatrix: new Numbers_Matrix4 (),
|
|
118690
118699
|
modelViewMatrix: new Numbers_Matrix4 (),
|
|
118691
|
-
point: new Numbers_Vector3 (
|
|
118692
|
-
normal: new Numbers_Vector3 (
|
|
118693
|
-
texCoord: new Numbers_Vector4 (
|
|
118700
|
+
point: new Numbers_Vector3 (),
|
|
118701
|
+
normal: new Numbers_Vector3 (),
|
|
118702
|
+
texCoord: new Numbers_Vector4 (),
|
|
118694
118703
|
layerNode: null,
|
|
118695
118704
|
shapeNode: null,
|
|
118696
118705
|
copy ()
|
|
@@ -119428,7 +119437,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
119428
119437
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
119429
119438
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
119430
119439
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
119431
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
119440
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(864);
|
|
119432
119441
|
/*******************************************************************************
|
|
119433
119442
|
*
|
|
119434
119443
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120309,8 +120318,11 @@ Object .assign (X3DSoundContext .prototype,
|
|
|
120309
120318
|
"keyup",
|
|
120310
120319
|
"mousedown",
|
|
120311
120320
|
"mouseup",
|
|
120321
|
+
"mousewheel",
|
|
120312
120322
|
"pointerup",
|
|
120313
120323
|
"touchend",
|
|
120324
|
+
"touchmove",
|
|
120325
|
+
"touchstart",
|
|
120314
120326
|
]
|
|
120315
120327
|
.map (event => `${event}.${id}`);
|
|
120316
120328
|
|
|
@@ -120326,7 +120338,7 @@ Object .assign (X3DSoundContext .prototype,
|
|
|
120326
120338
|
.then (disconnect)
|
|
120327
120339
|
.catch (connect);
|
|
120328
120340
|
|
|
120329
|
-
if (
|
|
120341
|
+
if (audioElement === this [_audioContext])
|
|
120330
120342
|
connect ();
|
|
120331
120343
|
},
|
|
120332
120344
|
});
|
|
@@ -120337,7 +120349,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
120337
120349
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
120338
120350
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
120339
120351
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
120340
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
120352
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(864);
|
|
120341
120353
|
const KTXDecoder_default_ = class KTXDecoder
|
|
120342
120354
|
{
|
|
120343
120355
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120887,7 +120899,7 @@ function X3DTimeContext ()
|
|
|
120887
120899
|
{
|
|
120888
120900
|
this [_currentTime] = Date .now () / 1000;
|
|
120889
120901
|
this [_currentFrameRate] = 60;
|
|
120890
|
-
this [_currentPosition] = new Numbers_Vector3 (
|
|
120902
|
+
this [_currentPosition] = new Numbers_Vector3 ();
|
|
120891
120903
|
this [_currentSpeed] = 0;
|
|
120892
120904
|
}
|
|
120893
120905
|
|
|
@@ -120907,7 +120919,7 @@ Object .assign (X3DTimeContext .prototype,
|
|
|
120907
120919
|
},
|
|
120908
120920
|
advanceTime: (() =>
|
|
120909
120921
|
{
|
|
120910
|
-
const lastPosition = new Numbers_Vector3 (
|
|
120922
|
+
const lastPosition = new Numbers_Vector3 ();
|
|
120911
120923
|
|
|
120912
120924
|
return function ()
|
|
120913
120925
|
{
|
|
@@ -121891,7 +121903,7 @@ const Components_default_ = Components;
|
|
|
121891
121903
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
121892
121904
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
121893
121905
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
121894
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
121906
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(864);
|
|
121895
121907
|
/*******************************************************************************
|
|
121896
121908
|
* MIT License
|
|
121897
121909
|
*
|
|
@@ -122183,8 +122195,10 @@ class DOMIntegration
|
|
|
122183
122195
|
|
|
122184
122196
|
const X3DElement = DOMIntegration_$.data (node .getInternalScene (), "X3D");
|
|
122185
122197
|
|
|
122186
|
-
if (X3DElement)
|
|
122187
|
-
|
|
122198
|
+
if (!X3DElement)
|
|
122199
|
+
break;
|
|
122200
|
+
|
|
122201
|
+
element .appendChild (X3DElement);
|
|
122188
122202
|
|
|
122189
122203
|
// Add Inline elements, and connect to node events.
|
|
122190
122204
|
|
|
@@ -123022,7 +123036,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
123022
123036
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
123023
123037
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
123024
123038
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
123025
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
123039
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(864);
|
|
123026
123040
|
/*******************************************************************************
|
|
123027
123041
|
*
|
|
123028
123042
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124114,7 +124128,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
124114
124128
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
124115
124129
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
124116
124130
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
124117
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
124131
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(864);
|
|
124118
124132
|
/*******************************************************************************
|
|
124119
124133
|
*
|
|
124120
124134
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124251,8 +124265,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
124251
124265
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
124252
124266
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
124253
124267
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
124254
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
124255
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
124268
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(864);
|
|
124269
|
+
/* provided dependency */ var pako = __webpack_require__(212);
|
|
124256
124270
|
Object .assign (jquery_$,
|
|
124257
124271
|
{
|
|
124258
124272
|
decodeText (input)
|
|
@@ -124329,14 +124343,14 @@ const jquery_default_ = jquery_$;
|
|
|
124329
124343
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
124330
124344
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
124331
124345
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
124332
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
124346
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(405);
|
|
124333
124347
|
const libtess_default_ = libtess_libtess;
|
|
124334
124348
|
;
|
|
124335
124349
|
|
|
124336
124350
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
124337
124351
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
124338
124352
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
124339
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
124353
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(864);
|
|
124340
124354
|
/*******************************************************************************
|
|
124341
124355
|
*
|
|
124342
124356
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124644,7 +124658,7 @@ Object .assign (X3D,
|
|
|
124644
124658
|
|
|
124645
124659
|
// Assign X3D to global namespace.
|
|
124646
124660
|
|
|
124647
|
-
window [Symbol .for ("X_ITE.X3D-9.4.
|
|
124661
|
+
window [Symbol .for ("X_ITE.X3D-9.4.2")] = x_ite_X3D;
|
|
124648
124662
|
|
|
124649
124663
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
124650
124664
|
|