x_ite 8.0.0 → 8.3.0
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 +64 -0
- package/.gitmodules +3 -0
- package/.vscode/settings.json +3 -2
- package/Makefile +9 -4
- package/README.md +6 -6
- package/build/bin/version.pl +3 -11
- package/dist/LICENSE.md +0 -2
- package/dist/assets/components/Annotation.js +55 -28
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +55 -28
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +197 -38
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +50 -26
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +61 -28
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +96 -48
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +186 -193
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +92 -53
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +35 -17
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +77 -45
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +209 -96
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +125 -62
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +105 -70
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/ProjectiveTextureMapping.js +69 -46
- package/dist/assets/components/ProjectiveTextureMapping.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +125 -63
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +56 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +16857 -0
- package/dist/assets/components/Text.min.js +1 -0
- package/dist/assets/components/Texturing3D.js +114 -77
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +126 -60
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +21 -12
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +17800 -31195
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/Gemfile +11 -33
- package/docs/Gemfile.lock +53 -59
- package/docs/LICENSE +21 -0
- package/docs/README.md +46 -0
- package/docs/_config.yml +320 -127
- package/docs/_data/assets/cross_origin.yml +62 -0
- package/docs/_data/assets/self_host.yml +51 -0
- package/docs/_data/contact.yml +30 -0
- package/docs/_data/locales/bg-BG.yml +83 -0
- package/docs/_data/locales/de-DE.yml +82 -0
- package/docs/_data/locales/en.yml +93 -0
- package/docs/_data/locales/es-ES.yml +79 -0
- package/docs/_data/locales/fr-FR.yml +79 -0
- package/docs/_data/locales/hu-HU.yml +81 -0
- package/docs/_data/locales/id-ID.yml +79 -0
- package/docs/_data/locales/ko-KR.yml +86 -0
- package/docs/_data/locales/my-MM.yml +79 -0
- package/docs/_data/locales/pt-BR.yml +79 -0
- package/docs/_data/locales/ru-RU.yml +79 -0
- package/docs/_data/locales/tr-TR.yml +79 -0
- package/docs/_data/locales/uk-UA.yml +79 -0
- package/docs/_data/locales/vi-VN.yml +77 -0
- package/docs/_data/locales/zh-CN.yml +85 -0
- package/docs/_data/share.yml +27 -0
- package/docs/_includes/nav.html +19 -0
- package/docs/_includes/scripts.html +15 -0
- package/docs/_layouts/compress.html +11 -0
- package/docs/_layouts/redirect-page.html +6 -0
- package/docs/_layouts/wide.html +52 -0
- package/docs/_layouts/wrap.html +4 -0
- package/docs/_layouts/x_ite.html +8 -0
- package/docs/_plugins/no_date.rb +11 -0
- package/docs/_plugins/posts-lastmod-hook.rb +14 -0
- package/docs/{Accessing-the-External-Browser.md → _posts/accessing-the-external-browser.md} +26 -25
- package/docs/_posts/browser-support.md +53 -0
- package/docs/{Custom-Shaders.md → _posts/custom-shaders.md} +18 -14
- package/docs/{DOM-Integration.md → _posts/dom-integration.md} +29 -22
- package/docs/{Features.md → _posts/features.md} +11 -12
- package/docs/{index.md → _posts/getting-started.md} +203 -245
- package/docs/{Glossary.md → _posts/glossary.md} +5 -6
- package/docs/{How-To-Configure-Your-Web-Server.md → _posts/how-to-configure-your-web-server.md} +5 -6
- package/docs/{reference/Browser-Services.md → _posts/reference/browser-services.md} +8 -9
- package/docs/{reference/Constants-Services.md → _posts/reference/constants-services.md} +14 -15
- package/docs/{reference/ECMAScript-Object-and-Function-Definitions.md → _posts/reference/ecmascript-object-and-function-definitions.md} +14 -15
- package/docs/_posts/reference/field-services-and-objects.md +1127 -0
- package/docs/{reference/Prototype-Services.md → _posts/reference/prototype-services.md} +8 -14
- package/docs/{reference/Route-Services.md → _posts/reference/route-services.md} +6 -10
- package/docs/{reference/Scene-Services.md → _posts/reference/scene-services.md} +11 -21
- package/docs/{reference/Script-Node-Authoring-Interface.md → _posts/reference/script-node-authoring-interface.md} +10 -11
- package/docs/_posts/report-a-bug.md +15 -0
- package/docs/_posts/setup-a-localhost-server.md +42 -0
- package/docs/_posts/supported-nodes.md +377 -0
- package/docs/{tutorials/Adding-backgrounds.md → _posts/tutorials/adding-backgrounds.md} +13 -14
- package/docs/{tutorials/Adding-fog.md → _posts/tutorials/adding-fog.md} +6 -7
- package/docs/{tutorials/Adding-sound.md → _posts/tutorials/adding-sound.md} +27 -26
- package/docs/{tutorials/Animating-transforms.md → _posts/tutorials/animating-transforms.md} +36 -37
- package/docs/{tutorials/Basic-Nodes.md → _posts/tutorials/basic-nodes.md} +38 -49
- package/docs/{tutorials/Building-a-X3D-world.md → _posts/tutorials/building-a-x3d-world.md} +16 -16
- package/docs/{tutorials/Building-elevation-grids.md → _posts/tutorials/building-elevation-grids.md} +15 -14
- package/docs/{tutorials/Building-extruded-shapes.md → _posts/tutorials/building-extruded-shapes.md} +11 -12
- package/docs/{tutorials/Building-primitive-shapes.md → _posts/tutorials/building-primitive-shapes.md} +29 -28
- package/docs/{tutorials/Building-shapes-out-of-points,-lines,-and-faces.md → _posts/tutorials/building-shapes-out-of-points-lines-and-faces.md} +25 -27
- package/docs/{tutorials/Controlling-appearance-with-materials.md → _posts/tutorials/controlling-appearance-with-materials.md} +20 -19
- package/docs/{tutorials/Controlling-color-on-coordinate-based-geometry.md → _posts/tutorials/controlling-color-on-coordinate-based-geometry.md} +15 -16
- package/docs/{tutorials/Controlling-detail.md → _posts/tutorials/controlling-detail.md} +12 -11
- package/docs/{tutorials/Controlling-how-textures-are-mapped.md → _posts/tutorials/controlling-how-textures-are-mapped.md} +11 -12
- package/docs/{tutorials/Controlling-navigation.md → _posts/tutorials/controlling-navigation.md} +7 -8
- package/docs/{tutorials/Controlling-shading-on-coordinate-based-geometry.md → _posts/tutorials/controlling-shading-on-coordinate-based-geometry.md} +19 -20
- package/docs/{tutorials/Controlling-the-viewpoint.md → _posts/tutorials/controlling-the-viewpoint.md} +7 -8
- package/docs/{tutorials/Creating-new-node-types.md → _posts/tutorials/creating-new-node-types.md} +8 -9
- package/docs/{tutorials/Grouping-nodes.md → _posts/tutorials/grouping-nodes.md} +17 -18
- package/docs/{tutorials/Hello,-World!.md → _posts/tutorials/hello-world.md} +16 -28
- package/docs/{tutorials/Improving-Performance.md → _posts/tutorials/improving-performance.md} +7 -11
- package/docs/{tutorials/Increasing-Rendering-Speed.md → _posts/tutorials/increasing-rendering-speed.md} +5 -6
- package/docs/{tutorials/Introducing-animation.md → _posts/tutorials/introducing-animation.md} +14 -15
- package/docs/{tutorials/Introducing-script-use.md → _posts/tutorials/introducing-script-use.md} +7 -8
- package/docs/{tutorials/Introducing-X3D.md → _posts/tutorials/introducing-x3d.md} +7 -7
- package/docs/{tutorials/Lighting-your-world.md → _posts/tutorials/lighting-your-world.md} +8 -9
- package/docs/{tutorials/Mapping-textures.md → _posts/tutorials/mapping-textures.md} +11 -12
- package/docs/{tutorials/Naming-nodes.md → _posts/tutorials/naming-nodes.md} +9 -8
- package/docs/_posts/tutorials/overview.md +83 -0
- package/docs/{tutorials/Providing-information-about-your-world.md → _posts/tutorials/providing-information-about-your-world.md} +6 -7
- package/docs/{tutorials/Sensing-the-viewer.md → _posts/tutorials/sensing-the-viewer.md} +19 -20
- package/docs/{tutorials/Sensing-viewer-actions.md → _posts/tutorials/sensing-viewer-actions.md} +14 -15
- package/docs/{tutorials/Transforming-Shapes.md → _posts/tutorials/transforming-shapes.md} +8 -9
- package/docs/{tutorials/Writing-program-scripts-with-ECMAScript.md → _posts/tutorials/writing-program-scripts-with-ecmascript.md} +15 -15
- package/docs/{What's-New.md → _posts/what's-new.md} +152 -530
- package/docs/_tabs/imprint.md +52 -0
- package/docs/_tabs/laboratory.md +14 -0
- package/docs/_tabs/playground.html +246 -0
- package/docs/_tabs/reference.md +7 -0
- package/docs/_tabs/tags.md +5 -0
- package/docs/_tabs/tutorials.md +7 -0
- package/docs/assets/css/style.scss +194 -0
- package/docs/assets/img/favicons/android-chrome-192x192.png +0 -0
- package/docs/assets/img/favicons/android-chrome-512x512.png +0 -0
- package/docs/assets/img/favicons/apple-touch-icon.png +0 -0
- package/docs/assets/img/favicons/favicon-16x16.png +0 -0
- package/docs/assets/img/favicons/favicon-32x32.png +0 -0
- package/docs/assets/img/favicons/favicon.ico +0 -0
- package/docs/assets/img/favicons/mstile-150x150.png +0 -0
- package/docs/assets/img/favicons/safari-pinned-tab.svg +71 -0
- package/docs/assets/{images → img}/logo.png +0 -0
- package/docs/assets/js/example.js +34 -0
- package/docs/laboratory/3d-l-system-generator.html +169 -0
- package/docs/laboratory/online-dicom-and-nrrd-file-viewer.html +72 -0
- package/docs/laboratory/real-time-earth-quake-information.html +50 -0
- package/docs/laboratory/x3d-visual-blend-mode-editor.html +227 -0
- package/package.json +4 -4
- package/src/LICENSE.txt +1 -1
- package/src/assets/components/Annotation.js +1 -1
- package/src/assets/components/CADGeometry.js +1 -1
- package/src/assets/components/CubeMapTexturing.js +1 -1
- package/src/assets/components/DIS.js +1 -1
- package/src/assets/components/EventUtilities.js +1 -1
- package/src/assets/components/Geometry2D.js +1 -1
- package/src/assets/components/Geospatial.js +1 -1
- package/src/assets/components/HAnim.js +1 -1
- package/src/assets/components/KeyDeviceSensor.js +1 -1
- package/src/assets/components/Layout.js +1 -1
- package/src/assets/components/NURBS.js +1 -1
- package/src/assets/components/ParticleSystems.js +1 -1
- package/src/assets/components/Picking.js +1 -1
- package/src/assets/components/ProjectiveTextureMapping.js +6 -6
- package/src/assets/components/RigidBodyPhysics.js +1 -6
- package/src/assets/components/Scripting.js +1 -1
- package/src/{x_ite/Components → assets/components}/Text.js +19 -21
- package/src/assets/components/Texturing3D.js +1 -1
- package/src/assets/components/VolumeRendering.js +1 -1
- package/src/assets/components/X_ITE.js +1 -1
- package/src/assets/shaders/Types.glsl.js +1 -1
- package/src/assets/shaders/webgl1/include/Fragment.glsl.js +1 -1
- package/src/assets/shaders/webgl1/include/PointSize.glsl.js +6 -6
- package/src/assets/shaders/webgl1/include/Vertex.glsl.js +4 -4
- package/src/assets/shaders/webgl2/LineTransform.vs.js +11 -11
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +1 -1
- package/src/assets/shaders/webgl2/include/PointSize.glsl.js +6 -6
- package/src/assets/shaders/webgl2/include/Vertex.glsl.js +4 -4
- package/src/bookmarks.js +1 -1
- package/src/examples.js +3 -3
- package/src/lib/ammojs/AmmoClass.js +1 -1
- package/src/lib/jquery.js +1 -1
- package/src/locale/gettext.js +1 -1
- package/src/shim.js +1 -2
- package/src/standard/Geospatial/Geodetic.js +1 -1
- package/src/standard/Geospatial/ReferenceEllipsoids.js +3 -3
- package/src/standard/Geospatial/UniversalTransverseMercator.js +1 -1
- package/src/standard/Math/Algorithm.js +55 -45
- package/src/standard/Math/Algorithms/Bezier.js +1 -1
- package/src/standard/Math/Algorithms/MergeSort.js +1 -1
- package/src/standard/Math/Algorithms/PartialSort.js +1 -1
- package/src/standard/Math/Algorithms/QuickSort.js +1 -1
- package/src/standard/Math/Algorithms/SAT.js +2 -2
- package/src/standard/Math/Algorithms/eigen_decomposition.js +5 -3
- package/src/standard/Math/Geometry/Box2.js +1 -1
- package/src/standard/Math/Geometry/Box3.js +1 -1
- package/src/standard/Math/Geometry/Camera.js +4 -2
- package/src/standard/Math/Geometry/Cylinder3.js +1 -1
- package/src/standard/Math/Geometry/Line2.js +1 -1
- package/src/standard/Math/Geometry/Line3.js +1 -1
- package/src/standard/Math/Geometry/Plane3.js +1 -1
- package/src/standard/Math/Geometry/Sphere3.js +1 -1
- package/src/standard/Math/Geometry/Spheroid3.js +1 -1
- package/src/standard/Math/Geometry/Triangle2.js +4 -2
- package/src/standard/Math/Geometry/Triangle3.js +4 -2
- package/src/standard/Math/Geometry/ViewVolume.js +1 -1
- package/src/standard/Math/Numbers/Color3.js +3 -1
- package/src/standard/Math/Numbers/Color4.js +4 -1
- package/src/standard/Math/Numbers/Complex.js +1 -1
- package/src/standard/Math/Numbers/Matrix2.js +1 -1
- package/src/standard/Math/Numbers/Matrix3.js +1 -1
- package/src/standard/Math/Numbers/Matrix4.js +1 -1
- package/src/standard/Math/Numbers/Quaternion.js +1 -1
- package/src/standard/Math/Numbers/Rotation4.js +1 -1
- package/src/standard/Math/Numbers/Vector2.js +1 -1
- package/src/standard/Math/Numbers/Vector3.js +1 -1
- package/src/standard/Math/Numbers/Vector4.js +1 -1
- package/src/standard/Math/Utility/BVH.js +1 -1
- package/src/standard/Math/Utility/MatrixStack.js +1 -1
- package/src/standard/Networking/BinaryTransport.js +5 -3
- package/src/standard/Time/MicroTime.js +1 -1
- package/src/standard/Utility/BitSet.js +1 -1
- package/src/standard/Utility/DataStorage.js +1 -1
- package/src/standard/Utility/MapUtilities.js +1 -1
- package/src/standard/Utility/ObjectCache.js +5 -3
- package/src/standard/Utility/Shuffle.js +5 -3
- package/src/tests.js +3 -0
- package/src/x_ite/Base/Events.js +4 -2
- package/src/x_ite/Base/FieldArray.js +1 -1
- package/src/x_ite/Base/FieldDefinitionArray.js +1 -1
- package/src/x_ite/Base/X3DArrayField.js +8 -4
- package/src/x_ite/Base/X3DBaseNode.js +1 -1
- package/src/x_ite/Base/X3DCast.js +5 -3
- package/src/x_ite/Base/X3DChildObject.js +1 -1
- package/src/x_ite/Base/X3DConstants.js +1 -1
- package/src/x_ite/Base/X3DEventObject.js +1 -1
- package/src/x_ite/Base/X3DField.js +2 -13
- package/src/x_ite/Base/X3DFieldDefinition.js +1 -1
- package/src/x_ite/Base/X3DInfoArray.js +1 -1
- package/src/x_ite/Base/X3DObject.js +1 -1
- package/src/x_ite/Base/X3DObjectArrayField.js +1 -1
- package/src/x_ite/Base/X3DTypedArrayField.js +59 -33
- package/src/x_ite/Browser/Core/BrowserOptions.js +22 -30
- package/src/x_ite/Browser/Core/BrowserProperties.js +1 -1
- package/src/x_ite/Browser/Core/BrowserTimings.js +1 -1
- package/src/x_ite/Browser/Core/Context.js +1 -1
- package/src/x_ite/Browser/Core/ContextMenu.js +1 -1
- package/src/x_ite/Browser/Core/Notification.js +1 -1
- package/src/x_ite/Browser/Core/PrimitiveQuality.js +1 -1
- package/src/x_ite/Browser/Core/RenderingProperties.js +1 -1
- package/src/x_ite/Browser/Core/Shading.js +1 -1
- package/src/x_ite/Browser/Core/TextureQuality.js +1 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +11 -8
- package/src/x_ite/Browser/DOMIntegration.js +25 -26
- package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +1 -1
- package/src/x_ite/Browser/Followers/X3DArrayChaserTemplate.js +5 -3
- package/src/x_ite/Browser/Followers/X3DArrayFollowerTemplate.js +5 -3
- package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +1 -1
- package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +1 -1
- package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +1 -1
- package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +1 -1
- package/src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js +1 -1
- package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +1 -1
- package/src/x_ite/Browser/Geometry3D/BoxOptions.js +1 -1
- package/src/x_ite/Browser/Geometry3D/ConeOptions.js +1 -1
- package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +1 -1
- package/src/x_ite/Browser/Geometry3D/IcoSphere.js +1 -1
- package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +1 -1
- package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +1 -1
- package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +1 -1
- package/src/x_ite/Browser/Geospatial/Geocentric.js +1 -2
- package/src/x_ite/Browser/Geospatial/Geospatial.js +1 -1
- package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +1 -1
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +1 -1
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +1 -1
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator2.js +4 -2
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator3.js +4 -2
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +5 -3
- package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +1 -1
- package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +1 -1
- package/src/x_ite/Browser/Layering/X3DLayeringContext.js +1 -1
- package/src/x_ite/Browser/Layout/ScreenText.js +1 -1
- package/src/x_ite/Browser/Layout/X3DLayoutContext.js +1 -1
- package/src/x_ite/Browser/Legacy.js +64 -0
- package/src/x_ite/Browser/Lighting/X3DLightingContext.js +1 -1
- package/src/x_ite/Browser/NURBS/NURBS.js +1 -1
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +6 -39
- package/src/x_ite/Browser/Navigation/FlyViewer.js +1 -1
- package/src/x_ite/Browser/Navigation/LookAtViewer.js +1 -1
- package/src/x_ite/Browser/Navigation/NoneViewer.js +1 -1
- package/src/x_ite/Browser/Navigation/PlaneViewer.js +1 -4
- package/src/x_ite/Browser/Navigation/WalkViewer.js +1 -1
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +1 -1
- package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +3 -2
- package/src/x_ite/Browser/Navigation/X3DViewer.js +3 -3
- package/src/x_ite/Browser/Networking/Features.js +52 -0
- package/src/x_ite/Browser/Networking/URLs.js +11 -12
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +9 -22
- package/src/x_ite/Browser/ParticleSystems/GeometryTypes.js +1 -1
- package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +1 -1
- package/src/x_ite/Browser/Picking/IntersectionType.js +1 -1
- package/src/x_ite/Browser/Picking/MatchCriterion.js +1 -1
- package/src/x_ite/Browser/Picking/SortOrder.js +1 -1
- package/src/x_ite/Browser/Picking/VolumePicker.js +2 -4
- package/src/x_ite/Browser/Picking/X3DPickingContext.js +1 -1
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +1 -1
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDeviceSensorContainer.js +1 -1
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +1 -1
- package/src/x_ite/Browser/Rendering/GeometryContext.js +1 -1
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +1 -1
- package/src/x_ite/Browser/RigidBodyPhysics/AppliedParametersType.js +1 -1
- package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +1 -1
- package/src/x_ite/Browser/Scripting/evaluate.js +5 -3
- package/src/x_ite/Browser/Shaders/ShaderCompiler.js +1 -1
- package/src/x_ite/Browser/Shaders/ShaderSource.js +5 -5
- package/src/x_ite/Browser/Shaders/Shaders.js +1 -1
- package/src/x_ite/Browser/Shaders/X3DShadersContext.js +1 -1
- package/src/x_ite/Browser/Shape/AlphaMode.js +1 -1
- package/src/x_ite/Browser/Shape/X3DShapeContext.js +4 -4
- package/src/x_ite/Browser/Sound/X3DSoundContext.js +1 -1
- package/src/x_ite/Browser/Text/PolygonText.js +1 -1
- package/src/x_ite/Browser/Text/TextAlignment.js +1 -1
- package/src/x_ite/Browser/Text/X3DTextContext.js +1 -1
- package/src/x_ite/Browser/Text/X3DTextGeometry.js +1 -1
- package/src/x_ite/Browser/Texturing/FunctionType.js +1 -1
- package/src/x_ite/Browser/Texturing/ModeType.js +1 -1
- package/src/x_ite/Browser/Texturing/SourceType.js +1 -1
- package/src/x_ite/Browser/Texturing/TextureCoordinateGeneratorModeType.js +1 -1
- package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +1 -1
- package/src/x_ite/Browser/Texturing3D/DICOMParser.js +3 -3
- package/src/x_ite/Browser/Texturing3D/NRRDParser.js +2 -2
- package/src/x_ite/Browser/Time/X3DTimeContext.js +1 -1
- package/src/x_ite/Browser/VERSION.js +2 -2
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +43 -52
- package/src/x_ite/Browser/X3DBrowserContext.js +1 -5
- package/src/x_ite/Components/Annotation/AnnotationLayer.js +1 -1
- package/src/x_ite/Components/Annotation/AnnotationTarget.js +1 -1
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +1 -1
- package/src/x_ite/Components/Annotation/IconAnnotation.js +1 -1
- package/src/x_ite/Components/Annotation/TextAnnotation.js +1 -1
- package/src/x_ite/Components/Annotation/URLAnnotation.js +1 -1
- package/src/x_ite/Components/Annotation/X3DAnnotationNode.js +1 -1
- package/src/x_ite/Components/CADGeometry/CADAssembly.js +1 -1
- package/src/x_ite/Components/CADGeometry/CADFace.js +1 -1
- package/src/x_ite/Components/CADGeometry/CADLayer.js +1 -1
- package/src/x_ite/Components/CADGeometry/CADPart.js +1 -1
- package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +1 -1
- package/src/x_ite/Components/CADGeometry/QuadSet.js +1 -1
- package/src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js +1 -1
- package/src/x_ite/Components/Core/MetadataBoolean.js +1 -1
- package/src/x_ite/Components/Core/MetadataDouble.js +1 -1
- package/src/x_ite/Components/Core/MetadataFloat.js +1 -1
- package/src/x_ite/Components/Core/MetadataInteger.js +1 -1
- package/src/x_ite/Components/Core/MetadataSet.js +1 -1
- package/src/x_ite/Components/Core/MetadataString.js +1 -1
- package/src/x_ite/Components/Core/WorldInfo.js +1 -1
- package/src/x_ite/Components/Core/X3DBindableNode.js +1 -1
- package/src/x_ite/Components/Core/X3DChildNode.js +1 -1
- package/src/x_ite/Components/Core/X3DInfoNode.js +1 -1
- package/src/x_ite/Components/Core/X3DMetadataObject.js +1 -1
- package/src/x_ite/Components/Core/X3DNode.js +5 -5
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +2 -2
- package/src/x_ite/Components/Core/X3DSensorNode.js +1 -1
- package/src/x_ite/Components/Core.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +1 -1
- package/src/x_ite/Components/DIS/EspduTransform.js +1 -1
- package/src/x_ite/Components/DIS/ReceiverPdu.js +1 -1
- package/src/x_ite/Components/DIS/SignalPdu.js +1 -1
- package/src/x_ite/Components/DIS/TransmitterPdu.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/Background.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/Fog.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +6 -12
- package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor.js +1 -1
- package/src/x_ite/Components/EventUtilities/BooleanFilter.js +1 -1
- package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +1 -1
- package/src/x_ite/Components/EventUtilities/BooleanToggle.js +1 -1
- package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +1 -1
- package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +1 -1
- package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +1 -1
- package/src/x_ite/Components/EventUtilities/TimeTrigger.js +1 -1
- package/src/x_ite/Components/EventUtilities/X3DSequencerNode.js +1 -1
- package/src/x_ite/Components/EventUtilities/X3DTriggerNode.js +1 -1
- package/src/x_ite/Components/Followers/ColorChaser.js +1 -1
- package/src/x_ite/Components/Followers/ColorDamper.js +1 -1
- package/src/x_ite/Components/Followers/CoordinateChaser.js +1 -1
- package/src/x_ite/Components/Followers/CoordinateDamper.js +1 -1
- package/src/x_ite/Components/Followers/OrientationChaser.js +1 -1
- package/src/x_ite/Components/Followers/OrientationDamper.js +1 -1
- package/src/x_ite/Components/Followers/PositionChaser.js +1 -1
- package/src/x_ite/Components/Followers/PositionChaser2D.js +1 -1
- package/src/x_ite/Components/Followers/PositionDamper.js +1 -1
- package/src/x_ite/Components/Followers/PositionDamper2D.js +1 -1
- package/src/x_ite/Components/Followers/ScalarChaser.js +1 -1
- package/src/x_ite/Components/Followers/ScalarDamper.js +1 -1
- package/src/x_ite/Components/Followers/TexCoordChaser2D.js +1 -1
- package/src/x_ite/Components/Followers/TexCoordDamper2D.js +1 -1
- package/src/x_ite/Components/Followers/X3DChaserNode.js +1 -1
- package/src/x_ite/Components/Followers/X3DDamperNode.js +1 -1
- package/src/x_ite/Components/Followers/X3DFollowerNode.js +1 -1
- package/src/x_ite/Components/Followers.js +1 -1
- package/src/x_ite/Components/Geometry2D/Arc2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/ArcClose2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/Circle2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/Disk2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/Polyline2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/Polypoint2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/Rectangle2D.js +1 -1
- package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +1 -1
- package/src/x_ite/Components/Geometry3D/Box.js +1 -1
- package/src/x_ite/Components/Geometry3D/Cone.js +3 -3
- package/src/x_ite/Components/Geometry3D/Cylinder.js +4 -4
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +1 -1
- package/src/x_ite/Components/Geometry3D/Extrusion.js +1 -1
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +1 -1
- package/src/x_ite/Components/Geometry3D/Sphere.js +1 -1
- package/src/x_ite/Components/Geometry3D.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoCoordinate.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoLOD.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoLocation.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoOrigin.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +17 -13
- package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoTransform.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +39 -106
- package/src/x_ite/Components/Geospatial/X3DGeospatialObject.js +1 -1
- package/src/x_ite/Components/Grouping/Group.js +1 -1
- package/src/x_ite/Components/Grouping/StaticGroup.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/Grouping/Transform.js +1 -1
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +1 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +1 -1
- package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +1 -1
- package/src/x_ite/Components/Grouping/X3DTransformNode.js +1 -1
- package/src/x_ite/Components/Grouping.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimDisplacer.js +2 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +32 -23
- package/src/x_ite/Components/HAnim/HAnimJoint.js +2 -1
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -1
- package/src/x_ite/Components/HAnim/HAnimSegment.js +2 -1
- package/src/x_ite/Components/HAnim/HAnimSite.js +2 -1
- package/src/x_ite/Components/Interpolation/ColorInterpolator.js +2 -2
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +1 -1
- package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +1 -1
- package/src/x_ite/Components/Interpolation/NormalInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/PositionInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +1 -1
- package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +1 -1
- package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +1 -1
- package/src/x_ite/Components/Interpolation/X3DInterpolatorNode.js +1 -1
- package/src/x_ite/Components/Interpolation.js +1 -1
- package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +1 -1
- package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +1 -1
- package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +1 -1
- package/src/x_ite/Components/Layering/Layer.js +4 -2
- package/src/x_ite/Components/Layering/LayerSet.js +1 -1
- package/src/x_ite/Components/Layering/Viewport.js +4 -4
- package/src/x_ite/Components/Layering/X3DLayerNode.js +66 -49
- package/src/x_ite/Components/Layering/X3DViewportNode.js +1 -1
- package/src/x_ite/Components/Layering.js +1 -1
- package/src/x_ite/Components/Layout/Layout.js +1 -1
- package/src/x_ite/Components/Layout/LayoutGroup.js +1 -1
- package/src/x_ite/Components/Layout/LayoutLayer.js +4 -2
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +1 -1
- package/src/x_ite/Components/Layout/ScreenGroup.js +1 -1
- package/src/x_ite/Components/Layout/X3DLayoutNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +9 -5
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +143 -0
- package/src/x_ite/Components/Lighting/PointLight.js +9 -5
- package/src/x_ite/Components/Lighting/SpotLight.js +9 -5
- package/src/x_ite/Components/Lighting/X3DLightNode.js +1 -1
- package/src/x_ite/Components/Lighting.js +3 -1
- package/src/x_ite/Components/NURBS/Contour2D.js +1 -1
- package/src/x_ite/Components/NURBS/ContourPolyline2D.js +1 -1
- package/src/x_ite/Components/NURBS/CoordinateDouble.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsCurve.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsCurve2D.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsSet.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +1 -1
- package/src/x_ite/Components/NURBS/X3DNurbsControlCurveNode.js +1 -1
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +1 -1
- package/src/x_ite/Components/NURBS/X3DParametricGeometryNode.js +1 -1
- package/src/x_ite/Components/Navigation/Billboard.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/NavigationInfo.js +2 -1
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +100 -68
- package/src/x_ite/Components/Navigation/Viewpoint.js +16 -16
- package/src/x_ite/Components/Navigation/ViewpointGroup.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +219 -111
- package/src/x_ite/Components/Navigation.js +1 -1
- package/src/x_ite/Components/Networking/Anchor.js +1 -1
- package/src/x_ite/Components/Networking/Inline.js +99 -14
- package/src/x_ite/Components/Networking/LoadSensor.js +9 -9
- package/src/x_ite/Components/Networking/X3DNetworkSensorNode.js +1 -1
- package/src/x_ite/Components/Networking/X3DUrlObject.js +3 -3
- package/src/x_ite/Components/Networking.js +1 -1
- package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +1 -1
- package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +1 -1
- package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +1 -1
- package/src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js +1 -1
- package/src/x_ite/Components/Picking/LinePickSensor.js +1 -1
- package/src/x_ite/Components/Picking/PickableGroup.js +1 -1
- package/src/x_ite/Components/Picking/PointPickSensor.js +2 -4
- package/src/x_ite/Components/Picking/PrimitivePickSensor.js +1 -1
- package/src/x_ite/Components/Picking/VolumePickSensor.js +1 -1
- package/src/x_ite/Components/Picking/X3DPickSensorNode.js +1 -1
- package/src/x_ite/Components/Picking/X3DPickableObject.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/X3DDragSensorNode.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor.js +1 -1
- package/src/x_ite/Components/ProjectiveTextureMapping/{TextureProjectorPerspective.js → TextureProjector.js} +17 -13
- package/src/x_ite/Components/ProjectiveTextureMapping/TextureProjectorParallel.js +17 -13
- package/src/x_ite/Components/ProjectiveTextureMapping/X3DTextureProjectorNode.js +1 -1
- package/src/x_ite/Components/Rendering/ClipPlane.js +1 -1
- package/src/x_ite/Components/Rendering/Color.js +1 -1
- package/src/x_ite/Components/Rendering/ColorRGBA.js +1 -1
- package/src/x_ite/Components/Rendering/Coordinate.js +1 -1
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +6 -1
- package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +1 -1
- package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +1 -1
- package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +1 -1
- package/src/x_ite/Components/Rendering/LineSet.js +6 -1
- package/src/x_ite/Components/Rendering/Normal.js +31 -1
- package/src/x_ite/Components/Rendering/PointSet.js +6 -1
- package/src/x_ite/Components/Rendering/TriangleFanSet.js +1 -1
- package/src/x_ite/Components/Rendering/TriangleSet.js +1 -1
- package/src/x_ite/Components/Rendering/TriangleStripSet.js +1 -1
- package/src/x_ite/Components/Rendering/X3DColorNode.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +1 -1
- package/src/x_ite/Components/Rendering/X3DGeometricPropertyNode.js +1 -1
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +40 -35
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +24 -6
- package/src/x_ite/Components/Rendering/X3DNormalNode.js +1 -1
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +7 -1
- package/src/x_ite/Components/Rendering.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +3 -2
- package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +1 -1
- package/src/x_ite/Components/Scripting/Script.js +2 -1
- package/src/x_ite/Components/Scripting/X3DScriptNode.js +1 -1
- package/src/x_ite/Components/Shaders/ComposedShader.js +1 -1
- package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +1 -1
- package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +1 -1
- package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +1 -1
- package/src/x_ite/Components/Shaders/PackagedShader.js +2 -1
- package/src/x_ite/Components/Shaders/ProgramShader.js +1 -1
- package/src/x_ite/Components/Shaders/ShaderPart.js +2 -1
- package/src/x_ite/Components/Shaders/ShaderProgram.js +2 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +13 -10
- package/src/x_ite/Components/Shaders/X3DShaderNode.js +1 -1
- package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +1 -1
- package/src/x_ite/Components/Shaders.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +2 -2
- package/src/x_ite/Components/Shape/FillProperties.js +4 -1
- package/src/x_ite/Components/Shape/LineProperties.js +4 -1
- package/src/x_ite/Components/Shape/Material.js +24 -16
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -1
- package/src/x_ite/Components/Shape/PointProperties.js +14 -20
- package/src/x_ite/Components/Shape/Shape.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Shape/UnlitMaterial.js +1 -1
- package/src/x_ite/Components/Shape/X3DAppearanceChildNode.js +1 -1
- package/src/x_ite/Components/Shape/X3DAppearanceNode.js +1 -1
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -1
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +2 -2
- package/src/x_ite/Components/Shape/X3DShapeNode.js +1 -1
- package/src/x_ite/Components/Shape.js +1 -1
- package/src/x_ite/Components/Sound/Analyser.js +105 -0
- package/src/x_ite/Components/Sound/AudioClip.js +1 -1
- package/src/x_ite/Components/Sound/AudioDestination.js +94 -0
- package/src/x_ite/Components/Sound/BiquadFilter.js +104 -0
- package/src/x_ite/Components/Sound/BufferAudioSource.js +127 -0
- package/src/x_ite/Components/Sound/ChannelMerger.js +91 -0
- package/src/x_ite/Components/Sound/ChannelSelector.js +92 -0
- package/src/x_ite/Components/Sound/ChannelSplitter.js +92 -0
- package/src/x_ite/Components/Sound/Convolver.js +102 -0
- package/src/x_ite/Components/Sound/Delay.js +102 -0
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +106 -0
- package/src/x_ite/Components/Sound/Gain.js +100 -0
- package/src/x_ite/Components/Sound/ListenerPointSource.js +102 -0
- package/src/x_ite/Components/Sound/MicrophoneSource.js +96 -0
- package/src/x_ite/Components/Sound/OscillatorSource.js +98 -0
- package/src/x_ite/Components/Sound/PeriodicWave.js +86 -0
- package/src/x_ite/Components/Sound/Sound.js +16 -13
- package/src/x_ite/Components/Sound/SpatialSound.js +103 -0
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +94 -0
- package/src/x_ite/Components/Sound/StreamAudioSource.js +96 -0
- package/src/x_ite/Components/Sound/WaveShaper.js +102 -0
- package/src/x_ite/Components/Sound/X3DSoundChannelNode.js +63 -0
- package/src/x_ite/Components/Sound/X3DSoundDestinationNode.js +63 -0
- package/src/x_ite/Components/Sound/X3DSoundNode.js +1 -1
- package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +63 -0
- package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +1 -1
- package/src/x_ite/Components/Sound.js +54 -10
- package/src/x_ite/Components/Text/FontStyle.js +1 -1
- package/src/x_ite/Components/Text/Text.js +1 -1
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +1 -1
- package/src/x_ite/Components/Texturing/ImageTexture.js +1 -1
- package/src/x_ite/Components/Texturing/MovieTexture.js +1 -1
- package/src/x_ite/Components/Texturing/MultiTexture.js +1 -1
- package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +1 -1
- package/src/x_ite/Components/Texturing/MultiTextureTransform.js +1 -1
- package/src/x_ite/Components/Texturing/PixelTexture.js +1 -1
- package/src/x_ite/Components/Texturing/TextureCoordinate.js +1 -1
- package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +8 -1
- package/src/x_ite/Components/Texturing/TextureTransform.js +1 -1
- package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTextureNode.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +1 -1
- package/src/x_ite/Components/Texturing.js +1 -1
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +1 -1
- package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +1 -1
- package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +1 -1
- package/src/x_ite/Components/Time/TimeSensor.js +2 -1
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +1 -1
- package/src/x_ite/Components/Time.js +1 -1
- package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +1 -1
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/X3DComposableVolumeRenderStyleNode.js +1 -1
- package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +1 -1
- package/src/x_ite/Components/VolumeRendering/X3DVolumeRenderStyleNode.js +1 -1
- package/src/x_ite/Components/X_ITE/BlendMode.js +1 -1
- package/src/x_ite/Components.js +6 -28
- package/src/x_ite/Configuration/ComponentInfo.js +10 -7
- package/src/x_ite/Configuration/ComponentInfoArray.js +2 -6
- package/src/x_ite/Configuration/ProfileInfo.js +1 -1
- package/src/x_ite/Configuration/ProfileInfoArray.js +1 -1
- package/src/x_ite/Configuration/SupportedComponents.js +136 -154
- package/src/x_ite/Configuration/SupportedNodes.js +7 -10
- package/src/x_ite/Configuration/SupportedProfiles.js +1 -1
- package/src/x_ite/Configuration/UnitInfo.js +1 -1
- package/src/x_ite/Configuration/UnitInfoArray.js +1 -1
- package/src/x_ite/DEBUG.js +1 -1
- package/src/x_ite/Execution/BindableList.js +1 -1
- package/src/x_ite/Execution/BindableStack.js +12 -12
- package/src/x_ite/Execution/ExportedNodesArray.js +1 -1
- package/src/x_ite/Execution/ImportedNodesArray.js +1 -1
- package/src/x_ite/Execution/NamedNodesArray.js +1 -1
- package/src/x_ite/Execution/Scene.js +13 -13
- package/src/x_ite/Execution/X3DExecutionContext.js +882 -882
- package/src/x_ite/Execution/X3DExportedNode.js +1 -1
- package/src/x_ite/Execution/X3DImportedNode.js +1 -1
- package/src/x_ite/Execution/X3DScene.js +14 -22
- package/src/x_ite/Execution/X3DWorld.js +1 -1
- package/src/x_ite/Fallback.js +1 -6
- package/src/x_ite/Fields/ArrayFields.js +1 -1
- package/src/x_ite/Fields/SFBool.js +1 -1
- package/src/x_ite/Fields/SFColor.js +2 -5
- package/src/x_ite/Fields/SFColorRGBA.js +2 -6
- package/src/x_ite/Fields/SFDouble.js +1 -1
- package/src/x_ite/Fields/SFFloat.js +1 -1
- package/src/x_ite/Fields/SFImage.js +1 -1
- package/src/x_ite/Fields/SFInt32.js +1 -1
- package/src/x_ite/Fields/SFMatrix3.js +16 -11
- package/src/x_ite/Fields/SFMatrix4.js +18 -11
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +15 -4
- package/src/x_ite/Fields/SFNode.js +1 -1
- package/src/x_ite/Fields/SFNodeCache.js +3 -5
- package/src/x_ite/Fields/SFRotation.js +27 -6
- package/src/x_ite/Fields/SFString.js +1 -1
- package/src/x_ite/Fields/SFTime.js +1 -1
- package/src/x_ite/Fields/SFVec2.js +5 -11
- package/src/x_ite/Fields/SFVec3.js +5 -11
- package/src/x_ite/Fields/SFVec4.js +5 -11
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +27 -17
- package/src/x_ite/Fields.js +1 -1
- package/src/x_ite/InputOutput/FileLoader.js +3 -3
- package/src/x_ite/InputOutput/Generator.js +1 -1
- package/src/x_ite/Namespace.js +2 -758
- package/src/x_ite/Parser/GoldenGate.js +1 -1
- package/src/x_ite/Parser/HTMLSupport.js +1 -1
- package/src/x_ite/Parser/JSONParser.js +4 -4
- package/src/x_ite/Parser/VRMLParser.js +15 -1
- package/src/x_ite/Parser/X3DParser.js +1 -1
- package/src/x_ite/Parser/XMLParser.js +1 -1
- package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +1 -1
- package/src/x_ite/Prototype/ProtoDeclarationArray.js +1 -1
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +1 -1
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -1
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
- package/src/x_ite/Rendering/DependentRenderer.js +1 -1
- package/src/x_ite/Rendering/TextureBuffer.js +1 -1
- package/src/x_ite/Rendering/TraverseType.js +1 -1
- package/src/x_ite/Rendering/VertexArray.js +2 -2
- package/src/x_ite/Rendering/X3DRenderObject.js +10 -7
- package/src/x_ite/Routing/RouteArray.js +1 -1
- package/src/x_ite/Routing/X3DRoute.js +1 -1
- package/src/x_ite/Routing/X3DRoutingContext.js +1 -1
- package/src/x_ite/X3D.js +25 -37
- package/src/x_ite/X3DCanvas.js +10 -12
- package/src/x_ite.css +20 -0
- package/src/x_ite.html +80 -77
- package/src/x_ite.js +1 -1
- package/webpack.config.js +79 -8
- package/x_ite.min.html +78 -76
- package/build/bin/namespace.mjs +0 -86
- package/docs/404.md +0 -11
- package/docs/Browser-Support.md +0 -53
- package/docs/Supported-Nodes.md +0 -378
- package/docs/_data/navigation.yml +0 -137
- package/docs/assets/css/main.scss +0 -126
- package/docs/reference/Field-Services-and-Objects.md +0 -1110
- package/docs/tutorials/index.md +0 -84
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.3.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,14 +39,17 @@ 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.3.0")] .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.3.0")] .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/Fields\")"
|
|
48
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Fields");
|
|
49
49
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
50
|
+
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
51
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Namespace");
|
|
52
|
+
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
50
53
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
|
|
51
54
|
/*******************************************************************************
|
|
52
55
|
*
|
|
@@ -88,7 +91,7 @@ var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
|
88
91
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
89
92
|
*
|
|
90
93
|
* You should have received a copy of the GNU General Public License version 3
|
|
91
|
-
* along with X_ITE. If not, see <
|
|
94
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
92
95
|
* copy of the GPLv3 License.
|
|
93
96
|
*
|
|
94
97
|
* For Silvio, Joy and Adi.
|
|
@@ -122,8 +125,11 @@ ArcClose2DOptions .prototype = Object .assign (Object .create ((X3DBaseNode_defa
|
|
|
122
125
|
},
|
|
123
126
|
});
|
|
124
127
|
|
|
125
|
-
|
|
128
|
+
const __default__ = ArcClose2DOptions;
|
|
129
|
+
;
|
|
126
130
|
|
|
131
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/Arc2DOptions", __default__);
|
|
132
|
+
/* harmony default export */ const Arc2DOptions = (__default__);
|
|
127
133
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js
|
|
128
134
|
/*******************************************************************************
|
|
129
135
|
*
|
|
@@ -165,7 +171,7 @@ ArcClose2DOptions .prototype = Object .assign (Object .create ((X3DBaseNode_defa
|
|
|
165
171
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
166
172
|
*
|
|
167
173
|
* You should have received a copy of the GNU General Public License version 3
|
|
168
|
-
* along with X_ITE. If not, see <
|
|
174
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
169
175
|
* copy of the GPLv3 License.
|
|
170
176
|
*
|
|
171
177
|
* For Silvio, Joy and Adi.
|
|
@@ -199,13 +205,16 @@ ArcClose2DOptions_Arc2DOptions .prototype = Object .assign (Object .create ((X3D
|
|
|
199
205
|
},
|
|
200
206
|
});
|
|
201
207
|
|
|
202
|
-
|
|
208
|
+
const ArcClose2DOptions_default_ = ArcClose2DOptions_Arc2DOptions;
|
|
209
|
+
;
|
|
203
210
|
|
|
211
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
|
|
212
|
+
/* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
|
|
204
213
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
205
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
214
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
206
215
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
207
216
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
|
|
208
|
-
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
217
|
+
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Complex");
|
|
209
218
|
var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
|
|
210
219
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
|
|
211
220
|
/*******************************************************************************
|
|
@@ -248,7 +257,7 @@ var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject
|
|
|
248
257
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
249
258
|
*
|
|
250
259
|
* You should have received a copy of the GNU General Public License version 3
|
|
251
|
-
* along with X_ITE. If not, see <
|
|
260
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
252
261
|
* copy of the GPLv3 License.
|
|
253
262
|
*
|
|
254
263
|
* For Silvio, Joy and Adi.
|
|
@@ -317,10 +326,13 @@ Circle2DOptions .prototype = Object .assign (Object .create ((X3DBaseNode_defaul
|
|
|
317
326
|
},
|
|
318
327
|
});
|
|
319
328
|
|
|
320
|
-
|
|
329
|
+
const Circle2DOptions_default_ = Circle2DOptions;
|
|
330
|
+
;
|
|
321
331
|
|
|
332
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/Circle2DOptions", Circle2DOptions_default_);
|
|
333
|
+
/* harmony default export */ const Geometry2D_Circle2DOptions = (Circle2DOptions_default_);
|
|
322
334
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
323
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
335
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Vector3");
|
|
324
336
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
325
337
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Disk2DOptions.js
|
|
326
338
|
/*******************************************************************************
|
|
@@ -363,7 +375,7 @@ var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject
|
|
|
363
375
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
364
376
|
*
|
|
365
377
|
* You should have received a copy of the GNU General Public License version 3
|
|
366
|
-
* along with X_ITE. If not, see <
|
|
378
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
367
379
|
* copy of the GPLv3 License.
|
|
368
380
|
*
|
|
369
381
|
* For Silvio, Joy and Adi.
|
|
@@ -486,16 +498,19 @@ Disk2DOptions .prototype = Object .assign (Object .create ((X3DBaseNode_default(
|
|
|
486
498
|
})(),
|
|
487
499
|
});
|
|
488
500
|
|
|
489
|
-
|
|
501
|
+
const Disk2DOptions_default_ = Disk2DOptions;
|
|
502
|
+
;
|
|
490
503
|
|
|
504
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
|
|
505
|
+
/* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
|
|
491
506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
492
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
507
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
493
508
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
494
509
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
|
|
495
|
-
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
510
|
+
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Rendering/Coordinate");
|
|
496
511
|
var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
|
|
497
512
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
|
|
498
|
-
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
513
|
+
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
|
499
514
|
var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
|
|
500
515
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
|
|
501
516
|
/*******************************************************************************
|
|
@@ -538,7 +553,7 @@ var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordi
|
|
|
538
553
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
539
554
|
*
|
|
540
555
|
* You should have received a copy of the GNU General Public License version 3
|
|
541
|
-
* along with X_ITE. If not, see <
|
|
556
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
542
557
|
* copy of the GPLv3 License.
|
|
543
558
|
*
|
|
544
559
|
* For Silvio, Joy and Adi.
|
|
@@ -613,10 +628,13 @@ Rectangle2DOptions .prototype = Object .assign (Object .create ((X3DBaseNode_def
|
|
|
613
628
|
},
|
|
614
629
|
});
|
|
615
630
|
|
|
616
|
-
|
|
631
|
+
const Rectangle2DOptions_default_ = Rectangle2DOptions;
|
|
632
|
+
;
|
|
617
633
|
|
|
634
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
|
|
635
|
+
/* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
|
|
618
636
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
619
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
637
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
620
638
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
621
639
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
|
|
622
640
|
/*******************************************************************************
|
|
@@ -659,7 +677,7 @@ var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuali
|
|
|
659
677
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
660
678
|
*
|
|
661
679
|
* You should have received a copy of the GNU General Public License version 3
|
|
662
|
-
* along with X_ITE. If not, see <
|
|
680
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
663
681
|
* copy of the GPLv3 License.
|
|
664
682
|
*
|
|
665
683
|
* For Silvio, Joy and Adi.
|
|
@@ -752,22 +770,25 @@ function getOptionNode (key, OptionNode)
|
|
|
752
770
|
return optionNode;
|
|
753
771
|
}
|
|
754
772
|
|
|
755
|
-
|
|
773
|
+
const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
|
|
774
|
+
;
|
|
756
775
|
|
|
776
|
+
Namespace_default().set ("x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
|
|
777
|
+
/* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
|
|
757
778
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
758
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
779
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
759
780
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
760
781
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
761
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
782
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
762
783
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
763
784
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
764
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
785
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
765
786
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
766
787
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
767
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
788
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DConstants");
|
|
768
789
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
769
790
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
770
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
791
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Algorithm");
|
|
771
792
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
772
793
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
|
|
773
794
|
/*******************************************************************************
|
|
@@ -810,7 +831,7 @@ var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceOb
|
|
|
810
831
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
811
832
|
*
|
|
812
833
|
* You should have received a copy of the GNU General Public License version 3
|
|
813
|
-
* along with X_ITE. If not, see <
|
|
834
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
814
835
|
* copy of the GPLv3 License.
|
|
815
836
|
*
|
|
816
837
|
* For Silvio, Joy and Adi.
|
|
@@ -916,8 +937,11 @@ Arc2D .prototype = Object .assign (Object .create ((X3DLineGeometryNode_default(
|
|
|
916
937
|
},
|
|
917
938
|
});
|
|
918
939
|
|
|
919
|
-
|
|
940
|
+
const Arc2D_default_ = Arc2D;
|
|
941
|
+
;
|
|
920
942
|
|
|
943
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Arc2D", Arc2D_default_);
|
|
944
|
+
/* harmony default export */ const Geometry2D_Arc2D = (Arc2D_default_);
|
|
921
945
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/ArcClose2D.js
|
|
922
946
|
/*******************************************************************************
|
|
923
947
|
*
|
|
@@ -959,7 +983,7 @@ Arc2D .prototype = Object .assign (Object .create ((X3DLineGeometryNode_default(
|
|
|
959
983
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
960
984
|
*
|
|
961
985
|
* You should have received a copy of the GNU General Public License version 3
|
|
962
|
-
* along with X_ITE. If not, see <
|
|
986
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
963
987
|
* copy of the GPLv3 License.
|
|
964
988
|
*
|
|
965
989
|
* For Silvio, Joy and Adi.
|
|
@@ -1130,8 +1154,11 @@ ArcClose2D .prototype = Object .assign (Object .create ((X3DGeometryNode_default
|
|
|
1130
1154
|
})(),
|
|
1131
1155
|
});
|
|
1132
1156
|
|
|
1133
|
-
|
|
1157
|
+
const ArcClose2D_default_ = ArcClose2D;
|
|
1158
|
+
;
|
|
1134
1159
|
|
|
1160
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/ArcClose2D", ArcClose2D_default_);
|
|
1161
|
+
/* harmony default export */ const Geometry2D_ArcClose2D = (ArcClose2D_default_);
|
|
1135
1162
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Circle2D.js
|
|
1136
1163
|
/*******************************************************************************
|
|
1137
1164
|
*
|
|
@@ -1173,7 +1200,7 @@ ArcClose2D .prototype = Object .assign (Object .create ((X3DGeometryNode_default
|
|
|
1173
1200
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1174
1201
|
*
|
|
1175
1202
|
* You should have received a copy of the GNU General Public License version 3
|
|
1176
|
-
* along with X_ITE. If not, see <
|
|
1203
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1177
1204
|
* copy of the GPLv3 License.
|
|
1178
1205
|
*
|
|
1179
1206
|
* For Silvio, Joy and Adi.
|
|
@@ -1247,10 +1274,13 @@ Circle2D .prototype = Object .assign (Object .create ((X3DLineGeometryNode_defau
|
|
|
1247
1274
|
},
|
|
1248
1275
|
});
|
|
1249
1276
|
|
|
1250
|
-
|
|
1277
|
+
const Circle2D_default_ = Circle2D;
|
|
1278
|
+
;
|
|
1251
1279
|
|
|
1280
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
|
|
1281
|
+
/* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
|
|
1252
1282
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
|
|
1253
|
-
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1283
|
+
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
|
1254
1284
|
var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
|
|
1255
1285
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
|
|
1256
1286
|
/*******************************************************************************
|
|
@@ -1293,7 +1323,7 @@ var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGe
|
|
|
1293
1323
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1294
1324
|
*
|
|
1295
1325
|
* You should have received a copy of the GNU General Public License version 3
|
|
1296
|
-
* along with X_ITE. If not, see <
|
|
1326
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1297
1327
|
* copy of the GPLv3 License.
|
|
1298
1328
|
*
|
|
1299
1329
|
* For Silvio, Joy and Adi.
|
|
@@ -1492,8 +1522,11 @@ Disk2D .prototype = Object .assign (Object .create ((X3DGeometryNode_default()).
|
|
|
1492
1522
|
{ },
|
|
1493
1523
|
});
|
|
1494
1524
|
|
|
1495
|
-
|
|
1525
|
+
const Disk2D_default_ = Disk2D;
|
|
1526
|
+
;
|
|
1496
1527
|
|
|
1528
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Disk2D", Disk2D_default_);
|
|
1529
|
+
/* harmony default export */ const Geometry2D_Disk2D = (Disk2D_default_);
|
|
1497
1530
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Polyline2D.js
|
|
1498
1531
|
/*******************************************************************************
|
|
1499
1532
|
*
|
|
@@ -1535,7 +1568,7 @@ Disk2D .prototype = Object .assign (Object .create ((X3DGeometryNode_default()).
|
|
|
1535
1568
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1536
1569
|
*
|
|
1537
1570
|
* You should have received a copy of the GNU General Public License version 3
|
|
1538
|
-
* along with X_ITE. If not, see <
|
|
1571
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1539
1572
|
* copy of the GPLv3 License.
|
|
1540
1573
|
*
|
|
1541
1574
|
* For Silvio, Joy and Adi.
|
|
@@ -1590,8 +1623,11 @@ Polyline2D .prototype = Object .assign (Object .create ((X3DLineGeometryNode_def
|
|
|
1590
1623
|
},
|
|
1591
1624
|
});
|
|
1592
1625
|
|
|
1593
|
-
|
|
1626
|
+
const Polyline2D_default_ = Polyline2D;
|
|
1627
|
+
;
|
|
1594
1628
|
|
|
1629
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Polyline2D", Polyline2D_default_);
|
|
1630
|
+
/* harmony default export */ const Geometry2D_Polyline2D = (Polyline2D_default_);
|
|
1595
1631
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Polypoint2D.js
|
|
1596
1632
|
/*******************************************************************************
|
|
1597
1633
|
*
|
|
@@ -1633,7 +1669,7 @@ Polyline2D .prototype = Object .assign (Object .create ((X3DLineGeometryNode_def
|
|
|
1633
1669
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1634
1670
|
*
|
|
1635
1671
|
* You should have received a copy of the GNU General Public License version 3
|
|
1636
|
-
* along with X_ITE. If not, see <
|
|
1672
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1637
1673
|
* copy of the GPLv3 License.
|
|
1638
1674
|
*
|
|
1639
1675
|
* For Silvio, Joy and Adi.
|
|
@@ -1687,10 +1723,13 @@ Polypoint2D .prototype = Object .assign (Object .create ((X3DPointGeometryNode_d
|
|
|
1687
1723
|
},
|
|
1688
1724
|
});
|
|
1689
1725
|
|
|
1690
|
-
|
|
1726
|
+
const Polypoint2D_default_ = Polypoint2D;
|
|
1727
|
+
;
|
|
1691
1728
|
|
|
1729
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
|
|
1730
|
+
/* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
|
|
1692
1731
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1693
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1732
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Vector2");
|
|
1694
1733
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1695
1734
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
|
|
1696
1735
|
/*******************************************************************************
|
|
@@ -1733,7 +1772,7 @@ var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject
|
|
|
1733
1772
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1734
1773
|
*
|
|
1735
1774
|
* You should have received a copy of the GNU General Public License version 3
|
|
1736
|
-
* along with X_ITE. If not, see <
|
|
1775
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1737
1776
|
* copy of the GPLv3 License.
|
|
1738
1777
|
*
|
|
1739
1778
|
* For Silvio, Joy and Adi.
|
|
@@ -1826,8 +1865,11 @@ Rectangle2D .prototype = Object .assign (Object .create ((X3DGeometryNode_defaul
|
|
|
1826
1865
|
})(),
|
|
1827
1866
|
});
|
|
1828
1867
|
|
|
1829
|
-
|
|
1868
|
+
const Rectangle2D_default_ = Rectangle2D;
|
|
1869
|
+
;
|
|
1830
1870
|
|
|
1871
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/Rectangle2D", Rectangle2D_default_);
|
|
1872
|
+
/* harmony default export */ const Geometry2D_Rectangle2D = (Rectangle2D_default_);
|
|
1831
1873
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/TriangleSet2D.js
|
|
1832
1874
|
/*******************************************************************************
|
|
1833
1875
|
*
|
|
@@ -1869,7 +1911,7 @@ Rectangle2D .prototype = Object .assign (Object .create ((X3DGeometryNode_defaul
|
|
|
1869
1911
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1870
1912
|
*
|
|
1871
1913
|
* You should have received a copy of the GNU General Public License version 3
|
|
1872
|
-
* along with X_ITE. If not, see <
|
|
1914
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
1873
1915
|
* copy of the GPLv3 License.
|
|
1874
1916
|
*
|
|
1875
1917
|
* For Silvio, Joy and Adi.
|
|
@@ -1955,8 +1997,11 @@ TriangleSet2D .prototype = Object .assign (Object .create ((X3DGeometryNode_defa
|
|
|
1955
1997
|
},
|
|
1956
1998
|
});
|
|
1957
1999
|
|
|
1958
|
-
|
|
2000
|
+
const TriangleSet2D_default_ = TriangleSet2D;
|
|
2001
|
+
;
|
|
1959
2002
|
|
|
2003
|
+
Namespace_default().set ("x_ite/Components/Geometry2D/TriangleSet2D", TriangleSet2D_default_);
|
|
2004
|
+
/* harmony default export */ const Geometry2D_TriangleSet2D = (TriangleSet2D_default_);
|
|
1960
2005
|
;// CONCATENATED MODULE: ./src/assets/components/Geometry2D.js
|
|
1961
2006
|
/*******************************************************************************
|
|
1962
2007
|
*
|
|
@@ -1998,7 +2043,7 @@ TriangleSet2D .prototype = Object .assign (Object .create ((X3DGeometryNode_defa
|
|
|
1998
2043
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
1999
2044
|
*
|
|
2000
2045
|
* You should have received a copy of the GNU General Public License version 3
|
|
2001
|
-
* along with X_ITE. If not, see <
|
|
2046
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
2002
2047
|
* copy of the GPLv3 License.
|
|
2003
2048
|
*
|
|
2004
2049
|
* For Silvio, Joy and Adi.
|
|
@@ -2035,7 +2080,10 @@ Components_default().addComponent ({
|
|
|
2035
2080
|
browserContext: Geometry2D_X3DGeometry2DContext,
|
|
2036
2081
|
});
|
|
2037
2082
|
|
|
2038
|
-
|
|
2083
|
+
const Geometry2D_default_ = undefined;
|
|
2084
|
+
;
|
|
2039
2085
|
|
|
2086
|
+
Namespace_default().set ("assets/components/Geometry2D", Geometry2D_default_);
|
|
2087
|
+
/* harmony default export */ const Geometry2D = ((/* unused pure expression or super */ null && (Geometry2D_default_)));
|
|
2040
2088
|
/******/ })()
|
|
2041
2089
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.0.0 */(()=>{"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 n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Base/X3DBaseNode");var s=e.n(n);const o=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Fields");var r=e.n(o);function a(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}a.prototype=Object.assign(Object.create(s().prototype),{constructor:a,getTypeName:function(){return"ArcClose2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arcClose2DOptions"}});const l=a;function c(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}c.prototype=Object.assign(Object.create(s().prototype),{constructor:c,getTypeName:function(){return"Arc2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arc2DOptions"}});const u=c,h=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Rendering/X3DGeometryNode");var g=e.n(h);const d=window[Symbol.for("X_ITE.X3D-8.0.0")].require("standard/Math/Numbers/Complex");var p=e.n(d);function m(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.vertices=g().createArray()}m.prototype=Object.assign(Object.create(s().prototype),{constructor:m,getTypeName:function(){return"Circle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getVertices:function(){return this.vertices},build:function(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let n=0;n<e;++n){const e=p().Polar(1,t*n),s=p().Polar(1,t*(n+1));i.push(e.real,e.imag,0,1),i.push(s.real,s.imag,0,1)}i.shrinkToFit()}});const f=m,y=window[Symbol.for("X_ITE.X3D-8.0.0")].require("standard/Math/Numbers/Vector3");var w=e.n(y);function D(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.circleVertices=g().createArray(),this.diskTexCoords=g().createArray(),this.diskNormals=g().createArray(),this.diskVertices=g().createArray()}D.prototype=Object.assign(Object.create(s().prototype),{constructor:D,getTypeName:function(){return"Disk2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getCircleVertices:function(){return this.circleVertices},getDiskTexCoords:function(){return this.diskTexCoords},getDiskNormals:function(){return this.diskNormals},getDiskVertices:function(){return this.diskVertices},build:function(){const e=new(p())(.5,.5),t=new(p())(0,0),i=new(p())(0,0),n=new(p())(0,0),s=new(p())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,u=this.diskVertices;a.length=0,l.length=0,c.length=0,u.length=0;for(let h=0;h<o;++h){const o=r*h,g=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,g).add(e),n.setPolar(1,o),s.setPolar(1,g),a.push(n.real,n.imag,0,1),a.push(s.real,s.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}}()});const _=D,O=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var b=e.n(O);const T=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Rendering/Coordinate");var C=e.n(T);const V=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Texturing/TextureCoordinate");var S=e.n(V);function F(e){s().call(this,e)}F.prototype=Object.assign(Object.create(s().prototype),{constructor:F,getTypeName:function(){return"Rectangle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"rectangle2DOptions"},initialize:function(){s().prototype.initialize.call(this)},getGeometry:function(){if(this.geometry)return this.geometry;this.geometry=new(b())(this.getExecutionContext()),this.geometry._texCoord=new(S())(this.getExecutionContext()),this.geometry._coord=new(C())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(r().MFInt32)(0,1,2,3,-1),e._coordIndex=new(r().MFInt32)(0,1,2,3,-1),t._point=new(r().MFVec2f)(new(r().SFVec2f)(1,1),new(r().SFVec2f)(0,1),new(r().SFVec2f)(0,0),new(r().SFVec2f)(1,0)),i._point=new(r().MFVec3f)(new(r().SFVec3f)(1,1,0),new(r().SFVec3f)(-1,1,0),new(r().SFVec3f)(-1,-1,0),new(r().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}});const M=F,I=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Browser/Core/PrimitiveQuality");var N=e.n(I);function x(){}function X(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}x.prototype={initialize:function(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions:function(){return X.call(this,"getArc2DOptions",l)},getArcClose2DOptions:function(){return X.call(this,"getArcClose2DOptions",u)},getCircle2DOptions:function(){return X.call(this,"getCircle2DOptions",f)},getDisk2DOptions:function(){return X.call(this,"getDisk2DOptions",_)},getRectangle2DOptions:function(){return X.call(this,"getRectangle2DOptions",M)},setPrimitiveQuality2D:function(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),n=this.getCircle2DOptions(),s=this.getDisk2DOptions();switch(e){case N().LOW:t._dimension=20,i._dimension=20,n._dimension=20,s._dimension=20;break;case N().MEDIUM:t._dimension=40,i._dimension=40,n._dimension=40,s._dimension=40;break;case N().HIGH:t._dimension=80,i._dimension=80,n._dimension=80,s._dimension=80}}};const v=x,A=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Base/X3DFieldDefinition");var P=e.n(A);const B=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Base/FieldDefinitionArray");var E=e.n(B);const k=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var j=e.n(k);const R=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Base/X3DConstants");var z=e.n(R);const q=window[Symbol.for("X_ITE.X3D-8.0.0")].require("standard/Math/Algorithm");var G=e.n(q);function U(e){j().call(this,e),this.addType(z().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}U.prototype=Object.assign(Object.create(j().prototype),{constructor:U,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"startAngle",new(r().SFFloat)),new(P())(z().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(P())(z().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Arc2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){j().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=G().interval(this._startAngle.getValue(),0,2*Math.PI),t=G().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:function(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),n=this.getSweepAngle(),s=Math.max(3,Math.floor(n*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<s;++e){const r=t+n*(e/s),a=p().Polar(i,r),l=t+n*((e+1)/s),c=p().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const L=U;function Q(e){g().call(this,e),this.addType(z().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Q.prototype=Object.assign(Object.create(g().prototype),{constructor:Q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"closureType",new(r().SFString)("PIE")),new(P())(z().initializeOnly,"startAngle",new(r().SFFloat)),new(P())(z().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(P())(z().initializeOnly,"radius",new(r().SFFloat)(1)),new(P())(z().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"ArcClose2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){g().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=G().interval(this._startAngle.getValue(),0,2*Math.PI),t=G().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:function(){const e=new(p())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),n=t._dimension.getValue(),s=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*n/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],g=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=s+r*(t/d);h.push(p().Polar(.5,i).add(e)),g.push(p().Polar(o,i))}if(i){const e=h[0],t=g[0];for(let i=1;i<d;++i){const n=h[i],s=h[i+1],o=g[i],r=g[i+1];l.push(e.real,e.imag,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.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<d;++e){const t=h[e],i=h[e+1],n=g[e],s=g[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}}()});const H=Q;function W(e){j().call(this,e),this.addType(z().Circle2D),this._radius.setUnit("length")}W.prototype=Object.assign(Object.create(j().prototype),{constructor:W,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Circle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){j().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const n=e.getVertices().getValue();for(let e=0,s=n.length;e<s;e+=4)t.push(n[e]*i,n[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const J=W,K=window[Symbol.for("X_ITE.X3D-8.0.0")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var Y=e.n(K);function Z(e){j().call(this,e),this.addType(z().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Z.prototype=Object.assign(Object.create(g().prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"innerRadius",new(r().SFFloat)),new(P())(z().initializeOnly,"outerRadius",new(r().SFFloat)(1)),new(P())(z().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Disk2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},initialize:function(){g().prototype.initialize.call(this)},set_live__:function(){g().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),n=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),s=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(n===s){const e=this.getVertices();if(0===s)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(Y());if(1===s)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,n=t.length;i<n;i+=4)e.push(t[i]*s,t[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(j())}if(0===n){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===s)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,n=e.length;i<n;i+=4)t.push(e[i]*s,e[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(g())}const o=n/s,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),u=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.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),u.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*n,l[e+5]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+8]*n,l[e+9]*n,0,1);this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(g())},setBase:function(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.display=e.prototype.display,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions:function(){}});const $=Z;function ee(e){j().call(this,e),this.addType(z().Polyline2D),this._lineSegments.setUnit("length")}ee.prototype=Object.assign(Object.create(j().prototype),{constructor:ee,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"lineSegments",new(r().MFVec2f))]),getTypeName:function(){return"Polyline2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,n=2*(this._lineSegments.length-1);i<n;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}});const te=ee;function ie(e){Y().call(this,e),this.addType(z().Polypoint2D),this._point.setUnit("length")}ie.prototype=Object.assign(Object.create(Y().prototype),{constructor:ie,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().inputOutput,"point",new(r().MFVec2f))]),getTypeName:function(){return"Polypoint2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,n=2*this._point.length;i<n;i+=2)t.push(e[i],e[i+1],0,1)}});const ne=ie,se=window[Symbol.for("X_ITE.X3D-8.0.0")].require("standard/Math/Numbers/Vector2");var oe=e.n(se);function re(e){g().call(this,e),this.addType(z().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}re.prototype=Object.assign(Object.create(g().prototype),{constructor:re,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().initializeOnly,"size",new(r().SFVec2f)(2,2)),new(P())(z().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Rectangle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=new(oe())(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=w().divide(i,2),n=e.x,s=e.y,o=t.getVertices().getValue(),r=this.getVertices();for(let e=0;e<o.length;e+=4)r.push(n*o[e],s*o[e+1],0,1);this.getMin().set(-n,-s,0),this.getMax().set(n,s,0)}this.setSolid(this._solid.getValue())}}()});const ae=re;function le(e){g().call(this,e),this.addType(z().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}le.prototype=Object.assign(Object.create(g().prototype),{constructor:le,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(E())([new(P())(z().inputOutput,"metadata",new(r().SFNode)),new(P())(z().inputOutput,"vertices",new(r().MFVec2f)),new(P())(z().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"TriangleSet2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let n=0,s=2*this._vertices.length;n<s;n+=2)t.push(0,0,1),i.push(e[n],e[n+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords:function(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,n=t.Ssize,s=this.getVertices().getValue();for(let t=0,o=s.length;t<o;t+=4)e.push((s[t]-i[0])/n,(s[t+1]-i[1])/n,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}});const ce=le;i().addComponent({name:"Geometry2D",types:{Arc2D:L,ArcClose2D:H,Circle2D:J,Disk2D:$,Polyline2D:te,Polypoint2D:ne,Rectangle2D:ae,TriangleSet2D:ce},abstractTypes:{},browserContext:v})})();
|
|
1
|
+
/* X_ITE v8.3.0 */(()=>{"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 n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DBaseNode");var s=e.n(n);const o=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Fields");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Namespace");var l=e.n(a);function c(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}c.prototype=Object.assign(Object.create(s().prototype),{constructor:c,getTypeName:function(){return"ArcClose2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arcClose2DOptions"}});const u=c;l().set("x_ite/Browser/Geometry2D/Arc2DOptions",u);const h=u;function g(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}g.prototype=Object.assign(Object.create(s().prototype),{constructor:g,getTypeName:function(){return"Arc2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arc2DOptions"}});const d=g;l().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",d);const p=d,m=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Rendering/X3DGeometryNode");var y=e.n(m);const f=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Complex");var D=e.n(f);function w(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.vertices=y().createArray()}w.prototype=Object.assign(Object.create(s().prototype),{constructor:w,getTypeName:function(){return"Circle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getVertices:function(){return this.vertices},build:function(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let n=0;n<e;++n){const e=D().Polar(1,t*n),s=D().Polar(1,t*(n+1));i.push(e.real,e.imag,0,1),i.push(s.real,s.imag,0,1)}i.shrinkToFit()}});const _=w;l().set("x_ite/Browser/Geometry2D/Circle2DOptions",_);const C=_,O=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Vector3");var b=e.n(O);function T(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.circleVertices=y().createArray(),this.diskTexCoords=y().createArray(),this.diskNormals=y().createArray(),this.diskVertices=y().createArray()}T.prototype=Object.assign(Object.create(s().prototype),{constructor:T,getTypeName:function(){return"Disk2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getCircleVertices:function(){return this.circleVertices},getDiskTexCoords:function(){return this.diskTexCoords},getDiskNormals:function(){return this.diskNormals},getDiskVertices:function(){return this.diskVertices},build:function(){const e=new(D())(.5,.5),t=new(D())(0,0),i=new(D())(0,0),n=new(D())(0,0),s=new(D())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,u=this.diskVertices;a.length=0,l.length=0,c.length=0,u.length=0;for(let h=0;h<o;++h){const o=r*h,g=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,g).add(e),n.setPolar(1,o),s.setPolar(1,g),a.push(n.real,n.imag,0,1),a.push(s.real,s.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}}()});const V=T;l().set("x_ite/Browser/Geometry2D/Disk2DOptions",V);const S=V,x=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(x);const M=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Rendering/Coordinate");var I=e.n(M);const N=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Texturing/TextureCoordinate");var X=e.n(N);function v(e){s().call(this,e)}v.prototype=Object.assign(Object.create(s().prototype),{constructor:v,getTypeName:function(){return"Rectangle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"rectangle2DOptions"},initialize:function(){s().prototype.initialize.call(this)},getGeometry:function(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(X())(this.getExecutionContext()),this.geometry._coord=new(I())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(r().MFInt32)(0,1,2,3,-1),e._coordIndex=new(r().MFInt32)(0,1,2,3,-1),t._point=new(r().MFVec2f)(new(r().SFVec2f)(1,1),new(r().SFVec2f)(0,1),new(r().SFVec2f)(0,0),new(r().SFVec2f)(1,0)),i._point=new(r().MFVec3f)(new(r().SFVec3f)(1,1,0),new(r().SFVec3f)(-1,1,0),new(r().SFVec3f)(-1,-1,0),new(r().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}});const A=v;l().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const P=A,B=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Browser/Core/PrimitiveQuality");var G=e.n(B);function E(){}function k(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}E.prototype={initialize:function(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions:function(){return k.call(this,"getArc2DOptions",h)},getArcClose2DOptions:function(){return k.call(this,"getArcClose2DOptions",p)},getCircle2DOptions:function(){return k.call(this,"getCircle2DOptions",C)},getDisk2DOptions:function(){return k.call(this,"getDisk2DOptions",S)},getRectangle2DOptions:function(){return k.call(this,"getRectangle2DOptions",P)},setPrimitiveQuality2D:function(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),n=this.getCircle2DOptions(),s=this.getDisk2DOptions();switch(e){case G().LOW:t._dimension=20,i._dimension=20,n._dimension=20,s._dimension=20;break;case G().MEDIUM:t._dimension=40,i._dimension=40,n._dimension=40,s._dimension=40;break;case G().HIGH:t._dimension=80,i._dimension=80,n._dimension=80,s._dimension=80}}};const j=E;l().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",j);const R=j,q=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DConstants");var J=e.n(W);const K=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Algorithm");var Y=e.n(K);function Z(e){H().call(this,e),this.addType(J().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Z.prototype=Object.assign(Object.create(H().prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Arc2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),n=this.getSweepAngle(),s=Math.max(3,Math.floor(n*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<s;++e){const r=t+n*(e/s),a=D().Polar(i,r),l=t+n*((e+1)/s),c=D().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const $=Z;l().set("x_ite/Components/Geometry2D/Arc2D",$);const ee=$;function te(e){y().call(this,e),this.addType(J().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}te.prototype=Object.assign(Object.create(y().prototype),{constructor:te,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"closureType",new(r().SFString)("PIE")),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"ArcClose2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=new(D())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),n=t._dimension.getValue(),s=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*n/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],g=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=s+r*(t/d);h.push(D().Polar(.5,i).add(e)),g.push(D().Polar(o,i))}if(i){const e=h[0],t=g[0];for(let i=1;i<d;++i){const n=h[i],s=h[i+1],o=g[i],r=g[i+1];l.push(e.real,e.imag,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.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<d;++e){const t=h[e],i=h[e+1],n=g[e],s=g[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,n.real,n.imag,0,1,s.real,s.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}}()});const ie=te;l().set("x_ite/Components/Geometry2D/ArcClose2D",ie);const ne=ie;function se(e){H().call(this,e),this.addType(J().Circle2D),this._radius.setUnit("length")}se.prototype=Object.assign(Object.create(H().prototype),{constructor:se,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Circle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const n=e.getVertices().getValue();for(let e=0,s=n.length;e<s;e+=4)t.push(n[e]*i,n[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const oe=se;l().set("x_ite/Components/Geometry2D/Circle2D",oe);const re=oe,ae=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var le=e.n(ae);function ce(e){H().call(this,e),this.addType(J().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}ce.prototype=Object.assign(Object.create(y().prototype),{constructor:ce,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"innerRadius",new(r().SFFloat)),new(z())(J().initializeOnly,"outerRadius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Disk2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},initialize:function(){y().prototype.initialize.call(this)},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),n=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),s=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(n===s){const e=this.getVertices();if(0===s)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(le());if(1===s)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,n=t.length;i<n;i+=4)e.push(t[i]*s,t[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===n){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===s)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,n=e.length;i<n;i+=4)t.push(e[i]*s,e[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(y())}const o=n/s,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),u=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.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),u.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*n,l[e+5]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+8]*n,l[e+9]*n,0,1);this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(y())},setBase:function(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.display=e.prototype.display,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions:function(){}});const ue=ce;l().set("x_ite/Components/Geometry2D/Disk2D",ue);const he=ue;function ge(e){H().call(this,e),this.addType(J().Polyline2D),this._lineSegments.setUnit("length")}ge.prototype=Object.assign(Object.create(H().prototype),{constructor:ge,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"lineSegments",new(r().MFVec2f))]),getTypeName:function(){return"Polyline2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,n=2*(this._lineSegments.length-1);i<n;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}});const de=ge;l().set("x_ite/Components/Geometry2D/Polyline2D",de);const pe=de;function me(e){le().call(this,e),this.addType(J().Polypoint2D),this._point.setUnit("length")}me.prototype=Object.assign(Object.create(le().prototype),{constructor:me,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"point",new(r().MFVec2f))]),getTypeName:function(){return"Polypoint2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,n=2*this._point.length;i<n;i+=2)t.push(e[i],e[i+1],0,1)}});const ye=me;l().set("x_ite/Components/Geometry2D/Polypoint2D",ye);const fe=ye,De=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Vector2");var we=e.n(De);function _e(e){y().call(this,e),this.addType(J().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}_e.prototype=Object.assign(Object.create(y().prototype),{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"size",new(r().SFVec2f)(2,2)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Rectangle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=new(we())(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=b().divide(i,2),n=e.x,s=e.y,o=t.getVertices().getValue(),r=this.getVertices();for(let e=0;e<o.length;e+=4)r.push(n*o[e],s*o[e+1],0,1);this.getMin().set(-n,-s,0),this.getMax().set(n,s,0)}this.setSolid(this._solid.getValue())}}()});const Ce=_e;l().set("x_ite/Components/Geometry2D/Rectangle2D",Ce);const Oe=Ce;function be(e){y().call(this,e),this.addType(J().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}be.prototype=Object.assign(Object.create(y().prototype),{constructor:be,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"vertices",new(r().MFVec2f)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"TriangleSet2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let n=0,s=2*this._vertices.length;n<s;n+=2)t.push(0,0,1),i.push(e[n],e[n+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords:function(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,n=t.Ssize,s=this.getVertices().getValue();for(let t=0,o=s.length;t<o;t+=4)e.push((s[t]-i[0])/n,(s[t+1]-i[1])/n,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}});const Te=be;l().set("x_ite/Components/Geometry2D/TriangleSet2D",Te);const Ve=Te;i().addComponent({name:"Geometry2D",types:{Arc2D:ee,ArcClose2D:ne,Circle2D:re,Disk2D:he,Polyline2D:pe,Polypoint2D:fe,Rectangle2D:Oe,TriangleSet2D:Ve},abstractTypes:{},browserContext:R});const Se=void 0;l().set("assets/components/Geometry2D",Se)})();
|