x_ite 8.6.2 → 8.6.4
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/.vscode/settings.json +7 -7
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- 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 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- 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 +19 -19
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +28 -28
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +32 -32
- 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 +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +225 -139
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/getting-started.md +1 -1
- package/docs/_posts/laboratory/x3d-file-converter.md +12 -7
- package/docs/_tabs/laboratory.md +6 -0
- package/package.json +1 -1
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Parser/OBJParser.js +29 -22
- package/src/x_ite/Parser/SVGParser.js +138 -60
- package/src/x_ite/Parser/X3DParser.js +3 -2
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.4 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 599:
|
|
15
15
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
"use strict";
|
|
18
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
18
|
+
/* provided dependency */ var jQuery = __webpack_require__(769);
|
|
19
19
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
|
387
387
|
|
|
388
388
|
/***/ }),
|
|
389
389
|
|
|
390
|
-
/***/
|
|
390
|
+
/***/ 392:
|
|
391
391
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
392
392
|
|
|
393
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
393
|
+
/* provided dependency */ var jQuery = __webpack_require__(769);
|
|
394
394
|
/**
|
|
395
395
|
* @preserve jquery.fullscreen 1.1.5
|
|
396
396
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -586,7 +586,7 @@ installFullScreenHandlers();
|
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
588
|
|
|
589
|
-
/***/
|
|
589
|
+
/***/ 616:
|
|
590
590
|
/***/ ((module, exports, __webpack_require__) => {
|
|
591
591
|
|
|
592
592
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
600
600
|
(function (factory) {
|
|
601
601
|
if ( true ) {
|
|
602
602
|
// AMD. Register as an anonymous module.
|
|
603
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
603
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(769)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
604
604
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
605
605
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
606
606
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
811
811
|
|
|
812
812
|
/***/ }),
|
|
813
813
|
|
|
814
|
-
/***/
|
|
814
|
+
/***/ 769:
|
|
815
815
|
/***/ (function(module, exports) {
|
|
816
816
|
|
|
817
817
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11812,7 +11812,7 @@ return jQuery;
|
|
|
11812
11812
|
|
|
11813
11813
|
/***/ }),
|
|
11814
11814
|
|
|
11815
|
-
/***/
|
|
11815
|
+
/***/ 863:
|
|
11816
11816
|
/***/ ((module) => {
|
|
11817
11817
|
|
|
11818
11818
|
/**
|
|
@@ -16591,7 +16591,7 @@ if (true) {
|
|
|
16591
16591
|
|
|
16592
16592
|
/***/ }),
|
|
16593
16593
|
|
|
16594
|
-
/***/
|
|
16594
|
+
/***/ 765:
|
|
16595
16595
|
/***/ (function(__unused_webpack_module, exports) {
|
|
16596
16596
|
|
|
16597
16597
|
|
|
@@ -19836,7 +19836,7 @@ if (true) {
|
|
|
19836
19836
|
|
|
19837
19837
|
/***/ }),
|
|
19838
19838
|
|
|
19839
|
-
/***/
|
|
19839
|
+
/***/ 328:
|
|
19840
19840
|
/***/ (function(module, exports) {
|
|
19841
19841
|
|
|
19842
19842
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -34905,7 +34905,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
|
34905
34905
|
*
|
|
34906
34906
|
******************************************************************************/
|
|
34907
34907
|
|
|
34908
|
-
const VERSION_default_ = "8.6.
|
|
34908
|
+
const VERSION_default_ = "8.6.4";
|
|
34909
34909
|
;
|
|
34910
34910
|
|
|
34911
34911
|
x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
|
|
@@ -35807,7 +35807,7 @@ const gettext_default_ = gettext;
|
|
|
35807
35807
|
x_ite_Namespace.set ("locale/gettext", gettext_default_);
|
|
35808
35808
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
35809
35809
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
35810
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
35810
|
+
/* provided dependency */ var $ = __webpack_require__(769);
|
|
35811
35811
|
/*******************************************************************************
|
|
35812
35812
|
*
|
|
35813
35813
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36765,7 +36765,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
36765
36765
|
x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
36766
36766
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
36767
36767
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
36768
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
36768
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(769);
|
|
36769
36769
|
/*******************************************************************************
|
|
36770
36770
|
*
|
|
36771
36771
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -36887,8 +36887,8 @@ const Notification_default_ = Notification;
|
|
|
36887
36887
|
x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
|
|
36888
36888
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
36889
36889
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
36890
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
36891
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
36890
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(392);
|
|
36891
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(769);
|
|
36892
36892
|
/*******************************************************************************
|
|
36893
36893
|
*
|
|
36894
36894
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41890,7 +41890,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
|
|
|
41890
41890
|
x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
|
|
41891
41891
|
/* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
|
|
41892
41892
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
41893
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
41893
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(769);
|
|
41894
41894
|
/*******************************************************************************
|
|
41895
41895
|
*
|
|
41896
41896
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42035,11 +42035,12 @@ X3DParser .prototype = {
|
|
|
42035
42035
|
convertColor: function (value)
|
|
42036
42036
|
{
|
|
42037
42037
|
const
|
|
42038
|
-
|
|
42038
|
+
wrap = X3DParser_$("<div></div>") .hide () .css ("color", "black") .appendTo (X3DParser_$("body")),
|
|
42039
|
+
div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
|
|
42039
42040
|
rgb = window .getComputedStyle (div [0]) .color,
|
|
42040
42041
|
values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
|
|
42041
42042
|
|
|
42042
|
-
|
|
42043
|
+
wrap .remove ();
|
|
42043
42044
|
|
|
42044
42045
|
values [0] /= 255;
|
|
42045
42046
|
values [1] /= 255;
|
|
@@ -45066,7 +45067,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
45066
45067
|
x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
45067
45068
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
45068
45069
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
45069
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
45070
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(769);
|
|
45070
45071
|
/*******************************************************************************
|
|
45071
45072
|
*
|
|
45072
45073
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46952,7 +46953,7 @@ const X3DOptimizer_default_ = X3DOptimizer;
|
|
|
46952
46953
|
x_ite_Namespace.set ("x_ite/Parser/X3DOptimizer", X3DOptimizer_default_);
|
|
46953
46954
|
/* harmony default export */ const Parser_X3DOptimizer = (X3DOptimizer_default_);
|
|
46954
46955
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
46955
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
46956
|
+
/* provided dependency */ var libtess = __webpack_require__(863);
|
|
46956
46957
|
/*******************************************************************************
|
|
46957
46958
|
*
|
|
46958
46959
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47862,7 +47863,7 @@ const Box3_default_ = Box3;
|
|
|
47862
47863
|
x_ite_Namespace.set ("standard/Math/Geometry/Box3", Box3_default_);
|
|
47863
47864
|
/* harmony default export */ const Geometry_Box3 = (Box3_default_);
|
|
47864
47865
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
47865
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
47866
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(769);
|
|
47866
47867
|
/*******************************************************************************
|
|
47867
47868
|
*
|
|
47868
47869
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50089,7 +50090,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
50089
50090
|
x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
50090
50091
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
50091
50092
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
50092
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
50093
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(769);
|
|
50093
50094
|
/*******************************************************************************
|
|
50094
50095
|
*
|
|
50095
50096
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50242,7 +50243,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
50242
50243
|
x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
50243
50244
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
50244
50245
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
50245
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
50246
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(769);
|
|
50246
50247
|
/*******************************************************************************
|
|
50247
50248
|
*
|
|
50248
50249
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50517,37 +50518,44 @@ OBJParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
50517
50518
|
},
|
|
50518
50519
|
mtllib: async function (path)
|
|
50519
50520
|
{
|
|
50520
|
-
|
|
50521
|
-
|
|
50522
|
-
|
|
50521
|
+
try
|
|
50522
|
+
{
|
|
50523
|
+
const
|
|
50524
|
+
scene = this .getExecutionContext (),
|
|
50525
|
+
url = new URL (path, scene .getWorldURL ());
|
|
50523
50526
|
|
|
50524
|
-
|
|
50525
|
-
|
|
50526
|
-
|
|
50527
|
-
|
|
50527
|
+
const input = await fetch (url)
|
|
50528
|
+
.then (response => response .arrayBuffer ())
|
|
50529
|
+
.then (arrayBuffer => OBJParser_$.decodeText (OBJParser_$.ungzip (arrayBuffer)))
|
|
50530
|
+
.catch (Function .prototype);
|
|
50528
50531
|
|
|
50529
|
-
|
|
50532
|
+
const parser = new MaterialParser (scene, input);
|
|
50530
50533
|
|
|
50531
|
-
|
|
50534
|
+
parser .parse ();
|
|
50532
50535
|
|
|
50533
|
-
|
|
50534
|
-
|
|
50535
|
-
|
|
50536
|
+
for (const [name, material] of parser .materials)
|
|
50537
|
+
{
|
|
50538
|
+
const nodeName = this .sanitizeName (name);
|
|
50536
50539
|
|
|
50537
|
-
|
|
50538
|
-
|
|
50540
|
+
if (nodeName)
|
|
50541
|
+
scene .addNamedNode (scene .getUniqueName (nodeName), material);
|
|
50539
50542
|
|
|
50540
|
-
|
|
50541
|
-
|
|
50543
|
+
this .materials .set (name, material);
|
|
50544
|
+
}
|
|
50542
50545
|
|
|
50543
|
-
|
|
50544
|
-
|
|
50545
|
-
|
|
50546
|
+
for (const [name, texture] of parser .textures)
|
|
50547
|
+
{
|
|
50548
|
+
const nodeName = this .sanitizeName (name);
|
|
50546
50549
|
|
|
50547
|
-
|
|
50548
|
-
|
|
50550
|
+
if (nodeName)
|
|
50551
|
+
scene .addNamedNode (scene .getUniqueName (nodeName), texture);
|
|
50549
50552
|
|
|
50550
|
-
|
|
50553
|
+
this .textures .set (name, texture);
|
|
50554
|
+
}
|
|
50555
|
+
}
|
|
50556
|
+
catch (error)
|
|
50557
|
+
{
|
|
50558
|
+
console .warn (error);
|
|
50551
50559
|
}
|
|
50552
50560
|
},
|
|
50553
50561
|
usemtl: function ()
|
|
@@ -52343,8 +52351,8 @@ const Bezier_default_ = Bezier;
|
|
|
52343
52351
|
x_ite_Namespace.set ("standard/Math/Algorithms/Bezier", Bezier_default_);
|
|
52344
52352
|
/* harmony default export */ const Algorithms_Bezier = (Bezier_default_);
|
|
52345
52353
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
52346
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52347
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52354
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(769);
|
|
52355
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(863);
|
|
52348
52356
|
/*******************************************************************************
|
|
52349
52357
|
*
|
|
52350
52358
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -52490,7 +52498,7 @@ function SVGParser (scene)
|
|
|
52490
52498
|
fillURL: "",
|
|
52491
52499
|
fillOpacity: 1,
|
|
52492
52500
|
fillRule: "nonzero",
|
|
52493
|
-
strokeType: "
|
|
52501
|
+
strokeType: "none",
|
|
52494
52502
|
strokeColor: Numbers_Color4.Black,
|
|
52495
52503
|
strokeURL: "",
|
|
52496
52504
|
strokeOpacity: 1,
|
|
@@ -52498,6 +52506,7 @@ function SVGParser (scene)
|
|
|
52498
52506
|
opacity: 1,
|
|
52499
52507
|
stopColor: Numbers_Color4.Black,
|
|
52500
52508
|
stopOpacity: 1,
|
|
52509
|
+
vectorEffect: "none",
|
|
52501
52510
|
}];
|
|
52502
52511
|
}
|
|
52503
52512
|
|
|
@@ -52607,14 +52616,31 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52607
52616
|
// Get attributes of svg element.
|
|
52608
52617
|
|
|
52609
52618
|
const
|
|
52610
|
-
|
|
52611
|
-
|
|
52612
|
-
|
|
52619
|
+
defaultWidth = this .lengthAttribute (xmlElement .getAttribute ("width"), 300),
|
|
52620
|
+
defaultHeight = this .lengthAttribute (xmlElement .getAttribute ("height"), 150),
|
|
52621
|
+
defaultViewBox = new Numbers_Vector4 (0, 0, defaultWidth, defaultHeight),
|
|
52622
|
+
viewBox = this .viewBoxAttribute (xmlElement .getAttribute ("viewBox"), defaultViewBox),
|
|
52623
|
+
width = this .lengthAttribute (xmlElement .getAttribute ("width"), viewBox [2]),
|
|
52624
|
+
height = this .lengthAttribute (xmlElement .getAttribute ("height"), viewBox [3]);
|
|
52625
|
+
|
|
52626
|
+
if (true) // default
|
|
52627
|
+
{
|
|
52628
|
+
// preserveAspectRatio="xMidYMid meet"
|
|
52629
|
+
|
|
52630
|
+
const
|
|
52631
|
+
r = width / height,
|
|
52632
|
+
rv = viewBox [2] / viewBox [3];
|
|
52633
|
+
|
|
52634
|
+
if (rv > r)
|
|
52635
|
+
viewBox [3] += viewBox [2] / r - viewBox [3];
|
|
52636
|
+
else
|
|
52637
|
+
viewBox [2] += viewBox [3] * r - viewBox [2];
|
|
52638
|
+
}
|
|
52613
52639
|
|
|
52614
52640
|
// Create viewpoint.
|
|
52615
52641
|
|
|
52616
52642
|
const
|
|
52617
|
-
viewpoint = scene .createNode ("OrthoViewpoint"
|
|
52643
|
+
viewpoint = scene .createNode ("OrthoViewpoint"),
|
|
52618
52644
|
x = (viewBox .x + width / 2) * PIXEL,
|
|
52619
52645
|
y = -(viewBox .y + height / 2) * PIXEL;
|
|
52620
52646
|
|
|
@@ -52856,7 +52882,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52856
52882
|
|
|
52857
52883
|
// Create nodes.
|
|
52858
52884
|
|
|
52859
|
-
if (this .style .fillType !== "
|
|
52885
|
+
if (this .style .fillType !== "none")
|
|
52860
52886
|
{
|
|
52861
52887
|
const
|
|
52862
52888
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -52870,7 +52896,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52870
52896
|
transformNode .children .push (shapeNode);
|
|
52871
52897
|
}
|
|
52872
52898
|
|
|
52873
|
-
if (this .style .strokeType !== "
|
|
52899
|
+
if (this .style .strokeType !== "none")
|
|
52874
52900
|
{
|
|
52875
52901
|
const
|
|
52876
52902
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -52918,7 +52944,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52918
52944
|
|
|
52919
52945
|
// Create nodes.
|
|
52920
52946
|
|
|
52921
|
-
if (this .style .fillType !== "
|
|
52947
|
+
if (this .style .fillType !== "none")
|
|
52922
52948
|
{
|
|
52923
52949
|
const
|
|
52924
52950
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -52932,7 +52958,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52932
52958
|
transformNode .children .push (shapeNode);
|
|
52933
52959
|
}
|
|
52934
52960
|
|
|
52935
|
-
if (this .style .strokeType !== "
|
|
52961
|
+
if (this .style .strokeType !== "none")
|
|
52936
52962
|
{
|
|
52937
52963
|
const
|
|
52938
52964
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -52975,7 +53001,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52975
53001
|
|
|
52976
53002
|
// Create nodes.
|
|
52977
53003
|
|
|
52978
|
-
if (this .style .fillType !== "
|
|
53004
|
+
if (this .style .fillType !== "none")
|
|
52979
53005
|
{
|
|
52980
53006
|
const
|
|
52981
53007
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -52989,7 +53015,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
52989
53015
|
transformNode .children .push (shapeNode);
|
|
52990
53016
|
}
|
|
52991
53017
|
|
|
52992
|
-
if (this .style .strokeType !== "
|
|
53018
|
+
if (this .style .strokeType !== "none")
|
|
52993
53019
|
{
|
|
52994
53020
|
const
|
|
52995
53021
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -53076,7 +53102,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53076
53102
|
|
|
53077
53103
|
coordinateNode .point .push (... points);
|
|
53078
53104
|
|
|
53079
|
-
if (this .style .fillType !== "
|
|
53105
|
+
if (this .style .fillType !== "none")
|
|
53080
53106
|
{
|
|
53081
53107
|
const
|
|
53082
53108
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -53092,7 +53118,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53092
53118
|
transformNode .children .push (shapeNode);
|
|
53093
53119
|
}
|
|
53094
53120
|
|
|
53095
|
-
if (this .style .strokeType !== "
|
|
53121
|
+
if (this .style .strokeType !== "none")
|
|
53096
53122
|
{
|
|
53097
53123
|
const
|
|
53098
53124
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -53148,7 +53174,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53148
53174
|
for (const points of contours)
|
|
53149
53175
|
coordinateNode .point .push (... points);
|
|
53150
53176
|
|
|
53151
|
-
if (this .style .fillType !== "
|
|
53177
|
+
if (this .style .fillType !== "none")
|
|
53152
53178
|
{
|
|
53153
53179
|
const
|
|
53154
53180
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -53164,7 +53190,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53164
53190
|
transformNode .children .push (shapeNode);
|
|
53165
53191
|
}
|
|
53166
53192
|
|
|
53167
|
-
if (this .style .strokeType !== "
|
|
53193
|
+
if (this .style .strokeType !== "none")
|
|
53168
53194
|
{
|
|
53169
53195
|
const
|
|
53170
53196
|
shapeNode = scene .createNode ("Shape"),
|
|
@@ -53202,7 +53228,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53202
53228
|
for (const [o, c, a] of g .stops)
|
|
53203
53229
|
gradient .addColorStop (o, `rgba(${c .r * 255},${c .g * 255},${c .b * 255},${a})`);
|
|
53204
53230
|
|
|
53205
|
-
return this .drawGradient (gradient, g
|
|
53231
|
+
return this .drawGradient (gradient, g, bbox);
|
|
53206
53232
|
},
|
|
53207
53233
|
linearGradientElement: function (xmlElement, gradient)
|
|
53208
53234
|
{
|
|
@@ -53220,9 +53246,9 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53220
53246
|
|
|
53221
53247
|
gradient .x1 = this .lengthAttribute (xmlElement .getAttribute ("x1"), gradient .x1 || 0);
|
|
53222
53248
|
gradient .y1 = this .lengthAttribute (xmlElement .getAttribute ("y1"), gradient .y1 || 0);
|
|
53223
|
-
gradient .x2 = this .lengthAttribute (xmlElement .getAttribute ("x2"), gradient .x2 ||
|
|
53249
|
+
gradient .x2 = this .lengthAttribute (xmlElement .getAttribute ("x2"), gradient .x2 || 1);
|
|
53224
53250
|
gradient .y2 = this .lengthAttribute (xmlElement .getAttribute ("y2"), gradient .y2 || 0);
|
|
53225
|
-
gradient .units = xmlElement .getAttribute ("gradientUnits");
|
|
53251
|
+
gradient .units = xmlElement .getAttribute ("gradientUnits") || "objectBoundingBox";
|
|
53226
53252
|
gradient .transform = this .transformAttribute (xmlElement .getAttribute ("gradientTransform"));
|
|
53227
53253
|
|
|
53228
53254
|
// Stops
|
|
@@ -53236,12 +53262,12 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53236
53262
|
{
|
|
53237
53263
|
const
|
|
53238
53264
|
g = this .radialGradientElement (xmlElement, { stops: [ ] }),
|
|
53239
|
-
gradient = this .context .createRadialGradient (g .fx, g .fy,
|
|
53265
|
+
gradient = this .context .createRadialGradient (g .fx, g .fy, g. fr, g .cx, g .cy, g .r);
|
|
53240
53266
|
|
|
53241
53267
|
for (const [o, c, a] of g .stops)
|
|
53242
53268
|
gradient .addColorStop (o, `rgba(${c .r * 255},${c .g * 255},${c .b * 255},${a})`);
|
|
53243
53269
|
|
|
53244
|
-
return this .drawGradient (gradient, g
|
|
53270
|
+
return this .drawGradient (gradient, g, bbox);
|
|
53245
53271
|
},
|
|
53246
53272
|
radialGradientElement: function (xmlElement, gradient)
|
|
53247
53273
|
{
|
|
@@ -53254,14 +53280,13 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53254
53280
|
|
|
53255
53281
|
// Attributes
|
|
53256
53282
|
|
|
53257
|
-
gradient .cx = this .lengthAttribute (xmlElement .getAttribute ("cx"), gradient .cx || 0),
|
|
53258
|
-
gradient .cy = this .lengthAttribute (xmlElement .getAttribute ("cy"), gradient .cy || 0),
|
|
53259
|
-
gradient .
|
|
53260
|
-
gradient .
|
|
53261
|
-
gradient .
|
|
53262
|
-
gradient .
|
|
53263
|
-
gradient .
|
|
53264
|
-
gradient .units = xmlElement .getAttribute ("gradientUnits");
|
|
53283
|
+
gradient .cx = this .lengthAttribute (xmlElement .getAttribute ("cx"), gradient .cx || 0.5),
|
|
53284
|
+
gradient .cy = this .lengthAttribute (xmlElement .getAttribute ("cy"), gradient .cy || 0.5),
|
|
53285
|
+
gradient .r = this .lengthAttribute (xmlElement .getAttribute ("r"), gradient .r || 0.5),
|
|
53286
|
+
gradient .fx = this .lengthAttribute (xmlElement .getAttribute ("fx"), gradient .fx || gradient .cx),
|
|
53287
|
+
gradient .fy = this .lengthAttribute (xmlElement .getAttribute ("fy"), gradient .fy || gradient .cy),
|
|
53288
|
+
gradient .fr = this .lengthAttribute (xmlElement .getAttribute ("fr"), gradient .fr || 0),
|
|
53289
|
+
gradient .units = xmlElement .getAttribute ("gradientUnits") || "objectBoundingBox";
|
|
53265
53290
|
gradient .spreadMethod = xmlElement .getAttribute ("spreadMethod");
|
|
53266
53291
|
gradient .transform = this .transformAttribute (xmlElement .getAttribute ("gradientTransform"));
|
|
53267
53292
|
|
|
@@ -53303,15 +53328,20 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53303
53328
|
|
|
53304
53329
|
this .styles .pop ();
|
|
53305
53330
|
},
|
|
53306
|
-
drawGradient: function (gradient,
|
|
53331
|
+
drawGradient: function (gradient, g, bbox)
|
|
53307
53332
|
{
|
|
53308
53333
|
const m = new Numbers_Matrix3 ();
|
|
53309
53334
|
|
|
53310
53335
|
m .scale (new Numbers_Vector2 (GRADIENT_SIZE / 2, GRADIENT_SIZE / 2));
|
|
53311
53336
|
m .translate (Numbers_Vector2.One);
|
|
53312
53337
|
m .scale (new Numbers_Vector2 (1, -1));
|
|
53313
|
-
|
|
53314
|
-
|
|
53338
|
+
|
|
53339
|
+
if (g .units === "userSpaceOnUse")
|
|
53340
|
+
m .multLeft (Numbers_Matrix3.inverse (bbox .matrix));
|
|
53341
|
+
else
|
|
53342
|
+
m .multLeft (new Numbers_Matrix3 (2, 0, 0, 0, 2, 0, -1, -1, 1));
|
|
53343
|
+
|
|
53344
|
+
m .multLeft (g .transform);
|
|
53315
53345
|
|
|
53316
53346
|
// Paint.
|
|
53317
53347
|
|
|
@@ -53375,7 +53405,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53375
53405
|
{
|
|
53376
53406
|
if (!attribute)
|
|
53377
53407
|
return;
|
|
53378
|
-
|
|
53408
|
+
|
|
53379
53409
|
const
|
|
53380
53410
|
scene = this .getExecutionContext (),
|
|
53381
53411
|
hash = new URL (attribute, scene .getWorldURL ()) .hash .slice (1);
|
|
@@ -53882,14 +53912,14 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
53882
53912
|
case 'S':
|
|
53883
53913
|
case 's':
|
|
53884
53914
|
{
|
|
53885
|
-
x1 = ax + (ax - px);
|
|
53886
|
-
y1 = ay + (ay - py);
|
|
53915
|
+
var x1 = ax + (ax - px);
|
|
53916
|
+
var y1 = ay + (ay - py);
|
|
53887
53917
|
break;
|
|
53888
53918
|
}
|
|
53889
53919
|
default:
|
|
53890
53920
|
{
|
|
53891
|
-
x1 = ax;
|
|
53892
|
-
y1 = ay;
|
|
53921
|
+
var x1 = ax;
|
|
53922
|
+
var y1 = ay;
|
|
53893
53923
|
break;
|
|
53894
53924
|
}
|
|
53895
53925
|
}
|
|
@@ -54104,16 +54134,20 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54104
54134
|
{
|
|
54105
54135
|
if (this .double ())
|
|
54106
54136
|
{
|
|
54107
|
-
|
|
54137
|
+
var ty = this .value;
|
|
54138
|
+
}
|
|
54139
|
+
}
|
|
54140
|
+
else
|
|
54141
|
+
{
|
|
54142
|
+
var ty = 0;
|
|
54143
|
+
}
|
|
54108
54144
|
|
|
54109
|
-
|
|
54145
|
+
this .whitespaces ();
|
|
54110
54146
|
|
|
54111
|
-
|
|
54112
|
-
|
|
54113
|
-
|
|
54114
|
-
|
|
54115
|
-
}
|
|
54116
|
-
}
|
|
54147
|
+
if (SVGParser_Grammar .closeParenthesis .parse (this))
|
|
54148
|
+
{
|
|
54149
|
+
matrix .translate (new Numbers_Vector2 (tx, ty));
|
|
54150
|
+
continue;
|
|
54117
54151
|
}
|
|
54118
54152
|
}
|
|
54119
54153
|
}
|
|
@@ -54180,16 +54214,20 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54180
54214
|
{
|
|
54181
54215
|
if (this .double ())
|
|
54182
54216
|
{
|
|
54183
|
-
|
|
54217
|
+
var sy = this .value;
|
|
54218
|
+
}
|
|
54219
|
+
}
|
|
54220
|
+
else
|
|
54221
|
+
{
|
|
54222
|
+
var sy = sx;
|
|
54223
|
+
}
|
|
54184
54224
|
|
|
54185
|
-
|
|
54225
|
+
this .whitespaces ();
|
|
54186
54226
|
|
|
54187
|
-
|
|
54188
|
-
|
|
54189
|
-
|
|
54190
|
-
|
|
54191
|
-
}
|
|
54192
|
-
}
|
|
54227
|
+
if (SVGParser_Grammar .closeParenthesis .parse (this))
|
|
54228
|
+
{
|
|
54229
|
+
matrix .scale (new Numbers_Vector2 (sx, sy));
|
|
54230
|
+
continue;
|
|
54193
54231
|
}
|
|
54194
54232
|
}
|
|
54195
54233
|
}
|
|
@@ -54253,6 +54291,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54253
54291
|
"opacity",
|
|
54254
54292
|
"stop-color",
|
|
54255
54293
|
"stop-opacity",
|
|
54294
|
+
"vector-effect",
|
|
54256
54295
|
];
|
|
54257
54296
|
|
|
54258
54297
|
return function (xmlElement)
|
|
@@ -54331,6 +54370,9 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54331
54370
|
case "stop-opacity":
|
|
54332
54371
|
this .stopOpacityStyle (value);
|
|
54333
54372
|
break;
|
|
54373
|
+
case "vector-effect":
|
|
54374
|
+
this .vectorEffectStyle (value);
|
|
54375
|
+
break;
|
|
54334
54376
|
}
|
|
54335
54377
|
},
|
|
54336
54378
|
displayStyle: function (value)
|
|
@@ -54360,13 +54402,13 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54360
54402
|
|
|
54361
54403
|
if (value === "transparent")
|
|
54362
54404
|
{
|
|
54363
|
-
this .style .fillType = "
|
|
54405
|
+
this .style .fillType = "none";
|
|
54364
54406
|
return;
|
|
54365
54407
|
}
|
|
54366
54408
|
|
|
54367
54409
|
if (value === "none")
|
|
54368
54410
|
{
|
|
54369
|
-
this .style .fillType ="
|
|
54411
|
+
this .style .fillType ="none";
|
|
54370
54412
|
return;
|
|
54371
54413
|
}
|
|
54372
54414
|
|
|
@@ -54419,13 +54461,13 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54419
54461
|
|
|
54420
54462
|
if (value === "transparent")
|
|
54421
54463
|
{
|
|
54422
|
-
this .style .strokeType = "
|
|
54464
|
+
this .style .strokeType = "none";
|
|
54423
54465
|
return;
|
|
54424
54466
|
}
|
|
54425
54467
|
|
|
54426
54468
|
if (value === "none")
|
|
54427
54469
|
{
|
|
54428
|
-
this .style .strokeType ="
|
|
54470
|
+
this .style .strokeType ="none";
|
|
54429
54471
|
return;
|
|
54430
54472
|
}
|
|
54431
54473
|
|
|
@@ -54467,7 +54509,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54467
54509
|
{
|
|
54468
54510
|
if (this .double ())
|
|
54469
54511
|
{
|
|
54470
|
-
this .style .strokeWidth = this .
|
|
54512
|
+
this .style .strokeWidth = this .lengthAttribute (this .value);
|
|
54471
54513
|
return;
|
|
54472
54514
|
}
|
|
54473
54515
|
|
|
@@ -54517,6 +54559,18 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54517
54559
|
return;
|
|
54518
54560
|
}
|
|
54519
54561
|
},
|
|
54562
|
+
vectorEffectStyle: function (value)
|
|
54563
|
+
{
|
|
54564
|
+
if (value !== "inherit")
|
|
54565
|
+
{
|
|
54566
|
+
this .style .vectorEffect = value;
|
|
54567
|
+
return;
|
|
54568
|
+
}
|
|
54569
|
+
|
|
54570
|
+
// inherit
|
|
54571
|
+
|
|
54572
|
+
this .style .vectorEffect = this .styles .at (-1) .vectorEffect;
|
|
54573
|
+
},
|
|
54520
54574
|
parseValue: function (value)
|
|
54521
54575
|
{
|
|
54522
54576
|
this .input = value;
|
|
@@ -54631,7 +54685,7 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54631
54685
|
|
|
54632
54686
|
switch (this .style .fillType)
|
|
54633
54687
|
{
|
|
54634
|
-
case "
|
|
54688
|
+
case "none":
|
|
54635
54689
|
{
|
|
54636
54690
|
return null;
|
|
54637
54691
|
}
|
|
@@ -54696,16 +54750,28 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54696
54750
|
materialNode .emissiveColor = new Numbers_Color3 (... this .style .strokeColor);
|
|
54697
54751
|
materialNode .transparency = 1 - this .style .strokeOpacity * this .style .opacity;
|
|
54698
54752
|
|
|
54699
|
-
|
|
54753
|
+
const strokeWidth = this .vectorEffect === "non-scaling-stroke"
|
|
54754
|
+
? this .style .strokeWidth
|
|
54755
|
+
: this .getStokeWidth ();
|
|
54756
|
+
|
|
54757
|
+
if (strokeWidth > 1)
|
|
54700
54758
|
{
|
|
54701
54759
|
const lineProperties = scene .createNode ("LineProperties");
|
|
54702
54760
|
|
|
54703
54761
|
appearanceNode .lineProperties = lineProperties;
|
|
54704
|
-
lineProperties .linewidthScaleFactor =
|
|
54762
|
+
lineProperties .linewidthScaleFactor = strokeWidth;
|
|
54705
54763
|
}
|
|
54706
54764
|
|
|
54707
54765
|
return appearanceNode;
|
|
54708
54766
|
},
|
|
54767
|
+
getStokeWidth: function ()
|
|
54768
|
+
{
|
|
54769
|
+
const
|
|
54770
|
+
modelMatrix = this .getModelMatrix (),
|
|
54771
|
+
strokeWidth = modelMatrix .multDirMatrix (new Numbers_Vector3 (this .style .strokeWidth, this .style .strokeWidth, 0));
|
|
54772
|
+
|
|
54773
|
+
return (strokeWidth .x + strokeWidth .y) / 2;
|
|
54774
|
+
},
|
|
54709
54775
|
createTextureProperties: function ()
|
|
54710
54776
|
{
|
|
54711
54777
|
const
|
|
@@ -54734,6 +54800,26 @@ SVGParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
|
|
|
54734
54800
|
|
|
54735
54801
|
return texCoordNode;
|
|
54736
54802
|
},
|
|
54803
|
+
getModelMatrix: function ()
|
|
54804
|
+
{
|
|
54805
|
+
const modelMatrix = new Numbers_Matrix4 ();
|
|
54806
|
+
|
|
54807
|
+
for (let i = 1; i < this .groupNodes .length; ++ i)
|
|
54808
|
+
{
|
|
54809
|
+
const
|
|
54810
|
+
node = this .groupNodes [i],
|
|
54811
|
+
matrix = new Numbers_Matrix4 ();
|
|
54812
|
+
|
|
54813
|
+
matrix .set (node .translation .getValue (),
|
|
54814
|
+
node .rotation .getValue (),
|
|
54815
|
+
node .scale .getValue (),
|
|
54816
|
+
node .scaleOrientation .getValue ());
|
|
54817
|
+
|
|
54818
|
+
modelMatrix .multLeft (matrix);
|
|
54819
|
+
}
|
|
54820
|
+
|
|
54821
|
+
return modelMatrix;
|
|
54822
|
+
},
|
|
54737
54823
|
createTesselator: function ()
|
|
54738
54824
|
{
|
|
54739
54825
|
// Function called for each vertex of tessellator output.
|
|
@@ -54803,7 +54889,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
54803
54889
|
x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
|
|
54804
54890
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
54805
54891
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
54806
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
54892
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(769);
|
|
54807
54893
|
/*******************************************************************************
|
|
54808
54894
|
*
|
|
54809
54895
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -61798,7 +61884,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
61798
61884
|
x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
61799
61885
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
61800
61886
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
61801
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
61887
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(769);
|
|
61802
61888
|
/*******************************************************************************
|
|
61803
61889
|
*
|
|
61804
61890
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66052,7 +66138,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66052
66138
|
x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66053
66139
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66054
66140
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66055
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66141
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(769);
|
|
66056
66142
|
/*******************************************************************************
|
|
66057
66143
|
*
|
|
66058
66144
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -68409,7 +68495,7 @@ const URLs_default_ = URLs;
|
|
|
68409
68495
|
x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
|
|
68410
68496
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
68411
68497
|
;// CONCATENATED MODULE: ./src/x_ite/Configuration/ComponentInfo.js
|
|
68412
|
-
/* provided dependency */ var ComponentInfo_$ = __webpack_require__(
|
|
68498
|
+
/* provided dependency */ var ComponentInfo_$ = __webpack_require__(769);
|
|
68413
68499
|
/*******************************************************************************
|
|
68414
68500
|
*
|
|
68415
68501
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -70375,7 +70461,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
70375
70461
|
x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
|
|
70376
70462
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
70377
70463
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
70378
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
70464
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(769);
|
|
70379
70465
|
/*******************************************************************************
|
|
70380
70466
|
*
|
|
70381
70467
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -76865,8 +76951,8 @@ const OrientationChaser_default_ = OrientationChaser;
|
|
|
76865
76951
|
x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
|
|
76866
76952
|
/* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
|
|
76867
76953
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
76868
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
76869
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
76954
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(616);
|
|
76955
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(769);
|
|
76870
76956
|
/*******************************************************************************
|
|
76871
76957
|
*
|
|
76872
76958
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -77730,8 +77816,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
77730
77816
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
77731
77817
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
77732
77818
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
77733
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
77734
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
77819
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(616);
|
|
77820
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(769);
|
|
77735
77821
|
/*******************************************************************************
|
|
77736
77822
|
*
|
|
77737
77823
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78681,8 +78767,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
78681
78767
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
78682
78768
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
78683
78769
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
78684
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
78685
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
78770
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(616);
|
|
78771
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(769);
|
|
78686
78772
|
/*******************************************************************************
|
|
78687
78773
|
*
|
|
78688
78774
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -78991,8 +79077,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
78991
79077
|
x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
78992
79078
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
78993
79079
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
78994
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
78995
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
79080
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(616);
|
|
79081
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(769);
|
|
78996
79082
|
/*******************************************************************************
|
|
78997
79083
|
*
|
|
78998
79084
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -80595,8 +80681,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
80595
80681
|
x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
80596
80682
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
80597
80683
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
80598
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
80599
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
80684
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(616);
|
|
80685
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(769);
|
|
80600
80686
|
/*******************************************************************************
|
|
80601
80687
|
*
|
|
80602
80688
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -81618,8 +81704,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
81618
81704
|
x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
81619
81705
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
81620
81706
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
81621
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
81622
|
-
/* provided dependency */ var ResizeSensor = __webpack_require__(
|
|
81707
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(769);
|
|
81708
|
+
/* provided dependency */ var ResizeSensor = __webpack_require__(599);
|
|
81623
81709
|
/*******************************************************************************
|
|
81624
81710
|
*
|
|
81625
81711
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -90145,7 +90231,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
90145
90231
|
x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
90146
90232
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
90147
90233
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
90148
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
90234
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(769);
|
|
90149
90235
|
/*******************************************************************************
|
|
90150
90236
|
*
|
|
90151
90237
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112026,7 +112112,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
112026
112112
|
x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
112027
112113
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
112028
112114
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
112029
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
112115
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(769);
|
|
112030
112116
|
/*******************************************************************************
|
|
112031
112117
|
*
|
|
112032
112118
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114841,8 +114927,8 @@ const GIFMedia_default_ = GifMedia;
|
|
|
114841
114927
|
x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
|
|
114842
114928
|
/* harmony default export */ const GIFMedia = (GIFMedia_default_);
|
|
114843
114929
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
114844
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
114845
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
114930
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(769);
|
|
114931
|
+
/* provided dependency */ var SuperGif = __webpack_require__(328);
|
|
114846
114932
|
/*******************************************************************************
|
|
114847
114933
|
*
|
|
114848
114934
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115800,7 +115886,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
|
|
|
115800
115886
|
x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
|
|
115801
115887
|
/* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
|
|
115802
115888
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
|
|
115803
|
-
/* provided dependency */ var PixelTexture_$ = __webpack_require__(
|
|
115889
|
+
/* provided dependency */ var PixelTexture_$ = __webpack_require__(769);
|
|
115804
115890
|
/*******************************************************************************
|
|
115805
115891
|
*
|
|
115806
115892
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116503,7 +116589,7 @@ const Components_default_ = Components;
|
|
|
116503
116589
|
x_ite_Namespace.set ("x_ite/Components", Components_default_);
|
|
116504
116590
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
116505
116591
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
116506
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
116592
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(769);
|
|
116507
116593
|
/*******************************************************************************
|
|
116508
116594
|
* MIT License
|
|
116509
116595
|
*
|
|
@@ -117740,7 +117826,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
117740
117826
|
x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
117741
117827
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
117742
117828
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
117743
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
117829
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(769);
|
|
117744
117830
|
/*******************************************************************************
|
|
117745
117831
|
*
|
|
117746
117832
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118678,7 +118764,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
118678
118764
|
x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
118679
118765
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
118680
118766
|
;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
|
|
118681
|
-
/* provided dependency */ var Fallback_$ = __webpack_require__(
|
|
118767
|
+
/* provided dependency */ var Fallback_$ = __webpack_require__(769);
|
|
118682
118768
|
/*******************************************************************************
|
|
118683
118769
|
*
|
|
118684
118770
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118857,8 +118943,8 @@ const MicroTime_default_ = undefined;
|
|
|
118857
118943
|
x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
|
|
118858
118944
|
/* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
|
|
118859
118945
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
118860
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
118861
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
118946
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(769);
|
|
118947
|
+
/* provided dependency */ var pako = __webpack_require__(765);
|
|
118862
118948
|
jquery_$.decodeText = function (input)
|
|
118863
118949
|
{
|
|
118864
118950
|
if (typeof input === "string")
|
|
@@ -118885,14 +118971,14 @@ const jquery_default_ = jquery_$;
|
|
|
118885
118971
|
x_ite_Namespace.set ("lib/jquery", jquery_default_);
|
|
118886
118972
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
118887
118973
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
118888
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
118974
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(863);
|
|
118889
118975
|
const libtess_default_ = libtess_libtess;
|
|
118890
118976
|
;
|
|
118891
118977
|
|
|
118892
118978
|
x_ite_Namespace.set ("lib/libtess", libtess_default_);
|
|
118893
118979
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
118894
118980
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
118895
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
118981
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(769);
|
|
118896
118982
|
/*******************************************************************************
|
|
118897
118983
|
*
|
|
118898
118984
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119148,7 +119234,7 @@ const X3D_default_ = X3D;
|
|
|
119148
119234
|
x_ite_Namespace.set ("x_ite/X3D", X3D_default_);
|
|
119149
119235
|
/* harmony default export */ const x_ite_X3D = (X3D_default_);
|
|
119150
119236
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvas.js
|
|
119151
|
-
/* provided dependency */ var X3DCanvas_$ = __webpack_require__(
|
|
119237
|
+
/* provided dependency */ var X3DCanvas_$ = __webpack_require__(769);
|
|
119152
119238
|
/*******************************************************************************
|
|
119153
119239
|
*
|
|
119154
119240
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119408,7 +119494,7 @@ x_ite_Namespace.set ("shim", shim_default_);
|
|
|
119408
119494
|
|
|
119409
119495
|
// Assign X3D to global namespace.
|
|
119410
119496
|
|
|
119411
|
-
window [Symbol .for ("X_ITE.X3D-8.6.
|
|
119497
|
+
window [Symbol .for ("X_ITE.X3D-8.6.4")] = x_ite_X3D;
|
|
119412
119498
|
|
|
119413
119499
|
x_ite_X3DCanvas.define ();
|
|
119414
119500
|
|