x_ite 9.1.8 → 9.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -14
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +20 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -30
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +26 -27
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +8 -8
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +21197 -1694
- package/dist/x_ite.js +876 -870
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +876 -870
- package/dist/x_ite.zip +0 -0
- package/package.json +8 -4
package/dist/x_ite.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v9.1.
|
|
1
|
+
/* X_ITE v9.1.10 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 473:
|
|
4
4
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
5
5
|
|
|
6
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
6
|
+
/* provided dependency */ var jQuery = __webpack_require__(239);
|
|
7
7
|
/**
|
|
8
8
|
* @preserve jquery.fullscreen 1.1.5
|
|
9
9
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -199,7 +199,7 @@ installFullScreenHandlers();
|
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
|
-
/***/
|
|
202
|
+
/***/ 360:
|
|
203
203
|
/***/ ((module, exports, __webpack_require__) => {
|
|
204
204
|
|
|
205
205
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
213
213
|
(function (factory) {
|
|
214
214
|
if ( true ) {
|
|
215
215
|
// AMD. Register as an anonymous module.
|
|
216
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
216
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(239)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
217
217
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
218
218
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
219
219
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
424
424
|
|
|
425
425
|
/***/ }),
|
|
426
426
|
|
|
427
|
-
/***/
|
|
427
|
+
/***/ 239:
|
|
428
428
|
/***/ (function(module, exports) {
|
|
429
429
|
|
|
430
430
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11148,7 +11148,7 @@ return jQuery;
|
|
|
11148
11148
|
|
|
11149
11149
|
/***/ }),
|
|
11150
11150
|
|
|
11151
|
-
/***/
|
|
11151
|
+
/***/ 488:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 102:
|
|
15931
15931
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15932
15932
|
|
|
15933
15933
|
|
|
@@ -19172,7 +19172,7 @@ if (true) {
|
|
|
19172
19172
|
|
|
19173
19173
|
/***/ }),
|
|
19174
19174
|
|
|
19175
|
-
/***/
|
|
19175
|
+
/***/ 899:
|
|
19176
19176
|
/***/ (function(module, exports) {
|
|
19177
19177
|
|
|
19178
19178
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20299
20299
|
}
|
|
20300
20300
|
else
|
|
20301
20301
|
{
|
|
20302
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-9.1.
|
|
20302
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-9.1.10")];
|
|
20303
20303
|
|
|
20304
20304
|
if (X3D)
|
|
20305
20305
|
X3D [name] = module;
|
|
@@ -22995,8 +22995,8 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
22995
22995
|
{
|
|
22996
22996
|
if (this [_referencesCallbacks] .size)
|
|
22997
22997
|
{
|
|
22998
|
-
for (const
|
|
22999
|
-
|
|
22998
|
+
for (const callback of Utility_MapUtilities .values (referencesCallbacksTemp, this [_referencesCallbacks]))
|
|
22999
|
+
callback ();
|
|
23000
23000
|
}
|
|
23001
23001
|
};
|
|
23002
23002
|
})(),
|
|
@@ -23093,8 +23093,8 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
|
|
|
23093
23093
|
{
|
|
23094
23094
|
if (this [_routeCallbacks] .size)
|
|
23095
23095
|
{
|
|
23096
|
-
for (const
|
|
23097
|
-
|
|
23096
|
+
for (const callback of Utility_MapUtilities .values (routeCallbacksTemp, this [_routeCallbacks]))
|
|
23097
|
+
callback ();
|
|
23098
23098
|
}
|
|
23099
23099
|
};
|
|
23100
23100
|
})(),
|
|
@@ -24648,7 +24648,7 @@ x_ite_Namespace .add ("SFInt32", "x_ite/Fields/SFInt32", SFInt32_default_);
|
|
|
24648
24648
|
|
|
24649
24649
|
|
|
24650
24650
|
|
|
24651
|
-
function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix,
|
|
24651
|
+
function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, double)
|
|
24652
24652
|
{
|
|
24653
24653
|
const _formatter = double ? "DoubleFormat" : "FloatFormat";
|
|
24654
24654
|
|
|
@@ -24760,19 +24760,19 @@ function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, SFVec, double
|
|
|
24760
24760
|
},
|
|
24761
24761
|
multVecMatrix (vector)
|
|
24762
24762
|
{
|
|
24763
|
-
return new
|
|
24763
|
+
return new (vector .constructor) (this .getValue () .multVecMatrix (vector .getValue () .copy ()));
|
|
24764
24764
|
},
|
|
24765
24765
|
multMatrixVec (vector)
|
|
24766
24766
|
{
|
|
24767
|
-
return new
|
|
24767
|
+
return new (vector .constructor) (this .getValue () .multMatrixVec (vector .getValue () .copy ()));
|
|
24768
24768
|
},
|
|
24769
24769
|
multDirMatrix (vector)
|
|
24770
24770
|
{
|
|
24771
|
-
return new
|
|
24771
|
+
return new (vector .constructor) (this .getValue () .multDirMatrix (vector .getValue () .copy ()));
|
|
24772
24772
|
},
|
|
24773
24773
|
multMatrixDir (vector)
|
|
24774
24774
|
{
|
|
24775
|
-
return new
|
|
24775
|
+
return new (vector .constructor) (this .getValue () .multMatrixDir (vector .getValue () .copy ()));
|
|
24776
24776
|
},
|
|
24777
24777
|
toStream (generator)
|
|
24778
24778
|
{
|
|
@@ -24829,212 +24829,6 @@ const SFMatrixPrototypeTemplate_default_ = SFMatrixPrototypeTemplate;
|
|
|
24829
24829
|
|
|
24830
24830
|
x_ite_Namespace .add ("SFMatrixPrototypeTemplate", "x_ite/Fields/SFMatrixPrototypeTemplate", SFMatrixPrototypeTemplate_default_);
|
|
24831
24831
|
/* harmony default export */ const Fields_SFMatrixPrototypeTemplate = (SFMatrixPrototypeTemplate_default_);
|
|
24832
|
-
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVecPrototypeTemplate.js
|
|
24833
|
-
/*******************************************************************************
|
|
24834
|
-
*
|
|
24835
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
24836
|
-
*
|
|
24837
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
24838
|
-
*
|
|
24839
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
24840
|
-
*
|
|
24841
|
-
* The copyright notice above does not evidence any actual of intended
|
|
24842
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
24843
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
24844
|
-
* create3000.
|
|
24845
|
-
*
|
|
24846
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
24847
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
24848
|
-
* permission of create3000.
|
|
24849
|
-
*
|
|
24850
|
-
* NON-MILITARY USE ONLY
|
|
24851
|
-
*
|
|
24852
|
-
* All create3000 software are effectively free software with a non-military use
|
|
24853
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
24854
|
-
* source in any way you please with the exception anything that uses it must be
|
|
24855
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
24856
|
-
*
|
|
24857
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
24858
|
-
*
|
|
24859
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
24860
|
-
*
|
|
24861
|
-
* This file is part of the X_ITE Project.
|
|
24862
|
-
*
|
|
24863
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
24864
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
24865
|
-
* Free Software Foundation.
|
|
24866
|
-
*
|
|
24867
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
24868
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
24869
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
24870
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
24871
|
-
*
|
|
24872
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
24873
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
24874
|
-
* copy of the GPLv3 License.
|
|
24875
|
-
*
|
|
24876
|
-
* For Silvio, Joy and Adi.
|
|
24877
|
-
*
|
|
24878
|
-
******************************************************************************/
|
|
24879
|
-
|
|
24880
|
-
|
|
24881
|
-
|
|
24882
|
-
function SFVecPrototypeTemplate (Constructor, TypeName, Vector, double)
|
|
24883
|
-
{
|
|
24884
|
-
const _formatter = double ? "DoubleFormat" : "FloatFormat";
|
|
24885
|
-
|
|
24886
|
-
Object .defineProperties (Constructor,
|
|
24887
|
-
{
|
|
24888
|
-
typeName:
|
|
24889
|
-
{
|
|
24890
|
-
value: TypeName,
|
|
24891
|
-
enumerable: true,
|
|
24892
|
-
},
|
|
24893
|
-
});
|
|
24894
|
-
|
|
24895
|
-
return Object .assign (Object .setPrototypeOf (Constructor .prototype, Base_X3DField .prototype),
|
|
24896
|
-
{
|
|
24897
|
-
*[Symbol .iterator] ()
|
|
24898
|
-
{
|
|
24899
|
-
yield* this .getValue ();
|
|
24900
|
-
},
|
|
24901
|
-
copy ()
|
|
24902
|
-
{
|
|
24903
|
-
return new (this .constructor) (this .getValue () .copy ());
|
|
24904
|
-
},
|
|
24905
|
-
equals (vector)
|
|
24906
|
-
{
|
|
24907
|
-
return this .getValue () .equals (vector .getValue ());
|
|
24908
|
-
},
|
|
24909
|
-
isDefaultValue ()
|
|
24910
|
-
{
|
|
24911
|
-
return this .getValue () .equals (Vector .Zero);
|
|
24912
|
-
},
|
|
24913
|
-
set (value)
|
|
24914
|
-
{
|
|
24915
|
-
this .getValue () .assign (value);
|
|
24916
|
-
},
|
|
24917
|
-
abs ()
|
|
24918
|
-
{
|
|
24919
|
-
return new (this .constructor) (this .getValue () .copy () .abs ());
|
|
24920
|
-
},
|
|
24921
|
-
add (vector)
|
|
24922
|
-
{
|
|
24923
|
-
return new (this .constructor) (this .getValue () .copy () .add (vector .getValue ()));
|
|
24924
|
-
},
|
|
24925
|
-
distance (vector)
|
|
24926
|
-
{
|
|
24927
|
-
return this .getValue () .distance (vector .getValue ());
|
|
24928
|
-
},
|
|
24929
|
-
divide (value)
|
|
24930
|
-
{
|
|
24931
|
-
return new (this .constructor) (this .getValue () .copy () .divide (value));
|
|
24932
|
-
},
|
|
24933
|
-
divVec (vector)
|
|
24934
|
-
{
|
|
24935
|
-
return new (this .constructor) (this .getValue () .copy () .divVec (vector .getValue ()));
|
|
24936
|
-
},
|
|
24937
|
-
dot (vector)
|
|
24938
|
-
{
|
|
24939
|
-
return this .getValue () .dot (vector .getValue ());
|
|
24940
|
-
},
|
|
24941
|
-
inverse ()
|
|
24942
|
-
{
|
|
24943
|
-
return new (this .constructor) (this .getValue () .copy () .inverse ());
|
|
24944
|
-
},
|
|
24945
|
-
length ()
|
|
24946
|
-
{
|
|
24947
|
-
return this .getValue () .magnitude ();
|
|
24948
|
-
},
|
|
24949
|
-
lerp (destination, t)
|
|
24950
|
-
{
|
|
24951
|
-
return new (this .constructor) (this .getValue () .copy () .lerp (destination, t));
|
|
24952
|
-
},
|
|
24953
|
-
max (vector)
|
|
24954
|
-
{
|
|
24955
|
-
return new (this .constructor) (this .getValue () .copy () .max (vector .getValue ()));
|
|
24956
|
-
},
|
|
24957
|
-
min (vector)
|
|
24958
|
-
{
|
|
24959
|
-
return new (this .constructor) (this .getValue () .copy () .min (vector .getValue ()));
|
|
24960
|
-
},
|
|
24961
|
-
multiply (value)
|
|
24962
|
-
{
|
|
24963
|
-
return new (this .constructor) (this .getValue () .copy () .multiply (value));
|
|
24964
|
-
},
|
|
24965
|
-
multVec (vector)
|
|
24966
|
-
{
|
|
24967
|
-
return new (this .constructor) (this .getValue () .copy () .multVec (vector .getValue ()));
|
|
24968
|
-
},
|
|
24969
|
-
negate ()
|
|
24970
|
-
{
|
|
24971
|
-
return new (this .constructor) (this .getValue () .copy () .negate ());
|
|
24972
|
-
},
|
|
24973
|
-
normalize (vector)
|
|
24974
|
-
{
|
|
24975
|
-
return new (this .constructor) (this .getValue () .copy () .normalize ());
|
|
24976
|
-
},
|
|
24977
|
-
subtract (vector)
|
|
24978
|
-
{
|
|
24979
|
-
return new (this .constructor) (this .getValue () .copy () .subtract (vector .getValue ()));
|
|
24980
|
-
},
|
|
24981
|
-
toStream (generator)
|
|
24982
|
-
{
|
|
24983
|
-
const
|
|
24984
|
-
value = this .getValue (),
|
|
24985
|
-
last = value .length - 1,
|
|
24986
|
-
category = generator .Unit (this .getUnit ());
|
|
24987
|
-
|
|
24988
|
-
for (let i = 0; i < last; ++ i)
|
|
24989
|
-
{
|
|
24990
|
-
generator .string += generator [_formatter] (generator .ToUnit (category, value [i]));
|
|
24991
|
-
generator .string += generator .Space ();
|
|
24992
|
-
}
|
|
24993
|
-
|
|
24994
|
-
generator .string += generator [_formatter] (generator .ToUnit (category, value [last]));
|
|
24995
|
-
},
|
|
24996
|
-
toVRMLStream (generator)
|
|
24997
|
-
{
|
|
24998
|
-
this .toStream (generator);
|
|
24999
|
-
},
|
|
25000
|
-
toXMLStream (generator)
|
|
25001
|
-
{
|
|
25002
|
-
this .toStream (generator);
|
|
25003
|
-
},
|
|
25004
|
-
toJSONStream (generator)
|
|
25005
|
-
{
|
|
25006
|
-
generator .string += '[';
|
|
25007
|
-
generator .string += generator .TidySpace ();
|
|
25008
|
-
|
|
25009
|
-
this .toJSONStreamValue (generator);
|
|
25010
|
-
|
|
25011
|
-
generator .string += generator .TidySpace ();
|
|
25012
|
-
generator .string += ']';
|
|
25013
|
-
},
|
|
25014
|
-
toJSONStreamValue (generator)
|
|
25015
|
-
{
|
|
25016
|
-
const
|
|
25017
|
-
value = this .getValue (),
|
|
25018
|
-
last = value .length - 1,
|
|
25019
|
-
category = generator .Unit (this .getUnit ());
|
|
25020
|
-
|
|
25021
|
-
for (let i = 0; i < last; ++ i)
|
|
25022
|
-
{
|
|
25023
|
-
generator .string += generator .JSONNumber (generator [_formatter] (generator .ToUnit (category, value [i])));
|
|
25024
|
-
generator .string += ',';
|
|
25025
|
-
generator .string += generator .TidySpace ();
|
|
25026
|
-
}
|
|
25027
|
-
|
|
25028
|
-
generator .string += generator .JSONNumber (generator [_formatter] (generator .ToUnit (category, value [last])));
|
|
25029
|
-
},
|
|
25030
|
-
});
|
|
25031
|
-
}
|
|
25032
|
-
|
|
25033
|
-
const SFVecPrototypeTemplate_default_ = SFVecPrototypeTemplate;
|
|
25034
|
-
;
|
|
25035
|
-
|
|
25036
|
-
x_ite_Namespace .add ("SFVecPrototypeTemplate", "x_ite/Fields/SFVecPrototypeTemplate", SFVecPrototypeTemplate_default_);
|
|
25037
|
-
/* harmony default export */ const Fields_SFVecPrototypeTemplate = (SFVecPrototypeTemplate_default_);
|
|
25038
24832
|
;// CONCATENATED MODULE: ./src/standard/Math/Numbers/Vector2.js
|
|
25039
24833
|
/*******************************************************************************
|
|
25040
24834
|
*
|
|
@@ -25278,131 +25072,6 @@ const Vector2_default_ = Vector2;
|
|
|
25278
25072
|
|
|
25279
25073
|
x_ite_Namespace .add ("Vector2", "standard/Math/Numbers/Vector2", Vector2_default_);
|
|
25280
25074
|
/* harmony default export */ const Numbers_Vector2 = (Vector2_default_);
|
|
25281
|
-
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVec2.js
|
|
25282
|
-
/*******************************************************************************
|
|
25283
|
-
*
|
|
25284
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
25285
|
-
*
|
|
25286
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
25287
|
-
*
|
|
25288
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
25289
|
-
*
|
|
25290
|
-
* The copyright notice above does not evidence any actual of intended
|
|
25291
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
25292
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
25293
|
-
* create3000.
|
|
25294
|
-
*
|
|
25295
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
25296
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
25297
|
-
* permission of create3000.
|
|
25298
|
-
*
|
|
25299
|
-
* NON-MILITARY USE ONLY
|
|
25300
|
-
*
|
|
25301
|
-
* All create3000 software are effectively free software with a non-military use
|
|
25302
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
25303
|
-
* source in any way you please with the exception anything that uses it must be
|
|
25304
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
25305
|
-
*
|
|
25306
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
25307
|
-
*
|
|
25308
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
25309
|
-
*
|
|
25310
|
-
* This file is part of the X_ITE Project.
|
|
25311
|
-
*
|
|
25312
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
25313
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
25314
|
-
* Free Software Foundation.
|
|
25315
|
-
*
|
|
25316
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
25317
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
25318
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
25319
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
25320
|
-
*
|
|
25321
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
25322
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
25323
|
-
* copy of the GPLv3 License.
|
|
25324
|
-
*
|
|
25325
|
-
* For Silvio, Joy and Adi.
|
|
25326
|
-
*
|
|
25327
|
-
******************************************************************************/
|
|
25328
|
-
|
|
25329
|
-
|
|
25330
|
-
|
|
25331
|
-
|
|
25332
|
-
|
|
25333
|
-
function SFVec2Template (TypeName, double)
|
|
25334
|
-
{
|
|
25335
|
-
function SFVec2 (x, y)
|
|
25336
|
-
{
|
|
25337
|
-
switch (arguments .length)
|
|
25338
|
-
{
|
|
25339
|
-
case 0:
|
|
25340
|
-
Base_X3DField .call (this, new Numbers_Vector2 (0, 0));
|
|
25341
|
-
break;
|
|
25342
|
-
|
|
25343
|
-
case 1:
|
|
25344
|
-
Base_X3DField .call (this, arguments [0]);
|
|
25345
|
-
break;
|
|
25346
|
-
|
|
25347
|
-
case 2:
|
|
25348
|
-
Base_X3DField .call (this, new Numbers_Vector2 (+x, +y));
|
|
25349
|
-
break;
|
|
25350
|
-
|
|
25351
|
-
default:
|
|
25352
|
-
throw new Error ("Invalid arguments.");
|
|
25353
|
-
}
|
|
25354
|
-
}
|
|
25355
|
-
|
|
25356
|
-
Fields_SFVecPrototypeTemplate (SFVec2, TypeName, Numbers_Vector2, double);
|
|
25357
|
-
|
|
25358
|
-
for (const key of Object .keys (SFVec2 .prototype))
|
|
25359
|
-
Object .defineProperty (SFVec2 .prototype, key, { enumerable: false });
|
|
25360
|
-
|
|
25361
|
-
const x = {
|
|
25362
|
-
get ()
|
|
25363
|
-
{
|
|
25364
|
-
return this .getValue () .x;
|
|
25365
|
-
},
|
|
25366
|
-
set (value)
|
|
25367
|
-
{
|
|
25368
|
-
this .getValue () .x = +value;
|
|
25369
|
-
this .addEvent ();
|
|
25370
|
-
},
|
|
25371
|
-
};
|
|
25372
|
-
|
|
25373
|
-
const y = {
|
|
25374
|
-
get ()
|
|
25375
|
-
{
|
|
25376
|
-
return this .getValue () .y;
|
|
25377
|
-
},
|
|
25378
|
-
set (value)
|
|
25379
|
-
{
|
|
25380
|
-
this .getValue () .y = +value;
|
|
25381
|
-
this .addEvent ();
|
|
25382
|
-
},
|
|
25383
|
-
};
|
|
25384
|
-
|
|
25385
|
-
Object .defineProperties (SFVec2 .prototype,
|
|
25386
|
-
{
|
|
25387
|
-
0: x,
|
|
25388
|
-
1: y,
|
|
25389
|
-
x: Object .assign ({ enumerable: true }, x),
|
|
25390
|
-
y: Object .assign ({ enumerable: true }, y),
|
|
25391
|
-
});
|
|
25392
|
-
|
|
25393
|
-
return SFVec2;
|
|
25394
|
-
}
|
|
25395
|
-
|
|
25396
|
-
const SFVec2 = {
|
|
25397
|
-
SFVec2d: SFVec2Template ("SFVec2d", true),
|
|
25398
|
-
SFVec2f: SFVec2Template ("SFVec2f", false),
|
|
25399
|
-
};
|
|
25400
|
-
|
|
25401
|
-
const SFVec2_default_ = SFVec2;
|
|
25402
|
-
;
|
|
25403
|
-
|
|
25404
|
-
x_ite_Namespace .add ("SFVec2", "x_ite/Fields/SFVec2", SFVec2_default_);
|
|
25405
|
-
/* harmony default export */ const Fields_SFVec2 = (SFVec2_default_);
|
|
25406
25075
|
;// CONCATENATED MODULE: ./src/standard/Math/Numbers/Vector3.js
|
|
25407
25076
|
/*******************************************************************************
|
|
25408
25077
|
*
|
|
@@ -26906,8 +26575,7 @@ x_ite_Namespace .add ("Matrix3", "standard/Math/Numbers/Matrix3", Matrix3_defaul
|
|
|
26906
26575
|
|
|
26907
26576
|
|
|
26908
26577
|
|
|
26909
|
-
|
|
26910
|
-
function SFMatrix3Template (TypeName, SFVec2, double)
|
|
26578
|
+
function SFMatrix3Template (TypeName, double)
|
|
26911
26579
|
{
|
|
26912
26580
|
function SFMatrix3 (m00, m01, m02,
|
|
26913
26581
|
m10, m11, m12,
|
|
@@ -26949,7 +26617,7 @@ function SFMatrix3Template (TypeName, SFVec2, double)
|
|
|
26949
26617
|
}
|
|
26950
26618
|
}
|
|
26951
26619
|
|
|
26952
|
-
Object .assign (Fields_SFMatrixPrototypeTemplate (SFMatrix3, TypeName, Numbers_Matrix3,
|
|
26620
|
+
Object .assign (Fields_SFMatrixPrototypeTemplate (SFMatrix3, TypeName, Numbers_Matrix3, double),
|
|
26953
26621
|
{
|
|
26954
26622
|
setTransform: (function ()
|
|
26955
26623
|
{
|
|
@@ -27005,8 +26673,8 @@ function SFMatrix3Template (TypeName, SFVec2, double)
|
|
|
27005
26673
|
}
|
|
27006
26674
|
|
|
27007
26675
|
const SFMatrix3 = {
|
|
27008
|
-
SFMatrix3d: SFMatrix3Template ("SFMatrix3d",
|
|
27009
|
-
SFMatrix3f: SFMatrix3Template ("SFMatrix3f",
|
|
26676
|
+
SFMatrix3d: SFMatrix3Template ("SFMatrix3d", true),
|
|
26677
|
+
SFMatrix3f: SFMatrix3Template ("SFMatrix3f", false),
|
|
27010
26678
|
};
|
|
27011
26679
|
|
|
27012
26680
|
const SFMatrix3_default_ = SFMatrix3;
|
|
@@ -27014,151 +26682,6 @@ const SFMatrix3_default_ = SFMatrix3;
|
|
|
27014
26682
|
|
|
27015
26683
|
x_ite_Namespace .add ("SFMatrix3", "x_ite/Fields/SFMatrix3", SFMatrix3_default_);
|
|
27016
26684
|
/* harmony default export */ const Fields_SFMatrix3 = (SFMatrix3_default_);
|
|
27017
|
-
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVec3.js
|
|
27018
|
-
/*******************************************************************************
|
|
27019
|
-
*
|
|
27020
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
27021
|
-
*
|
|
27022
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
27023
|
-
*
|
|
27024
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
27025
|
-
*
|
|
27026
|
-
* The copyright notice above does not evidence any actual of intended
|
|
27027
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
27028
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
27029
|
-
* create3000.
|
|
27030
|
-
*
|
|
27031
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
27032
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
27033
|
-
* permission of create3000.
|
|
27034
|
-
*
|
|
27035
|
-
* NON-MILITARY USE ONLY
|
|
27036
|
-
*
|
|
27037
|
-
* All create3000 software are effectively free software with a non-military use
|
|
27038
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
27039
|
-
* source in any way you please with the exception anything that uses it must be
|
|
27040
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
27041
|
-
*
|
|
27042
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
27043
|
-
*
|
|
27044
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
27045
|
-
*
|
|
27046
|
-
* This file is part of the X_ITE Project.
|
|
27047
|
-
*
|
|
27048
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
27049
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
27050
|
-
* Free Software Foundation.
|
|
27051
|
-
*
|
|
27052
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
27053
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
27054
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
27055
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
27056
|
-
*
|
|
27057
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
27058
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
27059
|
-
* copy of the GPLv3 License.
|
|
27060
|
-
*
|
|
27061
|
-
* For Silvio, Joy and Adi.
|
|
27062
|
-
*
|
|
27063
|
-
******************************************************************************/
|
|
27064
|
-
|
|
27065
|
-
|
|
27066
|
-
|
|
27067
|
-
|
|
27068
|
-
|
|
27069
|
-
function SFVec3Template (TypeName, double)
|
|
27070
|
-
{
|
|
27071
|
-
function SFVec3 (x, y, z)
|
|
27072
|
-
{
|
|
27073
|
-
switch (arguments .length)
|
|
27074
|
-
{
|
|
27075
|
-
case 0:
|
|
27076
|
-
Base_X3DField .call (this, new Numbers_Vector3 (0, 0, 0));
|
|
27077
|
-
break;
|
|
27078
|
-
|
|
27079
|
-
case 1:
|
|
27080
|
-
Base_X3DField .call (this, arguments [0]);
|
|
27081
|
-
break;
|
|
27082
|
-
|
|
27083
|
-
case 3:
|
|
27084
|
-
Base_X3DField .call (this, new Numbers_Vector3 (+x, +y, +z));
|
|
27085
|
-
break;
|
|
27086
|
-
|
|
27087
|
-
default:
|
|
27088
|
-
throw new Error ("Invalid arguments.");
|
|
27089
|
-
}
|
|
27090
|
-
}
|
|
27091
|
-
|
|
27092
|
-
Object .assign (Fields_SFVecPrototypeTemplate (SFVec3, TypeName, Numbers_Vector3, double),
|
|
27093
|
-
{
|
|
27094
|
-
cross (vector)
|
|
27095
|
-
{
|
|
27096
|
-
return new (this .constructor) (this .getValue () .copy () .cross (vector .getValue ()));
|
|
27097
|
-
},
|
|
27098
|
-
});
|
|
27099
|
-
|
|
27100
|
-
for (const key of Object .keys (SFVec3 .prototype))
|
|
27101
|
-
Object .defineProperty (SFVec3 .prototype, key, { enumerable: false });
|
|
27102
|
-
|
|
27103
|
-
const x = {
|
|
27104
|
-
get ()
|
|
27105
|
-
{
|
|
27106
|
-
return this .getValue () .x;
|
|
27107
|
-
},
|
|
27108
|
-
set (value)
|
|
27109
|
-
{
|
|
27110
|
-
this .getValue () .x = +value;
|
|
27111
|
-
this .addEvent ();
|
|
27112
|
-
},
|
|
27113
|
-
};
|
|
27114
|
-
|
|
27115
|
-
const y = {
|
|
27116
|
-
get ()
|
|
27117
|
-
{
|
|
27118
|
-
return this .getValue () .y;
|
|
27119
|
-
},
|
|
27120
|
-
set (value)
|
|
27121
|
-
{
|
|
27122
|
-
this .getValue () .y = +value;
|
|
27123
|
-
this .addEvent ();
|
|
27124
|
-
},
|
|
27125
|
-
};
|
|
27126
|
-
|
|
27127
|
-
const z = {
|
|
27128
|
-
get ()
|
|
27129
|
-
{
|
|
27130
|
-
return this .getValue () .z;
|
|
27131
|
-
},
|
|
27132
|
-
set (value)
|
|
27133
|
-
{
|
|
27134
|
-
this .getValue () .z = +value;
|
|
27135
|
-
this .addEvent ();
|
|
27136
|
-
},
|
|
27137
|
-
};
|
|
27138
|
-
|
|
27139
|
-
Object .defineProperties (SFVec3 .prototype,
|
|
27140
|
-
{
|
|
27141
|
-
0: x,
|
|
27142
|
-
1: y,
|
|
27143
|
-
2: z,
|
|
27144
|
-
x: Object .assign ({ enumerable: true }, x),
|
|
27145
|
-
y: Object .assign ({ enumerable: true }, y),
|
|
27146
|
-
z: Object .assign ({ enumerable: true }, z),
|
|
27147
|
-
});
|
|
27148
|
-
|
|
27149
|
-
return SFVec3;
|
|
27150
|
-
}
|
|
27151
|
-
|
|
27152
|
-
const SFVec3 = {
|
|
27153
|
-
SFVec3d: SFVec3Template ("SFVec3d", true),
|
|
27154
|
-
SFVec3f: SFVec3Template ("SFVec3f", false),
|
|
27155
|
-
};
|
|
27156
|
-
|
|
27157
|
-
const SFVec3_default_ = SFVec3;
|
|
27158
|
-
;
|
|
27159
|
-
|
|
27160
|
-
x_ite_Namespace .add ("SFVec3", "x_ite/Fields/SFVec3", SFVec3_default_);
|
|
27161
|
-
/* harmony default export */ const Fields_SFVec3 = (SFVec3_default_);
|
|
27162
26685
|
;// CONCATENATED MODULE: ./src/standard/Math/Numbers/Vector4.js
|
|
27163
26686
|
/*******************************************************************************
|
|
27164
26687
|
*
|
|
@@ -29474,8 +28997,7 @@ x_ite_Namespace .add ("Matrix4", "standard/Math/Numbers/Matrix4", Matrix4_defaul
|
|
|
29474
28997
|
|
|
29475
28998
|
|
|
29476
28999
|
|
|
29477
|
-
|
|
29478
|
-
function SFMatrix4Template (TypeName, SFVec3, double)
|
|
29000
|
+
function SFMatrix4Template (TypeName, double)
|
|
29479
29001
|
{
|
|
29480
29002
|
function SFMatrix4 (m00, m01, m02, m03,
|
|
29481
29003
|
m10, m11, m12, m13,
|
|
@@ -29521,7 +29043,7 @@ function SFMatrix4Template (TypeName, SFVec3, double)
|
|
|
29521
29043
|
}
|
|
29522
29044
|
}
|
|
29523
29045
|
|
|
29524
|
-
Fields_SFMatrixPrototypeTemplate (SFMatrix4, TypeName, Numbers_Matrix4,
|
|
29046
|
+
Fields_SFMatrixPrototypeTemplate (SFMatrix4, TypeName, Numbers_Matrix4, double);
|
|
29525
29047
|
|
|
29526
29048
|
for (const key of Object .keys (SFMatrix4 .prototype))
|
|
29527
29049
|
Object .defineProperty (SFMatrix4 .prototype, key, { enumerable: false });
|
|
@@ -29550,9 +29072,9 @@ function SFMatrix4Template (TypeName, SFVec3, double)
|
|
|
29550
29072
|
}
|
|
29551
29073
|
|
|
29552
29074
|
const SFMatrix4 = {
|
|
29553
|
-
SFMatrix4d: SFMatrix4Template ("SFMatrix4d",
|
|
29554
|
-
SFMatrix4f: SFMatrix4Template ("SFMatrix4f",
|
|
29555
|
-
VrmlMatrix: SFMatrix4Template ("VrmlMatrix",
|
|
29075
|
+
SFMatrix4d: SFMatrix4Template ("SFMatrix4d", true),
|
|
29076
|
+
SFMatrix4f: SFMatrix4Template ("SFMatrix4f", false),
|
|
29077
|
+
VrmlMatrix: SFMatrix4Template ("VrmlMatrix", false),
|
|
29556
29078
|
};
|
|
29557
29079
|
|
|
29558
29080
|
const SFMatrix4_default_ = SFMatrix4;
|
|
@@ -29905,8 +29427,7 @@ Object .assign (Object .setPrototypeOf (SFNode .prototype, Base_X3DField .protot
|
|
|
29905
29427
|
target = this [_target],
|
|
29906
29428
|
current = target .getValue ();
|
|
29907
29429
|
|
|
29908
|
-
|
|
29909
|
-
current .removeParent (target [_proxy]);
|
|
29430
|
+
current ?.removeParent (target [_proxy]);
|
|
29910
29431
|
|
|
29911
29432
|
// No need to test for X3DBaseNode, because there is a special version of SFNode in Script.
|
|
29912
29433
|
|
|
@@ -29997,7 +29518,7 @@ Object .assign (Object .setPrototypeOf (SFNode .prototype, Base_X3DField .protot
|
|
|
29997
29518
|
{
|
|
29998
29519
|
return Base_X3DField .prototype .addFieldCallback .apply (target, arguments);
|
|
29999
29520
|
}
|
|
30000
|
-
case 3:
|
|
29521
|
+
case 3: // Depreciated
|
|
30001
29522
|
{
|
|
30002
29523
|
const value = target .getValue ();
|
|
30003
29524
|
|
|
@@ -30018,7 +29539,7 @@ Object .assign (Object .setPrototypeOf (SFNode .prototype, Base_X3DField .protot
|
|
|
30018
29539
|
{
|
|
30019
29540
|
return Base_X3DField .prototype .removeFieldCallback .apply (target, arguments);
|
|
30020
29541
|
}
|
|
30021
|
-
case 2:
|
|
29542
|
+
case 2: // Depreciated
|
|
30022
29543
|
{
|
|
30023
29544
|
const value = target .getValue ();
|
|
30024
29545
|
|
|
@@ -30140,6 +29661,357 @@ const SFNode_default_ = SFNode;
|
|
|
30140
29661
|
|
|
30141
29662
|
x_ite_Namespace .add ("SFNode", "x_ite/Fields/SFNode", SFNode_default_);
|
|
30142
29663
|
/* harmony default export */ const Fields_SFNode = (SFNode_default_);
|
|
29664
|
+
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVecPrototypeTemplate.js
|
|
29665
|
+
/*******************************************************************************
|
|
29666
|
+
*
|
|
29667
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
29668
|
+
*
|
|
29669
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
29670
|
+
*
|
|
29671
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
29672
|
+
*
|
|
29673
|
+
* The copyright notice above does not evidence any actual of intended
|
|
29674
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
29675
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
29676
|
+
* create3000.
|
|
29677
|
+
*
|
|
29678
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
29679
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
29680
|
+
* permission of create3000.
|
|
29681
|
+
*
|
|
29682
|
+
* NON-MILITARY USE ONLY
|
|
29683
|
+
*
|
|
29684
|
+
* All create3000 software are effectively free software with a non-military use
|
|
29685
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
29686
|
+
* source in any way you please with the exception anything that uses it must be
|
|
29687
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
29688
|
+
*
|
|
29689
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
29690
|
+
*
|
|
29691
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
29692
|
+
*
|
|
29693
|
+
* This file is part of the X_ITE Project.
|
|
29694
|
+
*
|
|
29695
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
29696
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
29697
|
+
* Free Software Foundation.
|
|
29698
|
+
*
|
|
29699
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
29700
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
29701
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
29702
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
29703
|
+
*
|
|
29704
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
29705
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
29706
|
+
* copy of the GPLv3 License.
|
|
29707
|
+
*
|
|
29708
|
+
* For Silvio, Joy and Adi.
|
|
29709
|
+
*
|
|
29710
|
+
******************************************************************************/
|
|
29711
|
+
|
|
29712
|
+
|
|
29713
|
+
|
|
29714
|
+
function SFVecPrototypeTemplate (Constructor, TypeName, Vector, double)
|
|
29715
|
+
{
|
|
29716
|
+
const _formatter = double ? "DoubleFormat" : "FloatFormat";
|
|
29717
|
+
|
|
29718
|
+
Object .defineProperties (Constructor,
|
|
29719
|
+
{
|
|
29720
|
+
typeName:
|
|
29721
|
+
{
|
|
29722
|
+
value: TypeName,
|
|
29723
|
+
enumerable: true,
|
|
29724
|
+
},
|
|
29725
|
+
});
|
|
29726
|
+
|
|
29727
|
+
return Object .assign (Object .setPrototypeOf (Constructor .prototype, Base_X3DField .prototype),
|
|
29728
|
+
{
|
|
29729
|
+
*[Symbol .iterator] ()
|
|
29730
|
+
{
|
|
29731
|
+
yield* this .getValue ();
|
|
29732
|
+
},
|
|
29733
|
+
copy ()
|
|
29734
|
+
{
|
|
29735
|
+
return new (this .constructor) (this .getValue () .copy ());
|
|
29736
|
+
},
|
|
29737
|
+
equals (vector)
|
|
29738
|
+
{
|
|
29739
|
+
return this .getValue () .equals (vector .getValue ());
|
|
29740
|
+
},
|
|
29741
|
+
isDefaultValue ()
|
|
29742
|
+
{
|
|
29743
|
+
return this .getValue () .equals (Vector .Zero);
|
|
29744
|
+
},
|
|
29745
|
+
set (value)
|
|
29746
|
+
{
|
|
29747
|
+
this .getValue () .assign (value);
|
|
29748
|
+
},
|
|
29749
|
+
abs ()
|
|
29750
|
+
{
|
|
29751
|
+
return new (this .constructor) (this .getValue () .copy () .abs ());
|
|
29752
|
+
},
|
|
29753
|
+
add (vector)
|
|
29754
|
+
{
|
|
29755
|
+
return new (this .constructor) (this .getValue () .copy () .add (vector .getValue ()));
|
|
29756
|
+
},
|
|
29757
|
+
distance (vector)
|
|
29758
|
+
{
|
|
29759
|
+
return this .getValue () .distance (vector .getValue ());
|
|
29760
|
+
},
|
|
29761
|
+
divide (value)
|
|
29762
|
+
{
|
|
29763
|
+
return new (this .constructor) (this .getValue () .copy () .divide (value));
|
|
29764
|
+
},
|
|
29765
|
+
divVec (vector)
|
|
29766
|
+
{
|
|
29767
|
+
return new (this .constructor) (this .getValue () .copy () .divVec (vector .getValue ()));
|
|
29768
|
+
},
|
|
29769
|
+
dot (vector)
|
|
29770
|
+
{
|
|
29771
|
+
return this .getValue () .dot (vector .getValue ());
|
|
29772
|
+
},
|
|
29773
|
+
inverse ()
|
|
29774
|
+
{
|
|
29775
|
+
return new (this .constructor) (this .getValue () .copy () .inverse ());
|
|
29776
|
+
},
|
|
29777
|
+
length ()
|
|
29778
|
+
{
|
|
29779
|
+
return this .getValue () .magnitude ();
|
|
29780
|
+
},
|
|
29781
|
+
lerp (destination, t)
|
|
29782
|
+
{
|
|
29783
|
+
return new (this .constructor) (this .getValue () .copy () .lerp (destination, t));
|
|
29784
|
+
},
|
|
29785
|
+
max (vector)
|
|
29786
|
+
{
|
|
29787
|
+
return new (this .constructor) (this .getValue () .copy () .max (vector .getValue ()));
|
|
29788
|
+
},
|
|
29789
|
+
min (vector)
|
|
29790
|
+
{
|
|
29791
|
+
return new (this .constructor) (this .getValue () .copy () .min (vector .getValue ()));
|
|
29792
|
+
},
|
|
29793
|
+
multiply (value)
|
|
29794
|
+
{
|
|
29795
|
+
return new (this .constructor) (this .getValue () .copy () .multiply (value));
|
|
29796
|
+
},
|
|
29797
|
+
multVec (vector)
|
|
29798
|
+
{
|
|
29799
|
+
return new (this .constructor) (this .getValue () .copy () .multVec (vector .getValue ()));
|
|
29800
|
+
},
|
|
29801
|
+
negate ()
|
|
29802
|
+
{
|
|
29803
|
+
return new (this .constructor) (this .getValue () .copy () .negate ());
|
|
29804
|
+
},
|
|
29805
|
+
normalize (vector)
|
|
29806
|
+
{
|
|
29807
|
+
return new (this .constructor) (this .getValue () .copy () .normalize ());
|
|
29808
|
+
},
|
|
29809
|
+
subtract (vector)
|
|
29810
|
+
{
|
|
29811
|
+
return new (this .constructor) (this .getValue () .copy () .subtract (vector .getValue ()));
|
|
29812
|
+
},
|
|
29813
|
+
toStream (generator)
|
|
29814
|
+
{
|
|
29815
|
+
const
|
|
29816
|
+
value = this .getValue (),
|
|
29817
|
+
last = value .length - 1,
|
|
29818
|
+
category = generator .Unit (this .getUnit ());
|
|
29819
|
+
|
|
29820
|
+
for (let i = 0; i < last; ++ i)
|
|
29821
|
+
{
|
|
29822
|
+
generator .string += generator [_formatter] (generator .ToUnit (category, value [i]));
|
|
29823
|
+
generator .string += generator .Space ();
|
|
29824
|
+
}
|
|
29825
|
+
|
|
29826
|
+
generator .string += generator [_formatter] (generator .ToUnit (category, value [last]));
|
|
29827
|
+
},
|
|
29828
|
+
toVRMLStream (generator)
|
|
29829
|
+
{
|
|
29830
|
+
this .toStream (generator);
|
|
29831
|
+
},
|
|
29832
|
+
toXMLStream (generator)
|
|
29833
|
+
{
|
|
29834
|
+
this .toStream (generator);
|
|
29835
|
+
},
|
|
29836
|
+
toJSONStream (generator)
|
|
29837
|
+
{
|
|
29838
|
+
generator .string += '[';
|
|
29839
|
+
generator .string += generator .TidySpace ();
|
|
29840
|
+
|
|
29841
|
+
this .toJSONStreamValue (generator);
|
|
29842
|
+
|
|
29843
|
+
generator .string += generator .TidySpace ();
|
|
29844
|
+
generator .string += ']';
|
|
29845
|
+
},
|
|
29846
|
+
toJSONStreamValue (generator)
|
|
29847
|
+
{
|
|
29848
|
+
const
|
|
29849
|
+
value = this .getValue (),
|
|
29850
|
+
last = value .length - 1,
|
|
29851
|
+
category = generator .Unit (this .getUnit ());
|
|
29852
|
+
|
|
29853
|
+
for (let i = 0; i < last; ++ i)
|
|
29854
|
+
{
|
|
29855
|
+
generator .string += generator .JSONNumber (generator [_formatter] (generator .ToUnit (category, value [i])));
|
|
29856
|
+
generator .string += ',';
|
|
29857
|
+
generator .string += generator .TidySpace ();
|
|
29858
|
+
}
|
|
29859
|
+
|
|
29860
|
+
generator .string += generator .JSONNumber (generator [_formatter] (generator .ToUnit (category, value [last])));
|
|
29861
|
+
},
|
|
29862
|
+
});
|
|
29863
|
+
}
|
|
29864
|
+
|
|
29865
|
+
const SFVecPrototypeTemplate_default_ = SFVecPrototypeTemplate;
|
|
29866
|
+
;
|
|
29867
|
+
|
|
29868
|
+
x_ite_Namespace .add ("SFVecPrototypeTemplate", "x_ite/Fields/SFVecPrototypeTemplate", SFVecPrototypeTemplate_default_);
|
|
29869
|
+
/* harmony default export */ const Fields_SFVecPrototypeTemplate = (SFVecPrototypeTemplate_default_);
|
|
29870
|
+
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVec3.js
|
|
29871
|
+
/*******************************************************************************
|
|
29872
|
+
*
|
|
29873
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
29874
|
+
*
|
|
29875
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
29876
|
+
*
|
|
29877
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
29878
|
+
*
|
|
29879
|
+
* The copyright notice above does not evidence any actual of intended
|
|
29880
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
29881
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
29882
|
+
* create3000.
|
|
29883
|
+
*
|
|
29884
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
29885
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
29886
|
+
* permission of create3000.
|
|
29887
|
+
*
|
|
29888
|
+
* NON-MILITARY USE ONLY
|
|
29889
|
+
*
|
|
29890
|
+
* All create3000 software are effectively free software with a non-military use
|
|
29891
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
29892
|
+
* source in any way you please with the exception anything that uses it must be
|
|
29893
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
29894
|
+
*
|
|
29895
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
29896
|
+
*
|
|
29897
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
29898
|
+
*
|
|
29899
|
+
* This file is part of the X_ITE Project.
|
|
29900
|
+
*
|
|
29901
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
29902
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
29903
|
+
* Free Software Foundation.
|
|
29904
|
+
*
|
|
29905
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
29906
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
29907
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
29908
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
29909
|
+
*
|
|
29910
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
29911
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
29912
|
+
* copy of the GPLv3 License.
|
|
29913
|
+
*
|
|
29914
|
+
* For Silvio, Joy and Adi.
|
|
29915
|
+
*
|
|
29916
|
+
******************************************************************************/
|
|
29917
|
+
|
|
29918
|
+
|
|
29919
|
+
|
|
29920
|
+
|
|
29921
|
+
|
|
29922
|
+
function SFVec3Template (TypeName, double)
|
|
29923
|
+
{
|
|
29924
|
+
function SFVec3 (x, y, z)
|
|
29925
|
+
{
|
|
29926
|
+
switch (arguments .length)
|
|
29927
|
+
{
|
|
29928
|
+
case 0:
|
|
29929
|
+
Base_X3DField .call (this, new Numbers_Vector3 (0, 0, 0));
|
|
29930
|
+
break;
|
|
29931
|
+
|
|
29932
|
+
case 1:
|
|
29933
|
+
Base_X3DField .call (this, arguments [0]);
|
|
29934
|
+
break;
|
|
29935
|
+
|
|
29936
|
+
case 3:
|
|
29937
|
+
Base_X3DField .call (this, new Numbers_Vector3 (+x, +y, +z));
|
|
29938
|
+
break;
|
|
29939
|
+
|
|
29940
|
+
default:
|
|
29941
|
+
throw new Error ("Invalid arguments.");
|
|
29942
|
+
}
|
|
29943
|
+
}
|
|
29944
|
+
|
|
29945
|
+
Object .assign (Fields_SFVecPrototypeTemplate (SFVec3, TypeName, Numbers_Vector3, double),
|
|
29946
|
+
{
|
|
29947
|
+
cross (vector)
|
|
29948
|
+
{
|
|
29949
|
+
return new (this .constructor) (this .getValue () .copy () .cross (vector .getValue ()));
|
|
29950
|
+
},
|
|
29951
|
+
});
|
|
29952
|
+
|
|
29953
|
+
for (const key of Object .keys (SFVec3 .prototype))
|
|
29954
|
+
Object .defineProperty (SFVec3 .prototype, key, { enumerable: false });
|
|
29955
|
+
|
|
29956
|
+
const x = {
|
|
29957
|
+
get ()
|
|
29958
|
+
{
|
|
29959
|
+
return this .getValue () .x;
|
|
29960
|
+
},
|
|
29961
|
+
set (value)
|
|
29962
|
+
{
|
|
29963
|
+
this .getValue () .x = +value;
|
|
29964
|
+
this .addEvent ();
|
|
29965
|
+
},
|
|
29966
|
+
};
|
|
29967
|
+
|
|
29968
|
+
const y = {
|
|
29969
|
+
get ()
|
|
29970
|
+
{
|
|
29971
|
+
return this .getValue () .y;
|
|
29972
|
+
},
|
|
29973
|
+
set (value)
|
|
29974
|
+
{
|
|
29975
|
+
this .getValue () .y = +value;
|
|
29976
|
+
this .addEvent ();
|
|
29977
|
+
},
|
|
29978
|
+
};
|
|
29979
|
+
|
|
29980
|
+
const z = {
|
|
29981
|
+
get ()
|
|
29982
|
+
{
|
|
29983
|
+
return this .getValue () .z;
|
|
29984
|
+
},
|
|
29985
|
+
set (value)
|
|
29986
|
+
{
|
|
29987
|
+
this .getValue () .z = +value;
|
|
29988
|
+
this .addEvent ();
|
|
29989
|
+
},
|
|
29990
|
+
};
|
|
29991
|
+
|
|
29992
|
+
Object .defineProperties (SFVec3 .prototype,
|
|
29993
|
+
{
|
|
29994
|
+
0: x,
|
|
29995
|
+
1: y,
|
|
29996
|
+
2: z,
|
|
29997
|
+
x: Object .assign ({ enumerable: true }, x),
|
|
29998
|
+
y: Object .assign ({ enumerable: true }, y),
|
|
29999
|
+
z: Object .assign ({ enumerable: true }, z),
|
|
30000
|
+
});
|
|
30001
|
+
|
|
30002
|
+
return SFVec3;
|
|
30003
|
+
}
|
|
30004
|
+
|
|
30005
|
+
const SFVec3 = {
|
|
30006
|
+
SFVec3d: SFVec3Template ("SFVec3d", true),
|
|
30007
|
+
SFVec3f: SFVec3Template ("SFVec3f", false),
|
|
30008
|
+
};
|
|
30009
|
+
|
|
30010
|
+
const SFVec3_default_ = SFVec3;
|
|
30011
|
+
;
|
|
30012
|
+
|
|
30013
|
+
x_ite_Namespace .add ("SFVec3", "x_ite/Fields/SFVec3", SFVec3_default_);
|
|
30014
|
+
/* harmony default export */ const Fields_SFVec3 = (SFVec3_default_);
|
|
30143
30015
|
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFRotation.js
|
|
30144
30016
|
/*******************************************************************************
|
|
30145
30017
|
*
|
|
@@ -30668,6 +30540,131 @@ const SFTime_default_ = SFTime;
|
|
|
30668
30540
|
|
|
30669
30541
|
x_ite_Namespace .add ("SFTime", "x_ite/Fields/SFTime", SFTime_default_);
|
|
30670
30542
|
/* harmony default export */ const Fields_SFTime = (SFTime_default_);
|
|
30543
|
+
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVec2.js
|
|
30544
|
+
/*******************************************************************************
|
|
30545
|
+
*
|
|
30546
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30547
|
+
*
|
|
30548
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
30549
|
+
*
|
|
30550
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
30551
|
+
*
|
|
30552
|
+
* The copyright notice above does not evidence any actual of intended
|
|
30553
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
30554
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
30555
|
+
* create3000.
|
|
30556
|
+
*
|
|
30557
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
30558
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
30559
|
+
* permission of create3000.
|
|
30560
|
+
*
|
|
30561
|
+
* NON-MILITARY USE ONLY
|
|
30562
|
+
*
|
|
30563
|
+
* All create3000 software are effectively free software with a non-military use
|
|
30564
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
30565
|
+
* source in any way you please with the exception anything that uses it must be
|
|
30566
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
30567
|
+
*
|
|
30568
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30569
|
+
*
|
|
30570
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
30571
|
+
*
|
|
30572
|
+
* This file is part of the X_ITE Project.
|
|
30573
|
+
*
|
|
30574
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
30575
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
30576
|
+
* Free Software Foundation.
|
|
30577
|
+
*
|
|
30578
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
30579
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
30580
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
30581
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
30582
|
+
*
|
|
30583
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
30584
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
30585
|
+
* copy of the GPLv3 License.
|
|
30586
|
+
*
|
|
30587
|
+
* For Silvio, Joy and Adi.
|
|
30588
|
+
*
|
|
30589
|
+
******************************************************************************/
|
|
30590
|
+
|
|
30591
|
+
|
|
30592
|
+
|
|
30593
|
+
|
|
30594
|
+
|
|
30595
|
+
function SFVec2Template (TypeName, double)
|
|
30596
|
+
{
|
|
30597
|
+
function SFVec2 (x, y)
|
|
30598
|
+
{
|
|
30599
|
+
switch (arguments .length)
|
|
30600
|
+
{
|
|
30601
|
+
case 0:
|
|
30602
|
+
Base_X3DField .call (this, new Numbers_Vector2 (0, 0));
|
|
30603
|
+
break;
|
|
30604
|
+
|
|
30605
|
+
case 1:
|
|
30606
|
+
Base_X3DField .call (this, arguments [0]);
|
|
30607
|
+
break;
|
|
30608
|
+
|
|
30609
|
+
case 2:
|
|
30610
|
+
Base_X3DField .call (this, new Numbers_Vector2 (+x, +y));
|
|
30611
|
+
break;
|
|
30612
|
+
|
|
30613
|
+
default:
|
|
30614
|
+
throw new Error ("Invalid arguments.");
|
|
30615
|
+
}
|
|
30616
|
+
}
|
|
30617
|
+
|
|
30618
|
+
Fields_SFVecPrototypeTemplate (SFVec2, TypeName, Numbers_Vector2, double);
|
|
30619
|
+
|
|
30620
|
+
for (const key of Object .keys (SFVec2 .prototype))
|
|
30621
|
+
Object .defineProperty (SFVec2 .prototype, key, { enumerable: false });
|
|
30622
|
+
|
|
30623
|
+
const x = {
|
|
30624
|
+
get ()
|
|
30625
|
+
{
|
|
30626
|
+
return this .getValue () .x;
|
|
30627
|
+
},
|
|
30628
|
+
set (value)
|
|
30629
|
+
{
|
|
30630
|
+
this .getValue () .x = +value;
|
|
30631
|
+
this .addEvent ();
|
|
30632
|
+
},
|
|
30633
|
+
};
|
|
30634
|
+
|
|
30635
|
+
const y = {
|
|
30636
|
+
get ()
|
|
30637
|
+
{
|
|
30638
|
+
return this .getValue () .y;
|
|
30639
|
+
},
|
|
30640
|
+
set (value)
|
|
30641
|
+
{
|
|
30642
|
+
this .getValue () .y = +value;
|
|
30643
|
+
this .addEvent ();
|
|
30644
|
+
},
|
|
30645
|
+
};
|
|
30646
|
+
|
|
30647
|
+
Object .defineProperties (SFVec2 .prototype,
|
|
30648
|
+
{
|
|
30649
|
+
0: x,
|
|
30650
|
+
1: y,
|
|
30651
|
+
x: Object .assign ({ enumerable: true }, x),
|
|
30652
|
+
y: Object .assign ({ enumerable: true }, y),
|
|
30653
|
+
});
|
|
30654
|
+
|
|
30655
|
+
return SFVec2;
|
|
30656
|
+
}
|
|
30657
|
+
|
|
30658
|
+
const SFVec2 = {
|
|
30659
|
+
SFVec2d: SFVec2Template ("SFVec2d", true),
|
|
30660
|
+
SFVec2f: SFVec2Template ("SFVec2f", false),
|
|
30661
|
+
};
|
|
30662
|
+
|
|
30663
|
+
const SFVec2_default_ = SFVec2;
|
|
30664
|
+
;
|
|
30665
|
+
|
|
30666
|
+
x_ite_Namespace .add ("SFVec2", "x_ite/Fields/SFVec2", SFVec2_default_);
|
|
30667
|
+
/* harmony default export */ const Fields_SFVec2 = (SFVec2_default_);
|
|
30671
30668
|
;// CONCATENATED MODULE: ./src/x_ite/Fields/SFVec4.js
|
|
30672
30669
|
/*******************************************************************************
|
|
30673
30670
|
*
|
|
@@ -30719,158 +30716,245 @@ x_ite_Namespace .add ("SFTime", "x_ite/Fields/SFTime", SFTime_default_);
|
|
|
30719
30716
|
|
|
30720
30717
|
|
|
30721
30718
|
|
|
30722
|
-
|
|
30723
|
-
function SFVec4Template (TypeName, double)
|
|
30724
|
-
{
|
|
30725
|
-
function SFVec4 (x, y, z, w)
|
|
30726
|
-
{
|
|
30727
|
-
switch (arguments .length)
|
|
30728
|
-
{
|
|
30729
|
-
case 0:
|
|
30730
|
-
Base_X3DField .call (this, new Numbers_Vector4 (0, 0, 0, 0));
|
|
30731
|
-
break;
|
|
30732
|
-
|
|
30733
|
-
case 1:
|
|
30734
|
-
Base_X3DField .call (this, arguments [0]);
|
|
30735
|
-
break;
|
|
30736
|
-
|
|
30737
|
-
case 4:
|
|
30738
|
-
Base_X3DField .call (this, new Numbers_Vector4 (+x, +y, +z, +w));
|
|
30739
|
-
break;
|
|
30740
|
-
|
|
30741
|
-
default:
|
|
30742
|
-
throw new Error ("Invalid arguments.");
|
|
30743
|
-
}
|
|
30744
|
-
}
|
|
30745
|
-
|
|
30746
|
-
Fields_SFVecPrototypeTemplate (SFVec4, TypeName, Numbers_Vector4, double);
|
|
30747
|
-
|
|
30748
|
-
for (const key of Object .keys (SFVec4 .prototype))
|
|
30749
|
-
Object .defineProperty (SFVec4 .prototype, key, { enumerable: false });
|
|
30750
|
-
|
|
30751
|
-
const x = {
|
|
30752
|
-
get ()
|
|
30753
|
-
{
|
|
30754
|
-
return this .getValue () .x;
|
|
30755
|
-
},
|
|
30756
|
-
set (value)
|
|
30757
|
-
{
|
|
30758
|
-
this .getValue () .x = +value;
|
|
30759
|
-
this .addEvent ();
|
|
30760
|
-
},
|
|
30761
|
-
};
|
|
30762
|
-
|
|
30763
|
-
const y = {
|
|
30764
|
-
get ()
|
|
30765
|
-
{
|
|
30766
|
-
return this .getValue () .y;
|
|
30767
|
-
},
|
|
30768
|
-
set (value)
|
|
30769
|
-
{
|
|
30770
|
-
this .getValue () .y = +value;
|
|
30771
|
-
this .addEvent ();
|
|
30772
|
-
},
|
|
30773
|
-
};
|
|
30774
|
-
|
|
30775
|
-
const z = {
|
|
30776
|
-
get ()
|
|
30777
|
-
{
|
|
30778
|
-
return this .getValue () .z;
|
|
30779
|
-
},
|
|
30780
|
-
set (value)
|
|
30781
|
-
{
|
|
30782
|
-
this .getValue () .z = +value;
|
|
30783
|
-
this .addEvent ();
|
|
30784
|
-
},
|
|
30785
|
-
};
|
|
30786
|
-
|
|
30787
|
-
const w = {
|
|
30788
|
-
get ()
|
|
30789
|
-
{
|
|
30790
|
-
return this .getValue () .w;
|
|
30791
|
-
},
|
|
30792
|
-
set (value)
|
|
30793
|
-
{
|
|
30794
|
-
this .getValue () .w = +value;
|
|
30795
|
-
this .addEvent ();
|
|
30796
|
-
},
|
|
30797
|
-
};
|
|
30798
|
-
|
|
30799
|
-
Object .defineProperties (SFVec4 .prototype,
|
|
30800
|
-
{
|
|
30801
|
-
0: x,
|
|
30802
|
-
1: y,
|
|
30803
|
-
2: z,
|
|
30804
|
-
3: w,
|
|
30805
|
-
x: Object .assign ({ enumerable: true }, x),
|
|
30806
|
-
y: Object .assign ({ enumerable: true }, y),
|
|
30807
|
-
z: Object .assign ({ enumerable: true }, z),
|
|
30808
|
-
w: Object .assign ({ enumerable: true }, w),
|
|
30809
|
-
});
|
|
30810
|
-
|
|
30811
|
-
return SFVec4;
|
|
30812
|
-
}
|
|
30813
|
-
|
|
30814
|
-
const SFVec4 = {
|
|
30815
|
-
SFVec4d: SFVec4Template ("SFVec4d", true),
|
|
30816
|
-
SFVec4f: SFVec4Template ("SFVec4f", false),
|
|
30817
|
-
};
|
|
30818
|
-
|
|
30819
|
-
const SFVec4_default_ = SFVec4;
|
|
30820
|
-
;
|
|
30821
|
-
|
|
30822
|
-
x_ite_Namespace .add ("SFVec4", "x_ite/Fields/SFVec4", SFVec4_default_);
|
|
30823
|
-
/* harmony default export */ const Fields_SFVec4 = (SFVec4_default_);
|
|
30824
|
-
;// CONCATENATED MODULE: ./src/
|
|
30825
|
-
/*******************************************************************************
|
|
30826
|
-
*
|
|
30827
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30828
|
-
*
|
|
30829
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
30830
|
-
*
|
|
30831
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
30832
|
-
*
|
|
30833
|
-
* The copyright notice above does not evidence any actual of intended
|
|
30834
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
30835
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
30836
|
-
* create3000.
|
|
30837
|
-
*
|
|
30838
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
30839
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
30840
|
-
* permission of create3000.
|
|
30841
|
-
*
|
|
30842
|
-
* NON-MILITARY USE ONLY
|
|
30843
|
-
*
|
|
30844
|
-
* All create3000 software are effectively free software with a non-military use
|
|
30845
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
30846
|
-
* source in any way you please with the exception anything that uses it must be
|
|
30847
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
30848
|
-
*
|
|
30849
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30850
|
-
*
|
|
30851
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
30852
|
-
*
|
|
30853
|
-
* This file is part of the X_ITE Project.
|
|
30854
|
-
*
|
|
30855
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
30856
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
30857
|
-
* Free Software Foundation.
|
|
30858
|
-
*
|
|
30859
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
30860
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
30861
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
30862
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
30863
|
-
*
|
|
30864
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
30865
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
30866
|
-
* copy of the GPLv3 License.
|
|
30867
|
-
*
|
|
30868
|
-
* For Silvio, Joy and Adi.
|
|
30869
|
-
*
|
|
30870
|
-
******************************************************************************/
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30719
|
+
|
|
30720
|
+
function SFVec4Template (TypeName, double)
|
|
30721
|
+
{
|
|
30722
|
+
function SFVec4 (x, y, z, w)
|
|
30723
|
+
{
|
|
30724
|
+
switch (arguments .length)
|
|
30725
|
+
{
|
|
30726
|
+
case 0:
|
|
30727
|
+
Base_X3DField .call (this, new Numbers_Vector4 (0, 0, 0, 0));
|
|
30728
|
+
break;
|
|
30729
|
+
|
|
30730
|
+
case 1:
|
|
30731
|
+
Base_X3DField .call (this, arguments [0]);
|
|
30732
|
+
break;
|
|
30733
|
+
|
|
30734
|
+
case 4:
|
|
30735
|
+
Base_X3DField .call (this, new Numbers_Vector4 (+x, +y, +z, +w));
|
|
30736
|
+
break;
|
|
30737
|
+
|
|
30738
|
+
default:
|
|
30739
|
+
throw new Error ("Invalid arguments.");
|
|
30740
|
+
}
|
|
30741
|
+
}
|
|
30742
|
+
|
|
30743
|
+
Fields_SFVecPrototypeTemplate (SFVec4, TypeName, Numbers_Vector4, double);
|
|
30744
|
+
|
|
30745
|
+
for (const key of Object .keys (SFVec4 .prototype))
|
|
30746
|
+
Object .defineProperty (SFVec4 .prototype, key, { enumerable: false });
|
|
30747
|
+
|
|
30748
|
+
const x = {
|
|
30749
|
+
get ()
|
|
30750
|
+
{
|
|
30751
|
+
return this .getValue () .x;
|
|
30752
|
+
},
|
|
30753
|
+
set (value)
|
|
30754
|
+
{
|
|
30755
|
+
this .getValue () .x = +value;
|
|
30756
|
+
this .addEvent ();
|
|
30757
|
+
},
|
|
30758
|
+
};
|
|
30759
|
+
|
|
30760
|
+
const y = {
|
|
30761
|
+
get ()
|
|
30762
|
+
{
|
|
30763
|
+
return this .getValue () .y;
|
|
30764
|
+
},
|
|
30765
|
+
set (value)
|
|
30766
|
+
{
|
|
30767
|
+
this .getValue () .y = +value;
|
|
30768
|
+
this .addEvent ();
|
|
30769
|
+
},
|
|
30770
|
+
};
|
|
30771
|
+
|
|
30772
|
+
const z = {
|
|
30773
|
+
get ()
|
|
30774
|
+
{
|
|
30775
|
+
return this .getValue () .z;
|
|
30776
|
+
},
|
|
30777
|
+
set (value)
|
|
30778
|
+
{
|
|
30779
|
+
this .getValue () .z = +value;
|
|
30780
|
+
this .addEvent ();
|
|
30781
|
+
},
|
|
30782
|
+
};
|
|
30783
|
+
|
|
30784
|
+
const w = {
|
|
30785
|
+
get ()
|
|
30786
|
+
{
|
|
30787
|
+
return this .getValue () .w;
|
|
30788
|
+
},
|
|
30789
|
+
set (value)
|
|
30790
|
+
{
|
|
30791
|
+
this .getValue () .w = +value;
|
|
30792
|
+
this .addEvent ();
|
|
30793
|
+
},
|
|
30794
|
+
};
|
|
30795
|
+
|
|
30796
|
+
Object .defineProperties (SFVec4 .prototype,
|
|
30797
|
+
{
|
|
30798
|
+
0: x,
|
|
30799
|
+
1: y,
|
|
30800
|
+
2: z,
|
|
30801
|
+
3: w,
|
|
30802
|
+
x: Object .assign ({ enumerable: true }, x),
|
|
30803
|
+
y: Object .assign ({ enumerable: true }, y),
|
|
30804
|
+
z: Object .assign ({ enumerable: true }, z),
|
|
30805
|
+
w: Object .assign ({ enumerable: true }, w),
|
|
30806
|
+
});
|
|
30807
|
+
|
|
30808
|
+
return SFVec4;
|
|
30809
|
+
}
|
|
30810
|
+
|
|
30811
|
+
const SFVec4 = {
|
|
30812
|
+
SFVec4d: SFVec4Template ("SFVec4d", true),
|
|
30813
|
+
SFVec4f: SFVec4Template ("SFVec4f", false),
|
|
30814
|
+
};
|
|
30815
|
+
|
|
30816
|
+
const SFVec4_default_ = SFVec4;
|
|
30817
|
+
;
|
|
30818
|
+
|
|
30819
|
+
x_ite_Namespace .add ("SFVec4", "x_ite/Fields/SFVec4", SFVec4_default_);
|
|
30820
|
+
/* harmony default export */ const Fields_SFVec4 = (SFVec4_default_);
|
|
30821
|
+
;// CONCATENATED MODULE: ./src/shim.js
|
|
30822
|
+
/*******************************************************************************
|
|
30823
|
+
*
|
|
30824
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30825
|
+
*
|
|
30826
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
30827
|
+
*
|
|
30828
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
30829
|
+
*
|
|
30830
|
+
* The copyright notice above does not evidence any actual of intended
|
|
30831
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
30832
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
30833
|
+
* create3000.
|
|
30834
|
+
*
|
|
30835
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
30836
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
30837
|
+
* permission of create3000.
|
|
30838
|
+
*
|
|
30839
|
+
* NON-MILITARY USE ONLY
|
|
30840
|
+
*
|
|
30841
|
+
* All create3000 software are effectively free software with a non-military use
|
|
30842
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
30843
|
+
* source in any way you please with the exception anything that uses it must be
|
|
30844
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
30845
|
+
*
|
|
30846
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30847
|
+
*
|
|
30848
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
30849
|
+
*
|
|
30850
|
+
* This file is part of the X_ITE Project.
|
|
30851
|
+
*
|
|
30852
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
30853
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
30854
|
+
* Free Software Foundation.
|
|
30855
|
+
*
|
|
30856
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
30857
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
30858
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
30859
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
30860
|
+
*
|
|
30861
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
30862
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
30863
|
+
* copy of the GPLv3 License.
|
|
30864
|
+
*
|
|
30865
|
+
* For Silvio, Joy and Adi.
|
|
30866
|
+
*
|
|
30867
|
+
******************************************************************************/
|
|
30868
|
+
|
|
30869
|
+
(() =>
|
|
30870
|
+
{
|
|
30871
|
+
// Added at February 2022
|
|
30872
|
+
// https://github.com/tc39/proposal-relative-indexing-method#polyfill
|
|
30873
|
+
|
|
30874
|
+
function at (n)
|
|
30875
|
+
{
|
|
30876
|
+
// ToInteger() abstract op
|
|
30877
|
+
n = Math.trunc(n) || 0;
|
|
30878
|
+
// Allow negative indexing from the end
|
|
30879
|
+
if (n < 0) n += this.length;
|
|
30880
|
+
// OOB access is guaranteed to return undefined
|
|
30881
|
+
if (n < 0 || n >= this.length) return undefined;
|
|
30882
|
+
// Otherwise, this is just normal property access
|
|
30883
|
+
return this[n];
|
|
30884
|
+
}
|
|
30885
|
+
|
|
30886
|
+
const TypedArray = Reflect .getPrototypeOf (Int8Array);
|
|
30887
|
+
for (const C of [Array, String, TypedArray])
|
|
30888
|
+
{
|
|
30889
|
+
if (C .prototype .at === undefined)
|
|
30890
|
+
{
|
|
30891
|
+
Object .defineProperty (C .prototype, "at",
|
|
30892
|
+
{
|
|
30893
|
+
value: at,
|
|
30894
|
+
writable: true,
|
|
30895
|
+
enumerable: false,
|
|
30896
|
+
configurable: true,
|
|
30897
|
+
});
|
|
30898
|
+
}
|
|
30899
|
+
}
|
|
30900
|
+
})();
|
|
30901
|
+
|
|
30902
|
+
const shim_default_ = undefined;
|
|
30903
|
+
;
|
|
30904
|
+
|
|
30905
|
+
x_ite_Namespace .add ("shim", "shim", shim_default_);
|
|
30906
|
+
/* harmony default export */ const shim = ((/* unused pure expression or super */ null && (shim_default_)));
|
|
30907
|
+
;// CONCATENATED MODULE: ./src/x_ite/Base/X3DArrayField.js
|
|
30908
|
+
/*******************************************************************************
|
|
30909
|
+
*
|
|
30910
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30911
|
+
*
|
|
30912
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
30913
|
+
*
|
|
30914
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
30915
|
+
*
|
|
30916
|
+
* The copyright notice above does not evidence any actual of intended
|
|
30917
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
30918
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
30919
|
+
* create3000.
|
|
30920
|
+
*
|
|
30921
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
30922
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
30923
|
+
* permission of create3000.
|
|
30924
|
+
*
|
|
30925
|
+
* NON-MILITARY USE ONLY
|
|
30926
|
+
*
|
|
30927
|
+
* All create3000 software are effectively free software with a non-military use
|
|
30928
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
30929
|
+
* source in any way you please with the exception anything that uses it must be
|
|
30930
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
30931
|
+
*
|
|
30932
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
30933
|
+
*
|
|
30934
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
30935
|
+
*
|
|
30936
|
+
* This file is part of the X_ITE Project.
|
|
30937
|
+
*
|
|
30938
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
30939
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
30940
|
+
* Free Software Foundation.
|
|
30941
|
+
*
|
|
30942
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
30943
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
30944
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
30945
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
30946
|
+
*
|
|
30947
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
30948
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
30949
|
+
* copy of the GPLv3 License.
|
|
30950
|
+
*
|
|
30951
|
+
* For Silvio, Joy and Adi.
|
|
30952
|
+
*
|
|
30953
|
+
******************************************************************************/
|
|
30954
|
+
|
|
30955
|
+
|
|
30956
|
+
|
|
30957
|
+
|
|
30874
30958
|
function X3DArrayField (value)
|
|
30875
30959
|
{
|
|
30876
30960
|
Base_X3DField .call (this, value);
|
|
@@ -31369,6 +31453,10 @@ Object .assign (Object .setPrototypeOf (X3DObjectArrayField .prototype, Base_X3D
|
|
|
31369
31453
|
|
|
31370
31454
|
return target [X3DObjectArrayField_proxy];
|
|
31371
31455
|
},
|
|
31456
|
+
valueOf ()
|
|
31457
|
+
{
|
|
31458
|
+
return this [X3DObjectArrayField_proxy];
|
|
31459
|
+
},
|
|
31372
31460
|
toStream (generator)
|
|
31373
31461
|
{
|
|
31374
31462
|
const
|
|
@@ -32250,6 +32338,10 @@ Object .assign (Object .setPrototypeOf (X3DTypedArrayField .prototype, Base_X3DA
|
|
|
32250
32338
|
|
|
32251
32339
|
return target [X3DTypedArrayField_proxy];
|
|
32252
32340
|
},
|
|
32341
|
+
valueOf ()
|
|
32342
|
+
{
|
|
32343
|
+
return this [X3DTypedArrayField_proxy];
|
|
32344
|
+
},
|
|
32253
32345
|
toStream (generator)
|
|
32254
32346
|
{
|
|
32255
32347
|
const
|
|
@@ -34239,7 +34331,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34239
34331
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34240
34332
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34241
34333
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34242
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34334
|
+
/* provided dependency */ var $ = __webpack_require__(239);
|
|
34243
34335
|
/*******************************************************************************
|
|
34244
34336
|
*
|
|
34245
34337
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34376,7 +34468,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34376
34468
|
*
|
|
34377
34469
|
******************************************************************************/
|
|
34378
34470
|
|
|
34379
|
-
const BROWSER_VERSION_default_ = "9.1.
|
|
34471
|
+
const BROWSER_VERSION_default_ = "9.1.10";
|
|
34380
34472
|
;
|
|
34381
34473
|
|
|
34382
34474
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -38227,7 +38319,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
|
|
|
38227
38319
|
x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
|
|
38228
38320
|
/* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
|
|
38229
38321
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38230
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
38322
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(239);
|
|
38231
38323
|
/*******************************************************************************
|
|
38232
38324
|
*
|
|
38233
38325
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39052,7 +39144,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
39052
39144
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
39053
39145
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
39054
39146
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39055
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39147
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(239);
|
|
39056
39148
|
/*******************************************************************************
|
|
39057
39149
|
*
|
|
39058
39150
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41605,7 +41697,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41605
41697
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41606
41698
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41607
41699
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41608
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41700
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(239);
|
|
41609
41701
|
/*******************************************************************************
|
|
41610
41702
|
*
|
|
41611
41703
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43698,7 +43790,7 @@ const URLs_default_ = URLs;
|
|
|
43698
43790
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43699
43791
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43700
43792
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43701
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43793
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(239);
|
|
43702
43794
|
/*******************************************************************************
|
|
43703
43795
|
*
|
|
43704
43796
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46999,7 +47091,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46999
47091
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
47000
47092
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
47001
47093
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
47002
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
47094
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(239);
|
|
47003
47095
|
/*******************************************************************************
|
|
47004
47096
|
*
|
|
47005
47097
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47151,7 +47243,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
47151
47243
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
47152
47244
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
47153
47245
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
47154
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
47246
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(239);
|
|
47155
47247
|
/*******************************************************************************
|
|
47156
47248
|
*
|
|
47157
47249
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50506,8 +50598,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50506
50598
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50507
50599
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50508
50600
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50509
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50510
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50601
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(239);
|
|
50602
|
+
/* provided dependency */ var libtess = __webpack_require__(488);
|
|
50511
50603
|
/*******************************************************************************
|
|
50512
50604
|
*
|
|
50513
50605
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53275,7 +53367,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
53275
53367
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
53276
53368
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
53277
53369
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
53278
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53370
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(239);
|
|
53279
53371
|
/*******************************************************************************
|
|
53280
53372
|
*
|
|
53281
53373
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53612,7 +53704,7 @@ const Plane3_default_ = Plane3;
|
|
|
53612
53704
|
x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53613
53705
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53614
53706
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53615
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53707
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(488);
|
|
53616
53708
|
/*******************************************************************************
|
|
53617
53709
|
*
|
|
53618
53710
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61119,7 +61211,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61119
61211
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61120
61212
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61121
61213
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61122
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
61214
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(239);
|
|
61123
61215
|
/*******************************************************************************
|
|
61124
61216
|
*
|
|
61125
61217
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61260,7 +61352,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
61260
61352
|
|
|
61261
61353
|
this .loadNext ();
|
|
61262
61354
|
},
|
|
61263
|
-
|
|
61355
|
+
setKTXTexture (texture)
|
|
61264
61356
|
{
|
|
61265
61357
|
if (texture .target !== this .getTarget ())
|
|
61266
61358
|
return this .setError ({ type: "Invalid KTX texture target, must be 'TEXTURE_2D'." });
|
|
@@ -61287,7 +61379,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
61287
61379
|
this .setError ({ type: error .message });
|
|
61288
61380
|
}
|
|
61289
61381
|
},
|
|
61290
|
-
|
|
61382
|
+
setImage ()
|
|
61291
61383
|
{
|
|
61292
61384
|
if (DEVELOPMENT)
|
|
61293
61385
|
{
|
|
@@ -61345,7 +61437,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
61345
61437
|
// Upload image to GPU.
|
|
61346
61438
|
|
|
61347
61439
|
this .setTextureFromData (width, height, this ._colorSpaceConversion .getValue (), this .isTransparent (), image);
|
|
61348
|
-
this .setTransparent (this .isImageTransparent (
|
|
61440
|
+
this .setTransparent (this .isImageTransparent (this .getTextureData (this .getTexture (), width, height)));
|
|
61349
61441
|
this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
|
|
61350
61442
|
this .addNodeEvent ();
|
|
61351
61443
|
}
|
|
@@ -61356,7 +61448,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
61356
61448
|
this .setError ({ type: error .message });
|
|
61357
61449
|
}
|
|
61358
61450
|
},
|
|
61359
|
-
|
|
61451
|
+
getTextureData (texture, width, height)
|
|
61360
61452
|
{
|
|
61361
61453
|
const
|
|
61362
61454
|
gl = this .getBrowser () .getContext (),
|
|
@@ -61365,7 +61457,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
61365
61457
|
|
|
61366
61458
|
gl .bindFramebuffer (gl .FRAMEBUFFER, framebuffer);
|
|
61367
61459
|
gl .framebufferTexture2D (gl .FRAMEBUFFER, gl .COLOR_ATTACHMENT0, gl .TEXTURE_2D, texture, 0);
|
|
61368
|
-
|
|
61460
|
+
gl .readPixels (0, 0, width, height, gl .RGBA, gl .UNSIGNED_BYTE, data);
|
|
61369
61461
|
gl .deleteFramebuffer (framebuffer);
|
|
61370
61462
|
|
|
61371
61463
|
return data;
|
|
@@ -65706,7 +65798,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65706
65798
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65707
65799
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65708
65800
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65709
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65801
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(239);
|
|
65710
65802
|
/*******************************************************************************
|
|
65711
65803
|
*
|
|
65712
65804
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -80393,7 +80485,7 @@ Object .defineProperties (EnvironmentLight,
|
|
|
80393
80485
|
},
|
|
80394
80486
|
componentInfo:
|
|
80395
80487
|
{
|
|
80396
|
-
value: Object .freeze ({ name: "Lighting", level:
|
|
80488
|
+
value: Object .freeze ({ name: "Lighting", level: 3 }),
|
|
80397
80489
|
enumerable: true,
|
|
80398
80490
|
},
|
|
80399
80491
|
containerField:
|
|
@@ -89396,7 +89488,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
89396
89488
|
x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
89397
89489
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
89398
89490
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89399
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89491
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(239);
|
|
89400
89492
|
/*******************************************************************************
|
|
89401
89493
|
*
|
|
89402
89494
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95037,7 +95129,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
95037
95129
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
95038
95130
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
95039
95131
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
95040
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
95132
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(239);
|
|
95041
95133
|
/*******************************************************************************
|
|
95042
95134
|
*
|
|
95043
95135
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95694,7 +95786,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95694
95786
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
95695
95787
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
95696
95788
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95697
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95789
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(239);
|
|
95698
95790
|
/*******************************************************************************
|
|
95699
95791
|
*
|
|
95700
95792
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99112,7 +99204,7 @@ const Components_Shape_default_ = {
|
|
|
99112
99204
|
x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
|
|
99113
99205
|
/* harmony default export */ const Components_Shape = (Components_Shape_default_);
|
|
99114
99206
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
|
|
99115
|
-
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(
|
|
99207
|
+
/* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(239);
|
|
99116
99208
|
/*******************************************************************************
|
|
99117
99209
|
*
|
|
99118
99210
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -99752,7 +99844,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
99752
99844
|
x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
99753
99845
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
99754
99846
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
99755
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
99847
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(239);
|
|
99756
99848
|
/*******************************************************************************
|
|
99757
99849
|
*
|
|
99758
99850
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -100054,7 +100146,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
|
|
|
100054
100146
|
x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
|
|
100055
100147
|
/* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
|
|
100056
100148
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
|
|
100057
|
-
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(
|
|
100149
|
+
/* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(239);
|
|
100058
100150
|
/*******************************************************************************
|
|
100059
100151
|
*
|
|
100060
100152
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101704,7 +101796,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
|
|
|
101704
101796
|
x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
|
|
101705
101797
|
/* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
|
|
101706
101798
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
|
|
101707
|
-
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(
|
|
101799
|
+
/* provided dependency */ var MicrophoneSource_$ = __webpack_require__(239);
|
|
101708
101800
|
/*******************************************************************************
|
|
101709
101801
|
*
|
|
101710
101802
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103373,8 +103465,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103373
103465
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
103374
103466
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
103375
103467
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103376
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103377
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103468
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(239);
|
|
103469
|
+
/* provided dependency */ var SuperGif = __webpack_require__(899);
|
|
103378
103470
|
/*******************************************************************************
|
|
103379
103471
|
*
|
|
103380
103472
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106072,74 +106164,74 @@ const Context =
|
|
|
106072
106164
|
});
|
|
106073
106165
|
}
|
|
106074
106166
|
|
|
106075
|
-
// Async functions
|
|
106076
|
-
|
|
106077
|
-
Object .assign (gl, gl .getVersion () === 1
|
|
106078
|
-
?
|
|
106079
|
-
{
|
|
106080
|
-
readPixelsAsync: gl .readPixels,
|
|
106081
|
-
}
|
|
106082
|
-
:
|
|
106083
|
-
{
|
|
106084
|
-
clientWaitAsync (sync, flags, timeout)
|
|
106085
|
-
{
|
|
106086
|
-
return new Promise ((resolve, reject) =>
|
|
106087
|
-
{
|
|
106088
|
-
const check = () =>
|
|
106089
|
-
{
|
|
106090
|
-
const result = this .clientWaitSync (sync, flags, 0);
|
|
106091
|
-
|
|
106092
|
-
switch (result)
|
|
106093
|
-
{
|
|
106094
|
-
case this .WAIT_FAILED:
|
|
106095
|
-
{
|
|
106096
|
-
reject (new Error ("clientWaitSync: WAIT_FAILED"));
|
|
106097
|
-
return;
|
|
106098
|
-
}
|
|
106099
|
-
case this .TIMEOUT_EXPIRED:
|
|
106100
|
-
{
|
|
106101
|
-
setTimeout (check, timeout);
|
|
106102
|
-
return;
|
|
106103
|
-
}
|
|
106104
|
-
default:
|
|
106105
|
-
{
|
|
106106
|
-
resolve ();
|
|
106107
|
-
return;
|
|
106108
|
-
}
|
|
106109
|
-
}
|
|
106110
|
-
};
|
|
106111
|
-
|
|
106112
|
-
setTimeout (check);
|
|
106113
|
-
});
|
|
106114
|
-
},
|
|
106115
|
-
getBufferSubDataAsync: async function (target, buffer, srcByteOffset, dstBuffer, /* optional */ dstOffset, /* optional */ length)
|
|
106116
|
-
{
|
|
106117
|
-
const sync = this .fenceSync (this .SYNC_GPU_COMMANDS_COMPLETE, 0);
|
|
106118
|
-
|
|
106119
|
-
this .flush ();
|
|
106120
|
-
|
|
106121
|
-
await this .clientWaitAsync (sync, 0, 10);
|
|
106122
|
-
|
|
106123
|
-
this .deleteSync (sync);
|
|
106167
|
+
// // Async functions, DOES'NT WORK WELL WITH OPERA!!!
|
|
106124
106168
|
|
|
106125
|
-
|
|
106126
|
-
|
|
106127
|
-
|
|
106128
|
-
|
|
106129
|
-
|
|
106130
|
-
|
|
106131
|
-
|
|
106132
|
-
|
|
106133
|
-
|
|
106134
|
-
|
|
106135
|
-
|
|
106136
|
-
|
|
106137
|
-
|
|
106138
|
-
|
|
106139
|
-
|
|
106140
|
-
|
|
106141
|
-
|
|
106142
|
-
|
|
106169
|
+
// Object .assign (gl, gl .getVersion () === 1
|
|
106170
|
+
// ?
|
|
106171
|
+
// {
|
|
106172
|
+
// readPixelsAsync: gl .readPixels,
|
|
106173
|
+
// }
|
|
106174
|
+
// :
|
|
106175
|
+
// {
|
|
106176
|
+
// clientWaitAsync (sync, flags, timeout)
|
|
106177
|
+
// {
|
|
106178
|
+
// return new Promise ((resolve, reject) =>
|
|
106179
|
+
// {
|
|
106180
|
+
// const check = () =>
|
|
106181
|
+
// {
|
|
106182
|
+
// const result = this .clientWaitSync (sync, flags, 0);
|
|
106183
|
+
|
|
106184
|
+
// switch (result)
|
|
106185
|
+
// {
|
|
106186
|
+
// case this .WAIT_FAILED:
|
|
106187
|
+
// {
|
|
106188
|
+
// reject (new Error ("clientWaitSync: WAIT_FAILED"));
|
|
106189
|
+
// return;
|
|
106190
|
+
// }
|
|
106191
|
+
// case this .TIMEOUT_EXPIRED:
|
|
106192
|
+
// {
|
|
106193
|
+
// setTimeout (check, timeout);
|
|
106194
|
+
// return;
|
|
106195
|
+
// }
|
|
106196
|
+
// default:
|
|
106197
|
+
// {
|
|
106198
|
+
// resolve ();
|
|
106199
|
+
// return;
|
|
106200
|
+
// }
|
|
106201
|
+
// }
|
|
106202
|
+
// };
|
|
106203
|
+
|
|
106204
|
+
// setTimeout (check);
|
|
106205
|
+
// });
|
|
106206
|
+
// },
|
|
106207
|
+
// getBufferSubDataAsync: async function (target, buffer, srcByteOffset, dstBuffer, /* optional */ dstOffset, /* optional */ length)
|
|
106208
|
+
// {
|
|
106209
|
+
// const sync = this .fenceSync (this .SYNC_GPU_COMMANDS_COMPLETE, 0);
|
|
106210
|
+
|
|
106211
|
+
// this .flush ();
|
|
106212
|
+
|
|
106213
|
+
// await this .clientWaitAsync (sync, 0, 10);
|
|
106214
|
+
|
|
106215
|
+
// this .deleteSync (sync);
|
|
106216
|
+
|
|
106217
|
+
// this .bindBuffer (target, buffer);
|
|
106218
|
+
// this .getBufferSubData (target, srcByteOffset, dstBuffer, dstOffset, length);
|
|
106219
|
+
// this .bindBuffer (target, null);
|
|
106220
|
+
// },
|
|
106221
|
+
// readPixelsAsync: async function (x, y, w, h, format, type, dest, dstOffset)
|
|
106222
|
+
// {
|
|
106223
|
+
// const buffer = this .createBuffer ();
|
|
106224
|
+
|
|
106225
|
+
// this .bindBuffer (this .PIXEL_PACK_BUFFER, buffer);
|
|
106226
|
+
// this .bufferData (this .PIXEL_PACK_BUFFER, dest .byteLength, this .STREAM_READ);
|
|
106227
|
+
// this .readPixels (x, y, w, h, format, type, 0);
|
|
106228
|
+
// this .bindBuffer (this .PIXEL_PACK_BUFFER, null);
|
|
106229
|
+
|
|
106230
|
+
// await this .getBufferSubDataAsync (this .PIXEL_PACK_BUFFER, buffer, 0, dest, dstOffset);
|
|
106231
|
+
|
|
106232
|
+
// this .deleteBuffer (buffer);
|
|
106233
|
+
// },
|
|
106234
|
+
// });
|
|
106143
106235
|
|
|
106144
106236
|
// Return context.
|
|
106145
106237
|
|
|
@@ -106649,7 +106741,7 @@ const gettext_default_ = gettext;
|
|
|
106649
106741
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
106650
106742
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
106651
106743
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106652
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106744
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(239);
|
|
106653
106745
|
/*******************************************************************************
|
|
106654
106746
|
*
|
|
106655
106747
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107079,7 +107171,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
107079
107171
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
107080
107172
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
107081
107173
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107082
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107174
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(239);
|
|
107083
107175
|
/*******************************************************************************
|
|
107084
107176
|
*
|
|
107085
107177
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107669,7 +107761,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107669
107761
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
107670
107762
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
107671
107763
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107672
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107764
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(239);
|
|
107673
107765
|
/*******************************************************************************
|
|
107674
107766
|
*
|
|
107675
107767
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107792,8 +107884,8 @@ const Notification_default_ = Notification;
|
|
|
107792
107884
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
107793
107885
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
107794
107886
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107795
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107796
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107887
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(473);
|
|
107888
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(239);
|
|
107797
107889
|
/*******************************************************************************
|
|
107798
107890
|
*
|
|
107799
107891
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110541,7 +110633,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110541
110633
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
110542
110634
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
110543
110635
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110544
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110636
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(239);
|
|
110545
110637
|
/*******************************************************************************
|
|
110546
110638
|
*
|
|
110547
110639
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113068,8 +113160,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113068
113160
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
113069
113161
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
113070
113162
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113071
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113072
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113163
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(360);
|
|
113164
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(239);
|
|
113073
113165
|
/*******************************************************************************
|
|
113074
113166
|
*
|
|
113075
113167
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113941,8 +114033,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
113941
114033
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
113942
114034
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
113943
114035
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
113944
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
113945
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
114036
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(360);
|
|
114037
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(239);
|
|
113946
114038
|
/*******************************************************************************
|
|
113947
114039
|
*
|
|
113948
114040
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114951,8 +115043,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
114951
115043
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
114952
115044
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
114953
115045
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
114954
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
114955
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
115046
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(360);
|
|
115047
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(239);
|
|
114956
115048
|
/*******************************************************************************
|
|
114957
115049
|
*
|
|
114958
115050
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115283,8 +115375,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115283
115375
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
115284
115376
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
115285
115377
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115286
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115287
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115378
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(360);
|
|
115379
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(239);
|
|
115288
115380
|
/*******************************************************************************
|
|
115289
115381
|
*
|
|
115290
115382
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116423,8 +116515,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116423
116515
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
116424
116516
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
116425
116517
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116426
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116427
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116518
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(360);
|
|
116519
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(239);
|
|
116428
116520
|
/*******************************************************************************
|
|
116429
116521
|
*
|
|
116430
116522
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117703,7 +117795,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
117703
117795
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
117704
117796
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
117705
117797
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
117706
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
117798
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(239);
|
|
117707
117799
|
/*******************************************************************************
|
|
117708
117800
|
*
|
|
117709
117801
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118606,7 +118698,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
118606
118698
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
118607
118699
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
118608
118700
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
118609
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
118701
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(239);
|
|
118610
118702
|
const KTXDecoder_default_ = class KTXDecoder
|
|
118611
118703
|
{
|
|
118612
118704
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120159,7 +120251,7 @@ const Components_default_ = Components;
|
|
|
120159
120251
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
120160
120252
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
120161
120253
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120162
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120254
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(239);
|
|
120163
120255
|
/*******************************************************************************
|
|
120164
120256
|
* MIT License
|
|
120165
120257
|
*
|
|
@@ -121298,7 +121390,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
121298
121390
|
x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
121299
121391
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
121300
121392
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
121301
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
121393
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(239);
|
|
121302
121394
|
/*******************************************************************************
|
|
121303
121395
|
*
|
|
121304
121396
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122379,7 +122471,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
122379
122471
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
122380
122472
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
122381
122473
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
122382
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
122474
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(239);
|
|
122383
122475
|
/*******************************************************************************
|
|
122384
122476
|
*
|
|
122385
122477
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122511,8 +122603,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
122511
122603
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
122512
122604
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
122513
122605
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
122514
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
122515
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
122606
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(239);
|
|
122607
|
+
/* provided dependency */ var pako = __webpack_require__(102);
|
|
122516
122608
|
Object .assign (jquery_$,
|
|
122517
122609
|
{
|
|
122518
122610
|
decodeText (input)
|
|
@@ -122589,14 +122681,14 @@ const jquery_default_ = jquery_$;
|
|
|
122589
122681
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
122590
122682
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
122591
122683
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
122592
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
122684
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(488);
|
|
122593
122685
|
const libtess_default_ = libtess_libtess;
|
|
122594
122686
|
;
|
|
122595
122687
|
|
|
122596
122688
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
122597
122689
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
122598
122690
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
122599
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
122691
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(239);
|
|
122600
122692
|
/*******************************************************************************
|
|
122601
122693
|
*
|
|
122602
122694
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -122850,92 +122942,6 @@ Object .assign (X3D,
|
|
|
122850
122942
|
|
|
122851
122943
|
/* harmony default export */ const x_ite_X3D = (X3D);
|
|
122852
122944
|
|
|
122853
|
-
;// CONCATENATED MODULE: ./src/shim.js
|
|
122854
|
-
/*******************************************************************************
|
|
122855
|
-
*
|
|
122856
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
122857
|
-
*
|
|
122858
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
122859
|
-
*
|
|
122860
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
122861
|
-
*
|
|
122862
|
-
* The copyright notice above does not evidence any actual of intended
|
|
122863
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
122864
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
122865
|
-
* create3000.
|
|
122866
|
-
*
|
|
122867
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
122868
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
122869
|
-
* permission of create3000.
|
|
122870
|
-
*
|
|
122871
|
-
* NON-MILITARY USE ONLY
|
|
122872
|
-
*
|
|
122873
|
-
* All create3000 software are effectively free software with a non-military use
|
|
122874
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
122875
|
-
* source in any way you please with the exception anything that uses it must be
|
|
122876
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
122877
|
-
*
|
|
122878
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
122879
|
-
*
|
|
122880
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
122881
|
-
*
|
|
122882
|
-
* This file is part of the X_ITE Project.
|
|
122883
|
-
*
|
|
122884
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
122885
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
122886
|
-
* Free Software Foundation.
|
|
122887
|
-
*
|
|
122888
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
122889
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
122890
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
122891
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
122892
|
-
*
|
|
122893
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
122894
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
122895
|
-
* copy of the GPLv3 License.
|
|
122896
|
-
*
|
|
122897
|
-
* For Silvio, Joy and Adi.
|
|
122898
|
-
*
|
|
122899
|
-
******************************************************************************/
|
|
122900
|
-
|
|
122901
|
-
(() =>
|
|
122902
|
-
{
|
|
122903
|
-
// Added at February 2022
|
|
122904
|
-
// https://github.com/tc39/proposal-relative-indexing-method#polyfill
|
|
122905
|
-
|
|
122906
|
-
function at (n)
|
|
122907
|
-
{
|
|
122908
|
-
// ToInteger() abstract op
|
|
122909
|
-
n = Math.trunc(n) || 0;
|
|
122910
|
-
// Allow negative indexing from the end
|
|
122911
|
-
if (n < 0) n += this.length;
|
|
122912
|
-
// OOB access is guaranteed to return undefined
|
|
122913
|
-
if (n < 0 || n >= this.length) return undefined;
|
|
122914
|
-
// Otherwise, this is just normal property access
|
|
122915
|
-
return this[n];
|
|
122916
|
-
}
|
|
122917
|
-
|
|
122918
|
-
const TypedArray = Reflect .getPrototypeOf (Int8Array);
|
|
122919
|
-
for (const C of [Array, String, TypedArray])
|
|
122920
|
-
{
|
|
122921
|
-
if (C .prototype .at === undefined)
|
|
122922
|
-
{
|
|
122923
|
-
Object .defineProperty (C .prototype, "at",
|
|
122924
|
-
{
|
|
122925
|
-
value: at,
|
|
122926
|
-
writable: true,
|
|
122927
|
-
enumerable: false,
|
|
122928
|
-
configurable: true,
|
|
122929
|
-
});
|
|
122930
|
-
}
|
|
122931
|
-
}
|
|
122932
|
-
})();
|
|
122933
|
-
|
|
122934
|
-
const shim_default_ = undefined;
|
|
122935
|
-
;
|
|
122936
|
-
|
|
122937
|
-
x_ite_Namespace .add ("shim", "shim", shim_default_);
|
|
122938
|
-
/* harmony default export */ const shim = ((/* unused pure expression or super */ null && (shim_default_)));
|
|
122939
122945
|
;// CONCATENATED MODULE: ./src/x_ite.js
|
|
122940
122946
|
/*******************************************************************************
|
|
122941
122947
|
*
|
|
@@ -122990,7 +122996,7 @@ x_ite_Namespace .add ("shim", "shim", shim_default_);
|
|
|
122990
122996
|
|
|
122991
122997
|
// Assign X3D to global namespace.
|
|
122992
122998
|
|
|
122993
|
-
window [Symbol .for ("X_ITE.X3D-9.1.
|
|
122999
|
+
window [Symbol .for ("X_ITE.X3D-9.1.10")] = x_ite_X3D;
|
|
122994
123000
|
|
|
122995
123001
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
122996
123002
|
|