x_ite 8.10.1 → 8.11.1
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/Makefile +3 -0
- package/build/bin/version.pl +28 -20
- package/build/docs/glTF-samples.pl +151 -0
- package/build/docs/nodes.pl +1 -1
- package/build/src/nodes.pl +41 -0
- 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 +30 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- 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 +394 -30
- 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 +26 -26
- 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 +73 -74
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +55 -63
- 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 +35 -31
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +20 -20
- 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 +1456 -844
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/Core/MetadataBoolean.md +6 -4
- package/docs/_posts/components/Core/MetadataDouble.md +6 -4
- package/docs/_posts/components/Core/MetadataFloat.md +6 -4
- package/docs/_posts/components/Core/MetadataInteger.md +6 -4
- package/docs/_posts/components/Core/MetadataSet.md +6 -4
- package/docs/_posts/components/Core/MetadataString.md +6 -4
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +1 -1
- package/docs/_posts/components/HAnim/HAnimMotion.md +48 -48
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +1 -1
- package/docs/_posts/getting-started.md +45 -35
- package/docs/_posts/reference/browser-services.md +6 -0
- package/docs/_tabs/playground.html +215 -15
- package/docs/assets/css/style.scss +35 -2
- package/docs/assets/js/example.js +95 -3
- package/docs/laboratory/gltf-sample-viewer.html +603 -235
- package/package.json +2 -2
- package/src/assets/shaders/Types.glsl.js +4 -0
- package/src/assets/shaders/webgl1/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/Compose.fs.js +29 -0
- package/src/assets/shaders/webgl2/Compose.vs.js +14 -0
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +24 -2
- package/src/assets/shaders/webgl2/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/include/Stipple.glsl.js +5 -3
- package/src/bookmarks.js +92 -5
- package/src/examples.js +1 -0
- package/src/standard/Math/Numbers/Quaternion.js +191 -13
- package/src/standard/Math/Numbers/Rotation4.js +23 -0
- package/src/standard/Time/{MicroTime.js → Time.js} +21 -28
- package/src/x_ite/Base/X3DChildObject.js +5 -4
- package/src/x_ite/Browser/Core/BrowserOptions.js +71 -60
- package/src/x_ite/Browser/Core/Context.js +2 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +6 -0
- package/src/x_ite/Browser/DOMIntegration.js +0 -17
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +5 -4
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +7 -4
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +20 -15
- package/src/x_ite/Browser/Shaders/Shaders.js +19 -15
- package/src/x_ite/Browser/Text/X3DTextContext.js +16 -16
- package/src/x_ite/Browser/Time/X3DTimeContext.js +3 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +2 -2
- package/src/x_ite/Browser/X3DBrowser.js +1 -2
- package/src/x_ite/Browser/X3DBrowserContext.js +0 -5
- package/src/x_ite/Components/Core/MetadataBoolean.js +8 -1
- package/src/x_ite/Components/Core/MetadataDouble.js +8 -1
- package/src/x_ite/Components/Core/MetadataFloat.js +8 -1
- package/src/x_ite/Components/Core/MetadataInteger.js +8 -1
- package/src/x_ite/Components/Core/MetadataSet.js +8 -1
- package/src/x_ite/Components/Core/MetadataString.js +8 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +9 -6
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +2 -1
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +5 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +2 -0
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +34 -2
- package/src/x_ite/Components/HAnim/HAnimMotion.js +331 -15
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -3
- package/src/x_ite/Components/Lighting/PointLight.js +1 -3
- package/src/x_ite/Components/Lighting/SpotLight.js +1 -3
- package/src/x_ite/Components/Networking/X3DUrlObject.js +5 -4
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +47 -51
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +4 -2
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +4 -0
- package/src/x_ite/Components/Shape/LineProperties.js +4 -0
- package/src/x_ite/Components/Shape/PointProperties.js +4 -0
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +44 -20
- package/src/x_ite/Components/Sound/AudioClip.js +2 -1
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +13 -23
- package/src/x_ite/Components/Texturing/ImageTexture.js +2 -1
- package/src/x_ite/Components/Texturing/MovieTexture.js +2 -1
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +2 -1
- package/src/x_ite/Components/Time/TimeSensor.js +25 -24
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +5 -4
- package/src/x_ite/Execution/BindableList.js +3 -3
- package/src/x_ite/Execution/X3DScene.js +2 -0
- package/src/x_ite/Parser/XMLParser.js +12 -2
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +264 -26
- package/src/x_ite/Rendering/PointingBuffer.js +5 -7
- package/src/x_ite/Rendering/TextureBuffer.js +6 -14
- package/src/x_ite/Rendering/X3DRenderObject.js +28 -28
- package/src/x_ite/X3D.js +0 -1
- package/src/x_ite/X3DCanvasElement.js +2 -0
- package/src/x_ite.html +23 -24
- package/x_ite.min.html +23 -24
- /package/build/{bin → docs}/tags.pl +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.1 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,19 +39,19 @@ 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.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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/Base/X3DBaseNode\")"
|
|
45
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Base/X3DBaseNode");
|
|
46
46
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
48
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Base/X3DConstants");
|
|
49
49
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
51
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Fields");
|
|
52
52
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
54
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Namespace");
|
|
55
55
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
|
|
57
57
|
/*******************************************************************************
|
|
@@ -204,7 +204,7 @@ const ArcClose2DOptions_default_ = ArcClose2DOptions;
|
|
|
204
204
|
Namespace_default().set ("x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
|
|
205
205
|
/* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
|
|
206
206
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
|
|
207
|
-
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
207
|
+
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Complex");
|
|
208
208
|
var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
|
|
209
209
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
|
|
210
210
|
/*******************************************************************************
|
|
@@ -482,13 +482,13 @@ const Disk2DOptions_default_ = Disk2DOptions;
|
|
|
482
482
|
Namespace_default().set ("x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
|
|
483
483
|
/* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
|
|
484
484
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
485
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
485
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
486
486
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
487
487
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
|
|
488
|
-
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
488
|
+
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/Coordinate");
|
|
489
489
|
var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
|
|
490
490
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
|
|
491
|
-
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
491
|
+
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
|
492
492
|
var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
|
|
493
493
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
|
|
494
494
|
/*******************************************************************************
|
|
@@ -608,7 +608,7 @@ const Rectangle2DOptions_default_ = Rectangle2DOptions;
|
|
|
608
608
|
Namespace_default().set ("x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
|
|
609
609
|
/* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
|
|
610
610
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
611
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
611
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
612
612
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
613
613
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
|
|
614
614
|
/*******************************************************************************
|
|
@@ -750,16 +750,16 @@ const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
|
|
|
750
750
|
Namespace_default().set ("x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
|
|
751
751
|
/* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
|
|
752
752
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
753
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
753
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
754
754
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
755
755
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
756
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
756
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
757
757
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
758
758
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
759
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
759
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
760
760
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
761
761
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
762
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
762
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Algorithm");
|
|
763
763
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
764
764
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
|
|
765
765
|
/*******************************************************************************
|
|
@@ -929,7 +929,7 @@ const Arc2D_default_ = Arc2D;
|
|
|
929
929
|
Namespace_default().set ("x_ite/Components/Geometry2D/Arc2D", Arc2D_default_);
|
|
930
930
|
/* harmony default export */ const Geometry2D_Arc2D = (Arc2D_default_);
|
|
931
931
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
932
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
932
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
933
933
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
934
934
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/ArcClose2D.js
|
|
935
935
|
/*******************************************************************************
|
|
@@ -1299,7 +1299,7 @@ const Circle2D_default_ = Circle2D;
|
|
|
1299
1299
|
Namespace_default().set ("x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
|
|
1300
1300
|
/* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
|
|
1301
1301
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
|
|
1302
|
-
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1302
|
+
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
|
1303
1303
|
var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
|
|
1304
1304
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
|
|
1305
1305
|
/*******************************************************************************
|
|
@@ -1795,10 +1795,10 @@ const Polypoint2D_default_ = Polypoint2D;
|
|
|
1795
1795
|
Namespace_default().set ("x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
|
|
1796
1796
|
/* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
|
|
1797
1797
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1798
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1798
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Vector2");
|
|
1799
1799
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1800
1800
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
1801
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1801
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Vector3");
|
|
1802
1802
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
|
|
1803
1803
|
/*******************************************************************************
|
|
1804
1804
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.10.1 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Fields");var l=e.n(a);const u=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Namespace");var c=e.n(u);function h(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(h.prototype,n().prototype),Object.defineProperties(h,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=h;c().set("x_ite/Browser/Geometry2D/Arc2DOptions",p);const g=p;function d(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(d.prototype,n().prototype),Object.defineProperties(d,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=d;c().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Complex");var w=e.n(b);function f(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(f.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getVertices(){return this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let s=0;s<e;++s){const e=w().Polar(1,t*s),n=w().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()}}),Object.defineProperties(f,{typeName:{value:"Circle2DOptions",enumerable:!0}});const D=f;c().set("x_ite/Browser/Geometry2D/Circle2DOptions",D);const O=D;function _(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=new(l().MFFloat),this.diskTexCoords=new(l().MFFloat),this.diskNormals=new(l().MFFloat),this.diskVertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(_.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getCircleVertices(){return this.circleVertices},getDiskTexCoords(){return this.diskTexCoords},getDiskNormals(){return this.diskNormals},getDiskVertices(){return this.diskVertices},build:(()=>{const e=new(w())(.5,.5),t=new(w())(0,0),i=new(w())(0,0),s=new(w())(0,0),n=new(w())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,u=this.diskNormals,c=this.diskVertices;a.length=0,l.length=0,u.length=0,c.length=0;for(let h=0;h<o;++h){const o=r*h,p=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),u.shrinkToFit(),c.shrinkToFit()}})()}),Object.defineProperties(_,{typeName:{value:"Disk2DOptions",enumerable:!0}});const v=_;c().set("x_ite/Browser/Geometry2D/Disk2DOptions",v);const V=v,S=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(S);const x=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Rendering/Coordinate");var M=e.n(x);const C=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Texturing/TextureCoordinate");var P=e.n(C);function T(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(T.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(P())(this.getExecutionContext()),this.geometry._coord=new(M())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(l().MFInt32)(0,1,2,3,-1),e._coordIndex=new(l().MFInt32)(0,1,2,3,-1),t._point=new(l().MFVec2f)(new(l().SFVec2f)(1,1),new(l().SFVec2f)(0,1),new(l().SFVec2f)(0,0),new(l().SFVec2f)(1,0)),i._point=new(l().MFVec3f)(new(l().SFVec3f)(1,1,0),new(l().SFVec3f)(-1,1,0),new(l().SFVec3f)(-1,-1,0),new(l().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(T,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const I=T;c().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",I);const N=I,j=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Browser/Core/PrimitiveQuality");var A=e.n(j);function X(){}function G(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(X.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return G.call(this,"getArc2DOptions",g)},getArcClose2DOptions(){return G.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return G.call(this,"getCircle2DOptions",O)},getDisk2DOptions(){return G.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return G.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case A().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case A().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case A().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const R=X;c().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",R);const k=R,B=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(B);const q=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/FieldDefinitionArray");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Algorithm");var H=e.n(Q);function W(e){L().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(W.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=w().Polar(i,r),l=t+s*((e+1)/n),u=w().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(u.real,u.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(W,{typeName:{value:"Arc2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const J=W;c().set("x_ite/Components/Geometry2D/Arc2D",J);const K=J,Y=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Rendering/X3DGeometryNode");var Z=e.n(Y);function $(e){Z().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,Z().prototype),{set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(w())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),u=this.getNormals(),c=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const g=a-1;for(let t=0;t<a;++t){const i=n+r*(t/g);h.push(w().Polar(.5,i).add(e)),p.push(w().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<g;++i){const s=h[i],n=h[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<g;++e){const t=h[e],i=h[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;c().set("x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){L().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;c().set("x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){L().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,Z().prototype),{initialize(){Z().prototype.initialize.call(this)},set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(L())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(Z())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),u=this.getTexCoords(),c=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(u);for(let e=0,t=l.length;e<t;e+=12)u.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),c.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(Z())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleParticles=e.prototype.displaySimpleParticles,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(z())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;c().set("x_ite/Components/Geometry2D/Disk2D",le);const ue=le;function ce(e){L().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ce.prototype,L().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(ce,{typeName:{value:"Polyline2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ce;c().set("x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function ge(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(ge.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(ge,{typeName:{value:"Polypoint2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const de=ge;c().set("x_ite/Components/Geometry2D/Polypoint2D",de);const me=de,ye=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Vector3");function we(e){Z().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,Z().prototype),{build:(()=>{const e=new(be())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(we,{typeName:{value:"Rectangle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const fe=we;c().set("x_ite/Components/Geometry2D/Rectangle2D",fe);const De=fe;function Oe(e){Z().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(Oe.prototype,Z().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(Oe,{typeName:{value:"TriangleSet2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"vertices",new(l().MFVec2f)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=Oe;c().set("x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[K,te,ne,ue,pe,me,De,ve],abstractNodes:[],browserContext:k});const Ve=void 0;c().set("assets/components/Geometry2D",Ve)})();
|
|
1
|
+
/* X_ITE v8.11.1 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Fields");var l=e.n(a);const u=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Namespace");var c=e.n(u);function h(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(h.prototype,n().prototype),Object.defineProperties(h,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=h;c().set("x_ite/Browser/Geometry2D/Arc2DOptions",p);const g=p;function d(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(d.prototype,n().prototype),Object.defineProperties(d,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=d;c().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-8.11.1")].require("standard/Math/Numbers/Complex");var w=e.n(b);function f(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(f.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getVertices(){return this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let s=0;s<e;++s){const e=w().Polar(1,t*s),n=w().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()}}),Object.defineProperties(f,{typeName:{value:"Circle2DOptions",enumerable:!0}});const D=f;c().set("x_ite/Browser/Geometry2D/Circle2DOptions",D);const O=D;function _(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=new(l().MFFloat),this.diskTexCoords=new(l().MFFloat),this.diskNormals=new(l().MFFloat),this.diskVertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(_.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getCircleVertices(){return this.circleVertices},getDiskTexCoords(){return this.diskTexCoords},getDiskNormals(){return this.diskNormals},getDiskVertices(){return this.diskVertices},build:(()=>{const e=new(w())(.5,.5),t=new(w())(0,0),i=new(w())(0,0),s=new(w())(0,0),n=new(w())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,u=this.diskNormals,c=this.diskVertices;a.length=0,l.length=0,u.length=0,c.length=0;for(let h=0;h<o;++h){const o=r*h,p=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),u.shrinkToFit(),c.shrinkToFit()}})()}),Object.defineProperties(_,{typeName:{value:"Disk2DOptions",enumerable:!0}});const v=_;c().set("x_ite/Browser/Geometry2D/Disk2DOptions",v);const V=v,S=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(S);const x=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Rendering/Coordinate");var M=e.n(x);const C=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Texturing/TextureCoordinate");var P=e.n(C);function T(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(T.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(P())(this.getExecutionContext()),this.geometry._coord=new(M())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(l().MFInt32)(0,1,2,3,-1),e._coordIndex=new(l().MFInt32)(0,1,2,3,-1),t._point=new(l().MFVec2f)(new(l().SFVec2f)(1,1),new(l().SFVec2f)(0,1),new(l().SFVec2f)(0,0),new(l().SFVec2f)(1,0)),i._point=new(l().MFVec3f)(new(l().SFVec3f)(1,1,0),new(l().SFVec3f)(-1,1,0),new(l().SFVec3f)(-1,-1,0),new(l().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(T,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const I=T;c().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",I);const N=I,j=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Browser/Core/PrimitiveQuality");var A=e.n(j);function X(){}function G(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(X.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return G.call(this,"getArc2DOptions",g)},getArcClose2DOptions(){return G.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return G.call(this,"getCircle2DOptions",O)},getDisk2DOptions(){return G.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return G.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case A().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case A().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case A().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const R=X;c().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",R);const k=R,B=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(B);const q=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Base/FieldDefinitionArray");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.11.1")].require("standard/Math/Algorithm");var H=e.n(Q);function W(e){L().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(W.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=w().Polar(i,r),l=t+s*((e+1)/n),u=w().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(u.real,u.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(W,{typeName:{value:"Arc2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const J=W;c().set("x_ite/Components/Geometry2D/Arc2D",J);const K=J,Y=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Rendering/X3DGeometryNode");var Z=e.n(Y);function $(e){Z().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,Z().prototype),{set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(w())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),u=this.getNormals(),c=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const g=a-1;for(let t=0;t<a;++t){const i=n+r*(t/g);h.push(w().Polar(.5,i).add(e)),p.push(w().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<g;++i){const s=h[i],n=h[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<g;++e){const t=h[e],i=h[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;c().set("x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){L().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;c().set("x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-8.11.1")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){L().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,Z().prototype),{initialize(){Z().prototype.initialize.call(this)},set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(L())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(Z())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),u=this.getTexCoords(),c=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(u);for(let e=0,t=l.length;e<t;e+=12)u.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),c.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(Z())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleParticles=e.prototype.displaySimpleParticles,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(z())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;c().set("x_ite/Components/Geometry2D/Disk2D",le);const ue=le;function ce(e){L().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ce.prototype,L().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(ce,{typeName:{value:"Polyline2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ce;c().set("x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function ge(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(ge.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(ge,{typeName:{value:"Polypoint2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const de=ge;c().set("x_ite/Components/Geometry2D/Polypoint2D",de);const me=de,ye=window[Symbol.for("X_ITE.X3D-8.11.1")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);window[Symbol.for("X_ITE.X3D-8.11.1")].require("standard/Math/Numbers/Vector3");function we(e){Z().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,Z().prototype),{build:(()=>{const e=new(be())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(we,{typeName:{value:"Rectangle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const fe=we;c().set("x_ite/Components/Geometry2D/Rectangle2D",fe);const De=fe;function Oe(e){Z().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(Oe.prototype,Z().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(Oe,{typeName:{value:"TriangleSet2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"vertices",new(l().MFVec2f)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=Oe;c().set("x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[K,te,ne,ue,pe,me,De,ve],abstractNodes:[],browserContext:k});const Ve=void 0;c().set("assets/components/Geometry2D",Ve)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.1 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ 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.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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/Rendering/X3DCoordinateNode\")"
|
|
54
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
55
55
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_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.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .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/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Spheroid3.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -248,10 +248,10 @@ const ReferenceEllipsoids_default_ = ReferenceEllipsoids;
|
|
|
248
248
|
Namespace_default().set ("standard/Geospatial/ReferenceEllipsoids", ReferenceEllipsoids_default_);
|
|
249
249
|
/* harmony default export */ const Geospatial_ReferenceEllipsoids = (ReferenceEllipsoids_default_);
|
|
250
250
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
251
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
251
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Vector3");
|
|
252
252
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
253
253
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
254
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
254
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Algorithm");
|
|
255
255
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
256
256
|
;// CONCATENATED MODULE: ./src/standard/Geospatial/Geodetic.js
|
|
257
257
|
/*******************************************************************************
|
|
@@ -1016,10 +1016,10 @@ const Geospatial_default_ = Geospatial;
|
|
|
1016
1016
|
Namespace_default().set ("x_ite/Browser/Geospatial/Geospatial", Geospatial_default_);
|
|
1017
1017
|
/* harmony default export */ const Geospatial_Geospatial = (Geospatial_default_);
|
|
1018
1018
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
1019
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1019
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Base/X3DCast");
|
|
1020
1020
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
1021
1021
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
1022
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1022
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Matrix4");
|
|
1023
1023
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
1024
1024
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
|
|
1025
1025
|
/*******************************************************************************
|
|
@@ -1299,7 +1299,7 @@ const X3DGeospatialObject_default_ = X3DGeospatialObject;
|
|
|
1299
1299
|
Namespace_default().set ("x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
|
|
1300
1300
|
/* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
|
|
1301
1301
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
1302
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1302
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Geometry/Triangle3");
|
|
1303
1303
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
1304
1304
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
|
|
1305
1305
|
/*******************************************************************************
|
|
@@ -1545,10 +1545,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
|
|
|
1545
1545
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
|
|
1546
1546
|
/* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
|
|
1547
1547
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1548
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1548
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1549
1549
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1550
1550
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1551
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1551
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Vector2");
|
|
1552
1552
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1553
1553
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
|
|
1554
1554
|
/*******************************************************************************
|
|
@@ -1989,22 +1989,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
|
|
|
1989
1989
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
|
|
1990
1990
|
/* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
|
|
1991
1991
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
1992
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1992
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
1993
1993
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
1994
1994
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
1995
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1995
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
1996
1996
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
1997
1997
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1998
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1998
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Rendering/TraverseType");
|
|
1999
1999
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
2000
2000
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
2001
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2001
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Grouping/Group");
|
|
2002
2002
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
2003
2003
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
|
|
2004
|
-
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2004
|
+
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Networking/Inline");
|
|
2005
2005
|
var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
|
|
2006
2006
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
2007
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2007
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Geometry/Box3");
|
|
2008
2008
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
2009
2009
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
|
|
2010
2010
|
/*******************************************************************************
|
|
@@ -2478,7 +2478,7 @@ const GeoLOD_default_ = GeoLOD;
|
|
|
2478
2478
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
|
|
2479
2479
|
/* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
|
|
2480
2480
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
|
|
2481
|
-
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2481
|
+
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
|
|
2482
2482
|
var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
|
|
2483
2483
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
|
|
2484
2484
|
/*******************************************************************************
|
|
@@ -2616,10 +2616,10 @@ const GeoLocation_default_ = GeoLocation;
|
|
|
2616
2616
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
|
|
2617
2617
|
/* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
|
|
2618
2618
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
2619
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2619
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
2620
2620
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
2621
2621
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
2622
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2622
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
2623
2623
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
2624
2624
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
|
|
2625
2625
|
/*******************************************************************************
|
|
@@ -2744,7 +2744,7 @@ const GeoMetadata_default_ = GeoMetadata;
|
|
|
2744
2744
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
|
|
2745
2745
|
/* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
|
|
2746
2746
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
2747
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2747
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Core/X3DNode");
|
|
2748
2748
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
2749
2749
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
|
|
2750
2750
|
/*******************************************************************************
|
|
@@ -2870,7 +2870,7 @@ const GeoOrigin_default_ = GeoOrigin;
|
|
|
2870
2870
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
|
|
2871
2871
|
/* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
|
|
2872
2872
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
|
|
2873
|
-
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2873
|
+
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
|
|
2874
2874
|
var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
|
|
2875
2875
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
|
|
2876
2876
|
/*******************************************************************************
|
|
@@ -3034,10 +3034,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
|
|
|
3034
3034
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
|
|
3035
3035
|
/* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
|
|
3036
3036
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
|
|
3037
|
-
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3037
|
+
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
|
|
3038
3038
|
var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
|
|
3039
3039
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
|
|
3040
|
-
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3040
|
+
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
|
|
3041
3041
|
var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
|
|
3042
3042
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
|
|
3043
3043
|
/*******************************************************************************
|
|
@@ -3208,7 +3208,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
|
|
|
3208
3208
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
|
|
3209
3209
|
/* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
|
|
3210
3210
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
|
|
3211
|
-
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3211
|
+
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
|
|
3212
3212
|
var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
|
|
3213
3213
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
|
|
3214
3214
|
/*******************************************************************************
|
|
@@ -3501,16 +3501,16 @@ const GeoTransform_default_ = GeoTransform;
|
|
|
3501
3501
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
|
|
3502
3502
|
/* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
|
|
3503
3503
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
|
|
3504
|
-
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3504
|
+
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
|
|
3505
3505
|
var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
|
|
3506
3506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
3507
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3507
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
3508
3508
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
3509
3509
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
|
|
3510
|
-
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3510
|
+
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("x_ite/Components/Navigation/NavigationInfo");
|
|
3511
3511
|
var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
|
|
3512
3512
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3513
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3513
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.1")] .require ("standard/Math/Numbers/Rotation4");
|
|
3514
3514
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3515
3515
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
|
|
3516
3516
|
/*******************************************************************************
|