x_ite 8.6.12 → 8.6.14
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/dist/LICENSE.md +4 -4
- package/dist/assets/components/Annotation.js +37 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +45 -21
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +39 -28
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +37 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +37 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +55 -23
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +84 -40
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +42 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +18 -10
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +47 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +84 -28
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +70 -30
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +42 -22
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +93 -37
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +35 -31
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +33 -25
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +22 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +64 -32
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +80 -28
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +13 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1697 -1080
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/Core/WorldInfo.md +1 -1
- package/docs/_posts/components/EnvironmentalEffects/Background.md +1 -1
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +1 -1
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +1 -1
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +1 -1
- package/docs/_posts/components/Geometry3D/Box.md +1 -1
- package/docs/_posts/components/Geometry3D/Cone.md +1 -1
- package/docs/_posts/components/Geometry3D/Cylinder.md +1 -1
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +1 -1
- package/docs/_posts/components/Geometry3D/Extrusion.md +1 -1
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
- package/docs/_posts/components/Geometry3D/Sphere.md +1 -1
- package/docs/_posts/components/Grouping/Group.md +1 -1
- package/docs/_posts/components/Grouping/Switch.md +1 -1
- package/docs/_posts/components/Grouping/Transform.md +1 -1
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +1 -1
- package/docs/_posts/components/Lighting/DirectionalLight.md +1 -1
- package/docs/_posts/components/Lighting/PointLight.md +1 -1
- package/docs/_posts/components/Lighting/SpotLight.md +1 -1
- package/docs/_posts/components/Navigation/Billboard.md +1 -1
- package/docs/_posts/components/Navigation/Collision.md +1 -1
- package/docs/_posts/components/Navigation/LOD.md +1 -1
- package/docs/_posts/components/Navigation/NavigationInfo.md +1 -1
- package/docs/_posts/components/Navigation/Viewpoint.md +1 -1
- package/docs/_posts/components/Networking/Anchor.md +1 -1
- package/docs/_posts/components/Networking/Inline.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +1 -1
- package/docs/_posts/components/Rendering/Color.md +1 -1
- package/docs/_posts/components/Rendering/Coordinate.md +1 -1
- package/docs/_posts/components/Rendering/IndexedLineSet.md +1 -1
- package/docs/_posts/components/Rendering/Normal.md +1 -1
- package/docs/_posts/components/Rendering/PointSet.md +1 -1
- package/docs/_posts/components/Scripting/Script.md +1 -1
- package/docs/_posts/components/Shape/Appearance.md +1 -1
- package/docs/_posts/components/Shape/Material.md +1 -9
- package/docs/_posts/components/Shape/PhysicalMaterial.md +0 -8
- package/docs/_posts/components/Shape/Shape.md +1 -1
- package/docs/_posts/components/Shape/UnlitMaterial.md +0 -8
- package/docs/_posts/components/Sound/AudioClip.md +1 -1
- package/docs/_posts/components/Sound/Sound.md +1 -1
- package/docs/_posts/components/Text/FontStyle.md +1 -1
- package/docs/_posts/components/Text/Text.md +1 -1
- package/docs/_posts/components/Texturing/ImageTexture.md +1 -5
- package/docs/_posts/components/Texturing/MovieTexture.md +1 -5
- package/docs/_posts/components/Texturing/PixelTexture.md +1 -1
- package/docs/_posts/components/Texturing/TextureCoordinate.md +1 -1
- package/docs/_posts/components/Texturing/TextureTransform.md +1 -1
- package/docs/_posts/components/Time/TimeSensor.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +1 -1
- package/package.json +1 -1
- package/src/standard/Math/Numbers/Matrix2.js +3 -3
- package/src/standard/Math/Numbers/Vector4.js +1 -0
- package/src/tests.js +2 -0
- package/src/x_ite/Base/X3DBaseNode.js +58 -53
- package/src/x_ite/Browser/Core/BrowserOptions.js +2 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +3 -6
- package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +9 -15
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +0 -3
- package/src/x_ite/Browser/Navigation/FlyViewer.js +0 -2
- package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +10 -12
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +40 -21
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +19 -19
- package/src/x_ite/Components/Annotation/AnnotationLayer.js +4 -0
- package/src/x_ite/Components/Annotation/AnnotationTarget.js +4 -0
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/IconAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/TextAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/URLAnnotation.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADAssembly.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADFace.js +12 -8
- package/src/x_ite/Components/CADGeometry/CADLayer.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADPart.js +4 -0
- package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +4 -0
- package/src/x_ite/Components/CADGeometry/QuadSet.js +4 -0
- package/src/x_ite/Components/Core/MetadataBoolean.js +8 -4
- package/src/x_ite/Components/Core/MetadataDouble.js +8 -4
- package/src/x_ite/Components/Core/MetadataFloat.js +8 -4
- package/src/x_ite/Components/Core/MetadataInteger.js +8 -4
- package/src/x_ite/Components/Core/MetadataSet.js +8 -4
- package/src/x_ite/Components/Core/MetadataString.js +8 -4
- package/src/x_ite/Components/Core/WorldInfo.js +4 -0
- package/src/x_ite/Components/Core/X3DNode.js +17 -16
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +11 -14
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +4 -1
- package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +4 -0
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +6 -2
- package/src/x_ite/Components/DIS/DISEntityManager.js +4 -0
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +4 -0
- package/src/x_ite/Components/DIS/EspduTransform.js +4 -0
- package/src/x_ite/Components/DIS/ReceiverPdu.js +4 -0
- package/src/x_ite/Components/DIS/SignalPdu.js +4 -0
- package/src/x_ite/Components/DIS/TransmitterPdu.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/Background.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/Fog.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +4 -0
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +6 -2
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +4 -0
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +2 -2
- package/src/x_ite/Components/EventUtilities/BooleanFilter.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanToggle.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +4 -0
- package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +4 -0
- package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +4 -0
- package/src/x_ite/Components/EventUtilities/TimeTrigger.js +4 -0
- package/src/x_ite/Components/Followers/ColorChaser.js +4 -0
- package/src/x_ite/Components/Followers/ColorDamper.js +4 -0
- package/src/x_ite/Components/Followers/CoordinateChaser.js +4 -0
- package/src/x_ite/Components/Followers/CoordinateDamper.js +4 -0
- package/src/x_ite/Components/Followers/OrientationChaser.js +4 -0
- package/src/x_ite/Components/Followers/OrientationDamper.js +4 -0
- package/src/x_ite/Components/Followers/PositionChaser.js +4 -0
- package/src/x_ite/Components/Followers/PositionChaser2D.js +4 -0
- package/src/x_ite/Components/Followers/PositionDamper.js +4 -0
- package/src/x_ite/Components/Followers/PositionDamper2D.js +4 -0
- package/src/x_ite/Components/Followers/ScalarChaser.js +4 -0
- package/src/x_ite/Components/Followers/ScalarDamper.js +4 -0
- package/src/x_ite/Components/Followers/TexCoordChaser2D.js +4 -0
- package/src/x_ite/Components/Followers/TexCoordDamper2D.js +4 -0
- package/src/x_ite/Components/Followers/X3DFollowerNode.js +2 -2
- package/src/x_ite/Components/Geometry2D/Arc2D.js +5 -1
- package/src/x_ite/Components/Geometry2D/ArcClose2D.js +5 -1
- package/src/x_ite/Components/Geometry2D/Circle2D.js +5 -1
- package/src/x_ite/Components/Geometry2D/Disk2D.js +5 -1
- package/src/x_ite/Components/Geometry2D/Polyline2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Polypoint2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Rectangle2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +4 -0
- package/src/x_ite/Components/Geometry3D/Box.js +4 -0
- package/src/x_ite/Components/Geometry3D/Cone.js +5 -1
- package/src/x_ite/Components/Geometry3D/Cylinder.js +5 -1
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +14 -10
- package/src/x_ite/Components/Geometry3D/Extrusion.js +4 -0
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +7 -3
- package/src/x_ite/Components/Geometry3D/Sphere.js +5 -1
- package/src/x_ite/Components/Geospatial/GeoCoordinate.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +11 -7
- package/src/x_ite/Components/Geospatial/GeoLOD.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoLocation.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoOrigin.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoTransform.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +4 -0
- package/src/x_ite/Components/Grouping/Group.js +4 -0
- package/src/x_ite/Components/Grouping/StaticGroup.js +4 -0
- package/src/x_ite/Components/Grouping/Switch.js +11 -7
- package/src/x_ite/Components/Grouping/Transform.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimDisplacer.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimJoint.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimMotion.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimSegment.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimSite.js +4 -0
- package/src/x_ite/Components/Interpolation/ColorInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +4 -0
- package/src/x_ite/Components/Interpolation/NormalInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/PositionInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +4 -0
- package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +4 -0
- package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +4 -0
- package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +2 -2
- package/src/x_ite/Components/Layering/Layer.js +4 -0
- package/src/x_ite/Components/Layering/LayerSet.js +4 -0
- package/src/x_ite/Components/Layering/Viewport.js +4 -0
- package/src/x_ite/Components/Layering/X3DLayerNode.js +40 -49
- package/src/x_ite/Components/Layout/Layout.js +4 -0
- package/src/x_ite/Components/Layout/LayoutGroup.js +4 -0
- package/src/x_ite/Components/Layout/LayoutLayer.js +4 -0
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +4 -0
- package/src/x_ite/Components/Layout/ScreenGroup.js +4 -0
- package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -0
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +4 -0
- package/src/x_ite/Components/Lighting/PointLight.js +4 -0
- package/src/x_ite/Components/Lighting/SpotLight.js +7 -9
- package/src/x_ite/Components/NURBS/Contour2D.js +4 -0
- package/src/x_ite/Components/NURBS/ContourPolyline2D.js +4 -0
- package/src/x_ite/Components/NURBS/CoordinateDouble.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsCurve.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsCurve2D.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSet.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +4 -0
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +4 -4
- package/src/x_ite/Components/Navigation/Billboard.js +4 -0
- package/src/x_ite/Components/Navigation/Collision.js +8 -4
- package/src/x_ite/Components/Navigation/LOD.js +11 -7
- package/src/x_ite/Components/Navigation/NavigationInfo.js +4 -0
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +4 -0
- package/src/x_ite/Components/Navigation/Viewpoint.js +4 -0
- package/src/x_ite/Components/Navigation/ViewpointGroup.js +4 -0
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +8 -0
- package/src/x_ite/Components/Networking/Anchor.js +4 -0
- package/src/x_ite/Components/Networking/Inline.js +6 -2
- package/src/x_ite/Components/Networking/LoadSensor.js +42 -29
- package/src/x_ite/Components/Networking/X3DUrlObject.js +2 -2
- package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +12 -8
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +4 -0
- package/src/x_ite/Components/Picking/LinePickSensor.js +4 -0
- package/src/x_ite/Components/Picking/PickableGroup.js +4 -0
- package/src/x_ite/Components/Picking/PointPickSensor.js +4 -0
- package/src/x_ite/Components/Picking/PrimitivePickSensor.js +4 -0
- package/src/x_ite/Components/Picking/VolumePickSensor.js +4 -0
- package/src/x_ite/Components/Picking/X3DPickSensorNode.js +4 -4
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +28 -19
- package/src/x_ite/Components/Rendering/ClipPlane.js +4 -0
- package/src/x_ite/Components/Rendering/Color.js +4 -0
- package/src/x_ite/Components/Rendering/ColorRGBA.js +4 -0
- package/src/x_ite/Components/Rendering/Coordinate.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +15 -11
- package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +4 -0
- package/src/x_ite/Components/Rendering/LineSet.js +16 -12
- package/src/x_ite/Components/Rendering/Normal.js +4 -0
- package/src/x_ite/Components/Rendering/PointSet.js +15 -11
- package/src/x_ite/Components/Rendering/TriangleFanSet.js +4 -0
- package/src/x_ite/Components/Rendering/TriangleSet.js +4 -0
- package/src/x_ite/Components/Rendering/TriangleStripSet.js +4 -0
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +14 -14
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +6 -6
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +6 -6
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +4 -4
- package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +11 -7
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +11 -7
- package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +7 -3
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +6 -2
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -0
- package/src/x_ite/Components/Scripting/Script.js +7 -3
- package/src/x_ite/Components/Shaders/ComposedShader.js +11 -9
- package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/PackagedShader.js +4 -0
- package/src/x_ite/Components/Shaders/ProgramShader.js +4 -0
- package/src/x_ite/Components/Shaders/ShaderPart.js +4 -2
- package/src/x_ite/Components/Shaders/ShaderProgram.js +4 -0
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -3
- package/src/x_ite/Components/Shape/AcousticProperties.js +4 -0
- package/src/x_ite/Components/Shape/Appearance.js +8 -4
- package/src/x_ite/Components/Shape/FillProperties.js +4 -0
- package/src/x_ite/Components/Shape/LineProperties.js +4 -0
- package/src/x_ite/Components/Shape/Material.js +5 -2
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +5 -2
- package/src/x_ite/Components/Shape/PointProperties.js +4 -0
- package/src/x_ite/Components/Shape/Shape.js +4 -0
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +4 -0
- package/src/x_ite/Components/Shape/UnlitMaterial.js +5 -2
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -1
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -7
- package/src/x_ite/Components/Shape/X3DShapeNode.js +1 -1
- package/src/x_ite/Components/Sound/Analyser.js +4 -0
- package/src/x_ite/Components/Sound/AudioClip.js +6 -2
- package/src/x_ite/Components/Sound/AudioDestination.js +4 -0
- package/src/x_ite/Components/Sound/BiquadFilter.js +4 -0
- package/src/x_ite/Components/Sound/BufferAudioSource.js +4 -0
- package/src/x_ite/Components/Sound/ChannelMerger.js +4 -0
- package/src/x_ite/Components/Sound/ChannelSelector.js +4 -0
- package/src/x_ite/Components/Sound/ChannelSplitter.js +4 -0
- package/src/x_ite/Components/Sound/Convolver.js +4 -0
- package/src/x_ite/Components/Sound/Delay.js +4 -0
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -0
- package/src/x_ite/Components/Sound/Gain.js +4 -0
- package/src/x_ite/Components/Sound/ListenerPointSource.js +4 -0
- package/src/x_ite/Components/Sound/MicrophoneSource.js +4 -0
- package/src/x_ite/Components/Sound/OscillatorSource.js +4 -0
- package/src/x_ite/Components/Sound/PeriodicWave.js +4 -0
- package/src/x_ite/Components/Sound/Sound.js +6 -2
- package/src/x_ite/Components/Sound/SpatialSound.js +4 -0
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +4 -0
- package/src/x_ite/Components/Sound/StreamAudioSource.js +4 -0
- package/src/x_ite/Components/Sound/WaveShaper.js +4 -0
- package/src/x_ite/Components/Text/FontStyle.js +4 -0
- package/src/x_ite/Components/Text/Text.js +5 -1
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -0
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +4 -0
- package/src/x_ite/Components/Texturing/ImageTexture.js +13 -13
- package/src/x_ite/Components/Texturing/MovieTexture.js +10 -7
- package/src/x_ite/Components/Texturing/MultiTexture.js +4 -0
- package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +4 -0
- package/src/x_ite/Components/Texturing/MultiTextureTransform.js +4 -0
- package/src/x_ite/Components/Texturing/PixelTexture.js +4 -0
- package/src/x_ite/Components/Texturing/TextureCoordinate.js +4 -0
- package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +4 -0
- package/src/x_ite/Components/Texturing/TextureProperties.js +4 -0
- package/src/x_ite/Components/Texturing/TextureTransform.js +4 -0
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +6 -2
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +4 -0
- package/src/x_ite/Components/Time/TimeSensor.js +5 -1
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +6 -6
- package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +4 -0
- package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +4 -0
- package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +8 -8
- package/src/x_ite/Components/X_ITE/BlendMode.js +4 -0
- package/src/x_ite/Execution/BindableList.js +16 -19
- package/src/x_ite/Execution/X3DExecutionContext.js +33 -11
- package/src/x_ite/Execution/X3DScene.js +4 -0
- package/src/x_ite/Fields/ArrayFields.js +42 -22
- package/src/x_ite/Fields/SFNode.js +3 -6
- package/src/x_ite/Fields/SFNodeCache.js +34 -19
- package/src/x_ite/InputOutput/FileLoader.js +22 -14
- package/src/x_ite/Parser/GLTF2Parser.js +72 -51
- package/src/x_ite/Parser/VRMLParser.js +66 -34
- package/src/x_ite/Parser/X3DParser.js +9 -36
- package/src/x_ite/Parser/XMLParser.js +8 -8
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -2
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.12 */(()=>{"use strict";var t={355:t=>{t.exports=window[Symbol.for("X_ITE.X3D-8.6.12")].require("lib/jquery")}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components");var e=i.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Matrix4");var u=i.n(a);const h=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Geometry/ViewVolume");var l=i.n(h);const c=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Namespace");var d=i.n(c);const f=Symbol();function p(){}p.prototype={getScreenTextureProperties:function(){return this[f]=new(s())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:function(){const t=new(r())(0,0,0),e=new(r())(0,0,0),i=new(u());return function(n,s){const o=n.getModelViewMatrix().get(),a=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(o.origin,u,t);const h=o.xAxis.normalize().multiply(t.x),c=o.yAxis.normalize().multiply(t.y),d=o.zAxis.normalize().multiply(t.x);i.set(h.x,h.y,h.z,0,c.x,c.y,c.z,0,d.x,d.y,d.z,0,o[12],o[13],o[14],1),l().projectPoint(r().Zero,i,a,u,e),e.x=Math.round(e.x),e.y=Math.round(e.y),l().unProjectPoint(e.x,e.y,e.z,i,a,u,e),e.z=0,i.translate(e),s.assign(o).inverse().multLeft(i)}}()};const y=p;d().set("x_ite/Browser/Layout/X3DLayoutContext",y);const g=y,w=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Fields");var x=i.n(w);const _=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DFieldDefinition");var m=i.n(_);const S=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/FieldDefinitionArray");var X=i.n(S);const M=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Core/X3DChildNode");var T=i.n(M);const b=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DConstants");var z=i.n(b);function N(t){T().call(this,t),this.addType(z().X3DLayoutNode)}N.prototype=Object.assign(Object.create(T().prototype),{constructor:N});const O=N;d().set("x_ite/Components/Layout/X3DLayoutNode",O);const v=O,F=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DCast");var C=i.n(F);const E=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Vector2");var I=i.n(E);const L=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Rotation4");var D=i.n(L);let U=0;const B=U++,Y=U++,P=U++,R=U++,G=U++,V=U++,A=U++,q=U++,j=U++,k=U++;function W(t){v.call(this,t),this.addType(z().Layout),this.alignX=Y,this.alignY=Y,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=j,this.scaleModeY=j,this.parent=null,this.rectangleCenter=new(I())(0,0),this.rectangleSize=new(I())(0,0),this.matrix=new(u())}W.prototype=Object.assign(Object.create(v.prototype),{constructor:W,viewportPixel:new(I())(0,0),pixelSize:new(I())(0,0),translation:new(r())(0,0,0),offset:new(r())(0,0,0),scale:new(r())(1,1,1),currentTranslation:new(r())(0,0,0),currentRotation:new(D())(0,0,1,0),currentScale:new(r())(0,0,0),modelViewMatrix:new(u()),[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(m())(z().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"offset",new(x().MFFloat)(0,0)),new(m())(z().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(m())(z().inputOutput,"size",new(x().MFFloat)(1,1)),new(m())(z().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),getTypeName:function(){return"Layout"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layout"},initialize:function(){v.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__:function(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=B:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=Y:this.alignX=Y,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=G:this.alignY=Y:this.alignY=Y},set_offsetUnits__:function(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__:function(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__:function(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__:function(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__:function(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=j,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=j:this.scaleModeY=this.scaleModeX):(this.scaleModeX=j,this.scaleModeY=j)},getRectangleCenter:function(){return this.rectangleCenter},getRectangleSize:function(){return this.rectangleSize},getAlignX:function(){return this.alignX},getAlignY:function(){return this.alignY},getOffsetUnitX:function(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY:function(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX:function(){return this.offsetX},getOffsetY:function(){return this.offsetY},getSizeUnitX:function(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY:function(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX:function(){return this.sizeX},getSizeY:function(){return this.sizeY},getScaleModeX:function(){return this.parent?this.scaleModeX:this.scaleModeX===j?A:this.scaleModeX},getScaleModeY:function(){return this.parent?this.scaleModeY:this.scaleModeY===j?A:this.scaleModeY},transform:function(t,e){const i=this.parent=e.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=e.getViewpoint(),r=e.getNavigationInfo().getNearValue(),a=e.getViewVolume().getScissor(),u=o.getViewportSize(a,r),h=this.viewportPixel,l=this.pixelSize,c=i?i.getRectangleSize():u,d=this.rectangleSize,f=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),l.assign(u).divVec(h),this.getSizeUnitX()){case A:d.x=this.sizeX*c.x;break;case q:d.x=this.sizeX*l.x}switch(this.getSizeUnitY()){case A:d.y=this.sizeY*c.y;break;case q:d.y=this.sizeY*l.y}const p=this.translation.set(0,0,0);switch(this.getAlignX()){case B:p.x=-(c.x-d.x)/2;break;case Y:this.getSizeUnitX()===q&&1&h.x&&(p.x=-l.x/2);break;case P:p.x=(c.x-d.x)/2}switch(this.getAlignY()){case R:p.y=-(c.y-d.y)/2;break;case Y:this.getSizeUnitX===q&&1&h.y&&(p.y=-l.y/2);break;case G:p.y=(c.y-d.y)/2}const y=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:y.x=this.offsetX*c.x;break;case q:y.x=this.offsetX*u.x/h.x}switch(this.getOffsetUnitY()){case A:y.y=this.offsetY*c.y;break;case q:y.y=this.offsetY*u.y/h.y}const g=this.scale.set(1,1,1),w=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(e.getModelViewMatrix().get().get(w,x,_),this.getScaleModeX()){case j:g.x=_.x;break;case A:g.x=d.x;break;case k:break;case q:g.x=u.x/h.x}switch(this.getScaleModeY()){case j:g.y=_.y;break;case A:g.y=d.y;break;case k:break;case q:g.y=u.y/h.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?d.x>d.y?(g.x=d.x,g.y=g.x):(g.y=d.y,g.x=g.y):g.x=g.y:this.getScaleModeY()===k&&(g.y=g.x),f.assign(p.add(y)),s.set(w,x),s.translate(p),s.scale(g),s}});const H=W;d().set("x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function tt(t){Q().call(this,t),this.addType(z().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(u()),this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}tt.prototype=Object.assign(Object.create(Q().prototype),{constructor:tt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},initialize:function(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__:function(){this.viewportNode=C()(z().X3DViewportNode,this._viewport)},set_layout__:function(){this.layoutNode=C()(z().X3DLayoutNode,this._layout)},getBBox:function(t,e){return Q().prototype.getBBox.call(this,t,e).multRight(this.getMatrix())},getMatrix:function(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout:function(){return this.layoutNode},traverse:function(t,e){if(t!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=e.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(t,e)),i.pushMatrix(this.screenMatrix),e.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,t,e),e.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,t,e);this.viewportNode&&this.viewportNode.pop()}}});const et=tt;d().set("x_ite/Components/Layout/LayoutGroup",et);const it=et,nt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Layering/X3DLayerNode");var st=i.n(nt);const ot=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Navigation/OrthoViewpoint");var rt=i.n(ot);function at(t){st().call(this,t,new(rt())(t),new it(t)),this.addType(z().LayoutLayer)}at.prototype=Object.assign(Object.create(st().prototype),{constructor:at,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"pickable",new(x().SFBool)(!0)),new(m())(z().inputOutput,"objectType",new(x().MFString)("ALL")),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"layout",new(x().SFNode)),new(m())(z().inputOutput,"viewport",new(x().SFNode)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutLayer"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layers"},initialize:function(){st().prototype.initialize.call(this),this._layout.addFieldInterest(this.getGroup()._layout),this._addChildren.addFieldInterest(this.getGroup()._addChildren),this._removeChildren.addFieldInterest(this.getGroup()._removeChildren),this._children.addFieldInterest(this.getGroup()._children),this.getGroup()._layout=this._layout,this.getGroup()._children=this._children,this.getGroup().setPrivate(!0),this.getGroup().setup()}});const ut=at;d().set("x_ite/Components/Layout/LayoutLayer",ut);const ht=ut,lt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Text/X3DFontStyleNode");var ct=i.n(lt);const dt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Browser/Text/X3DTextGeometry");var ft=i.n(dt);const pt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Browser/Text/TextAlignment");var yt=i.n(pt);const gt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Texturing/PixelTexture");var wt=i.n(gt);const xt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/X3DGeometryNode");var _t=i.n(xt);const mt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Geometry/Box3");var St=i.n(mt);const Xt=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Algorithm");var Mt=i.n(Xt),Tt=i(355);function bt(t,e){ft().call(this,t,e),t.setTransparent(!0),this.texCoordArray=_t().createArray(),this.textureNode=new(wt())(t.getExecutionContext()),this.canvas=Tt("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=e.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}bt.prototype=Object.assign(Object.create(ft().prototype),{constructor:bt,modelViewMatrix:new(u()),isTransparent:function(){return!0},getMatrix:function(){return this.matrix},update:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){ft().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(t,e),t.x-=1,t.y-=1,i.getMajorAlignment()){case yt().BEGIN:case yt().FIRST:t.x=Math.floor(t.x),e.x=t.x+n._textBounds.x;break;case yt().MIDDLE:t.x=Math.round(t.x),e.x=t.x+n._textBounds.x;break;case yt().END:e.x=Math.ceil(e.x),t.x=e.x-n._textBounds.x}switch(i.getMinorAlignment()){case yt().BEGIN:case yt().FIRST:e.y=Math.ceil(e.y),t.y=e.y-n._textBounds.y;break;case yt().MIDDLE:e.y=Math.round(e.y),t.y=e.y-n._textBounds.y;break;case yt().END:t.y=Math.floor(t.y),e.y=t.y+n._textBounds.y}n._origin.x=t.x,n._origin.y=e.y,this.getBBox().setExtents(t,e)}}(),build:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),u=this.getCharSpacings(),h=i.getScale(),l=h/n.unitsPerEm,c=this.texCoordArray,d=s.getNormals(),f=s.getVertices(),p=this.canvas[0],y=this.context;c.length=0,s.getMultiTexCoords().push(c),this.getBBox().getExtents(t,e),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),f.push(t.x,t.y,0,1,e.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,e.y,0,1);const g=s._textBounds.x,w=s._textBounds.y;p.width=Mt().nextPowerOfTwo(g),p.height=Mt().nextPowerOfTwo(w);const x=g/p.width,_=1-w/p.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),y.fillStyle="rgba(255,255,255,0)",y.fillRect(0,0,p.width,p.height),y.fillStyle="rgba(255,255,255,1)",y.save(),y.translate(0,p.height),y.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=u[i],d=a[i];let f=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+f+i*c-t.x,u=r.y+d.y-e.y;this.drawGlyph(y,n,o,a,u,h);let p=0;i+1<s.length&&(p=n.getKerningValue(o,s[i+1])),f+=(o.advanceWidth+p)*l}}else{const u=i._leftToRight.getValue(),l=i._topToBottom.getValue(),c=u?0:s._string.length-1,d=u?s._string.length:-1,f=u?1:-1;for(let i=c,s=0;i!==d;i+=f){const u=o[i],c=u.length,d=l?c:-1,f=l?1:-1;for(let i=l?0:c-1;i!==d;i+=f,++s){const o=a[s],l=r.x+o.x-t.x,c=r.y+o.y-e.y;this.drawGlyph(y,n,u[i],l,c,h)}}}y.restore();const m=y.getImageData(0,0,p.width,p.height);m?this.textureNode.setTexture(p.width,p.height,!0,new Uint8Array(m.data.buffer),!1):this.textureNode.clear()}}(),drawGlyph:function(t,e,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;t.beginPath();for(let e=0,i=a.length;e<i;++e){const i=a[e];switch(i.type){case"M":t.moveTo(i.x,i.y);continue;case"Z":t.closePath();continue;case"L":t.lineTo(i.x,i.y);continue;case"Q":t.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":t.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&t.fill(),r.stroke&&(t.lineWidth=r.strokeWidth,t.stroke())},getGlyphExtents:function(t,e,i,n,s){const o=t.unitsPerEm;n.set((e.xMin||0)/o,(e.yMin||0)/o,0),s.set((e.xMax||0)/o,(e.yMax||0)/o,0)},traverse:function(){const t=new(St());return function(e,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix),t.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(t)}}(),display:function(t,e){u().prototype.multLeft.call(e.modelViewMatrix,this.matrix),e.textureNode=this.textureNode},transformLine:function(t){return t.multLineMatrix(u().inverse(this.matrix))},transformMatrix:function(t){return t.multLeft(this.matrix)}});const zt=bt;d().set("x_ite/Browser/Layout/ScreenText",zt);const Nt=zt;function Ot(t){ct().call(this,t),this.addType(z().ScreenFontStyle)}Ot.prototype=Object.assign(Object.create(ct().prototype),{constructor:Ot,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"language",new(x().SFString)),new(m())(z().inputOutput,"family",new(x().MFString)("SERIF")),new(m())(z().inputOutput,"style",new(x().SFString)("PLAIN")),new(m())(z().inputOutput,"pointSize",new(x().SFFloat)(12)),new(m())(z().inputOutput,"spacing",new(x().SFFloat)(1)),new(m())(z().inputOutput,"horizontal",new(x().SFBool)(!0)),new(m())(z().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(m())(z().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(m())(z().inputOutput,"justify",new(x().MFString)("BEGIN"))]),getTypeName:function(){return"ScreenFontStyle"},getComponentName:function(){return"Layout"},getContainerField:function(){return"fontStyle"},initialize:function(){ct().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry:function(t){return new Nt(t,this)},getScale:function(){return this._pointSize.getValue()*this.getBrowser().getPixelPerPoint()}});const vt=Ot;d().set("x_ite/Components/Layout/ScreenFontStyle",vt);const Ft=vt;function Ct(t){Q().call(this,t),this.addType(z().ScreenGroup),this.matrix=new(u())}Ct.prototype=Object.assign(Object.create(Q().prototype),{constructor:Ct,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(m())(z().inputOutput,"metadata",new(x().SFNode)),new(m())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(z().inputOnly,"addChildren",new(x().MFNode)),new(m())(z().inputOnly,"removeChildren",new(x().MFNode)),new(m())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"ScreenGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},getBBox:function(t,e){return this.getSubBBox(t,e).multRight(this.matrix)},getMatrix:function(){return this.matrix},traverse:function(t,e){switch(t){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:this.getBrowser().getScreenScaleMatrix(e,this.matrix)}const i=e.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,t,e),i.pop()}});const Et=Ct;d().set("x_ite/Components/Layout/ScreenGroup",Et);const It=Et;e().addComponent({name:"Layout",types:{Layout:K,LayoutGroup:it,LayoutLayer:ht,ScreenFontStyle:Ft,ScreenGroup:It},abstractTypes:{X3DLayoutNode:v},browserContext:g});const Lt=void 0;d().set("assets/components/Layout",Lt)})()})();
|
|
1
|
+
/* X_ITE v8.6.14 */(()=>{"use strict";var t={355:t=>{t.exports=window[Symbol.for("X_ITE.X3D-8.6.14")].require("lib/jquery")}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{const t=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components");var e=i.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Matrix4");var u=i.n(a);const h=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Geometry/ViewVolume");var c=i.n(h);const l=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Namespace");var d=i.n(l);const f=Symbol();function p(){}p.prototype={getScreenTextureProperties:function(){return this[f]=new(s())(this.getPrivateScene()),this[f]._boundaryModeS="CLAMP_TO_EDGE",this[f]._boundaryModeT="CLAMP_TO_EDGE",this[f]._boundaryModeR="CLAMP_TO_EDGE",this[f]._minificationFilter="NEAREST_PIXEL",this[f]._magnificationFilter="NEAREST_PIXEL",this[f]._generateMipMaps=!1,this[f]._textureCompression="DEFAULT",this[f].setup(),this.getScreenTextureProperties=function(){return this[f]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[f]},getScreenScaleMatrix:function(){const t=new(r())(0,0,0),e=new(r())(0,0,0),i=new(u());return function(n,s){const o=n.getModelViewMatrix().get(),a=n.getProjectionMatrix().get(),u=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(o.origin,u,t);const h=o.xAxis.normalize().multiply(t.x),l=o.yAxis.normalize().multiply(t.y),d=o.zAxis.normalize().multiply(t.x);i.set(h.x,h.y,h.z,0,l.x,l.y,l.z,0,d.x,d.y,d.z,0,o[12],o[13],o[14],1),c().projectPoint(r().Zero,i,a,u,e),e.x=Math.round(e.x),e.y=Math.round(e.y),c().unProjectPoint(e.x,e.y,e.z,i,a,u,e),e.z=0,i.translate(e),s.assign(o).inverse().multLeft(i)}}()};const y=p;d().set("x_ite/Browser/Layout/X3DLayoutContext",y);const g=y,w=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Fields");var x=i.n(w);const _=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DFieldDefinition");var S=i.n(_);const m=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/FieldDefinitionArray");var X=i.n(m);const M=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Core/X3DChildNode");var T=i.n(M);const b=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DConstants");var z=i.n(b);function N(t){T().call(this,t),this.addType(z().X3DLayoutNode)}N.prototype=Object.assign(Object.create(T().prototype),{constructor:N});const O=N;d().set("x_ite/Components/Layout/X3DLayoutNode",O);const v=O,F=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DCast");var I=i.n(F);const C=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Vector2");var E=i.n(C);const L=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Rotation4");var D=i.n(L);let U=0;const B=U++,Y=U++,P=U++,R=U++,G=U++,V=U++,A=U++,q=U++,j=U++,k=U++;function W(t){v.call(this,t),this.addType(z().Layout),this.alignX=Y,this.alignY=Y,this.offsetUnitX=V,this.offsetUnitY=V,this.offsetX=0,this.offsetY=0,this.sizeUnitX=V,this.sizeUnitY=V,this.sizeX=1,this.sizeY=1,this.scaleModeX=j,this.scaleModeY=j,this.parent=null,this.rectangleCenter=new(E())(0,0),this.rectangleSize=new(E())(0,0),this.matrix=new(u())}W.prototype=Object.assign(Object.create(v.prototype),{constructor:W,viewportPixel:new(E())(0,0),pixelSize:new(E())(0,0),translation:new(r())(0,0,0),offset:new(r())(0,0,0),scale:new(r())(1,1,1),currentTranslation:new(r())(0,0,0),currentRotation:new(D())(0,0,1,0),currentScale:new(r())(0,0,0),modelViewMatrix:new(u()),[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(S())(z().inputOutput,"metadata",new(x().SFNode)),new(S())(z().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(S())(z().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(S())(z().inputOutput,"offset",new(x().MFFloat)(0,0)),new(S())(z().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(S())(z().inputOutput,"size",new(x().MFFloat)(1,1)),new(S())(z().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),getTypeName:function(){return"Layout"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layout"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){v.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__:function(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=B:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=Y:this.alignX=Y,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=R:"TOP"===this._align[1]?this.alignY=G:this.alignY=Y:this.alignY=Y},set_offsetUnits__:function(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=A:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=q:this.offsetUnitX=V,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=A:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=q:this.offsetUnitY=V:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=V,this.offsetUnitY=V)},set_offset__:function(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__:function(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=A:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=q:this.sizeUnitX=V,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=A:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=q:this.sizeUnitY=V:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=V,this.sizeUnitY=V)},set_size__:function(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__:function(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=A:"PIXEL"===this._scaleMode[0]?this.scaleModeX=q:"STRETCH"===this._scaleMode[0]?this.scaleModeX=k:this.scaleModeX=j,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=A:"PIXEL"===this._scaleMode[1]?this.scaleModeY=q:"STRETCH"===this._scaleMode[1]?this.scaleModeY=k:this.scaleModeY=j:this.scaleModeY=this.scaleModeX):(this.scaleModeX=j,this.scaleModeY=j)},getRectangleCenter:function(){return this.rectangleCenter},getRectangleSize:function(){return this.rectangleSize},getAlignX:function(){return this.alignX},getAlignY:function(){return this.alignY},getOffsetUnitX:function(){return this.offsetUnitX===V?this.parent?this.parent.getOffsetUnitX():A:this.offsetUnitX},getOffsetUnitY:function(){return this.offsetUnitY===V?this.parent?this.parent.getOffsetUnitY():A:this.offsetUnitY},getOffsetX:function(){return this.offsetX},getOffsetY:function(){return this.offsetY},getSizeUnitX:function(){return this.sizeUnitX===V?this.parent?this.parent.getSizeUnitX():A:this.sizeUnitX},getSizeUnitY:function(){return this.sizeUnitY===V?this.parent?this.parent.getSizeUnitY():A:this.sizeUnitY},getSizeX:function(){return this.sizeX},getSizeY:function(){return this.sizeY},getScaleModeX:function(){return this.parent?this.scaleModeX:this.scaleModeX===j?A:this.scaleModeX},getScaleModeY:function(){return this.parent?this.scaleModeY:this.scaleModeY===j?A:this.scaleModeY},transform:function(t,e){const i=this.parent=e.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=e.getViewpoint(),r=e.getNavigationInfo().getNearValue(),a=e.getViewVolume().getScissor(),u=o.getViewportSize(a,r),h=this.viewportPixel,c=this.pixelSize,l=i?i.getRectangleSize():u,d=this.rectangleSize,f=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),c.assign(u).divVec(h),this.getSizeUnitX()){case A:d.x=this.sizeX*l.x;break;case q:d.x=this.sizeX*c.x}switch(this.getSizeUnitY()){case A:d.y=this.sizeY*l.y;break;case q:d.y=this.sizeY*c.y}const p=this.translation.set(0,0,0);switch(this.getAlignX()){case B:p.x=-(l.x-d.x)/2;break;case Y:this.getSizeUnitX()===q&&1&h.x&&(p.x=-c.x/2);break;case P:p.x=(l.x-d.x)/2}switch(this.getAlignY()){case R:p.y=-(l.y-d.y)/2;break;case Y:this.getSizeUnitX===q&&1&h.y&&(p.y=-c.y/2);break;case G:p.y=(l.y-d.y)/2}const y=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case A:y.x=this.offsetX*l.x;break;case q:y.x=this.offsetX*u.x/h.x}switch(this.getOffsetUnitY()){case A:y.y=this.offsetY*l.y;break;case q:y.y=this.offsetY*u.y/h.y}const g=this.scale.set(1,1,1),w=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(e.getModelViewMatrix().get().get(w,x,_),this.getScaleModeX()){case j:g.x=_.x;break;case A:g.x=d.x;break;case k:break;case q:g.x=u.x/h.x}switch(this.getScaleModeY()){case j:g.y=_.y;break;case A:g.y=d.y;break;case k:break;case q:g.y=u.y/h.y}return this.getScaleModeX()===k?this.getScaleModeY()===k?d.x>d.y?(g.x=d.x,g.y=g.x):(g.y=d.y,g.x=g.y):g.x=g.y:this.getScaleModeY()===k&&(g.y=g.x),f.assign(p.add(y)),s.set(w,x),s.translate(p),s.scale(g),s}});const H=W;d().set("x_ite/Components/Layout/Layout",H);const K=H,Z=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Grouping/X3DGroupingNode");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function tt(t){Q().call(this,t),this.addType(z().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(u()),this.modelViewMatrix=new(u()),this.screenMatrix=new(u())}tt.prototype=Object.assign(Object.create(Q().prototype),{constructor:tt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(S())(z().inputOutput,"metadata",new(x().SFNode)),new(S())(z().inputOutput,"layout",new(x().SFNode)),new(S())(z().inputOutput,"viewport",new(x().SFNode)),new(S())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(S())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(S())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(S())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(S())(z().inputOnly,"addChildren",new(x().MFNode)),new(S())(z().inputOnly,"removeChildren",new(x().MFNode)),new(S())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){Q().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__:function(){this.viewportNode=I()(z().X3DViewportNode,this._viewport)},set_layout__:function(){this.layoutNode=I()(z().X3DLayoutNode,this._layout)},getBBox:function(t,e){return Q().prototype.getBBox.call(this,t,e).multRight(this.getMatrix())},getMatrix:function(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout:function(){return this.layoutNode},traverse:function(t,e){if(t!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=e.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(t,e)),i.pushMatrix(this.screenMatrix),e.getLayouts().push(this.layoutNode),Q().prototype.traverse.call(this,t,e),e.getLayouts().pop(),i.pop()}else Q().prototype.traverse.call(this,t,e);this.viewportNode&&this.viewportNode.pop()}}});const et=tt;d().set("x_ite/Components/Layout/LayoutGroup",et);const it=et,nt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Layering/X3DLayerNode");var st=i.n(nt);const ot=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Navigation/OrthoViewpoint");var rt=i.n(ot);function at(t){st().call(this,t,new(rt())(t),new it(t)),this.addType(z().LayoutLayer)}at.prototype=Object.assign(Object.create(st().prototype),{constructor:at,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(S())(z().inputOutput,"metadata",new(x().SFNode)),new(S())(z().inputOutput,"pickable",new(x().SFBool)(!0)),new(S())(z().inputOutput,"objectType",new(x().MFString)("ALL")),new(S())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(S())(z().inputOutput,"layout",new(x().SFNode)),new(S())(z().inputOutput,"viewport",new(x().SFNode)),new(S())(z().inputOnly,"addChildren",new(x().MFNode)),new(S())(z().inputOnly,"removeChildren",new(x().MFNode)),new(S())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"LayoutLayer"},getComponentName:function(){return"Layout"},getContainerField:function(){return"layers"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){st().prototype.initialize.call(this),this._layout.addFieldInterest(this.getGroup()._layout),this._addChildren.addFieldInterest(this.getGroup()._addChildren),this._removeChildren.addFieldInterest(this.getGroup()._removeChildren),this._children.addFieldInterest(this.getGroup()._children),this.getGroup()._layout=this._layout,this.getGroup()._children=this._children,this.getGroup().setPrivate(!0),this.getGroup().setup()}});const ut=at;d().set("x_ite/Components/Layout/LayoutLayer",ut);const ht=ut,ct=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Text/X3DFontStyleNode");var lt=i.n(ct);const dt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Browser/Text/X3DTextGeometry");var ft=i.n(dt);const pt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Browser/Text/TextAlignment");var yt=i.n(pt);const gt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Texturing/PixelTexture");var wt=i.n(gt);const xt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Rendering/X3DGeometryNode");var _t=i.n(xt);const St=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Geometry/Box3");var mt=i.n(St);const Xt=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Algorithm");var Mt=i.n(Xt),Tt=i(355);function bt(t,e){ft().call(this,t,e),t.setTransparent(!0),this.texCoordArray=_t().createArray(),this.textureNode=new(wt())(t.getExecutionContext()),this.canvas=Tt("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(u()),this.textureNode._textureProperties=e.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}bt.prototype=Object.assign(Object.create(ft().prototype),{constructor:bt,modelViewMatrix:new(u()),isTransparent:function(){return!0},getMatrix:function(){return this.matrix},update:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){ft().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(t,e),t.x-=1,t.y-=1,i.getMajorAlignment()){case yt().BEGIN:case yt().FIRST:t.x=Math.floor(t.x),e.x=t.x+n._textBounds.x;break;case yt().MIDDLE:t.x=Math.round(t.x),e.x=t.x+n._textBounds.x;break;case yt().END:e.x=Math.ceil(e.x),t.x=e.x-n._textBounds.x}switch(i.getMinorAlignment()){case yt().BEGIN:case yt().FIRST:e.y=Math.ceil(e.y),t.y=e.y-n._textBounds.y;break;case yt().MIDDLE:e.y=Math.round(e.y),t.y=e.y-n._textBounds.y;break;case yt().END:t.y=Math.floor(t.y),e.y=t.y+n._textBounds.y}n._origin.x=t.x,n._origin.y=e.y,this.getBBox().setExtents(t,e)}}(),build:function(){const t=new(r())(0,0,0),e=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),u=this.getCharSpacings(),h=i.getScale(),c=h/n.unitsPerEm,l=this.texCoordArray,d=s.getNormals(),f=s.getVertices(),p=this.canvas[0],y=this.context;l.length=0,s.getMultiTexCoords().push(l),this.getBBox().getExtents(t,e),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),f.push(t.x,t.y,0,1,e.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,e.y,0,1);const g=s._textBounds.x,w=s._textBounds.y;p.width=Mt().nextPowerOfTwo(g),p.height=Mt().nextPowerOfTwo(w);const x=g/p.width,_=1-w/p.height;if(l.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),y.fillStyle="rgba(255,255,255,0)",y.fillRect(0,0,p.width,p.height),y.fillStyle="rgba(255,255,255,1)",y.save(),y.translate(0,p.height),y.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],l=u[i],d=a[i];let f=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+f+i*l-t.x,u=r.y+d.y-e.y;this.drawGlyph(y,n,o,a,u,h);let p=0;i+1<s.length&&(p=n.getKerningValue(o,s[i+1])),f+=(o.advanceWidth+p)*c}}else{const u=i._leftToRight.getValue(),c=i._topToBottom.getValue(),l=u?0:s._string.length-1,d=u?s._string.length:-1,f=u?1:-1;for(let i=l,s=0;i!==d;i+=f){const u=o[i],l=u.length,d=c?l:-1,f=c?1:-1;for(let i=c?0:l-1;i!==d;i+=f,++s){const o=a[s],c=r.x+o.x-t.x,l=r.y+o.y-e.y;this.drawGlyph(y,n,u[i],c,l,h)}}}y.restore();const S=y.getImageData(0,0,p.width,p.height);S?this.textureNode.setTexture(p.width,p.height,!0,new Uint8Array(S.data.buffer),!1):this.textureNode.clear()}}(),drawGlyph:function(t,e,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;t.beginPath();for(let e=0,i=a.length;e<i;++e){const i=a[e];switch(i.type){case"M":t.moveTo(i.x,i.y);continue;case"Z":t.closePath();continue;case"L":t.lineTo(i.x,i.y);continue;case"Q":t.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":t.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&t.fill(),r.stroke&&(t.lineWidth=r.strokeWidth,t.stroke())},getGlyphExtents:function(t,e,i,n,s){const o=t.unitsPerEm;n.set((e.xMin||0)/o,(e.yMin||0)/o,0),s.set((e.xMax||0)/o,(e.yMax||0)/o,0)},traverse:function(){const t=new(mt());return function(e,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix),t.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(t)}}(),display:function(t,e){u().prototype.multLeft.call(e.modelViewMatrix,this.matrix),e.textureNode=this.textureNode},transformLine:function(t){return t.multLineMatrix(u().inverse(this.matrix))},transformMatrix:function(t){return t.multLeft(this.matrix)}});const zt=bt;d().set("x_ite/Browser/Layout/ScreenText",zt);const Nt=zt;function Ot(t){lt().call(this,t),this.addType(z().ScreenFontStyle)}Ot.prototype=Object.assign(Object.create(lt().prototype),{constructor:Ot,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(S())(z().inputOutput,"metadata",new(x().SFNode)),new(S())(z().inputOutput,"language",new(x().SFString)),new(S())(z().inputOutput,"family",new(x().MFString)("SERIF")),new(S())(z().inputOutput,"style",new(x().SFString)("PLAIN")),new(S())(z().inputOutput,"pointSize",new(x().SFFloat)(12)),new(S())(z().inputOutput,"spacing",new(x().SFFloat)(1)),new(S())(z().inputOutput,"horizontal",new(x().SFBool)(!0)),new(S())(z().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(S())(z().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(S())(z().inputOutput,"justify",new(x().MFString)("BEGIN"))]),getTypeName:function(){return"ScreenFontStyle"},getComponentName:function(){return"Layout"},getContainerField:function(){return"fontStyle"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){lt().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry:function(t){return new Nt(t,this)},getScale:function(){return this._pointSize.getValue()*this.getBrowser().getPixelPerPoint()}});const vt=Ot;d().set("x_ite/Components/Layout/ScreenFontStyle",vt);const Ft=vt;function It(t){Q().call(this,t),this.addType(z().ScreenGroup),this.matrix=new(u())}It.prototype=Object.assign(Object.create(Q().prototype),{constructor:It,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(X())([new(S())(z().inputOutput,"metadata",new(x().SFNode)),new(S())(z().inputOutput,"visible",new(x().SFBool)(!0)),new(S())(z().inputOutput,"bboxDisplay",new(x().SFBool)),new(S())(z().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(S())(z().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(S())(z().inputOnly,"addChildren",new(x().MFNode)),new(S())(z().inputOnly,"removeChildren",new(x().MFNode)),new(S())(z().inputOutput,"children",new(x().MFNode))]),getTypeName:function(){return"ScreenGroup"},getComponentName:function(){return"Layout"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},getBBox:function(t,e){return this.getSubBBox(t,e).multRight(this.matrix)},getMatrix:function(){return this.matrix},traverse:function(t,e){switch(t){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:this.getBrowser().getScreenScaleMatrix(e,this.matrix)}const i=e.getModelViewMatrix();i.push(),i.multLeft(this.matrix),Q().prototype.traverse.call(this,t,e),i.pop()}});const Ct=It;d().set("x_ite/Components/Layout/ScreenGroup",Ct);const Et=Ct;e().addComponent({name:"Layout",types:{Layout:K,LayoutGroup:it,LayoutLayer:ht,ScreenFontStyle:Ft,ScreenGroup:Et},abstractTypes:{X3DLayoutNode:v},browserContext:g});const Lt=void 0;d().set("assets/components/Layout",Lt)})()})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.14 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
54
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
54
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Core/X3DNode");
|
|
55
55
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
60
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
60
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DCast");
|
|
61
61
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
63
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/Contour2D.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -147,6 +147,10 @@ Contour2D .prototype = Object .assign (Object .create ((X3DNode_default()).proto
|
|
|
147
147
|
{
|
|
148
148
|
return "trimmingContour";
|
|
149
149
|
},
|
|
150
|
+
getSpecificationRange: function ()
|
|
151
|
+
{
|
|
152
|
+
return ["3.0", "Infinity"];
|
|
153
|
+
},
|
|
150
154
|
initialize: function ()
|
|
151
155
|
{
|
|
152
156
|
X3DNode_default().prototype.initialize.call (this);
|
|
@@ -302,7 +306,7 @@ const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
|
|
|
302
306
|
Namespace_default().set ("x_ite/Components/NURBS/X3DNurbsControlCurveNode", X3DNurbsControlCurveNode_default_);
|
|
303
307
|
/* harmony default export */ const NURBS_X3DNurbsControlCurveNode = (X3DNurbsControlCurveNode_default_);
|
|
304
308
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
305
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
309
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Vector3");
|
|
306
310
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
307
311
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/ContourPolyline2D.js
|
|
308
312
|
/*******************************************************************************
|
|
@@ -387,6 +391,10 @@ ContourPolyline2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsCon
|
|
|
387
391
|
{
|
|
388
392
|
return "children";
|
|
389
393
|
},
|
|
394
|
+
getSpecificationRange: function ()
|
|
395
|
+
{
|
|
396
|
+
return ["3.0", "Infinity"];
|
|
397
|
+
},
|
|
390
398
|
tessellate: function (type)
|
|
391
399
|
{
|
|
392
400
|
switch (type)
|
|
@@ -460,7 +468,7 @@ const ContourPolyline2D_default_ = ContourPolyline2D;
|
|
|
460
468
|
Namespace_default().set ("x_ite/Components/NURBS/ContourPolyline2D", ContourPolyline2D_default_);
|
|
461
469
|
/* harmony default export */ const NURBS_ContourPolyline2D = (ContourPolyline2D_default_);
|
|
462
470
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
|
|
463
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
471
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
464
472
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
|
|
465
473
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/CoordinateDouble.js
|
|
466
474
|
/*******************************************************************************
|
|
@@ -542,6 +550,10 @@ CoordinateDouble .prototype = Object .assign (Object .create ((X3DCoordinateNode
|
|
|
542
550
|
{
|
|
543
551
|
return "coord";
|
|
544
552
|
},
|
|
553
|
+
getSpecificationRange: function ()
|
|
554
|
+
{
|
|
555
|
+
return ["3.0", "Infinity"];
|
|
556
|
+
},
|
|
545
557
|
});
|
|
546
558
|
|
|
547
559
|
const CoordinateDouble_default_ = CoordinateDouble;
|
|
@@ -550,13 +562,13 @@ const CoordinateDouble_default_ = CoordinateDouble;
|
|
|
550
562
|
Namespace_default().set ("x_ite/Components/NURBS/CoordinateDouble", CoordinateDouble_default_);
|
|
551
563
|
/* harmony default export */ const NURBS_CoordinateDouble = (CoordinateDouble_default_);
|
|
552
564
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
553
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
565
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
554
566
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
555
567
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
556
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
568
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Vector2");
|
|
557
569
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
558
570
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
|
|
559
|
-
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
571
|
+
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Vector4");
|
|
560
572
|
var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
|
|
561
573
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/NURBS/NURBS.js
|
|
562
574
|
/*******************************************************************************
|
|
@@ -1108,7 +1120,7 @@ const X3DParametricGeometryNode_default_ = X3DParametricGeometryNode;
|
|
|
1108
1120
|
Namespace_default().set ("x_ite/Components/NURBS/X3DParametricGeometryNode", X3DParametricGeometryNode_default_);
|
|
1109
1121
|
/* harmony default export */ const NURBS_X3DParametricGeometryNode = (X3DParametricGeometryNode_default_);
|
|
1110
1122
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
1111
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1123
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
1112
1124
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
1113
1125
|
;// CONCATENATED MODULE: ./src/lib/nurbs/src/utils/is-ndarray.js
|
|
1114
1126
|
|
|
@@ -2160,7 +2172,7 @@ const support_default_ = function (cacheKey, nurbs, accessors, debug, checkBound
|
|
|
2160
2172
|
Namespace_default().set ("lib/nurbs/src/support", support_default_);
|
|
2161
2173
|
/* harmony default export */ const support = (support_default_);
|
|
2162
2174
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
2163
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2175
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Geometry/Triangle3");
|
|
2164
2176
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
2165
2177
|
;// CONCATENATED MODULE: ./src/lib/nurbs/extras/sample.js
|
|
2166
2178
|
|
|
@@ -2827,6 +2839,10 @@ NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeome
|
|
|
2827
2839
|
{
|
|
2828
2840
|
return "geometry";
|
|
2829
2841
|
},
|
|
2842
|
+
getSpecificationRange: function ()
|
|
2843
|
+
{
|
|
2844
|
+
return ["3.0", "Infinity"];
|
|
2845
|
+
},
|
|
2830
2846
|
initialize: function ()
|
|
2831
2847
|
{
|
|
2832
2848
|
NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
|
|
@@ -3049,6 +3065,10 @@ NurbsCurve2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsControlC
|
|
|
3049
3065
|
{
|
|
3050
3066
|
return "children";
|
|
3051
3067
|
},
|
|
3068
|
+
getSpecificationRange: function ()
|
|
3069
|
+
{
|
|
3070
|
+
return ["3.0", "Infinity"];
|
|
3071
|
+
},
|
|
3052
3072
|
getTessellation: function (numKnots)
|
|
3053
3073
|
{
|
|
3054
3074
|
return NURBS_NURBS.getTessellation (this ._tessellation .getValue (), numKnots - this ._order .getValue ());
|
|
@@ -3157,13 +3177,13 @@ const NurbsCurve2D_default_ = NurbsCurve2D;
|
|
|
3157
3177
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsCurve2D", NurbsCurve2D_default_);
|
|
3158
3178
|
/* harmony default export */ const NURBS_NurbsCurve2D = (NurbsCurve2D_default_);
|
|
3159
3179
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
3160
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3180
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
3161
3181
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
3162
3182
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
|
|
3163
|
-
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3183
|
+
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
|
|
3164
3184
|
var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
|
|
3165
3185
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3166
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3186
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Rotation4");
|
|
3167
3187
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3168
3188
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js
|
|
3169
3189
|
/*******************************************************************************
|
|
@@ -3265,6 +3285,10 @@ NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DCh
|
|
|
3265
3285
|
{
|
|
3266
3286
|
return "children";
|
|
3267
3287
|
},
|
|
3288
|
+
getSpecificationRange: function ()
|
|
3289
|
+
{
|
|
3290
|
+
return ["3.0", "Infinity"];
|
|
3291
|
+
},
|
|
3268
3292
|
initialize: function ()
|
|
3269
3293
|
{
|
|
3270
3294
|
X3DChildNode_default().prototype.initialize.call (this);
|
|
@@ -3385,7 +3409,7 @@ const NurbsOrientationInterpolator_default_ = NurbsOrientationInterpolator;
|
|
|
3385
3409
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsOrientationInterpolator", NurbsOrientationInterpolator_default_);
|
|
3386
3410
|
/* harmony default export */ const NURBS_NurbsOrientationInterpolator = (NurbsOrientationInterpolator_default_);
|
|
3387
3411
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
3388
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3412
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Algorithm");
|
|
3389
3413
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
3390
3414
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js
|
|
3391
3415
|
/*******************************************************************************
|
|
@@ -3479,14 +3503,14 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
|
|
|
3479
3503
|
},
|
|
3480
3504
|
set_texCoord__: function ()
|
|
3481
3505
|
{
|
|
3482
|
-
this .texCoordNode
|
|
3483
|
-
this .nurbsTexCoordNode?.removeInterest ("requestRebuild", this);
|
|
3506
|
+
this .texCoordNode ?.removeInterest ("requestRebuild", this);
|
|
3507
|
+
this .nurbsTexCoordNode ?.removeInterest ("requestRebuild", this);
|
|
3484
3508
|
|
|
3485
3509
|
this .texCoordNode = X3DCast_default() ((X3DConstants_default()).X3DTextureCoordinateNode, this ._texCoord);
|
|
3486
3510
|
this .nurbsTexCoordNode = X3DCast_default() ((X3DConstants_default()).NurbsTextureCoordinate, this ._texCoord);
|
|
3487
3511
|
|
|
3488
|
-
this .texCoordNode
|
|
3489
|
-
this .nurbsTexCoordNode?.addInterest ("requestRebuild", this);
|
|
3512
|
+
this .texCoordNode ?.addInterest ("requestRebuild", this);
|
|
3513
|
+
this .nurbsTexCoordNode ?.addInterest ("requestRebuild", this);
|
|
3490
3514
|
},
|
|
3491
3515
|
set_controlPoint__: function ()
|
|
3492
3516
|
{
|
|
@@ -3864,6 +3888,10 @@ NurbsPatchSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsSur
|
|
|
3864
3888
|
{
|
|
3865
3889
|
return "geometry";
|
|
3866
3890
|
},
|
|
3891
|
+
getSpecificationRange: function ()
|
|
3892
|
+
{
|
|
3893
|
+
return ["3.0", "Infinity"];
|
|
3894
|
+
},
|
|
3867
3895
|
});
|
|
3868
3896
|
|
|
3869
3897
|
const NurbsPatchSurface_default_ = NurbsPatchSurface;
|
|
@@ -3872,7 +3900,7 @@ const NurbsPatchSurface_default_ = NurbsPatchSurface;
|
|
|
3872
3900
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsPatchSurface", NurbsPatchSurface_default_);
|
|
3873
3901
|
/* harmony default export */ const NURBS_NurbsPatchSurface = (NurbsPatchSurface_default_);
|
|
3874
3902
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
|
|
3875
|
-
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3903
|
+
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
|
|
3876
3904
|
var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
|
|
3877
3905
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsPositionInterpolator.js
|
|
3878
3906
|
/*******************************************************************************
|
|
@@ -3972,6 +4000,10 @@ NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChild
|
|
|
3972
4000
|
{
|
|
3973
4001
|
return "children";
|
|
3974
4002
|
},
|
|
4003
|
+
getSpecificationRange: function ()
|
|
4004
|
+
{
|
|
4005
|
+
return ["3.0", "Infinity"];
|
|
4006
|
+
},
|
|
3975
4007
|
initialize: function ()
|
|
3976
4008
|
{
|
|
3977
4009
|
X3DChildNode_default().prototype.initialize.call (this);
|
|
@@ -4082,7 +4114,7 @@ const NurbsPositionInterpolator_default_ = NurbsPositionInterpolator;
|
|
|
4082
4114
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsPositionInterpolator", NurbsPositionInterpolator_default_);
|
|
4083
4115
|
/* harmony default export */ const NURBS_NurbsPositionInterpolator = (NurbsPositionInterpolator_default_);
|
|
4084
4116
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
4085
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4117
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
4086
4118
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
4087
4119
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSet.js
|
|
4088
4120
|
/*******************************************************************************
|
|
@@ -4177,6 +4209,10 @@ NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).p
|
|
|
4177
4209
|
{
|
|
4178
4210
|
return "children";
|
|
4179
4211
|
},
|
|
4212
|
+
getSpecificationRange: function ()
|
|
4213
|
+
{
|
|
4214
|
+
return ["3.0", "Infinity"];
|
|
4215
|
+
},
|
|
4180
4216
|
initialize: function ()
|
|
4181
4217
|
{
|
|
4182
4218
|
X3DChildNode_default().prototype.initialize.call (this);
|
|
@@ -4272,7 +4308,7 @@ const NurbsSet_default_ = NurbsSet;
|
|
|
4272
4308
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsSet", NurbsSet_default_);
|
|
4273
4309
|
/* harmony default export */ const NURBS_NurbsSet = (NurbsSet_default_);
|
|
4274
4310
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
|
|
4275
|
-
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4311
|
+
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Geometry/Line3");
|
|
4276
4312
|
var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
|
|
4277
4313
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle2.js
|
|
4278
4314
|
/*******************************************************************************
|
|
@@ -4452,6 +4488,10 @@ NurbsSurfaceInterpolator .prototype = Object .assign (Object .create ((X3DChildN
|
|
|
4452
4488
|
{
|
|
4453
4489
|
return "children";
|
|
4454
4490
|
},
|
|
4491
|
+
getSpecificationRange: function ()
|
|
4492
|
+
{
|
|
4493
|
+
return ["3.0", "Infinity"];
|
|
4494
|
+
},
|
|
4455
4495
|
initialize: function ()
|
|
4456
4496
|
{
|
|
4457
4497
|
this ._set_fraction .addInterest ("set_fraction__", this);
|
|
@@ -4536,7 +4576,7 @@ const NurbsSurfaceInterpolator_default_ = NurbsSurfaceInterpolator;
|
|
|
4536
4576
|
Namespace_default().set ("x_ite/Components/NURBS/NurbsSurfaceInterpolator", NurbsSurfaceInterpolator_default_);
|
|
4537
4577
|
/* harmony default export */ const NURBS_NurbsSurfaceInterpolator = (NurbsSurfaceInterpolator_default_);
|
|
4538
4578
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/Extrusion\")"
|
|
4539
|
-
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4579
|
+
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Geometry3D/Extrusion");
|
|
4540
4580
|
var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceObject);
|
|
4541
4581
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSweptSurface.js
|
|
4542
4582
|
/*******************************************************************************
|
|
@@ -4625,6 +4665,10 @@ NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
|
|
|
4625
4665
|
{
|
|
4626
4666
|
return "geometry";
|
|
4627
4667
|
},
|
|
4668
|
+
getSpecificationRange: function ()
|
|
4669
|
+
{
|
|
4670
|
+
return ["3.0", "Infinity"];
|
|
4671
|
+
},
|
|
4628
4672
|
initialize: function ()
|
|
4629
4673
|
{
|
|
4630
4674
|
NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
|
|
@@ -4796,6 +4840,10 @@ NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
|
|
|
4796
4840
|
{
|
|
4797
4841
|
return "geometry";
|
|
4798
4842
|
},
|
|
4843
|
+
getSpecificationRange: function ()
|
|
4844
|
+
{
|
|
4845
|
+
return ["3.0", "Infinity"];
|
|
4846
|
+
},
|
|
4799
4847
|
initialize: function ()
|
|
4800
4848
|
{
|
|
4801
4849
|
NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
|
|
@@ -4970,6 +5018,10 @@ NurbsTextureCoordinate .prototype = Object .assign (Object .create ((X3DNode_def
|
|
|
4970
5018
|
{
|
|
4971
5019
|
return "texCoord";
|
|
4972
5020
|
},
|
|
5021
|
+
getSpecificationRange: function ()
|
|
5022
|
+
{
|
|
5023
|
+
return ["3.0", "Infinity"];
|
|
5024
|
+
},
|
|
4973
5025
|
initialize: function ()
|
|
4974
5026
|
{
|
|
4975
5027
|
X3DNode_default().prototype.initialize.call (this);
|
|
@@ -5125,6 +5177,10 @@ NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsS
|
|
|
5125
5177
|
{
|
|
5126
5178
|
return "geometry";
|
|
5127
5179
|
},
|
|
5180
|
+
getSpecificationRange: function ()
|
|
5181
|
+
{
|
|
5182
|
+
return ["3.0", "Infinity"];
|
|
5183
|
+
},
|
|
5128
5184
|
initialize: function ()
|
|
5129
5185
|
{
|
|
5130
5186
|
NURBS_X3DNurbsSurfaceGeometryNode.prototype.initialize.call (this);
|