x_ite 8.3.2 → 8.3.3
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/.github/workflows/pages-deploy.yml +1 -1
- package/.vscode/settings.json +2 -1
- package/dist/LICENSE.md +4 -4
- 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 +61 -74
- 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 +17 -17
- 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/{ProjectiveTextureMapping.js → TextureProjector.js} +39 -39
- package/dist/assets/components/TextureProjector.min.js +1 -0
- package/dist/assets/components/Texturing3D.js +27 -27
- 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 +1492 -1291
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/Gemfile +1 -4
- package/docs/_config.yml +3 -3
- package/docs/_posts/getting-started.md +147 -441
- package/docs/_posts/reference/scene-services.md +13 -2
- package/docs/_posts/what's-new.md +21 -3
- package/docs/_tabs/playground.html +36 -40
- package/docs/assets/css/style.scss +18 -0
- package/package.json +1 -1
- package/src/assets/components/{ProjectiveTextureMapping.js → TextureProjector.js} +5 -5
- package/src/examples.js +1 -1
- package/src/tests.js +5 -5
- package/src/x_ite/Base/X3DInfoArray.js +21 -21
- package/src/x_ite/Base/X3DObject.js +29 -20
- package/src/x_ite/Base/X3DObjectArrayField.js +27 -26
- package/src/x_ite/Base/X3DTypedArrayField.js +34 -32
- package/src/x_ite/Browser/DOMIntegration.js +4 -3
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +43 -28
- package/src/x_ite/Components/Core/X3DNode.js +196 -187
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +113 -90
- package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +18 -43
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +24 -25
- package/src/x_ite/Components/HAnim/HAnimJoint.js +19 -31
- package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +14 -1
- package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +0 -1
- package/src/x_ite/Components/{ProjectiveTextureMapping → TextureProjector}/TextureProjector.js +1 -1
- package/src/x_ite/Components/{ProjectiveTextureMapping → TextureProjector}/TextureProjectorParallel.js +1 -1
- package/src/x_ite/Components/{ProjectiveTextureMapping → TextureProjector}/X3DTextureProjectorNode.js +0 -0
- package/src/x_ite/Components/Time/TimeSensor.js +5 -0
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +1 -0
- package/src/x_ite/Configuration/ComponentInfo.js +20 -23
- package/src/x_ite/Configuration/ProfileInfo.js +6 -6
- package/src/x_ite/Configuration/SupportedComponents.js +22 -20
- package/src/x_ite/Configuration/SupportedProfiles.js +1 -1
- package/src/x_ite/Configuration/UnitInfo.js +24 -27
- package/src/x_ite/Execution/X3DExecutionContext.js +28 -59
- package/src/x_ite/Execution/X3DExportedNode.js +23 -28
- package/src/x_ite/Execution/X3DImportedNode.js +63 -67
- package/src/x_ite/Execution/X3DScene.js +98 -117
- package/src/x_ite/Fields/ArrayFields.js +57 -55
- package/src/x_ite/Fields/SFBool.js +6 -6
- package/src/x_ite/Fields/SFColor.js +10 -12
- package/src/x_ite/Fields/SFDouble.js +7 -10
- package/src/x_ite/Fields/SFFloat.js +7 -10
- package/src/x_ite/Fields/SFImage.js +33 -8
- package/src/x_ite/Fields/SFInt32.js +6 -6
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +13 -13
- package/src/x_ite/Fields/SFNode.js +42 -19
- package/src/x_ite/Fields/SFRotation.js +13 -13
- package/src/x_ite/Fields/SFString.js +6 -7
- package/src/x_ite/Fields/SFTime.js +6 -6
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +10 -10
- package/src/x_ite/InputOutput/FileLoader.js +1 -1
- package/src/x_ite/InputOutput/Generator.js +117 -17
- package/src/x_ite/Parser/VRMLParser.js +24 -27
- package/src/x_ite/Parser/X3DParser.js +0 -4
- package/src/x_ite/Parser/XMLParser.js +2 -2
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +59 -64
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +86 -93
- package/src/x_ite/Rendering/X3DRenderObject.js +6 -1
- package/src/x_ite/Routing/X3DRoute.js +37 -40
- package/src/x_ite.html +1 -1
- package/x_ite.min.html +1 -1
- package/dist/assets/components/ProjectiveTextureMapping.min.js +0 -1
- package/docs/Gemfile.lock +0 -116
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.3.
|
|
1
|
+
/* X_ITE v8.3.3 */(() => { // 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.3.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,22 +73,22 @@ 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.3.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .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/Components/Texturing/TextureProperties\")"
|
|
79
|
-
const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
79
|
+
const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Texturing/TextureProperties");
|
|
80
80
|
var TextureProperties_default = /*#__PURE__*/__webpack_require__.n(TextureProperties_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
82
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
82
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Vector3");
|
|
83
83
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
85
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
85
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Matrix4");
|
|
86
86
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
|
|
88
|
-
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
88
|
+
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Geometry/ViewVolume");
|
|
89
89
|
var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
91
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
91
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Namespace");
|
|
92
92
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/X3DLayoutContext.js
|
|
94
94
|
/*******************************************************************************
|
|
@@ -227,19 +227,19 @@ const __default__ = X3DLayoutContext;
|
|
|
227
227
|
Namespace_default().set ("x_ite/Browser/Layout/X3DLayoutContext", __default__);
|
|
228
228
|
/* harmony default export */ const Layout_X3DLayoutContext = (__default__);
|
|
229
229
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
230
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
230
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Fields");
|
|
231
231
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
232
232
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
233
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
233
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
234
234
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
235
235
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
236
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
236
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
237
237
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
238
238
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
239
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
239
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
240
240
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
241
241
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
242
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
242
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DConstants");
|
|
243
243
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
244
244
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/X3DLayoutNode.js
|
|
245
245
|
/*******************************************************************************
|
|
@@ -310,13 +310,13 @@ const X3DLayoutNode_default_ = X3DLayoutNode;
|
|
|
310
310
|
Namespace_default().set ("x_ite/Components/Layout/X3DLayoutNode", X3DLayoutNode_default_);
|
|
311
311
|
/* harmony default export */ const Layout_X3DLayoutNode = (X3DLayoutNode_default_);
|
|
312
312
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
313
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
313
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DCast");
|
|
314
314
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
315
315
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
316
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
316
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Vector2");
|
|
317
317
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
318
318
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
319
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
319
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Rotation4");
|
|
320
320
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
321
321
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/Layout.js
|
|
322
322
|
/*******************************************************************************
|
|
@@ -947,10 +947,10 @@ const Layout_default_ = Layout;
|
|
|
947
947
|
Namespace_default().set ("x_ite/Components/Layout/Layout", Layout_default_);
|
|
948
948
|
/* harmony default export */ const Layout_Layout = (Layout_default_);
|
|
949
949
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
950
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
950
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
951
951
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
952
952
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
953
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
953
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Rendering/TraverseType");
|
|
954
954
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
955
955
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutGroup.js
|
|
956
956
|
/*******************************************************************************
|
|
@@ -1127,10 +1127,10 @@ const LayoutGroup_default_ = LayoutGroup;
|
|
|
1127
1127
|
Namespace_default().set ("x_ite/Components/Layout/LayoutGroup", LayoutGroup_default_);
|
|
1128
1128
|
/* harmony default export */ const Layout_LayoutGroup = (LayoutGroup_default_);
|
|
1129
1129
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
|
|
1130
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1130
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
1131
1131
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
1132
1132
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/OrthoViewpoint\")"
|
|
1133
|
-
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1133
|
+
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Navigation/OrthoViewpoint");
|
|
1134
1134
|
var OrthoViewpoint_default = /*#__PURE__*/__webpack_require__.n(OrthoViewpoint_namespaceObject);
|
|
1135
1135
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutLayer.js
|
|
1136
1136
|
/*******************************************************************************
|
|
@@ -1247,25 +1247,25 @@ const LayoutLayer_default_ = LayoutLayer;
|
|
|
1247
1247
|
Namespace_default().set ("x_ite/Components/Layout/LayoutLayer", LayoutLayer_default_);
|
|
1248
1248
|
/* harmony default export */ const Layout_LayoutLayer = (LayoutLayer_default_);
|
|
1249
1249
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Text/X3DFontStyleNode\")"
|
|
1250
|
-
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1250
|
+
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Text/X3DFontStyleNode");
|
|
1251
1251
|
var X3DFontStyleNode_default = /*#__PURE__*/__webpack_require__.n(X3DFontStyleNode_namespaceObject);
|
|
1252
1252
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/X3DTextGeometry\")"
|
|
1253
|
-
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1253
|
+
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Browser/Text/X3DTextGeometry");
|
|
1254
1254
|
var X3DTextGeometry_default = /*#__PURE__*/__webpack_require__.n(X3DTextGeometry_namespaceObject);
|
|
1255
1255
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/TextAlignment\")"
|
|
1256
|
-
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1256
|
+
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Browser/Text/TextAlignment");
|
|
1257
1257
|
var TextAlignment_default = /*#__PURE__*/__webpack_require__.n(TextAlignment_namespaceObject);
|
|
1258
1258
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/PixelTexture\")"
|
|
1259
|
-
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1259
|
+
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Texturing/PixelTexture");
|
|
1260
1260
|
var PixelTexture_default = /*#__PURE__*/__webpack_require__.n(PixelTexture_namespaceObject);
|
|
1261
1261
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1262
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1262
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1263
1263
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1264
1264
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1265
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1265
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Geometry/Box3");
|
|
1266
1266
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1267
1267
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
1268
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1268
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Algorithm");
|
|
1269
1269
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
1270
1270
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/ScreenText.js
|
|
1271
1271
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.3.2 */(()=>{"use strict";var t={355:t=>{t.exports=window[Symbol.for("X_ITE.X3D-8.3.2")].require("lib/jquery")}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components");var e=i.n(t);const n=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Matrix4");var u=i.n(a);const h=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Geometry/ViewVolume");var l=i.n(h);const c=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Namespace");var d=i.n(c);const f=Symbol();function p(){}p.prototype={getScreenTextureProperties:function(){return this[f]=new(s())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:function(){const t=new(r())(0,0,0),e=new(r())(0,0,0),i=new(u());return function(n,s){const o=n.getModelViewMatrix().get(),a=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(o.origin,u,t);const h=o.xAxis.normalize().multiply(t.x),c=o.yAxis.normalize().multiply(t.y),d=o.zAxis.normalize().multiply(t.x);i.set(h.x,h.y,h.z,0,c.x,c.y,c.z,0,d.x,d.y,d.z,0,o[12],o[13],o[14],1),l().projectPoint(r().Zero,i,a,u,e),e.x=Math.round(e.x),e.y=Math.round(e.y),l().unProjectPoint(e.x,e.y,e.z,i,a,u,e),e.z=0,i.translate(e),s.assign(o).inverse().multLeft(i)}}()};const y=p;d().set("x_ite/Browser/Layout/X3DLayoutContext",y);const g=y,w=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Fields");var x=i.n(w);const _=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DFieldDefinition");var m=i.n(_);const X=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/FieldDefinitionArray");var S=i.n(X);const M=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Core/X3DChildNode");var T=i.n(M);const b=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DConstants");var z=i.n(b);function O(t){T().call(this,t),this.addType(z().X3DLayoutNode)}O.prototype=Object.assign(Object.create(T().prototype),{constructor:O});const N=O;d().set("x_ite/Components/Layout/X3DLayoutNode",N);const v=N,F=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DCast");var E=i.n(F);const C=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Vector2");var I=i.n(C);const L=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Rotation4");var D=i.n(L),U=0,B=U++,Y=U++,P=U++,R=U++,G=U++,V=U++,A=U++,q=U++,j=U++,k=U++;function W(t){v.call(this,t),this.addType(z().Layout),this.alignX=Y,this.alignY=Y,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=j,this.scaleModeY=j,this.parent=null,this.rectangleCenter=new(I())(0,0),this.rectangleSize=new(I())(0,0),this.matrix=new(u())}W.prototype=Object.assign(Object.create(v.prototype),{constructor:W,viewportPixel:new(I())(0,0),pixelSize:new(I())(0,0),translation:new(r())(0,0,0),offset:new(r())(0,0,0),scale:new(r())(1,1,1),currentTranslation:new(r())(0,0,0),currentRotation:new(D())(0,0,1,0),currentScale:new(r())(0,0,0),modelViewMatrix:new(u()),[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(m())(z().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"offset",new(x().MFFloat)(0,0)),new(m())(z().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"size",new(x().MFFloat)(1,1)),new(m())(z().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),getTypeName:function(){return"Layout"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layout"},initialize:function(){v.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__:function(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=B:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=Y:this.alignX=Y,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=G:this.alignY=Y:this.alignY=Y},set_offsetUnits__:function(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__:function(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__:function(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__:function(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__:function(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=j,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=j:this.scaleModeY=this.scaleModeX):(this.scaleModeX=j,this.scaleModeY=j)},getRectangleCenter:function(){return this.rectangleCenter},getRectangleSize:function(){return this.rectangleSize},getAlignX:function(){return this.alignX},getAlignY:function(){return this.alignY},getOffsetUnitX:function(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY:function(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX:function(){return this.offsetX},getOffsetY:function(){return this.offsetY},getSizeUnitX:function(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY:function(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX:function(){return this.sizeX},getSizeY:function(){return this.sizeY},getScaleModeX:function(){return this.parent?this.scaleModeX:this.scaleModeX===j?A:this.scaleModeX},getScaleModeY:function(){return this.parent?this.scaleModeY:this.scaleModeY===j?A:this.scaleModeY},transform:function(t,e){var i=this.parent=e.getParentLayout(),n=this.matrix,s=e.getViewpoint(),o=e.getNavigationInfo().getNearValue(),r=e.getViewVolume().getScissor(),a=s.getViewportSize(r,o),u=this.viewportPixel,h=this.pixelSize,l=i?i.getRectangleSize():a,c=this.rectangleSize,d=this.rectangleCenter;switch(u.set(r[2],r[3]),h.assign(a).divVec(u),this.getSizeUnitX()){case A:c.x=this.sizeX*l.x;break;case q:c.x=this.sizeX*h.x}switch(this.getSizeUnitY()){case A:c.y=this.sizeY*l.y;break;case q:c.y=this.sizeY*h.y}var f=this.translation.set(0,0,0);switch(this.getAlignX()){case B:f.x=-(l.x-c.x)/2;break;case Y:this.getSizeUnitX()===q&&1&u.x&&(f.x=-h.x/2);break;case P:f.x=(l.x-c.x)/2}switch(this.getAlignY()){case R:f.y=-(l.y-c.y)/2;break;case Y:this.getSizeUnitX===q&&1&u.y&&(f.y=-h.y/2);break;case G:f.y=(l.y-c.y)/2}var p=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:p.x=this.offsetX*l.x;break;case q:p.x=this.offsetX*a.x/u.x}switch(this.getOffsetUnitY()){case A:p.y=this.offsetY*l.y;break;case q:p.y=this.offsetY*a.y/u.y}var y=this.scale.set(1,1,1),g=this.currentTranslation,w=this.currentRotation,x=this.currentScale;switch(e.getModelViewMatrix().get().get(g,w,x),this.getScaleModeX()){case j:y.x=x.x;break;case A:y.x=c.x;break;case k:break;case q:y.x=a.x/u.x}switch(this.getScaleModeY()){case j:y.y=x.y;break;case A:y.y=c.y;break;case k:break;case q:y.y=a.y/u.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?c.x>c.y?(y.x=c.x,y.y=y.x):(y.y=c.y,y.x=y.y):y.x=y.y:this.getScaleModeY()===k&&(y.y=y.x),d.assign(f).add(p),n.set(g,w),n.translate(f.add(p)),n.scale(y),n}});const H=W;d().set("x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function tt(t){Q().call(this,t),this.addType(z().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}tt.prototype=Object.assign(Object.create(Q().prototype),{constructor:tt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},initialize:function(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__:function(){this.viewportNode=E()(z().X3DViewportNode,this._viewport)},set_layout__:function(){this.layoutNode=E()(z().X3DLayoutNode,this._layout)},getBBox:function(t,e){return Q().prototype.getBBox.call(this,t,e).multRight(this.getMatrix())},getMatrix:function(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity(),this.matrix},traverse:function(t,e){if(t!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){var i=e.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(t,e)),i.pushMatrix(this.screenMatrix),e.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,t,e),e.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,t,e);this.viewportNode&&this.viewportNode.pop()}}});const et=tt;d().set("x_ite/Components/Layout/LayoutGroup",et);const it=et,nt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Layering/X3DLayerNode");var st=i.n(nt);const ot=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Navigation/OrthoViewpoint");var rt=i.n(ot);function at(t){st().call(this,t,new(rt())(t),new it(t)),this.addType(z().LayoutLayer)}at.prototype=Object.assign(Object.create(st().prototype),{constructor:at,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"pickable",new(x().SFBool)(!0)),new(m())(z().inputOutput,"objectType",new(x().MFString)("ALL")),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutLayer"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layers"},initialize:function(){st().prototype.initialize.call(this),this._layout.addFieldInterest(this.getGroup()._layout),this._addChildren.addFieldInterest(this.getGroup()._addChildren),this._removeChildren.addFieldInterest(this.getGroup()._removeChildren),this._children.addFieldInterest(this.getGroup()._children),this.getGroup()._layout=this._layout,this.getGroup()._children=this._children,this.getGroup().setPrivate(!0),this.getGroup().setup()}});const ut=at;d().set("x_ite/Components/Layout/LayoutLayer",ut);const ht=ut,lt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Text/X3DFontStyleNode");var ct=i.n(lt);const dt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Browser/Text/X3DTextGeometry");var ft=i.n(dt);const pt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Browser/Text/TextAlignment");var yt=i.n(pt);const gt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Texturing/PixelTexture");var wt=i.n(gt);const xt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Rendering/X3DGeometryNode");var _t=i.n(xt);const mt=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Geometry/Box3");var Xt=i.n(mt);const St=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Algorithm");var Mt=i.n(St),Tt=i(355);function bt(t,e){ft().call(this,t,e),t.setTransparent(!0),this.texCoordArray=_t().createArray(),this.textureNode=new(wt())(t.getExecutionContext()),this.canvas=Tt("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=e.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}bt.prototype=Object.assign(Object.create(ft().prototype),{constructor:bt,modelViewMatrix:new(u()),getTransparent:function(){return!0},getMatrix:function(){return this.matrix},update:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){ft().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(t,e),t.x-=1,t.y-=1,i.getMajorAlignment()){case yt().BEGIN:case yt().FIRST:t.x=Math.floor(t.x),e.x=t.x+n._textBounds.x;break;case yt().MIDDLE:t.x=Math.round(t.x),e.x=t.x+n._textBounds.x;break;case yt().END:e.x=Math.ceil(e.x),t.x=e.x-n._textBounds.x}switch(i.getMinorAlignment()){case yt().BEGIN:case yt().FIRST:e.y=Math.ceil(e.y),t.y=e.y-n._textBounds.y;break;case yt().MIDDLE:e.y=Math.round(e.y),t.y=e.y-n._textBounds.y;break;case yt().END:t.y=Math.floor(t.y),e.y=t.y+n._textBounds.y}n._origin.x=t.x,n._origin.y=e.y,this.getBBox().setExtents(t,e)}}(),build:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),u=this.getCharSpacings(),h=i.getScale(),l=h/n.unitsPerEm,c=this.texCoordArray,d=s.getNormals(),f=s.getVertices(),p=this.canvas[0],y=this.context;c.length=0,s.getMultiTexCoords().push(c),this.getBBox().getExtents(t,e),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),f.push(t.x,t.y,0,1,e.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,e.y,0,1);const g=s._textBounds.x,w=s._textBounds.y;p.width=Mt().nextPowerOfTwo(g),p.height=Mt().nextPowerOfTwo(w);const x=g/p.width,_=1-w/p.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),y.fillStyle="rgba(255,255,255,0)",y.fillRect(0,0,p.width,p.height),y.fillStyle="rgba(255,255,255,1)",y.save(),y.translate(0,p.height),y.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=u[i],d=a[i];let f=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+f+i*c-t.x,u=r.y+d.y-e.y;this.drawGlyph(y,n,o,a,u,h);let p=0;i+1<s.length&&(p=n.getKerningValue(o,s[i+1])),f+=(o.advanceWidth+p)*l}}else{const u=i._leftToRight.getValue(),l=i._topToBottom.getValue(),c=u?0:s._string.length-1,d=u?s._string.length:-1,f=u?1:-1;for(let i=c,s=0;i!==d;i+=f){const u=o[i],c=u.length,d=l?c:-1,f=l?1:-1;for(let i=l?0:c-1;i!==d;i+=f,++s){const o=a[s],l=r.x+o.x-t.x,c=r.y+o.y-e.y;this.drawGlyph(y,n,u[i],l,c,h)}}}y.restore();const m=y.getImageData(0,0,p.width,p.height);m?this.textureNode.setTexture(p.width,p.height,!0,new Uint8Array(m.data.buffer),!1):this.textureNode.clear()}}(),drawGlyph:function(t,e,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;t.beginPath();for(let e=0,i=a.length;e<i;++e){const i=a[e];switch(i.type){case"M":t.moveTo(i.x,i.y);continue;case"Z":t.closePath();continue;case"L":t.lineTo(i.x,i.y);continue;case"Q":t.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":t.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&t.fill(),r.stroke&&(t.lineWidth=r.strokeWidth,t.stroke())},getGlyphExtents:function(t,e,i,n,s){const o=t.unitsPerEm;n.set((e.xMin||0)/o,(e.yMin||0)/o,0),s.set((e.xMax||0)/o,(e.yMax||0)/o,0)},traverse:function(){const t=new(Xt());return function(e,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix),t.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(t)}}(),display:function(t,e){u().prototype.multLeft.call(e.modelViewMatrix,this.matrix),e.textureNode=this.textureNode},transformLine:function(t){return t.multLineMatrix(u().inverse(this.matrix))},transformMatrix:function(t){return t.multLeft(this.matrix)}});const zt=bt;d().set("x_ite/Browser/Layout/ScreenText",zt);const Ot=zt;function Nt(t){ct().call(this,t),this.addType(z().ScreenFontStyle)}Nt.prototype=Object.assign(Object.create(ct().prototype),{constructor:Nt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"language",new(x().SFString)),new(m())(z().inputOutput,"family",new(x().MFString)("SERIF")),new(m())(z().inputOutput,"style",new(x().SFString)("PLAIN")),new(m())(z().inputOutput,"pointSize",new(x().SFFloat)(12)),new(m())(z().inputOutput,"spacing",new(x().SFFloat)(1)),new(m())(z().inputOutput,"horizontal",new(x().SFBool)(!0)),new(m())(z().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(m())(z().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(m())(z().inputOutput,"justify",new(x().MFString)("BEGIN"))]),getTypeName:function(){return"ScreenFontStyle"},getComponentName:function(){return"Layout"},getContainerField:function(){return"fontStyle"},getTextGeometry:function(t){return new Ot(t,this)},getScale:function(){return this._pointSize.getValue()*this.getBrowser().getPixelPerPoint()}});const vt=Nt;d().set("x_ite/Components/Layout/ScreenFontStyle",vt);const Ft=vt;function Et(t){Q().call(this,t),this.addType(z().ScreenGroup),this.matrix=new(u())}Et.prototype=Object.assign(Object.create(Q().prototype),{constructor:Et,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"ScreenGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},getBBox:function(t,e){return this.getSubBBox(t,e).multRight(this.matrix)},getMatrix:function(){return this.matrix},traverse:function(t,e){switch(t){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:this.getBrowser().getScreenScaleMatrix(e,this.matrix)}const i=e.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,t,e),i.pop()}});const Ct=Et;d().set("x_ite/Components/Layout/ScreenGroup",Ct);const It=Ct;e().addComponent({name:"Layout",types:{Layout:K,LayoutGroup:it,LayoutLayer:ht,ScreenFontStyle:Ft,ScreenGroup:It},abstractTypes:{X3DLayoutNode:v},browserContext:g});const Lt=void 0;d().set("assets/components/Layout",Lt)})()})();
|
|
1
|
+
/* X_ITE v8.3.3 */(()=>{"use strict";var t={355:t=>{t.exports=window[Symbol.for("X_ITE.X3D-8.3.3")].require("lib/jquery")}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components");var e=i.n(t);const n=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Numbers/Matrix4");var u=i.n(a);const h=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Geometry/ViewVolume");var l=i.n(h);const c=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Namespace");var d=i.n(c);const f=Symbol();function p(){}p.prototype={getScreenTextureProperties:function(){return this[f]=new(s())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:function(){const t=new(r())(0,0,0),e=new(r())(0,0,0),i=new(u());return function(n,s){const o=n.getModelViewMatrix().get(),a=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(o.origin,u,t);const h=o.xAxis.normalize().multiply(t.x),c=o.yAxis.normalize().multiply(t.y),d=o.zAxis.normalize().multiply(t.x);i.set(h.x,h.y,h.z,0,c.x,c.y,c.z,0,d.x,d.y,d.z,0,o[12],o[13],o[14],1),l().projectPoint(r().Zero,i,a,u,e),e.x=Math.round(e.x),e.y=Math.round(e.y),l().unProjectPoint(e.x,e.y,e.z,i,a,u,e),e.z=0,i.translate(e),s.assign(o).inverse().multLeft(i)}}()};const y=p;d().set("x_ite/Browser/Layout/X3DLayoutContext",y);const g=y,w=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Fields");var x=i.n(w);const _=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Base/X3DFieldDefinition");var m=i.n(_);const X=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Base/FieldDefinitionArray");var S=i.n(X);const M=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Core/X3DChildNode");var T=i.n(M);const b=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Base/X3DConstants");var z=i.n(b);function O(t){T().call(this,t),this.addType(z().X3DLayoutNode)}O.prototype=Object.assign(Object.create(T().prototype),{constructor:O});const N=O;d().set("x_ite/Components/Layout/X3DLayoutNode",N);const v=N,F=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Base/X3DCast");var E=i.n(F);const C=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Numbers/Vector2");var I=i.n(C);const L=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Numbers/Rotation4");var D=i.n(L),U=0,B=U++,Y=U++,P=U++,R=U++,G=U++,V=U++,A=U++,q=U++,j=U++,k=U++;function W(t){v.call(this,t),this.addType(z().Layout),this.alignX=Y,this.alignY=Y,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=j,this.scaleModeY=j,this.parent=null,this.rectangleCenter=new(I())(0,0),this.rectangleSize=new(I())(0,0),this.matrix=new(u())}W.prototype=Object.assign(Object.create(v.prototype),{constructor:W,viewportPixel:new(I())(0,0),pixelSize:new(I())(0,0),translation:new(r())(0,0,0),offset:new(r())(0,0,0),scale:new(r())(1,1,1),currentTranslation:new(r())(0,0,0),currentRotation:new(D())(0,0,1,0),currentScale:new(r())(0,0,0),modelViewMatrix:new(u()),[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(m())(z().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"offset",new(x().MFFloat)(0,0)),new(m())(z().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"size",new(x().MFFloat)(1,1)),new(m())(z().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),getTypeName:function(){return"Layout"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layout"},initialize:function(){v.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__:function(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=B:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=Y:this.alignX=Y,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=G:this.alignY=Y:this.alignY=Y},set_offsetUnits__:function(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__:function(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__:function(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__:function(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__:function(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=j,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=j:this.scaleModeY=this.scaleModeX):(this.scaleModeX=j,this.scaleModeY=j)},getRectangleCenter:function(){return this.rectangleCenter},getRectangleSize:function(){return this.rectangleSize},getAlignX:function(){return this.alignX},getAlignY:function(){return this.alignY},getOffsetUnitX:function(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY:function(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX:function(){return this.offsetX},getOffsetY:function(){return this.offsetY},getSizeUnitX:function(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY:function(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX:function(){return this.sizeX},getSizeY:function(){return this.sizeY},getScaleModeX:function(){return this.parent?this.scaleModeX:this.scaleModeX===j?A:this.scaleModeX},getScaleModeY:function(){return this.parent?this.scaleModeY:this.scaleModeY===j?A:this.scaleModeY},transform:function(t,e){var i=this.parent=e.getParentLayout(),n=this.matrix,s=e.getViewpoint(),o=e.getNavigationInfo().getNearValue(),r=e.getViewVolume().getScissor(),a=s.getViewportSize(r,o),u=this.viewportPixel,h=this.pixelSize,l=i?i.getRectangleSize():a,c=this.rectangleSize,d=this.rectangleCenter;switch(u.set(r[2],r[3]),h.assign(a).divVec(u),this.getSizeUnitX()){case A:c.x=this.sizeX*l.x;break;case q:c.x=this.sizeX*h.x}switch(this.getSizeUnitY()){case A:c.y=this.sizeY*l.y;break;case q:c.y=this.sizeY*h.y}var f=this.translation.set(0,0,0);switch(this.getAlignX()){case B:f.x=-(l.x-c.x)/2;break;case Y:this.getSizeUnitX()===q&&1&u.x&&(f.x=-h.x/2);break;case P:f.x=(l.x-c.x)/2}switch(this.getAlignY()){case R:f.y=-(l.y-c.y)/2;break;case Y:this.getSizeUnitX===q&&1&u.y&&(f.y=-h.y/2);break;case G:f.y=(l.y-c.y)/2}var p=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:p.x=this.offsetX*l.x;break;case q:p.x=this.offsetX*a.x/u.x}switch(this.getOffsetUnitY()){case A:p.y=this.offsetY*l.y;break;case q:p.y=this.offsetY*a.y/u.y}var y=this.scale.set(1,1,1),g=this.currentTranslation,w=this.currentRotation,x=this.currentScale;switch(e.getModelViewMatrix().get().get(g,w,x),this.getScaleModeX()){case j:y.x=x.x;break;case A:y.x=c.x;break;case k:break;case q:y.x=a.x/u.x}switch(this.getScaleModeY()){case j:y.y=x.y;break;case A:y.y=c.y;break;case k:break;case q:y.y=a.y/u.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?c.x>c.y?(y.x=c.x,y.y=y.x):(y.y=c.y,y.x=y.y):y.x=y.y:this.getScaleModeY()===k&&(y.y=y.x),d.assign(f).add(p),n.set(g,w),n.translate(f.add(p)),n.scale(y),n}});const H=W;d().set("x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function tt(t){Q().call(this,t),this.addType(z().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}tt.prototype=Object.assign(Object.create(Q().prototype),{constructor:tt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},initialize:function(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__:function(){this.viewportNode=E()(z().X3DViewportNode,this._viewport)},set_layout__:function(){this.layoutNode=E()(z().X3DLayoutNode,this._layout)},getBBox:function(t,e){return Q().prototype.getBBox.call(this,t,e).multRight(this.getMatrix())},getMatrix:function(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity(),this.matrix},traverse:function(t,e){if(t!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){var i=e.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(t,e)),i.pushMatrix(this.screenMatrix),e.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,t,e),e.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,t,e);this.viewportNode&&this.viewportNode.pop()}}});const et=tt;d().set("x_ite/Components/Layout/LayoutGroup",et);const it=et,nt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Layering/X3DLayerNode");var st=i.n(nt);const ot=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Navigation/OrthoViewpoint");var rt=i.n(ot);function at(t){st().call(this,t,new(rt())(t),new it(t)),this.addType(z().LayoutLayer)}at.prototype=Object.assign(Object.create(st().prototype),{constructor:at,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"pickable",new(x().SFBool)(!0)),new(m())(z().inputOutput,"objectType",new(x().MFString)("ALL")),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutLayer"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layers"},initialize:function(){st().prototype.initialize.call(this),this._layout.addFieldInterest(this.getGroup()._layout),this._addChildren.addFieldInterest(this.getGroup()._addChildren),this._removeChildren.addFieldInterest(this.getGroup()._removeChildren),this._children.addFieldInterest(this.getGroup()._children),this.getGroup()._layout=this._layout,this.getGroup()._children=this._children,this.getGroup().setPrivate(!0),this.getGroup().setup()}});const ut=at;d().set("x_ite/Components/Layout/LayoutLayer",ut);const ht=ut,lt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Text/X3DFontStyleNode");var ct=i.n(lt);const dt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Browser/Text/X3DTextGeometry");var ft=i.n(dt);const pt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Browser/Text/TextAlignment");var yt=i.n(pt);const gt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Texturing/PixelTexture");var wt=i.n(gt);const xt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("x_ite/Components/Rendering/X3DGeometryNode");var _t=i.n(xt);const mt=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Geometry/Box3");var Xt=i.n(mt);const St=window[Symbol.for("X_ITE.X3D-8.3.3")].require("standard/Math/Algorithm");var Mt=i.n(St),Tt=i(355);function bt(t,e){ft().call(this,t,e),t.setTransparent(!0),this.texCoordArray=_t().createArray(),this.textureNode=new(wt())(t.getExecutionContext()),this.canvas=Tt("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=e.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}bt.prototype=Object.assign(Object.create(ft().prototype),{constructor:bt,modelViewMatrix:new(u()),getTransparent:function(){return!0},getMatrix:function(){return this.matrix},update:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){ft().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(t,e),t.x-=1,t.y-=1,i.getMajorAlignment()){case yt().BEGIN:case yt().FIRST:t.x=Math.floor(t.x),e.x=t.x+n._textBounds.x;break;case yt().MIDDLE:t.x=Math.round(t.x),e.x=t.x+n._textBounds.x;break;case yt().END:e.x=Math.ceil(e.x),t.x=e.x-n._textBounds.x}switch(i.getMinorAlignment()){case yt().BEGIN:case yt().FIRST:e.y=Math.ceil(e.y),t.y=e.y-n._textBounds.y;break;case yt().MIDDLE:e.y=Math.round(e.y),t.y=e.y-n._textBounds.y;break;case yt().END:t.y=Math.floor(t.y),e.y=t.y+n._textBounds.y}n._origin.x=t.x,n._origin.y=e.y,this.getBBox().setExtents(t,e)}}(),build:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),u=this.getCharSpacings(),h=i.getScale(),l=h/n.unitsPerEm,c=this.texCoordArray,d=s.getNormals(),f=s.getVertices(),p=this.canvas[0],y=this.context;c.length=0,s.getMultiTexCoords().push(c),this.getBBox().getExtents(t,e),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),f.push(t.x,t.y,0,1,e.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,e.y,0,1);const g=s._textBounds.x,w=s._textBounds.y;p.width=Mt().nextPowerOfTwo(g),p.height=Mt().nextPowerOfTwo(w);const x=g/p.width,_=1-w/p.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),y.fillStyle="rgba(255,255,255,0)",y.fillRect(0,0,p.width,p.height),y.fillStyle="rgba(255,255,255,1)",y.save(),y.translate(0,p.height),y.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=u[i],d=a[i];let f=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+f+i*c-t.x,u=r.y+d.y-e.y;this.drawGlyph(y,n,o,a,u,h);let p=0;i+1<s.length&&(p=n.getKerningValue(o,s[i+1])),f+=(o.advanceWidth+p)*l}}else{const u=i._leftToRight.getValue(),l=i._topToBottom.getValue(),c=u?0:s._string.length-1,d=u?s._string.length:-1,f=u?1:-1;for(let i=c,s=0;i!==d;i+=f){const u=o[i],c=u.length,d=l?c:-1,f=l?1:-1;for(let i=l?0:c-1;i!==d;i+=f,++s){const o=a[s],l=r.x+o.x-t.x,c=r.y+o.y-e.y;this.drawGlyph(y,n,u[i],l,c,h)}}}y.restore();const m=y.getImageData(0,0,p.width,p.height);m?this.textureNode.setTexture(p.width,p.height,!0,new Uint8Array(m.data.buffer),!1):this.textureNode.clear()}}(),drawGlyph:function(t,e,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;t.beginPath();for(let e=0,i=a.length;e<i;++e){const i=a[e];switch(i.type){case"M":t.moveTo(i.x,i.y);continue;case"Z":t.closePath();continue;case"L":t.lineTo(i.x,i.y);continue;case"Q":t.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":t.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&t.fill(),r.stroke&&(t.lineWidth=r.strokeWidth,t.stroke())},getGlyphExtents:function(t,e,i,n,s){const o=t.unitsPerEm;n.set((e.xMin||0)/o,(e.yMin||0)/o,0),s.set((e.xMax||0)/o,(e.yMax||0)/o,0)},traverse:function(){const t=new(Xt());return function(e,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix),t.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(t)}}(),display:function(t,e){u().prototype.multLeft.call(e.modelViewMatrix,this.matrix),e.textureNode=this.textureNode},transformLine:function(t){return t.multLineMatrix(u().inverse(this.matrix))},transformMatrix:function(t){return t.multLeft(this.matrix)}});const zt=bt;d().set("x_ite/Browser/Layout/ScreenText",zt);const Ot=zt;function Nt(t){ct().call(this,t),this.addType(z().ScreenFontStyle)}Nt.prototype=Object.assign(Object.create(ct().prototype),{constructor:Nt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"language",new(x().SFString)),new(m())(z().inputOutput,"family",new(x().MFString)("SERIF")),new(m())(z().inputOutput,"style",new(x().SFString)("PLAIN")),new(m())(z().inputOutput,"pointSize",new(x().SFFloat)(12)),new(m())(z().inputOutput,"spacing",new(x().SFFloat)(1)),new(m())(z().inputOutput,"horizontal",new(x().SFBool)(!0)),new(m())(z().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(m())(z().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(m())(z().inputOutput,"justify",new(x().MFString)("BEGIN"))]),getTypeName:function(){return"ScreenFontStyle"},getComponentName:function(){return"Layout"},getContainerField:function(){return"fontStyle"},getTextGeometry:function(t){return new Ot(t,this)},getScale:function(){return this._pointSize.getValue()*this.getBrowser().getPixelPerPoint()}});const vt=Nt;d().set("x_ite/Components/Layout/ScreenFontStyle",vt);const Ft=vt;function Et(t){Q().call(this,t),this.addType(z().ScreenGroup),this.matrix=new(u())}Et.prototype=Object.assign(Object.create(Q().prototype),{constructor:Et,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(S())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"ScreenGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},getBBox:function(t,e){return this.getSubBBox(t,e).multRight(this.matrix)},getMatrix:function(){return this.matrix},traverse:function(t,e){switch(t){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:this.getBrowser().getScreenScaleMatrix(e,this.matrix)}const i=e.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,t,e),i.pop()}});const Ct=Et;d().set("x_ite/Components/Layout/ScreenGroup",Ct);const It=Ct;e().addComponent({name:"Layout",types:{Layout:K,LayoutGroup:it,LayoutLayer:ht,ScreenFontStyle:Ft,ScreenGroup:It},abstractTypes:{X3DLayoutNode:v},browserContext:g});const Lt=void 0;d().set("assets/components/Layout",Lt)})()})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.3.
|
|
1
|
+
/* X_ITE v8.3.3 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
54
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
54
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Core/X3DNode");
|
|
55
55
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
60
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
60
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Base/X3DCast");
|
|
61
61
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
63
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/Contour2D.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -302,7 +302,7 @@ const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
|
|
|
302
302
|
Namespace_default().set ("x_ite/Components/NURBS/X3DNurbsControlCurveNode", X3DNurbsControlCurveNode_default_);
|
|
303
303
|
/* harmony default export */ const NURBS_X3DNurbsControlCurveNode = (X3DNurbsControlCurveNode_default_);
|
|
304
304
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
305
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
305
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Vector3");
|
|
306
306
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
307
307
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/ContourPolyline2D.js
|
|
308
308
|
/*******************************************************************************
|
|
@@ -460,7 +460,7 @@ const ContourPolyline2D_default_ = ContourPolyline2D;
|
|
|
460
460
|
Namespace_default().set ("x_ite/Components/NURBS/ContourPolyline2D", ContourPolyline2D_default_);
|
|
461
461
|
/* harmony default export */ const NURBS_ContourPolyline2D = (ContourPolyline2D_default_);
|
|
462
462
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
|
|
463
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
463
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
464
464
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
|
|
465
465
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/CoordinateDouble.js
|
|
466
466
|
/*******************************************************************************
|
|
@@ -550,13 +550,13 @@ const CoordinateDouble_default_ = CoordinateDouble;
|
|
|
550
550
|
Namespace_default().set ("x_ite/Components/NURBS/CoordinateDouble", CoordinateDouble_default_);
|
|
551
551
|
/* harmony default export */ const NURBS_CoordinateDouble = (CoordinateDouble_default_);
|
|
552
552
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
553
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
553
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
554
554
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
555
555
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
556
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
556
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Vector2");
|
|
557
557
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
558
558
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
|
|
559
|
-
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
559
|
+
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Vector4");
|
|
560
560
|
var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
|
|
561
561
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/NURBS/NURBS.js
|
|
562
562
|
/*******************************************************************************
|
|
@@ -1108,7 +1108,7 @@ const X3DParametricGeometryNode_default_ = X3DParametricGeometryNode;
|
|
|
1108
1108
|
Namespace_default().set ("x_ite/Components/NURBS/X3DParametricGeometryNode", X3DParametricGeometryNode_default_);
|
|
1109
1109
|
/* harmony default export */ const NURBS_X3DParametricGeometryNode = (X3DParametricGeometryNode_default_);
|
|
1110
1110
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
1111
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
1111
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
1112
1112
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
1113
1113
|
;// CONCATENATED MODULE: ./src/lib/nurbs/src/utils/is-ndarray.js
|
|
1114
1114
|
|
|
@@ -2160,7 +2160,7 @@ const support_default_ = function (cacheKey, nurbs, accessors, debug, checkBound
|
|
|
2160
2160
|
Namespace_default().set ("lib/nurbs/src/support", support_default_);
|
|
2161
2161
|
/* harmony default export */ const support = (support_default_);
|
|
2162
2162
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
2163
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
2163
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Geometry/Triangle3");
|
|
2164
2164
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
2165
2165
|
;// CONCATENATED MODULE: ./src/lib/nurbs/extras/sample.js
|
|
2166
2166
|
|
|
@@ -3159,13 +3159,13 @@ const NurbsCurve2D_default_ = NurbsCurve2D;
|
|
|
3159
3159
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsCurve2D", NurbsCurve2D_default_);
|
|
3160
3160
|
/* harmony default export */ const NURBS_NurbsCurve2D = (NurbsCurve2D_default_);
|
|
3161
3161
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
3162
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
3162
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
3163
3163
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
3164
3164
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
|
|
3165
|
-
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
3165
|
+
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
|
|
3166
3166
|
var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
|
|
3167
3167
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3168
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
3168
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Numbers/Rotation4");
|
|
3169
3169
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3170
3170
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js
|
|
3171
3171
|
/*******************************************************************************
|
|
@@ -3387,7 +3387,7 @@ const NurbsOrientationInterpolator_default_ = NurbsOrientationInterpolator;
|
|
|
3387
3387
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsOrientationInterpolator", NurbsOrientationInterpolator_default_);
|
|
3388
3388
|
/* harmony default export */ const NURBS_NurbsOrientationInterpolator = (NurbsOrientationInterpolator_default_);
|
|
3389
3389
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
3390
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
3390
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Algorithm");
|
|
3391
3391
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
3392
3392
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js
|
|
3393
3393
|
/*******************************************************************************
|
|
@@ -3880,7 +3880,7 @@ const NurbsPatchSurface_default_ = NurbsPatchSurface;
|
|
|
3880
3880
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsPatchSurface", NurbsPatchSurface_default_);
|
|
3881
3881
|
/* harmony default export */ const NURBS_NurbsPatchSurface = (NurbsPatchSurface_default_);
|
|
3882
3882
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
|
|
3883
|
-
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
3883
|
+
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
|
|
3884
3884
|
var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
|
|
3885
3885
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsPositionInterpolator.js
|
|
3886
3886
|
/*******************************************************************************
|
|
@@ -4090,7 +4090,7 @@ const NurbsPositionInterpolator_default_ = NurbsPositionInterpolator;
|
|
|
4090
4090
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsPositionInterpolator", NurbsPositionInterpolator_default_);
|
|
4091
4091
|
/* harmony default export */ const NURBS_NurbsPositionInterpolator = (NurbsPositionInterpolator_default_);
|
|
4092
4092
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
4093
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
4093
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
4094
4094
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
4095
4095
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSet.js
|
|
4096
4096
|
/*******************************************************************************
|
|
@@ -4280,7 +4280,7 @@ const NurbsSet_default_ = NurbsSet;
|
|
|
4280
4280
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsSet", NurbsSet_default_);
|
|
4281
4281
|
/* harmony default export */ const NURBS_NurbsSet = (NurbsSet_default_);
|
|
4282
4282
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
|
|
4283
|
-
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
4283
|
+
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("standard/Math/Geometry/Line3");
|
|
4284
4284
|
var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
|
|
4285
4285
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle2.js
|
|
4286
4286
|
/*******************************************************************************
|
|
@@ -4544,7 +4544,7 @@ const NurbsSurfaceInterpolator_default_ = NurbsSurfaceInterpolator;
|
|
|
4544
4544
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsSurfaceInterpolator", NurbsSurfaceInterpolator_default_);
|
|
4545
4545
|
/* harmony default export */ const NURBS_NurbsSurfaceInterpolator = (NurbsSurfaceInterpolator_default_);
|
|
4546
4546
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/Extrusion\")"
|
|
4547
|
-
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.
|
|
4547
|
+
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.3")] .require ("x_ite/Components/Geometry3D/Extrusion");
|
|
4548
4548
|
var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceObject);
|
|
4549
4549
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSweptSurface.js
|
|
4550
4550
|
/*******************************************************************************
|