x_ite 8.6.0 → 8.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +39 -48
- 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 +690 -936
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_includes/scripts.html +2 -2
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +1 -1
- package/docs/_posts/components/CADGeometry/QuadSet.md +1 -1
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +1 -1
- package/docs/_posts/components/Geometry3D/Extrusion.md +1 -1
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +1 -1
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +1 -1
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +1 -1
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +1 -1
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +1 -1
- package/docs/_posts/components/Rendering/TriangleFanSet.md +1 -1
- package/docs/_posts/components/Rendering/TriangleSet.md +1 -1
- package/docs/_posts/components/Rendering/TriangleStripSet.md +1 -1
- package/docs/_posts/components/Shape/Material.md +1 -1
- package/docs/_posts/getting-started.md +1 -1
- package/docs/_posts/laboratory/x3d-file-converter.md +178 -0
- package/docs/_tabs/playground.html +80 -133
- package/docs/assets/css/style.scss +2 -42
- package/docs/laboratory/3d-l-system-generator.html +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +1 -1
- package/docs/laboratory/online-dicom-and-nrrd-file-viewer.html +1 -1
- package/docs/laboratory/real-time-earth-quake-information.html +1 -1
- package/docs/laboratory/x3d-visual-blend-mode-editor.html +1 -1
- package/package.json +1 -1
- package/src/standard/Math/Algorithms/Bezier.js +133 -182
- package/src/standard/Math/Geometry/Box2.js +0 -1
- package/src/standard/Math/Geometry/Box3.js +0 -1
- package/src/standard/Math/Geometry/Cylinder3.js +1 -1
- package/src/standard/Math/Geometry/Line2.js +2 -4
- package/src/standard/Math/Geometry/Line3.js +2 -4
- package/src/standard/Math/Geometry/Plane3.js +1 -3
- package/src/standard/Math/Geometry/Sphere3.js +8 -12
- package/src/standard/Math/Geometry/Triangle3.js +8 -0
- package/src/standard/Math/Geometry/ViewVolume.js +17 -27
- package/src/standard/Math/Numbers/Color3.js +4 -7
- package/src/standard/Math/Numbers/Complex.js +8 -9
- package/src/standard/Math/Numbers/Matrix2.js +31 -42
- package/src/standard/Math/Numbers/Matrix3.js +54 -97
- package/src/standard/Math/Numbers/Matrix4.js +49 -160
- package/src/standard/Math/Numbers/Quaternion.js +20 -24
- package/src/standard/Math/Numbers/Rotation4.js +1 -2
- package/src/standard/Math/Numbers/Vector2.js +4 -12
- package/src/standard/Math/Numbers/Vector3.js +6 -18
- package/src/standard/Math/Numbers/Vector4.js +4 -20
- package/src/standard/Time/StopWatch.js +9 -14
- package/src/tests.js +11 -0
- package/src/x_ite/Browser/Core/BrowserTimings.js +10 -10
- package/src/x_ite/Browser/Core/X3DCoreContext.js +4 -6
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +94 -88
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +2 -3
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +17 -14
- package/src/x_ite/Browser/Text/PolygonText.js +15 -24
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/Core/X3DNode.js +12 -0
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +18 -0
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +8 -7
- package/src/x_ite/Configuration/UnitInfo.js +2 -0
- package/src/x_ite/Execution/X3DExportedNode.js +4 -0
- package/src/x_ite/Execution/X3DImportedNode.js +14 -0
- package/src/x_ite/Execution/X3DScene.js +4 -0
- package/src/x_ite/Fields/SFString.js +4 -6
- package/src/x_ite/InputOutput/FileLoader.js +1 -1
- package/src/x_ite/InputOutput/Generator.js +35 -55
- package/src/x_ite/Parser/GLTF2Parser.js +4 -4
- package/src/x_ite/Parser/SVGParser.js +24 -47
- package/src/x_ite/Parser/X3DParser.js +1 -1
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +4 -0
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +4 -0
- package/src/x_ite/Routing/X3DRoute.js +8 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.2 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,70 +73,70 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
79
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
79
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
80
80
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
82
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
82
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
83
83
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DField\")"
|
|
85
|
-
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
85
|
+
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DField");
|
|
86
86
|
var X3DField_default = /*#__PURE__*/__webpack_require__.n(X3DField_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DArrayField\")"
|
|
88
|
-
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
88
|
+
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DArrayField");
|
|
89
89
|
var X3DArrayField_default = /*#__PURE__*/__webpack_require__.n(X3DArrayField_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
91
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
91
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Fields");
|
|
92
92
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/X3DBrowser\")"
|
|
94
|
-
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
94
|
+
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Browser/X3DBrowser");
|
|
95
95
|
var X3DBrowser_default = /*#__PURE__*/__webpack_require__.n(X3DBrowser_namespaceObject);
|
|
96
96
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfo\")"
|
|
97
|
-
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
97
|
+
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/ComponentInfo");
|
|
98
98
|
var ComponentInfo_default = /*#__PURE__*/__webpack_require__.n(ComponentInfo_namespaceObject);
|
|
99
99
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfoArray\")"
|
|
100
|
-
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
100
|
+
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/ComponentInfoArray");
|
|
101
101
|
var ComponentInfoArray_default = /*#__PURE__*/__webpack_require__.n(ComponentInfoArray_namespaceObject);
|
|
102
102
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfo\")"
|
|
103
|
-
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
103
|
+
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/ProfileInfo");
|
|
104
104
|
var ProfileInfo_default = /*#__PURE__*/__webpack_require__.n(ProfileInfo_namespaceObject);
|
|
105
105
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfoArray\")"
|
|
106
|
-
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
106
|
+
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/ProfileInfoArray");
|
|
107
107
|
var ProfileInfoArray_default = /*#__PURE__*/__webpack_require__.n(ProfileInfoArray_namespaceObject);
|
|
108
108
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfo\")"
|
|
109
|
-
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
109
|
+
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/UnitInfo");
|
|
110
110
|
var UnitInfo_default = /*#__PURE__*/__webpack_require__.n(UnitInfo_namespaceObject);
|
|
111
111
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfoArray\")"
|
|
112
|
-
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
112
|
+
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Configuration/UnitInfoArray");
|
|
113
113
|
var UnitInfoArray_default = /*#__PURE__*/__webpack_require__.n(UnitInfoArray_namespaceObject);
|
|
114
114
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExecutionContext\")"
|
|
115
|
-
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
115
|
+
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Execution/X3DExecutionContext");
|
|
116
116
|
var X3DExecutionContext_default = /*#__PURE__*/__webpack_require__.n(X3DExecutionContext_namespaceObject);
|
|
117
117
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DScene\")"
|
|
118
|
-
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
118
|
+
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Execution/X3DScene");
|
|
119
119
|
var X3DScene_default = /*#__PURE__*/__webpack_require__.n(X3DScene_namespaceObject);
|
|
120
120
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ExternProtoDeclarationArray\")"
|
|
121
|
-
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
121
|
+
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Prototype/ExternProtoDeclarationArray");
|
|
122
122
|
var ExternProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ExternProtoDeclarationArray_namespaceObject);
|
|
123
123
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ProtoDeclarationArray\")"
|
|
124
|
-
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
124
|
+
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Prototype/ProtoDeclarationArray");
|
|
125
125
|
var ProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ProtoDeclarationArray_namespaceObject);
|
|
126
126
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DExternProtoDeclaration\")"
|
|
127
|
-
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
127
|
+
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Prototype/X3DExternProtoDeclaration");
|
|
128
128
|
var X3DExternProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DExternProtoDeclaration_namespaceObject);
|
|
129
129
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
|
|
130
|
-
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
130
|
+
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
|
131
131
|
var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
|
|
132
132
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/RouteArray\")"
|
|
133
|
-
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
133
|
+
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Routing/RouteArray");
|
|
134
134
|
var RouteArray_default = /*#__PURE__*/__webpack_require__.n(RouteArray_namespaceObject);
|
|
135
135
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/X3DRoute\")"
|
|
136
|
-
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
136
|
+
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Routing/X3DRoute");
|
|
137
137
|
var X3DRoute_default = /*#__PURE__*/__webpack_require__.n(X3DRoute_namespaceObject);
|
|
138
138
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
139
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
139
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Namespace");
|
|
140
140
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
141
141
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Scripting/evaluate.js
|
|
142
142
|
/*******************************************************************************
|
|
@@ -203,13 +203,13 @@ const __default__ = evaluate;
|
|
|
203
203
|
Namespace_default().set ("x_ite/Browser/Scripting/evaluate", __default__);
|
|
204
204
|
/* harmony default export */ const Scripting_evaluate = (__default__);
|
|
205
205
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
206
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
206
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
207
207
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
208
208
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
209
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
209
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
210
210
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
211
211
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
212
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
212
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DConstants");
|
|
213
213
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
214
214
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/X3DScriptNode.js
|
|
215
215
|
/*******************************************************************************
|
|
@@ -293,7 +293,7 @@ const X3DScriptNode_default_ = X3DScriptNode;
|
|
|
293
293
|
Namespace_default().set ("x_ite/Components/Scripting/X3DScriptNode", X3DScriptNode_default_);
|
|
294
294
|
/* harmony default export */ const Scripting_X3DScriptNode = (X3DScriptNode_default_);
|
|
295
295
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
|
296
|
-
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
296
|
+
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/InputOutput/FileLoader");
|
|
297
297
|
var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
|
|
298
298
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/Script.js
|
|
299
299
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.0 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.0")].require("lib/jquery")}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Components");var t=i.n(e);const n=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Base/X3DFieldDefinition");var o=i.n(n);const r=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Base/FieldDefinitionArray");var s=i.n(r);const a=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Base/X3DField");var c=i.n(a);const u=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Base/X3DArrayField");var l=i.n(u);const d=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Fields");var p=i.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Browser/X3DBrowser");var v=i.n(f);const h=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/ComponentInfo");var S=i.n(h);const _=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/ComponentInfoArray");var F=i.n(_);const w=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/ProfileInfo");var g=i.n(w);const y=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/ProfileInfoArray");var m=i.n(y);const x=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/UnitInfo");var D=i.n(x);const X=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Configuration/UnitInfoArray");var E=i.n(X);const T=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Execution/X3DExecutionContext");var M=i.n(T);const b=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Execution/X3DScene");var I=i.n(b);const C=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Prototype/ExternProtoDeclarationArray");var O=i.n(C);const A=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Prototype/ProtoDeclarationArray");var q=i.n(A);const N=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Prototype/X3DExternProtoDeclaration");var V=i.n(N);const B=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Prototype/X3DProtoDeclaration");var P=i.n(B);const R=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Routing/RouteArray");var z=i.n(R);const L=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Routing/X3DRoute");var U=i.n(L);const k=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Namespace");var j=i.n(k);const G=function(e,t){return Function(`with (arguments [0])\n {\n delete arguments [0];\n arguments .length = 0;\n ${t}\n }`)(e)};j().set("x_ite/Browser/Scripting/evaluate",G);const $=G,H=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Components/Core/X3DChildNode");var J=i.n(H);const W=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Components/Networking/X3DUrlObject");var K=i.n(W);const Q=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/Base/X3DConstants");var Y=i.n(Q);function Z(e){J().call(this,e),K().call(this,e),this.addType(Y().X3DScriptNode)}Z.prototype=Object.assign(Object.create(J().prototype),K().prototype,{constructor:Z,initialize:function(){J().prototype.initialize.call(this),K().prototype.initialize.call(this)},dispose:function(){K().prototype.dispose.call(this),J().prototype.dispose.call(this)}});const ee=Z;j().set("x_ite/Components/Scripting/X3DScriptNode",ee);const te=ee,ie=window[Symbol.for("X_ITE.X3D-8.6.0")].require("x_ite/InputOutput/FileLoader");var ne=i.n(ie),oe=i(355);function re(e){te.call(this,e),this.addType(Y().Script),this.pauseTime=0}re.prototype=Object.assign(Object.create(te.prototype),{constructor:re,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(s())([new(o())(Y().inputOutput,"metadata",new(p().SFNode)),new(o())(Y().inputOutput,"description",new(p().SFString)),new(o())(Y().inputOutput,"load",new(p().SFBool)(!0)),new(o())(Y().inputOutput,"url",new(p().MFString)),new(o())(Y().inputOutput,"autoRefresh",new(p().SFTime)),new(o())(Y().inputOutput,"autoRefreshTimeLimit",new(p().SFTime)(3600)),new(o())(Y().initializeOnly,"directOutput",new(p().SFBool)),new(o())(Y().initializeOnly,"mustEvaluate",new(p().SFBool))]),getTypeName:function(){return"Script"},getComponentName:function(){return"Scripting"},getContainerField:function(){return"children"},initialize:function(){te.prototype.initialize.call(this);for(const e of this.getUserDefinedFields())e.setModificationTime(0);this.requestImmediateLoad()},getExtendedEventHandling:function(){return!1},canUserDefinedFields:function(){return!0},addUserDefinedField:function(e,t,i){te.prototype.addUserDefinedField.call(this,e,t,i),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},removeUserDefinedField:function(e){te.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},getSourceText:function(){return this._url},unLoadNow:function(){this.initialize__("")},loadNow:function(){this.initialized=!1,new(ne())(this).loadDocument(this._url,function(e){null===e?this.setLoadState(Y().FAILED_STATE):(this.setLoadState(Y().COMPLETE_STATE),this.initialize__(oe.decodeText(e)))}.bind(this))},getContext:function(e){try{const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:t.push(e.getName());break;case Y().inputOutput:t.push("set_"+e.getName())}e+="\nreturn ["+t.map((function(e){return`typeof ${e} !== "undefined" ? ${e} : undefined`})).join(",")+"];",this.global=this.getGlobal();const i=$(this.global,e),n={};for(let e=0;e<t.length;++e)n[t[e]]=i[e];return n}catch(e){return this.setError("while evaluating script source",e),{}}},evaluate:function(e){return $(this.global,`return (${e})`)},getGlobal:function(){const e=this.getBrowser(),t=this.getExecutionContext(),i=this.isLive();function n(n){const o=e.createX3DFromString(String(n)),r=o.getRootNodes();if(i.addFieldInterest(o.isLive()),o.setLive(i.getValue()),o.setPrivate(t.isPrivate()),o.setExecutionContext(t),r.length&&r[0])return r[0];throw new Error("SFNode.new: invalid argument, must be 'string' is 'undefined'.")}n.prototype=p().SFNode.prototype;const r={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:e.println.bind(e)},trace:{value:e.println.bind(e)},Browser:{value:e},X3DConstants:{value:Y()},X3DBrowser:{value:v()},X3DExecutionContext:{value:M()},X3DScene:{value:I()},ComponentInfo:{value:S()},ComponentInfoArray:{value:F()},ProfileInfo:{value:g()},ProfileInfoArray:{value:m()},UnitInfo:{value:D()},UnitInfoArray:{value:E()},ExternProtoDeclarationArray:{value:O()},ProtoDeclarationArray:{value:q()},X3DExternProtoDeclaration:{value:V()},X3DProtoDeclaration:{value:P()},RouteArray:{value:z()},X3DRoute:{value:U()},X3DFieldDefinition:{value:o()},FieldDefinitionArray:{value:s()},X3DField:{value:c()},X3DArrayField:{value:l()},SFColor:{value:p().SFColor},SFColorRGBA:{value:p().SFColorRGBA},SFImage:{value:p().SFImage},SFMatrix3d:{value:p().SFMatrix3d},SFMatrix3f:{value:p().SFMatrix3f},SFMatrix4d:{value:p().SFMatrix4d},SFMatrix4f:{value:p().SFMatrix4f},SFNode:{value:n},SFRotation:{value:p().SFRotation},SFVec2d:{value:p().SFVec2d},SFVec2f:{value:p().SFVec2f},SFVec3d:{value:p().SFVec3d},SFVec3f:{value:p().SFVec3f},SFVec4d:{value:p().SFVec4d},SFVec4f:{value:p().SFVec4f},VrmlMatrix:{value:p().VrmlMatrix},MFBool:{value:p().MFBool},MFColor:{value:p().MFColor},MFColorRGBA:{value:p().MFColorRGBA},MFDouble:{value:p().MFDouble},MFFloat:{value:p().MFFloat},MFImage:{value:p().MFImage},MFInt32:{value:p().MFInt32},MFMatrix3d:{value:p().MFMatrix3d},MFMatrix3f:{value:p().MFMatrix3f},MFMatrix4d:{value:p().MFMatrix4d},MFMatrix4f:{value:p().MFMatrix4f},MFNode:{value:p().MFNode},MFRotation:{value:p().MFRotation},MFString:{value:p().MFString},MFTime:{value:p().MFTime},MFVec2d:{value:p().MFVec2d},MFVec2f:{value:p().MFVec2f},MFVec3d:{value:p().MFVec3d},MFVec3f:{value:p().MFVec3f},MFVec4d:{value:p().MFVec4d},MFVec4f:{value:p().MFVec4f}};for(const e of this.getUserDefinedFields()){const t=e.getName();e.getAccessType()!==Y().inputOnly&&(t in r||(r[t]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}),e.getAccessType()===Y().inputOutput&&(r[t+"_changed"]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}))}return Object.create(Object.prototype,r)},processOutstandingEvents:function(){for(const e of this.getUserDefinedFields())if(!(e.getModificationTime()<=this.pauseTime))switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&this.set_field__(t,e);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&this.set_field__(t,e);break}}},initialize__:function(e){this.context=this.getContext(e),this.set_live__()},set_live__:function(){if(te.prototype.set_live__.call(this),this.context)if(this.isLive().getValue()){if(!this.initialized){if(this.initialized=!0,"function"==typeof this.context.initialize){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.initialize()}catch(e){this.setError("in function 'initialize'",e)}e.getScriptStack().pop()}"function"==typeof this.context.shutdown&&oe(window).on("unload",this.shutdown__.bind(this))}"function"==typeof this.context.prepareEvents&&this.getBrowser().prepareEvents().addInterest("prepareEvents__",this),"function"==typeof this.context.eventsProcessed&&this.addInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}}this.processOutstandingEvents()}else{this.context.prepareEvents&&this.getBrowser().prepareEvents().removeInterest("prepareEvents__",this),this.context.eventsProcessed&&this.removeInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:case Y().inputOutput:e.removeInterest("set_field__",this)}this.initialized&&(this.pauseTime=Date.now())}},prepareEvents__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.prepareEvents(e.getCurrentTime()),e.addBrowserEvent()}catch(e){this.setError("in function 'prepareEvents'",e)}e.getScriptStack().pop()},set_field__:function(e,t){const i=this.getBrowser();t.setTainted(!0),i.getScriptStack().push(this);try{e(t.valueOf(),i.getCurrentTime())}catch(e){this.setError("in function '"+t.getName()+"'",e)}i.getScriptStack().pop(),t.setTainted(!1)},eventsProcessed__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.eventsProcessed()}catch(e){this.setError("in function 'eventsProcessed'",e)}e.getScriptStack().pop()},shutdown__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.shutdown()}catch(e){this.setError("in function 'shutdown'",e)}e.getScriptStack().pop()},setError:function(e,t){console.error("JavaScript Error in Script '"+this.getName()+"', "+e+"\nworld url is '"+this.getExecutionContext().getWorldURL()+"':"),console.error(t)}});const se=re;j().set("x_ite/Components/Scripting/Script",se);const ae=se;t().addComponent({name:"Scripting",types:{Script:ae},abstractTypes:{X3DScriptNode:te}});const ce=void 0;j().set("assets/components/Scripting",ce)})()})();
|
|
1
|
+
/* X_ITE v8.6.2 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.2")].require("lib/jquery")}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Components");var t=i.n(e);const n=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Base/X3DFieldDefinition");var o=i.n(n);const r=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Base/FieldDefinitionArray");var s=i.n(r);const a=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Base/X3DField");var c=i.n(a);const u=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Base/X3DArrayField");var l=i.n(u);const d=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Fields");var p=i.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Browser/X3DBrowser");var v=i.n(f);const h=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/ComponentInfo");var S=i.n(h);const _=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/ComponentInfoArray");var F=i.n(_);const w=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/ProfileInfo");var g=i.n(w);const y=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/ProfileInfoArray");var m=i.n(y);const x=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/UnitInfo");var D=i.n(x);const X=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Configuration/UnitInfoArray");var E=i.n(X);const T=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Execution/X3DExecutionContext");var M=i.n(T);const b=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Execution/X3DScene");var I=i.n(b);const C=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Prototype/ExternProtoDeclarationArray");var O=i.n(C);const A=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Prototype/ProtoDeclarationArray");var q=i.n(A);const N=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Prototype/X3DExternProtoDeclaration");var V=i.n(N);const B=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Prototype/X3DProtoDeclaration");var P=i.n(B);const R=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Routing/RouteArray");var z=i.n(R);const L=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Routing/X3DRoute");var U=i.n(L);const k=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Namespace");var j=i.n(k);const G=function(e,t){return Function(`with (arguments [0])\n {\n delete arguments [0];\n arguments .length = 0;\n ${t}\n }`)(e)};j().set("x_ite/Browser/Scripting/evaluate",G);const $=G,H=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Components/Core/X3DChildNode");var J=i.n(H);const W=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Components/Networking/X3DUrlObject");var K=i.n(W);const Q=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/Base/X3DConstants");var Y=i.n(Q);function Z(e){J().call(this,e),K().call(this,e),this.addType(Y().X3DScriptNode)}Z.prototype=Object.assign(Object.create(J().prototype),K().prototype,{constructor:Z,initialize:function(){J().prototype.initialize.call(this),K().prototype.initialize.call(this)},dispose:function(){K().prototype.dispose.call(this),J().prototype.dispose.call(this)}});const ee=Z;j().set("x_ite/Components/Scripting/X3DScriptNode",ee);const te=ee,ie=window[Symbol.for("X_ITE.X3D-8.6.2")].require("x_ite/InputOutput/FileLoader");var ne=i.n(ie),oe=i(355);function re(e){te.call(this,e),this.addType(Y().Script),this.pauseTime=0}re.prototype=Object.assign(Object.create(te.prototype),{constructor:re,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(s())([new(o())(Y().inputOutput,"metadata",new(p().SFNode)),new(o())(Y().inputOutput,"description",new(p().SFString)),new(o())(Y().inputOutput,"load",new(p().SFBool)(!0)),new(o())(Y().inputOutput,"url",new(p().MFString)),new(o())(Y().inputOutput,"autoRefresh",new(p().SFTime)),new(o())(Y().inputOutput,"autoRefreshTimeLimit",new(p().SFTime)(3600)),new(o())(Y().initializeOnly,"directOutput",new(p().SFBool)),new(o())(Y().initializeOnly,"mustEvaluate",new(p().SFBool))]),getTypeName:function(){return"Script"},getComponentName:function(){return"Scripting"},getContainerField:function(){return"children"},initialize:function(){te.prototype.initialize.call(this);for(const e of this.getUserDefinedFields())e.setModificationTime(0);this.requestImmediateLoad()},getExtendedEventHandling:function(){return!1},canUserDefinedFields:function(){return!0},addUserDefinedField:function(e,t,i){te.prototype.addUserDefinedField.call(this,e,t,i),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},removeUserDefinedField:function(e){te.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},getSourceText:function(){return this._url},unLoadNow:function(){this.initialize__("")},loadNow:function(){this.initialized=!1,new(ne())(this).loadDocument(this._url,function(e){null===e?this.setLoadState(Y().FAILED_STATE):(this.setLoadState(Y().COMPLETE_STATE),this.initialize__(oe.decodeText(e)))}.bind(this))},getContext:function(e){try{const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:t.push(e.getName());break;case Y().inputOutput:t.push("set_"+e.getName())}e+="\nreturn ["+t.map((function(e){return`typeof ${e} !== "undefined" ? ${e} : undefined`})).join(",")+"];",this.global=this.getGlobal();const i=$(this.global,e),n={};for(let e=0;e<t.length;++e)n[t[e]]=i[e];return n}catch(e){return this.setError("while evaluating script source",e),{}}},evaluate:function(e){return $(this.global,`return (${e})`)},getGlobal:function(){const e=this.getBrowser(),t=this.getExecutionContext(),i=this.isLive();function n(n){const o=e.createX3DFromString(String(n)),r=o.getRootNodes();if(i.addFieldInterest(o.isLive()),o.setLive(i.getValue()),o.setPrivate(t.isPrivate()),o.setExecutionContext(t),r.length&&r[0])return r[0];throw new Error("SFNode.new: invalid argument, must be 'string' is 'undefined'.")}n.prototype=p().SFNode.prototype;const r={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:e.println.bind(e)},trace:{value:e.println.bind(e)},Browser:{value:e},X3DConstants:{value:Y()},X3DBrowser:{value:v()},X3DExecutionContext:{value:M()},X3DScene:{value:I()},ComponentInfo:{value:S()},ComponentInfoArray:{value:F()},ProfileInfo:{value:g()},ProfileInfoArray:{value:m()},UnitInfo:{value:D()},UnitInfoArray:{value:E()},ExternProtoDeclarationArray:{value:O()},ProtoDeclarationArray:{value:q()},X3DExternProtoDeclaration:{value:V()},X3DProtoDeclaration:{value:P()},RouteArray:{value:z()},X3DRoute:{value:U()},X3DFieldDefinition:{value:o()},FieldDefinitionArray:{value:s()},X3DField:{value:c()},X3DArrayField:{value:l()},SFColor:{value:p().SFColor},SFColorRGBA:{value:p().SFColorRGBA},SFImage:{value:p().SFImage},SFMatrix3d:{value:p().SFMatrix3d},SFMatrix3f:{value:p().SFMatrix3f},SFMatrix4d:{value:p().SFMatrix4d},SFMatrix4f:{value:p().SFMatrix4f},SFNode:{value:n},SFRotation:{value:p().SFRotation},SFVec2d:{value:p().SFVec2d},SFVec2f:{value:p().SFVec2f},SFVec3d:{value:p().SFVec3d},SFVec3f:{value:p().SFVec3f},SFVec4d:{value:p().SFVec4d},SFVec4f:{value:p().SFVec4f},VrmlMatrix:{value:p().VrmlMatrix},MFBool:{value:p().MFBool},MFColor:{value:p().MFColor},MFColorRGBA:{value:p().MFColorRGBA},MFDouble:{value:p().MFDouble},MFFloat:{value:p().MFFloat},MFImage:{value:p().MFImage},MFInt32:{value:p().MFInt32},MFMatrix3d:{value:p().MFMatrix3d},MFMatrix3f:{value:p().MFMatrix3f},MFMatrix4d:{value:p().MFMatrix4d},MFMatrix4f:{value:p().MFMatrix4f},MFNode:{value:p().MFNode},MFRotation:{value:p().MFRotation},MFString:{value:p().MFString},MFTime:{value:p().MFTime},MFVec2d:{value:p().MFVec2d},MFVec2f:{value:p().MFVec2f},MFVec3d:{value:p().MFVec3d},MFVec3f:{value:p().MFVec3f},MFVec4d:{value:p().MFVec4d},MFVec4f:{value:p().MFVec4f}};for(const e of this.getUserDefinedFields()){const t=e.getName();e.getAccessType()!==Y().inputOnly&&(t in r||(r[t]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}),e.getAccessType()===Y().inputOutput&&(r[t+"_changed"]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}))}return Object.create(Object.prototype,r)},processOutstandingEvents:function(){for(const e of this.getUserDefinedFields())if(!(e.getModificationTime()<=this.pauseTime))switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&this.set_field__(t,e);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&this.set_field__(t,e);break}}},initialize__:function(e){this.context=this.getContext(e),this.set_live__()},set_live__:function(){if(te.prototype.set_live__.call(this),this.context)if(this.isLive().getValue()){if(!this.initialized){if(this.initialized=!0,"function"==typeof this.context.initialize){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.initialize()}catch(e){this.setError("in function 'initialize'",e)}e.getScriptStack().pop()}"function"==typeof this.context.shutdown&&oe(window).on("unload",this.shutdown__.bind(this))}"function"==typeof this.context.prepareEvents&&this.getBrowser().prepareEvents().addInterest("prepareEvents__",this),"function"==typeof this.context.eventsProcessed&&this.addInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}}this.processOutstandingEvents()}else{this.context.prepareEvents&&this.getBrowser().prepareEvents().removeInterest("prepareEvents__",this),this.context.eventsProcessed&&this.removeInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:case Y().inputOutput:e.removeInterest("set_field__",this)}this.initialized&&(this.pauseTime=Date.now())}},prepareEvents__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.prepareEvents(e.getCurrentTime()),e.addBrowserEvent()}catch(e){this.setError("in function 'prepareEvents'",e)}e.getScriptStack().pop()},set_field__:function(e,t){const i=this.getBrowser();t.setTainted(!0),i.getScriptStack().push(this);try{e(t.valueOf(),i.getCurrentTime())}catch(e){this.setError("in function '"+t.getName()+"'",e)}i.getScriptStack().pop(),t.setTainted(!1)},eventsProcessed__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.eventsProcessed()}catch(e){this.setError("in function 'eventsProcessed'",e)}e.getScriptStack().pop()},shutdown__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.shutdown()}catch(e){this.setError("in function 'shutdown'",e)}e.getScriptStack().pop()},setError:function(e,t){console.error("JavaScript Error in Script '"+this.getName()+"', "+e+"\nworld url is '"+this.getExecutionContext().getWorldURL()+"':"),console.error(t)}});const se=re;j().set("x_ite/Components/Scripting/Script",se);const ae=se;t().addComponent({name:"Scripting",types:{Script:ae},abstractTypes:{X3DScriptNode:te}});const ce=void 0;j().set("assets/components/Scripting",ce)})()})();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.2 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 646:
|
|
5
5
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -14488,7 +14488,7 @@
|
|
|
14488
14488
|
/***/ ((module) => {
|
|
14489
14489
|
|
|
14490
14490
|
"use strict";
|
|
14491
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14491
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("lib/jquery");
|
|
14492
14492
|
|
|
14493
14493
|
/***/ }),
|
|
14494
14494
|
|
|
@@ -14564,25 +14564,25 @@ var __webpack_exports__ = {};
|
|
|
14564
14564
|
// UNUSED EXPORTS: default
|
|
14565
14565
|
|
|
14566
14566
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
14567
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14567
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components");
|
|
14568
14568
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
14569
14569
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
14570
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14570
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Fields");
|
|
14571
14571
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
14572
14572
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
14573
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14573
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
14574
14574
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
14575
14575
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
14576
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14576
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
14577
14577
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
14578
14578
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
14579
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14579
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components/Core/X3DNode");
|
|
14580
14580
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
14581
14581
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
14582
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14582
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
14583
14583
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
14584
14584
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
14585
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14585
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Namespace");
|
|
14586
14586
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
14587
14587
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/TextAlignment.js
|
|
14588
14588
|
/*******************************************************************************
|
|
@@ -14648,13 +14648,13 @@ const __default__ = TextAlignment;
|
|
|
14648
14648
|
Namespace_default().set ("x_ite/Browser/Text/TextAlignment", __default__);
|
|
14649
14649
|
/* harmony default export */ const Text_TextAlignment = (__default__);
|
|
14650
14650
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
|
14651
|
-
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14651
|
+
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/InputOutput/FileLoader");
|
|
14652
14652
|
var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
|
|
14653
14653
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
14654
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14654
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DConstants");
|
|
14655
14655
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
14656
14656
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Networking/URLs\")"
|
|
14657
|
-
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14657
|
+
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Browser/Networking/URLs");
|
|
14658
14658
|
var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
|
|
14659
14659
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/X3DFontStyleNode.js
|
|
14660
14660
|
/*******************************************************************************
|
|
@@ -14922,19 +14922,19 @@ const X3DFontStyleNode_default_ = X3DFontStyleNode;
|
|
|
14922
14922
|
Namespace_default().set ("x_ite/Components/Text/X3DFontStyleNode", X3DFontStyleNode_default_);
|
|
14923
14923
|
/* harmony default export */ const Text_X3DFontStyleNode = (X3DFontStyleNode_default_);
|
|
14924
14924
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
14925
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14925
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
14926
14926
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
14927
14927
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box2\")"
|
|
14928
|
-
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14928
|
+
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Geometry/Box2");
|
|
14929
14929
|
var Box2_default = /*#__PURE__*/__webpack_require__.n(Box2_namespaceObject);
|
|
14930
14930
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
14931
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14931
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Geometry/Box3");
|
|
14932
14932
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
14933
14933
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
14934
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14934
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Numbers/Vector2");
|
|
14935
14935
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
14936
14936
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
14937
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
14937
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Numbers/Vector3");
|
|
14938
14938
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
14939
14939
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextGeometry.js
|
|
14940
14940
|
/*******************************************************************************
|
|
@@ -15558,16 +15558,16 @@ const X3DTextGeometry_default_ = X3DTextGeometry;
|
|
|
15558
15558
|
Namespace_default().set ("x_ite/Browser/Text/X3DTextGeometry", X3DTextGeometry_default_);
|
|
15559
15559
|
/* harmony default export */ const Text_X3DTextGeometry = (X3DTextGeometry_default_);
|
|
15560
15560
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
15561
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
15561
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
15562
15562
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
15563
15563
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
15564
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
15564
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Numbers/Matrix4");
|
|
15565
15565
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
15566
15566
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithms/Bezier\")"
|
|
15567
|
-
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
15567
|
+
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("standard/Math/Algorithms/Bezier");
|
|
15568
15568
|
var Bezier_default = /*#__PURE__*/__webpack_require__.n(Bezier_namespaceObject);
|
|
15569
15569
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/libtess\")"
|
|
15570
|
-
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
15570
|
+
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("lib/libtess");
|
|
15571
15571
|
var libtess_default = /*#__PURE__*/__webpack_require__.n(libtess_namespaceObject);
|
|
15572
15572
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/PolygonText.js
|
|
15573
15573
|
/*******************************************************************************
|
|
@@ -15828,59 +15828,44 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
|
|
|
15828
15828
|
x = 0,
|
|
15829
15829
|
y = 0;
|
|
15830
15830
|
|
|
15831
|
-
for (const
|
|
15831
|
+
for (const { type, x1, y1, x2, y2, x: cx, y: cy } of path .commands)
|
|
15832
15832
|
{
|
|
15833
|
-
switch (
|
|
15833
|
+
switch (type)
|
|
15834
15834
|
{
|
|
15835
15835
|
case "M": // Start
|
|
15836
15836
|
case "Z": // End
|
|
15837
15837
|
{
|
|
15838
|
-
// Filter consecutive identical points.
|
|
15839
|
-
points = points .filter ((p, i, a) => !p .equals (a [(i + 1) % a .length]));
|
|
15840
|
-
|
|
15841
15838
|
if (points .length > 2)
|
|
15842
15839
|
contours .push (points);
|
|
15843
15840
|
|
|
15844
15841
|
points = [ ];
|
|
15845
15842
|
|
|
15846
|
-
if (
|
|
15847
|
-
points .push (new (Vector3_default()) (
|
|
15843
|
+
if (type === "M")
|
|
15844
|
+
points .push (new (Vector3_default()) (cx, -cy, 0));
|
|
15848
15845
|
|
|
15849
15846
|
break;
|
|
15850
15847
|
}
|
|
15851
15848
|
case "L": // Linear
|
|
15852
15849
|
{
|
|
15853
|
-
points .push (new (Vector3_default()) (
|
|
15850
|
+
points .push (new (Vector3_default()) (cx, -cy, 0));
|
|
15854
15851
|
break;
|
|
15855
15852
|
}
|
|
15856
15853
|
case "Q": // Quadric
|
|
15857
15854
|
{
|
|
15858
|
-
|
|
15859
|
-
curve = new (Bezier_default()) (x, -y, command .x1, -command .y1, command .x, -command .y),
|
|
15860
|
-
lut = curve .getPoints ("quadric", steps);
|
|
15861
|
-
|
|
15862
|
-
for (const p of lut)
|
|
15863
|
-
points .push (new (Vector3_default()) (p .x, p .y, 0));
|
|
15864
|
-
|
|
15855
|
+
Bezier_default().quadric (x, -y, 0, x1, -y1, 0, cx, -cy, 0, steps, points);
|
|
15865
15856
|
break;
|
|
15866
15857
|
}
|
|
15867
15858
|
case "C": // Cubic
|
|
15868
15859
|
{
|
|
15869
|
-
|
|
15870
|
-
curve = new (Bezier_default()) (x, -y, command .x1, -command .y1, command .x2, -command .y2, command .x, -command .y),
|
|
15871
|
-
lut = curve .getPoints ("cubic", steps);
|
|
15872
|
-
|
|
15873
|
-
for (const p of lut)
|
|
15874
|
-
points .push (new (Vector3_default()) (p .x, p .y, 0));
|
|
15875
|
-
|
|
15860
|
+
Bezier_default().cubic (x, -y, 0, x1, -y1, 0, x2, -y2, 0, cx, -cy, 0, steps, points);
|
|
15876
15861
|
break;
|
|
15877
15862
|
}
|
|
15878
15863
|
default:
|
|
15879
15864
|
continue;
|
|
15880
15865
|
}
|
|
15881
15866
|
|
|
15882
|
-
x =
|
|
15883
|
-
y =
|
|
15867
|
+
x = cx;
|
|
15868
|
+
y = cy;
|
|
15884
15869
|
}
|
|
15885
15870
|
|
|
15886
15871
|
return this .triangulatePolygon (contours, vertices);
|
|
@@ -15906,9 +15891,15 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
|
|
|
15906
15891
|
triangles .push (point);
|
|
15907
15892
|
}
|
|
15908
15893
|
|
|
15894
|
+
function combineCallback (coords, data, weight)
|
|
15895
|
+
{
|
|
15896
|
+
return new (Vector3_default()) (... coords);
|
|
15897
|
+
}
|
|
15898
|
+
|
|
15909
15899
|
const tessy = new (libtess_default()).GluTesselator ();
|
|
15910
15900
|
|
|
15911
15901
|
tessy .gluTessCallback ((libtess_default()).gluEnum.GLU_TESS_VERTEX_DATA, vertexCallback);
|
|
15902
|
+
tessy .gluTessCallback ((libtess_default()).gluEnum.GLU_TESS_COMBINE, combineCallback);
|
|
15912
15903
|
tessy .gluTessProperty ((libtess_default()).gluEnum.GLU_TESS_WINDING_RULE, (libtess_default()).windingRule.GLU_TESS_WINDING_ODD);
|
|
15913
15904
|
tessy .gluTessNormal (0, 0, 1);
|
|
15914
15905
|
|
|
@@ -16052,7 +16043,7 @@ Namespace_default().set ("x_ite/Components/Text/FontStyle", FontStyle_default_);
|
|
|
16052
16043
|
/* harmony default export */ const Text_FontStyle = (FontStyle_default_);
|
|
16053
16044
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextContext.js
|
|
16054
16045
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
16055
|
-
/* provided dependency */ var opentype = __webpack_require__(
|
|
16046
|
+
/* provided dependency */ var opentype = __webpack_require__(646);
|
|
16056
16047
|
/*******************************************************************************
|
|
16057
16048
|
*
|
|
16058
16049
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -16178,7 +16169,7 @@ const X3DTextContext_default_ = X3DTextContext;
|
|
|
16178
16169
|
Namespace_default().set ("x_ite/Browser/Text/X3DTextContext", X3DTextContext_default_);
|
|
16179
16170
|
/* harmony default export */ const Text_X3DTextContext = (X3DTextContext_default_);
|
|
16180
16171
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
16181
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
16172
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.2")] .require ("x_ite/Base/X3DCast");
|
|
16182
16173
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
16183
16174
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/Text.js
|
|
16184
16175
|
/*******************************************************************************
|