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.
Files changed (423) hide show
  1. package/dist/LICENSE.md +4 -4
  2. package/dist/assets/components/Annotation.js +37 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +45 -21
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +39 -28
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +37 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +37 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +55 -23
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +84 -40
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +42 -18
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +18 -10
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +47 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +84 -28
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +70 -30
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +42 -22
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +93 -37
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +35 -31
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +33 -25
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +22 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +64 -32
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +80 -28
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +13 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.js +1697 -1080
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.zip +0 -0
  46. package/docs/_config.yml +2 -2
  47. package/docs/_posts/components/Core/WorldInfo.md +1 -1
  48. package/docs/_posts/components/EnvironmentalEffects/Background.md +1 -1
  49. package/docs/_posts/components/EnvironmentalEffects/Fog.md +1 -1
  50. package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +1 -1
  51. package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +1 -1
  52. package/docs/_posts/components/Geometry3D/Box.md +1 -1
  53. package/docs/_posts/components/Geometry3D/Cone.md +1 -1
  54. package/docs/_posts/components/Geometry3D/Cylinder.md +1 -1
  55. package/docs/_posts/components/Geometry3D/ElevationGrid.md +1 -1
  56. package/docs/_posts/components/Geometry3D/Extrusion.md +1 -1
  57. package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
  58. package/docs/_posts/components/Geometry3D/Sphere.md +1 -1
  59. package/docs/_posts/components/Grouping/Group.md +1 -1
  60. package/docs/_posts/components/Grouping/Switch.md +1 -1
  61. package/docs/_posts/components/Grouping/Transform.md +1 -1
  62. package/docs/_posts/components/Interpolation/ColorInterpolator.md +1 -1
  63. package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +1 -1
  64. package/docs/_posts/components/Interpolation/NormalInterpolator.md +1 -1
  65. package/docs/_posts/components/Interpolation/OrientationInterpolator.md +1 -1
  66. package/docs/_posts/components/Interpolation/PositionInterpolator.md +1 -1
  67. package/docs/_posts/components/Interpolation/ScalarInterpolator.md +1 -1
  68. package/docs/_posts/components/Lighting/DirectionalLight.md +1 -1
  69. package/docs/_posts/components/Lighting/PointLight.md +1 -1
  70. package/docs/_posts/components/Lighting/SpotLight.md +1 -1
  71. package/docs/_posts/components/Navigation/Billboard.md +1 -1
  72. package/docs/_posts/components/Navigation/Collision.md +1 -1
  73. package/docs/_posts/components/Navigation/LOD.md +1 -1
  74. package/docs/_posts/components/Navigation/NavigationInfo.md +1 -1
  75. package/docs/_posts/components/Navigation/Viewpoint.md +1 -1
  76. package/docs/_posts/components/Networking/Anchor.md +1 -1
  77. package/docs/_posts/components/Networking/Inline.md +1 -1
  78. package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +1 -1
  79. package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +1 -1
  80. package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +1 -1
  81. package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +1 -1
  82. package/docs/_posts/components/Rendering/Color.md +1 -1
  83. package/docs/_posts/components/Rendering/Coordinate.md +1 -1
  84. package/docs/_posts/components/Rendering/IndexedLineSet.md +1 -1
  85. package/docs/_posts/components/Rendering/Normal.md +1 -1
  86. package/docs/_posts/components/Rendering/PointSet.md +1 -1
  87. package/docs/_posts/components/Scripting/Script.md +1 -1
  88. package/docs/_posts/components/Shape/Appearance.md +1 -1
  89. package/docs/_posts/components/Shape/Material.md +1 -9
  90. package/docs/_posts/components/Shape/PhysicalMaterial.md +0 -8
  91. package/docs/_posts/components/Shape/Shape.md +1 -1
  92. package/docs/_posts/components/Shape/UnlitMaterial.md +0 -8
  93. package/docs/_posts/components/Sound/AudioClip.md +1 -1
  94. package/docs/_posts/components/Sound/Sound.md +1 -1
  95. package/docs/_posts/components/Text/FontStyle.md +1 -1
  96. package/docs/_posts/components/Text/Text.md +1 -1
  97. package/docs/_posts/components/Texturing/ImageTexture.md +1 -5
  98. package/docs/_posts/components/Texturing/MovieTexture.md +1 -5
  99. package/docs/_posts/components/Texturing/PixelTexture.md +1 -1
  100. package/docs/_posts/components/Texturing/TextureCoordinate.md +1 -1
  101. package/docs/_posts/components/Texturing/TextureTransform.md +1 -1
  102. package/docs/_posts/components/Time/TimeSensor.md +1 -1
  103. package/docs/laboratory/gltf-sample-viewer.html +1 -1
  104. package/package.json +1 -1
  105. package/src/standard/Math/Numbers/Matrix2.js +3 -3
  106. package/src/standard/Math/Numbers/Vector4.js +1 -0
  107. package/src/tests.js +2 -0
  108. package/src/x_ite/Base/X3DBaseNode.js +58 -53
  109. package/src/x_ite/Browser/Core/BrowserOptions.js +2 -1
  110. package/src/x_ite/Browser/Core/X3DCoreContext.js +3 -6
  111. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +9 -15
  112. package/src/x_ite/Browser/Navigation/ExamineViewer.js +0 -3
  113. package/src/x_ite/Browser/Navigation/FlyViewer.js +0 -2
  114. package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +10 -12
  115. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +40 -21
  116. package/src/x_ite/Browser/VERSION.js +1 -1
  117. package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +1 -1
  118. package/src/x_ite/Browser/X3DBrowser.js +19 -19
  119. package/src/x_ite/Components/Annotation/AnnotationLayer.js +4 -0
  120. package/src/x_ite/Components/Annotation/AnnotationTarget.js +4 -0
  121. package/src/x_ite/Components/Annotation/GroupAnnotation.js +4 -0
  122. package/src/x_ite/Components/Annotation/IconAnnotation.js +4 -0
  123. package/src/x_ite/Components/Annotation/TextAnnotation.js +4 -0
  124. package/src/x_ite/Components/Annotation/URLAnnotation.js +4 -0
  125. package/src/x_ite/Components/CADGeometry/CADAssembly.js +4 -0
  126. package/src/x_ite/Components/CADGeometry/CADFace.js +12 -8
  127. package/src/x_ite/Components/CADGeometry/CADLayer.js +4 -0
  128. package/src/x_ite/Components/CADGeometry/CADPart.js +4 -0
  129. package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +4 -0
  130. package/src/x_ite/Components/CADGeometry/QuadSet.js +4 -0
  131. package/src/x_ite/Components/Core/MetadataBoolean.js +8 -4
  132. package/src/x_ite/Components/Core/MetadataDouble.js +8 -4
  133. package/src/x_ite/Components/Core/MetadataFloat.js +8 -4
  134. package/src/x_ite/Components/Core/MetadataInteger.js +8 -4
  135. package/src/x_ite/Components/Core/MetadataSet.js +8 -4
  136. package/src/x_ite/Components/Core/MetadataString.js +8 -4
  137. package/src/x_ite/Components/Core/WorldInfo.js +4 -0
  138. package/src/x_ite/Components/Core/X3DNode.js +17 -16
  139. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +11 -14
  140. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +4 -1
  141. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +4 -0
  142. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +6 -2
  143. package/src/x_ite/Components/DIS/DISEntityManager.js +4 -0
  144. package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +4 -0
  145. package/src/x_ite/Components/DIS/EspduTransform.js +4 -0
  146. package/src/x_ite/Components/DIS/ReceiverPdu.js +4 -0
  147. package/src/x_ite/Components/DIS/SignalPdu.js +4 -0
  148. package/src/x_ite/Components/DIS/TransmitterPdu.js +4 -0
  149. package/src/x_ite/Components/EnvironmentalEffects/Background.js +4 -0
  150. package/src/x_ite/Components/EnvironmentalEffects/Fog.js +4 -0
  151. package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +4 -0
  152. package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +4 -0
  153. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +4 -0
  154. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +1 -1
  155. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +4 -0
  156. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +6 -2
  157. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +4 -0
  158. package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +2 -2
  159. package/src/x_ite/Components/EventUtilities/BooleanFilter.js +4 -0
  160. package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +4 -0
  161. package/src/x_ite/Components/EventUtilities/BooleanToggle.js +4 -0
  162. package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +4 -0
  163. package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +4 -0
  164. package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +4 -0
  165. package/src/x_ite/Components/EventUtilities/TimeTrigger.js +4 -0
  166. package/src/x_ite/Components/Followers/ColorChaser.js +4 -0
  167. package/src/x_ite/Components/Followers/ColorDamper.js +4 -0
  168. package/src/x_ite/Components/Followers/CoordinateChaser.js +4 -0
  169. package/src/x_ite/Components/Followers/CoordinateDamper.js +4 -0
  170. package/src/x_ite/Components/Followers/OrientationChaser.js +4 -0
  171. package/src/x_ite/Components/Followers/OrientationDamper.js +4 -0
  172. package/src/x_ite/Components/Followers/PositionChaser.js +4 -0
  173. package/src/x_ite/Components/Followers/PositionChaser2D.js +4 -0
  174. package/src/x_ite/Components/Followers/PositionDamper.js +4 -0
  175. package/src/x_ite/Components/Followers/PositionDamper2D.js +4 -0
  176. package/src/x_ite/Components/Followers/ScalarChaser.js +4 -0
  177. package/src/x_ite/Components/Followers/ScalarDamper.js +4 -0
  178. package/src/x_ite/Components/Followers/TexCoordChaser2D.js +4 -0
  179. package/src/x_ite/Components/Followers/TexCoordDamper2D.js +4 -0
  180. package/src/x_ite/Components/Followers/X3DFollowerNode.js +2 -2
  181. package/src/x_ite/Components/Geometry2D/Arc2D.js +5 -1
  182. package/src/x_ite/Components/Geometry2D/ArcClose2D.js +5 -1
  183. package/src/x_ite/Components/Geometry2D/Circle2D.js +5 -1
  184. package/src/x_ite/Components/Geometry2D/Disk2D.js +5 -1
  185. package/src/x_ite/Components/Geometry2D/Polyline2D.js +4 -0
  186. package/src/x_ite/Components/Geometry2D/Polypoint2D.js +4 -0
  187. package/src/x_ite/Components/Geometry2D/Rectangle2D.js +4 -0
  188. package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +4 -0
  189. package/src/x_ite/Components/Geometry3D/Box.js +4 -0
  190. package/src/x_ite/Components/Geometry3D/Cone.js +5 -1
  191. package/src/x_ite/Components/Geometry3D/Cylinder.js +5 -1
  192. package/src/x_ite/Components/Geometry3D/ElevationGrid.js +14 -10
  193. package/src/x_ite/Components/Geometry3D/Extrusion.js +4 -0
  194. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +7 -3
  195. package/src/x_ite/Components/Geometry3D/Sphere.js +5 -1
  196. package/src/x_ite/Components/Geospatial/GeoCoordinate.js +4 -0
  197. package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +11 -7
  198. package/src/x_ite/Components/Geospatial/GeoLOD.js +4 -0
  199. package/src/x_ite/Components/Geospatial/GeoLocation.js +4 -0
  200. package/src/x_ite/Components/Geospatial/GeoMetadata.js +4 -0
  201. package/src/x_ite/Components/Geospatial/GeoOrigin.js +4 -0
  202. package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +4 -0
  203. package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +4 -0
  204. package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +4 -0
  205. package/src/x_ite/Components/Geospatial/GeoTransform.js +4 -0
  206. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +4 -0
  207. package/src/x_ite/Components/Grouping/Group.js +4 -0
  208. package/src/x_ite/Components/Grouping/StaticGroup.js +4 -0
  209. package/src/x_ite/Components/Grouping/Switch.js +11 -7
  210. package/src/x_ite/Components/Grouping/Transform.js +4 -0
  211. package/src/x_ite/Components/HAnim/HAnimDisplacer.js +4 -0
  212. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +4 -0
  213. package/src/x_ite/Components/HAnim/HAnimJoint.js +4 -0
  214. package/src/x_ite/Components/HAnim/HAnimMotion.js +4 -0
  215. package/src/x_ite/Components/HAnim/HAnimSegment.js +4 -0
  216. package/src/x_ite/Components/HAnim/HAnimSite.js +4 -0
  217. package/src/x_ite/Components/Interpolation/ColorInterpolator.js +4 -0
  218. package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +4 -0
  219. package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +4 -0
  220. package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +4 -0
  221. package/src/x_ite/Components/Interpolation/NormalInterpolator.js +4 -0
  222. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +4 -0
  223. package/src/x_ite/Components/Interpolation/PositionInterpolator.js +4 -0
  224. package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +4 -0
  225. package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +4 -0
  226. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +4 -0
  227. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +4 -0
  228. package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +4 -0
  229. package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +4 -0
  230. package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +4 -0
  231. package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +4 -0
  232. package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +2 -2
  233. package/src/x_ite/Components/Layering/Layer.js +4 -0
  234. package/src/x_ite/Components/Layering/LayerSet.js +4 -0
  235. package/src/x_ite/Components/Layering/Viewport.js +4 -0
  236. package/src/x_ite/Components/Layering/X3DLayerNode.js +40 -49
  237. package/src/x_ite/Components/Layout/Layout.js +4 -0
  238. package/src/x_ite/Components/Layout/LayoutGroup.js +4 -0
  239. package/src/x_ite/Components/Layout/LayoutLayer.js +4 -0
  240. package/src/x_ite/Components/Layout/ScreenFontStyle.js +4 -0
  241. package/src/x_ite/Components/Layout/ScreenGroup.js +4 -0
  242. package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -0
  243. package/src/x_ite/Components/Lighting/EnvironmentLight.js +4 -0
  244. package/src/x_ite/Components/Lighting/PointLight.js +4 -0
  245. package/src/x_ite/Components/Lighting/SpotLight.js +7 -9
  246. package/src/x_ite/Components/NURBS/Contour2D.js +4 -0
  247. package/src/x_ite/Components/NURBS/ContourPolyline2D.js +4 -0
  248. package/src/x_ite/Components/NURBS/CoordinateDouble.js +4 -0
  249. package/src/x_ite/Components/NURBS/NurbsCurve.js +4 -0
  250. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +4 -0
  251. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +4 -0
  252. package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +4 -0
  253. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +4 -0
  254. package/src/x_ite/Components/NURBS/NurbsSet.js +4 -0
  255. package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +4 -0
  256. package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +4 -0
  257. package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +4 -0
  258. package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +4 -0
  259. package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +4 -0
  260. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +4 -4
  261. package/src/x_ite/Components/Navigation/Billboard.js +4 -0
  262. package/src/x_ite/Components/Navigation/Collision.js +8 -4
  263. package/src/x_ite/Components/Navigation/LOD.js +11 -7
  264. package/src/x_ite/Components/Navigation/NavigationInfo.js +4 -0
  265. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +4 -0
  266. package/src/x_ite/Components/Navigation/Viewpoint.js +4 -0
  267. package/src/x_ite/Components/Navigation/ViewpointGroup.js +4 -0
  268. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +8 -0
  269. package/src/x_ite/Components/Networking/Anchor.js +4 -0
  270. package/src/x_ite/Components/Networking/Inline.js +6 -2
  271. package/src/x_ite/Components/Networking/LoadSensor.js +42 -29
  272. package/src/x_ite/Components/Networking/X3DUrlObject.js +2 -2
  273. package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +4 -0
  274. package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +4 -0
  275. package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +4 -0
  276. package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +4 -0
  277. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +12 -8
  278. package/src/x_ite/Components/ParticleSystems/PointEmitter.js +4 -0
  279. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +4 -0
  280. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +4 -0
  281. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +4 -0
  282. package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +4 -0
  283. package/src/x_ite/Components/Picking/LinePickSensor.js +4 -0
  284. package/src/x_ite/Components/Picking/PickableGroup.js +4 -0
  285. package/src/x_ite/Components/Picking/PointPickSensor.js +4 -0
  286. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +4 -0
  287. package/src/x_ite/Components/Picking/VolumePickSensor.js +4 -0
  288. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +4 -4
  289. package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +4 -0
  290. package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +4 -0
  291. package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +4 -0
  292. package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +4 -0
  293. package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +28 -19
  294. package/src/x_ite/Components/Rendering/ClipPlane.js +4 -0
  295. package/src/x_ite/Components/Rendering/Color.js +4 -0
  296. package/src/x_ite/Components/Rendering/ColorRGBA.js +4 -0
  297. package/src/x_ite/Components/Rendering/Coordinate.js +4 -0
  298. package/src/x_ite/Components/Rendering/IndexedLineSet.js +15 -11
  299. package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +4 -0
  300. package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +4 -0
  301. package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +4 -0
  302. package/src/x_ite/Components/Rendering/LineSet.js +16 -12
  303. package/src/x_ite/Components/Rendering/Normal.js +4 -0
  304. package/src/x_ite/Components/Rendering/PointSet.js +15 -11
  305. package/src/x_ite/Components/Rendering/TriangleFanSet.js +4 -0
  306. package/src/x_ite/Components/Rendering/TriangleSet.js +4 -0
  307. package/src/x_ite/Components/Rendering/TriangleStripSet.js +4 -0
  308. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +14 -14
  309. package/src/x_ite/Components/Rendering/X3DGeometryNode.js +6 -6
  310. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +6 -6
  311. package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +4 -4
  312. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +4 -0
  313. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +11 -7
  314. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +11 -7
  315. package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +4 -0
  316. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +7 -3
  317. package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +4 -0
  318. package/src/x_ite/Components/RigidBodyPhysics/Contact.js +4 -0
  319. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +4 -0
  320. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +4 -0
  321. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -0
  322. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +6 -2
  323. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +4 -0
  324. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +4 -0
  325. package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -0
  326. package/src/x_ite/Components/Scripting/Script.js +7 -3
  327. package/src/x_ite/Components/Shaders/ComposedShader.js +11 -9
  328. package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +4 -0
  329. package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +4 -0
  330. package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +4 -0
  331. package/src/x_ite/Components/Shaders/PackagedShader.js +4 -0
  332. package/src/x_ite/Components/Shaders/ProgramShader.js +4 -0
  333. package/src/x_ite/Components/Shaders/ShaderPart.js +4 -2
  334. package/src/x_ite/Components/Shaders/ShaderProgram.js +4 -0
  335. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -3
  336. package/src/x_ite/Components/Shape/AcousticProperties.js +4 -0
  337. package/src/x_ite/Components/Shape/Appearance.js +8 -4
  338. package/src/x_ite/Components/Shape/FillProperties.js +4 -0
  339. package/src/x_ite/Components/Shape/LineProperties.js +4 -0
  340. package/src/x_ite/Components/Shape/Material.js +5 -2
  341. package/src/x_ite/Components/Shape/PhysicalMaterial.js +5 -2
  342. package/src/x_ite/Components/Shape/PointProperties.js +4 -0
  343. package/src/x_ite/Components/Shape/Shape.js +4 -0
  344. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +4 -0
  345. package/src/x_ite/Components/Shape/UnlitMaterial.js +5 -2
  346. package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -1
  347. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -7
  348. package/src/x_ite/Components/Shape/X3DShapeNode.js +1 -1
  349. package/src/x_ite/Components/Sound/Analyser.js +4 -0
  350. package/src/x_ite/Components/Sound/AudioClip.js +6 -2
  351. package/src/x_ite/Components/Sound/AudioDestination.js +4 -0
  352. package/src/x_ite/Components/Sound/BiquadFilter.js +4 -0
  353. package/src/x_ite/Components/Sound/BufferAudioSource.js +4 -0
  354. package/src/x_ite/Components/Sound/ChannelMerger.js +4 -0
  355. package/src/x_ite/Components/Sound/ChannelSelector.js +4 -0
  356. package/src/x_ite/Components/Sound/ChannelSplitter.js +4 -0
  357. package/src/x_ite/Components/Sound/Convolver.js +4 -0
  358. package/src/x_ite/Components/Sound/Delay.js +4 -0
  359. package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -0
  360. package/src/x_ite/Components/Sound/Gain.js +4 -0
  361. package/src/x_ite/Components/Sound/ListenerPointSource.js +4 -0
  362. package/src/x_ite/Components/Sound/MicrophoneSource.js +4 -0
  363. package/src/x_ite/Components/Sound/OscillatorSource.js +4 -0
  364. package/src/x_ite/Components/Sound/PeriodicWave.js +4 -0
  365. package/src/x_ite/Components/Sound/Sound.js +6 -2
  366. package/src/x_ite/Components/Sound/SpatialSound.js +4 -0
  367. package/src/x_ite/Components/Sound/StreamAudioDestination.js +4 -0
  368. package/src/x_ite/Components/Sound/StreamAudioSource.js +4 -0
  369. package/src/x_ite/Components/Sound/WaveShaper.js +4 -0
  370. package/src/x_ite/Components/Text/FontStyle.js +4 -0
  371. package/src/x_ite/Components/Text/Text.js +5 -1
  372. package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -0
  373. package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +4 -0
  374. package/src/x_ite/Components/Texturing/ImageTexture.js +13 -13
  375. package/src/x_ite/Components/Texturing/MovieTexture.js +10 -7
  376. package/src/x_ite/Components/Texturing/MultiTexture.js +4 -0
  377. package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +4 -0
  378. package/src/x_ite/Components/Texturing/MultiTextureTransform.js +4 -0
  379. package/src/x_ite/Components/Texturing/PixelTexture.js +4 -0
  380. package/src/x_ite/Components/Texturing/TextureCoordinate.js +4 -0
  381. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +4 -0
  382. package/src/x_ite/Components/Texturing/TextureProperties.js +4 -0
  383. package/src/x_ite/Components/Texturing/TextureTransform.js +4 -0
  384. package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +4 -0
  385. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +4 -0
  386. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +6 -2
  387. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +4 -0
  388. package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +4 -0
  389. package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +4 -0
  390. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +4 -0
  391. package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +4 -0
  392. package/src/x_ite/Components/Time/TimeSensor.js +5 -1
  393. package/src/x_ite/Components/Time/X3DTimeDependentNode.js +6 -6
  394. package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +4 -0
  395. package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +4 -0
  396. package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +4 -0
  397. package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +4 -0
  398. package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +4 -0
  399. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +4 -0
  400. package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +4 -0
  401. package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +4 -0
  402. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +4 -0
  403. package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +4 -0
  404. package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +4 -0
  405. package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +4 -0
  406. package/src/x_ite/Components/VolumeRendering/VolumeData.js +4 -0
  407. package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +8 -8
  408. package/src/x_ite/Components/X_ITE/BlendMode.js +4 -0
  409. package/src/x_ite/Execution/BindableList.js +16 -19
  410. package/src/x_ite/Execution/X3DExecutionContext.js +33 -11
  411. package/src/x_ite/Execution/X3DScene.js +4 -0
  412. package/src/x_ite/Fields/ArrayFields.js +42 -22
  413. package/src/x_ite/Fields/SFNode.js +3 -6
  414. package/src/x_ite/Fields/SFNodeCache.js +34 -19
  415. package/src/x_ite/InputOutput/FileLoader.js +22 -14
  416. package/src/x_ite/Parser/GLTF2Parser.js +72 -51
  417. package/src/x_ite/Parser/VRMLParser.js +66 -34
  418. package/src/x_ite/Parser/X3DParser.js +9 -36
  419. package/src/x_ite/Parser/XMLParser.js +8 -8
  420. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
  421. package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -2
  422. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
  423. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
@@ -1 +1 @@
1
- /* X_ITE v8.6.12 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Fields");var o=e.n(n);const s=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DFieldDefinition");var r=e.n(s);const c=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(c);const h=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Core/X3DSensorNode");var p=e.n(h);const l=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Rendering/TraverseType");var d=e.n(l);const g=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DConstants");var u=e.n(g);const m=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Namespace");var y=e.n(m);let _=0;const w={MATCH_ANY:_++,MATCH_EVERY:_++,MATCH_ONLY_ONE:_++};y().set("x_ite/Browser/Picking/MatchCriterion",w);const f=w;let k=0;const S={BOUNDS:k++,GEOMETRY:k++};y().set("x_ite/Browser/Picking/IntersectionType",S);const T=S;let b=0;const O={ANY:b++,CLOSEST:b++,ALL:b++,ALL_SORTED:b++};y().set("x_ite/Browser/Picking/SortOrder",O);const v=O,N=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Matrix4");var C=e.n(N);function G(e,t){this.array=e,t&&(this.compare=t)}G.prototype={compare:function(e,t){return e<t},sort:function(e,t){t-e>1&&this.quicksort(e,t-1)},quicksort:function(e,t){let i=e,n=t;const o=this.array,s=this.compare,r=o[e+t>>>1];for(;;){for(;s(o[i],r);)++i;for(;s(r,o[n]);)--n;if(!(i<n)){i===n&&(++i,--n);break}{const e=o[i];o[i]=o[n],o[n]=e,i++,n--}}e<n&&this.quicksort(e,n),i<t&&this.quicksort(i,t)}};const P=G;y().set("standard/Math/Algorithms/QuickSort",P);const M=P,x=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Utility/ObjectCache");var B,E,D,A,F=e.n(x)()(C());function I(e,t){return e.distance<t.distance}function j(e){p().call(this,e),this.addType(u().X3DPickSensorNode),this.objectType=new Set,this.intersectionType=T.BOUNDS,this.sortOrder=v.CLOSEST,this.pickTargetNodes=new Set,this.modelMatrices=[],this.targets=[],this.targets.size=0,this.pickedTargets=[],this.pickedTargetsSorter=new M(this.pickedTargets,I),this.pickedGeometries=new(o().MFNode)}j.prototype=Object.assign(Object.create(p().prototype),{constructor:j,initialize:function(){this.isLive().addInterest("set_live__",this),this._enabled.addInterest("set_live__",this),this._objectType.addInterest("set_objectType__",this),this._matchCriterion.addInterest("set_matchCriterion__",this),this._intersectionType.addInterest("set_intersectionType__",this),this._sortOrder.addInterest("set_sortOrder__",this),this._pickTarget.addInterest("set_pickTarget__",this),this.set_objectType__(),this.set_matchCriterion__(),this.set_intersectionType__(),this.set_sortOrder__(),this.set_pickTarget__()},getObjectType:function(){return this.objectType},getMatchCriterion:function(){return this.matchCriterion},getIntersectionType:function(){return this.intersectionType},getSortOrder:function(){return this.sortOrder},getModelMatrices:function(){return this.modelMatrices},getTargets:function(){return this.targets},getPickShape:(A=new WeakMap,function(e){var t=A.get(e);if(void 0!==t)return t;var i=this.getExecutionContext().createNode("Shape",!1),n=this.getExecutionContext().createNode("CollidableShape",!1);return i.setPrivate(!0),n.setPrivate(!0),n.setConvex(!0),i._geometry=e,n._shape=i,i.setup(),n.setup(),A.set(e,n),n}),getPickedGeometries:function(){var e=this.targets,t=e.size,i=this.pickedTargets,n=this.pickedGeometries;i.length=0;for(var o=0;o<t;++o){var s=e[o];s.intersected&&i.push(s)}if(0===i.length)return n.length=0,n;switch(this.sortOrder){case v.ANY:i.length=1,n[0]=this.getPickedGeometry(i[0]),n.length=1;break;case v.CLOSEST:this.pickedTargetsSorter.sort(0,i.length),i.length=1,n[0]=this.getPickedGeometry(i[0]),n.length=1;break;case v.ALL:o=0;for(var r=i.length;o<r;++o)n[o]=this.getPickedGeometry(i[o]);n.length=r;break;case v.ALL_SORTED:for(this.pickedTargetsSorter.sort(0,i.length),o=0,r=i.length;o<r;++o)n[o]=this.getPickedGeometry(i[o]);n.length=r}return n},getPickedGeometry:function(e){var t=this.getExecutionContext(),i=e.geometryNode;if(i.getExecutionContext()===t)return i;if(-1!==(s=i.getExecutionContext()).getType().indexOf(u().X3DPrototypeInstance)&&s.getExecutionContext()===t)return s;for(var n=e.pickingHierarchy,o=n.length-1;o>=0;--o){var s,r=n[o];if(r.getExecutionContext()===t)return r;if(-1!==(s=r.getExecutionContext()).getType().indexOf(u().X3DPrototypeInstance)&&s.getExecutionContext()===t)return s}return null},getPickedTargets:function(){return this.pickedTargets},set_live__:function(){this.isLive().getValue()&&this._enabled.getValue()&&!this.objectType.has("NONE")?(this.getBrowser().addPickSensor(this),this.setPickableObject(!0)):(this.getBrowser().removePickSensor(this),this.setPickableObject(!1))},set_objectType__:function(){this.objectType.clear();for(var e=0,t=this._objectType.length;e<t;++e)this.objectType.add(this._objectType[e]);this.set_live__()},set_matchCriterion__:(D=new Map([["MATCH_ANY",f.MATCH_ANY],["MATCH_EVERY",f.MATCH_EVERY],["MATCH_ONLY_ONE",f.MATCH_ONLY_ONE]]),function(){this.matchCriterion=D.get(this._matchCriterion.getValue()),void 0===this.matchCriterion&&(this.matchCriterion=MatchCriterionType.MATCH_ANY)}),set_intersectionType__:(E=new Map([["BOUNDS",T.BOUNDS],["GEOMETRY",T.GEOMETRY]]),function(){this.intersectionType=E.get(this._intersectionType.getValue()),void 0===this.intersectionType&&(this.intersectionType=T.BOUNDS)}),set_sortOrder__:(B=new Map([["ANY",v.ANY],["CLOSEST",v.CLOSEST],["ALL",v.ALL],["ALL_SORTED",v.ALL_SORTED]]),function(){this.sortOrder=B.get(this._sortOrder.getValue()),void 0===this.sortOrder&&(this.sortOrder=v.CLOSEST)}),set_pickTarget__:function(){this.pickTargetNodes.clear();for(var e=0,t=this._pickTarget.length;e<t;++e)try{for(var i=this._pickTarget[e].getValue().getInnerNode(),n=i.getType(),o=n.length-1;o>=0;--o)switch(n[o]){case u().Inline:case u().Shape:case u().X3DGroupingNode:this.pickTargetNodes.add(i);break;default:continue}}catch(e){}},traverse:function(e,t){e===d().PICKING&&this.isPickableObject()&&this.modelMatrices.push(F.pop().assign(t.getModelViewMatrix().get()))},collect:function(e,t,i){var n=this.pickTargetNodes;if(i.some((function(e){return n.has(e)}))){var o=this.targets;if(o.size<o.length)var s=o[o.size];else{s={modelMatrix:new(C()),pickingHierarchy:[],pickedPoint:[],intersections:[]};o.push(s)}++o.size,s.intersected=!1,s.geometryNode=e,s.pickedPoint.length=0,s.intersections.length=0,s.modelMatrix.assign(t);for(var r=s.pickingHierarchy,c=0,a=i.length;c<a;++c)r[c]=i[c];r.length=a}},process:function(){for(var e=this.modelMatrices,t=0,i=e.length;t<i;++t)F.push(e[t]);this.modelMatrices.length=0,this.targets.size=0}});const X=j;y().set("x_ite/Components/Picking/X3DPickSensorNode",X);const L=X,V=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Vector3");var z=e.n(V);const R=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Geometry/Box3");var q=e.n(R);const Y=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Geometry/Line3");var H,U,W,K,Q,Z,J,$,ee,te,ie,ne,oe,se,re,ce,ae=e.n(Y);function he(e){L.call(this,e),this.addType(u().LinePickSensor),this.pickingGeometryNode=null}he.prototype=Object.assign(Object.create(L.prototype),{constructor:he,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"pickedTextureCoordinate",new(o().MFVec3f)),new(r())(u().outputOnly,"pickedNormal",new(o().MFVec3f)),new(r())(u().outputOnly,"pickedPoint",new(o().MFVec3f)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"LinePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=null;try{for(var e=this._pickingGeometry.getValue().getInnerNode(),t=e.getType(),i=t.length-1;i>=0;--i)switch(t[i]){case u().IndexedLineSet:case u().LineSet:this.pickingGeometryNode=e;break;default:continue}}catch(e){}},process:(H=new(q()),U=new(q()),W=new(z())(0,0,0),K=new(z())(0,0,0),Q=new(C()),Z=new(z())(0,0,0),J=new(z())(0,0,0),$=new(ae())(z().Zero,z().zAxis),ee=new(z())(0,0,0),te=new(z())(0,0,0),ie=[],ne=[],oe=new(z())(0,0,0),se=new(o().MFVec3f),re=new(o().MFVec3f),ce=new(o().MFVec3f),function(){if(this.pickingGeometryNode){var e=this.getModelMatrices(),t=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var i=0,n=e.length;i<n;++i){var o=e[i];H.assign(this.pickingGeometryNode.getBBox()).multRight(o);for(var s=0,r=t.size;s<r;++s){var c=t[s];U.assign(c.geometryNode.getBBox()).multRight(c.modelMatrix),H.intersectsBox(U)&&(W.assign(H.center),K.assign(U.center),c.intersected=!0,c.distance=W.distance(K))}}var a=this.getPickedGeometries(),h=Boolean(a.length);a.remove(0,a.length,null),h!==this._isActive.getValue()&&(this._isActive=h),this._pickedGeometry.equals(a)||(this._pickedGeometry=a);break;case T.GEOMETRY:for(i=0,n=e.length;i<n;++i)for(o=e[i],H.assign(this.pickingGeometryNode.getBBox()).multRight(o),s=0,r=t.size;s<r;++s){var p=(c=t[s]).geometryNode,l=this.pickingGeometryNode.getVertices();U.assign(p.getBBox()).multRight(c.modelMatrix),Q.assign(c.modelMatrix).inverse().multLeft(o);for(var d=0,g=l.length;d<g;d+=8)if(Q.multVecMatrix(Z.set(l[d+0],l[d+1],l[d+2])),Q.multVecMatrix(J.set(l[d+4],l[d+5],l[d+6])),$.setPoints(Z,J),ne.length=0,p.intersectsLine($,c.modelMatrix,ie,ne))for(var u=0,m=ne.length;u<m;++u){var y=ne[u];ee.assign(y.point).subtract(Z),te.assign(y.point).subtract(J),ee.add(te).magnitude()<=Z.distance(J)&&c.intersections.push(y)}c.intersections.length&&(W.assign(H.center),K.assign(U.center),c.intersected=!0,c.distance=W.distance(K))}a=this.getPickedGeometries(),h=Boolean(a.length),a.remove(0,a.length,null),h!==this._isActive.getValue()&&(this._isActive=h),this._pickedGeometry.equals(a)||(this._pickedGeometry=a);var _=this.getPickedTargets();for(se.length=0,re.length=0,ce.length=0,s=0,r=_.length;s<r;++s){var w=_[s].intersections;for(u=0,m=w.length;u<m;++u)s=(y=w[u]).texCoord,oe.set(s.x,s.y,s.z),se.push(oe),re.push(y.normal),ce.push(y.point)}this._pickedTextureCoordinate.equals(se)||(this._pickedTextureCoordinate=se),this._pickedNormal.equals(re)||(this._pickedNormal=re),this._pickedPoint.equals(ce)||(this._pickedPoint=ce)}}L.prototype.process.call(this)})});const pe=he;y().set("x_ite/Components/Picking/LinePickSensor",pe);const le=pe,de=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Grouping/X3DGroupingNode");var ge=e.n(de);function ue(e){this.addType(u().X3DPickableObject),this.objectType=new Set}ue.prototype={constructor:ue,initialize:function(){this._objectType.addInterest("set_objectType__",this),this.set_objectType__()},getObjectType:function(){return this.objectType},set_objectType__:function(){this.objectType.clear();for(var e=0,t=this._objectType.length;e<t;++e)this.objectType.add(this._objectType[e])},dispose:function(){}};const me=ue;y().set("x_ite/Components/Picking/X3DPickableObject",me);const ye=me;function _e(e){ge().call(this,e),ye.call(this,e),this.addType(u().PickableGroup)}_e.prototype=Object.assign(Object.create(ge().prototype),ye.prototype,{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"pickable",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"PickableGroup"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},initialize:function(){ge().prototype.initialize.call(this),ye.prototype.initialize.call(this),this._pickable.addInterest("set_pickable__",this),this.set_pickable__()},set_pickableObjects__:function(){this.set_pickable__()},set_pickable__:function(){this.setPickableObject(!(!this._pickable.getValue()&&!this.getTransformSensors().size))},traverse:function(){const e=new Set;return function(t,i){if(t===d().PICKING){if(this._pickable.getValue()){if(this.getObjectType().has("NONE"))return;const n=this.getBrowser(),o=n.getPickable();if(this.getObjectType().has("ALL"))o.push(!0),ge().prototype.traverse.call(this,t,i),o.pop();else{const s=n.getPickSensors();for(const t of s.at(-1)){if(!t.getObjectType().has("ALL")){let e=0;for(const i of this.getObjectType())if(t.getObjectType().has(i)){++e;break}switch(t.getMatchCriterion()){case f.MATCH_ANY:if(0===e)continue;break;case f.MATCH_EVERY:if(e!==pickSensor.getObjectType().size)continue;break;case f.MATCH_ONLY_ONE:if(1!==e)continue}}e.add(t)}o.push(!0),s.push(e),ge().prototype.traverse.call(this,t,i),s.pop(),o.pop(),e.clear()}}}else ge().prototype.traverse.call(this,t,i)}}(),dispose:function(){ye.prototype.dispose.call(this),ge().prototype.dispose.call(this)}});const we=_e;y().set("x_ite/Components/Picking/PickableGroup",we);const fe=we,ke=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DCast");var Se=e.n(ke);const Te=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Rotation4");var be=e.n(Te);const Oe=window[Symbol.for("X_ITE.X3D-8.6.12")].require("lib/ammojs/AmmoClass");var ve=e.n(Oe);function Ne(){this.broadphase=new(ve().btDbvtBroadphase),this.collisionConfiguration=new(ve().btDefaultCollisionConfiguration),this.dispatcher=new(ve().btCollisionDispatcher)(this.collisionConfiguration),this.collisionWorld=new(ve().btCollisionWorld)(this.dispatcher,this.broadphase,this.collisionConfiguration),this.compoundShape1=new(ve().btCompoundShape),this.motionState1=new(ve().btDefaultMotionState),this.constructionInfo1=new(ve().btRigidBodyConstructionInfo)(0,this.motionState1,this.compoundShape1),this.rigidBody1=new(ve().btRigidBody)(this.constructionInfo1),this.compoundShape2=new(ve().btCompoundShape),this.motionState2=new(ve().btDefaultMotionState),this.constructionInfo2=new(ve().btRigidBodyConstructionInfo)(0,this.motionState2,this.compoundShape2),this.rigidBody2=new(ve().btRigidBody)(this.constructionInfo2),this.collisionWorld.addCollisionObject(this.rigidBody1),this.collisionWorld.addCollisionObject(this.rigidBody2)}Ne.prototype={constuctor:Ne,setChildShape1:function(e,t){this.setChildShape(this.compoundShape1,e,t)},setChildShape2:function(e,t){this.setChildShape(this.compoundShape2,e,t)},setChildShape1Components:function(e,t,i){this.setChildShapeComponents(this.compoundShape1,e,t,i)},setChildShape2Components:function(e,t,i){this.setChildShapeComponents(this.compoundShape2,e,t,i)},setChildShape:function(){const e=new(z())(0,0,0),t=new(be())(0,0,1,0),i=new(z())(1,1,1),n=new(ve().btVector3)(0,0,0);return function(o,s,r){o.getNumChildShapes()&&o.removeChildShapeByIndex(0),r.getNumChildShapes()&&(s.get(e,t,i),n.setValue(i.x,i.y,i.z),r.setLocalScaling(n),o.addChildShape(this.getTransform(e,t),r))}}(),setChildShapeComponents:function(e,t,i,n){e.getNumChildShapes()&&e.removeChildShapeByIndex(0),n.getNumChildShapes()&&(n.setLocalScaling(i),e.addChildShape(t,n))},contactTest:function(){this.collisionWorld.performDiscreteCollisionDetection();const e=this.dispatcher.getNumManifolds();for(let t=0;t<e;++t){const e=this.dispatcher.getManifoldByIndexInternal(t),i=e.getNumContacts();for(let t=0;t<i;++t){if(e.getContactPoint(t).getDistance()<=0)return!0}}return!1},getTransform:function(){const e=new(ve().btTransform),t=new(ve().btVector3)(0,0,0),i=new(C());return function(n,o,s){const r=s||e;return i.set(n,o),t.setValue(i[12],i[13],i[14]),r.getBasis().setValue(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),r.setOrigin(t),r}}()};const Ce=Ne;y().set("x_ite/Browser/Picking/VolumePicker",Ce);const Ge=Ce;function Pe(e){L.call(this,e),this.addType(u().PointPickSensor),this.pickingGeometryNode=null,this.picker=new Ge,this.compoundShapes=[]}var Me,xe,Be;Pe.prototype=Object.assign(Object.create(L.prototype),{constructor:Pe,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"pickedPoint",new(o().MFVec3f)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"PointPickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode&&this.pickingGeometryNode._rebuild.removeInterest("set_geometry__",this),this.pickingGeometryNode=Se()(u().PointSet,this._pickingGeometry),this.pickingGeometryNode&&this.pickingGeometryNode._rebuild.addInterest("set_geometry__",this),this.set_geometry__()},set_geometry__:(Me=new(ve().btVector3)(1,1,1),xe=new(ve().btVector3),Be=new(ve().btTransform),function(){var e=this.compoundShapes;if(this.pickingGeometryNode){var t=this.pickingGeometryNode.getCoord();if(t){for(var i=0,n=t.getSize();i<n;++i)if(i<e.length){var o=e[i],s=t.get1Point(i,o.point);xe.setValue(s.x,s.y,s.z),Be.setOrigin(xe),o.setLocalScaling(Me),o.updateChildTransform(0,Be)}else{o=new(ve().btCompoundShape);var r=new(ve().btSphereShape)(0);s=t.get1Point(i,new(z())(0,0,0)),o.point=s,xe.setValue(s.x,s.y,s.z),Be.setOrigin(xe),o.addChildShape(Be,r),e.push(o)}e.length=n}else e.length=0}else e.length=0}),process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0),s=new(ve().btTransform),r=new(ve().btVector3),c=new(z())(0,0,0),a=new(be())(0,0,1,0),h=new(z())(1,1,1),p=new(o().MFVec3f);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),l=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var d=0,g=o.length;d<g;++d){var u=o[d];e.assign(this.pickingGeometryNode.getBBox()).multRight(u);for(var m=0,y=l.size;m<y;++m){var _=l[m];t.assign(_.geometryNode.getBBox()).multRight(_.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),_.intersected=!0,_.distance=i.distance(n))}}var w=this.getPickedGeometries(),f=Boolean(w.length);w.remove(0,w.length,null),f!==this._isActive.getValue()&&(this._isActive=f),this._pickedGeometry.equals(w)||(this._pickedGeometry=w);break;case T.GEOMETRY:var k=this.picker,S=this.compoundShapes;for(d=0,g=o.length;d<g;++d){u=o[d];e.assign(this.pickingGeometryNode.getBBox()).multRight(u),u.get(c,a,h),k.getTransform(c,a,s),r.setValue(h.x,h.y,h.z);for(var b=0,O=S.length;b<O;++b){var v=S[b];k.setChildShape1Components(s,r,v);for(m=0,y=l.size;m<y;++m){_=l[m];var N=this.getPickShape(_.geometryNode);t.assign(_.geometryNode.getBBox()).multRight(_.modelMatrix),k.setChildShape2(_.modelMatrix,N.getCompoundShape()),k.contactTest()&&(i.assign(e.center),n.assign(t.center),_.intersected=!0,_.distance=i.distance(n),_.pickedPoint.push(v.point))}}}w=this.getPickedGeometries(),f=Boolean(w.length);w.remove(0,w.length,null),f!==this._isActive.getValue()&&(this._isActive=f),this._pickedGeometry.equals(w)||(this._pickedGeometry=w);var C=this.getPickedTargets();p.length=0;for(m=0,y=C.length;m<y;++m)for(var G=C[m].pickedPoint,P=0,M=G.length;P<M;++P)p.push(G[P]);this._pickedPoint.equals(p)||(this._pickedPoint=p)}}L.prototype.process.call(this)}}()});const Ee=Pe;y().set("x_ite/Components/Picking/PointPickSensor",Ee);const De=Ee;function Ae(e){L.call(this,e),this.addType(u().PrimitivePickSensor),this.pickingGeometryNode=null,this.picker=new Ge}Ae.prototype=Object.assign(Object.create(L.prototype),{constructor:Ae,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"PrimitivePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=null;try{for(var e=this._pickingGeometry.getValue().getInnerNode(),t=e.getType(),i=t.length-1;i>=0;--i)switch(t[i]){case u().Box:case u().Cone:case u().Cylinder:case u().Sphere:this.pickingGeometryNode=e;break;default:continue}}catch(e){}},process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),s=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var r=0,c=o.length;r<c;++r){var a=o[r];e.assign(this.pickingGeometryNode.getBBox()).multRight(a);for(var h=0,p=s.size;h<p;++h){var l=s[h];t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}var d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d);break;case T.GEOMETRY:var u=this.picker;for(r=0,c=o.length;r<c;++r){a=o[r];var m=this.getPickShape(this.pickingGeometryNode);e.assign(this.pickingGeometryNode.getBBox()).multRight(a),u.setChildShape1(a,m.getCompoundShape());for(h=0,p=s.size;h<p;++h){l=s[h];var y=this.getPickShape(l.geometryNode);t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),u.setChildShape2(l.modelMatrix,y.getCompoundShape()),u.contactTest()&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d)}}L.prototype.process.call(this)}}()});const Fe=Ae;y().set("x_ite/Components/Picking/PrimitivePickSensor",Fe);const Ie=Fe;function je(e){L.call(this,e),this.addType(u().VolumePickSensor),this.pickingGeometryNode=null,this.picker=new Ge}je.prototype=Object.assign(Object.create(L.prototype),{constructor:je,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"VolumePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=Se()(u().X3DGeometryNode,this._pickingGeometry)},process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),s=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var r=0,c=o.length;r<c;++r){var a=o[r];e.assign(this.pickingGeometryNode.getBBox()).multRight(a);for(var h=0,p=s.size;h<p;++h){var l=s[h];t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}var d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d);break;case T.GEOMETRY:var u=this.picker;for(r=0,c=o.length;r<c;++r){a=o[r];var m=this.getPickShape(this.pickingGeometryNode);e.assign(this.pickingGeometryNode.getBBox()).multRight(a),u.setChildShape1(a,m.getCompoundShape());for(h=0,p=s.size;h<p;++h){l=s[h];var y=this.getPickShape(l.geometryNode);t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),u.setChildShape2(l.modelMatrix,y.getCompoundShape()),u.contactTest()&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d)}}L.prototype.process.call(this)}}()});const Xe=je;y().set("x_ite/Components/Picking/VolumePickSensor",Xe);const Le=Xe;i().addComponent({name:"Picking",types:{LinePickSensor:le,PickableGroup:fe,PointPickSensor:De,PrimitivePickSensor:Ie,VolumePickSensor:Le},abstractTypes:{X3DPickSensorNode:L,X3DPickableObject:ye}});const Ve=void 0;y().set("assets/components/Picking",Ve)})();
1
+ /* X_ITE v8.6.14 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Fields");var o=e.n(n);const s=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DFieldDefinition");var r=e.n(s);const c=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(c);const h=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Core/X3DSensorNode");var p=e.n(h);const l=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Rendering/TraverseType");var d=e.n(l);const g=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DConstants");var u=e.n(g);const m=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Namespace");var y=e.n(m);let _=0;const f={MATCH_ANY:_++,MATCH_EVERY:_++,MATCH_ONLY_ONE:_++};y().set("x_ite/Browser/Picking/MatchCriterion",f);const w=f;let k=0;const S={BOUNDS:k++,GEOMETRY:k++};y().set("x_ite/Browser/Picking/IntersectionType",S);const T=S;let b=0;const O={ANY:b++,CLOSEST:b++,ALL:b++,ALL_SORTED:b++};y().set("x_ite/Browser/Picking/SortOrder",O);const v=O,N=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Matrix4");var C=e.n(N);function G(e,t){this.array=e,t&&(this.compare=t)}G.prototype={compare:function(e,t){return e<t},sort:function(e,t){t-e>1&&this.quicksort(e,t-1)},quicksort:function(e,t){let i=e,n=t;const o=this.array,s=this.compare,r=o[e+t>>>1];for(;;){for(;s(o[i],r);)++i;for(;s(r,o[n]);)--n;if(!(i<n)){i===n&&(++i,--n);break}{const e=o[i];o[i]=o[n],o[n]=e,i++,n--}}e<n&&this.quicksort(e,n),i<t&&this.quicksort(i,t)}};const P=G;y().set("standard/Math/Algorithms/QuickSort",P);const M=P,x=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Utility/ObjectCache");var B,E,D,A,I=e.n(x)()(C());function F(e,t){return e.distance<t.distance}function j(e){p().call(this,e),this.addType(u().X3DPickSensorNode),this.objectType=new Set,this.intersectionType=T.BOUNDS,this.sortOrder=v.CLOSEST,this.pickTargetNodes=new Set,this.modelMatrices=[],this.targets=[],this.targets.size=0,this.pickedTargets=[],this.pickedTargetsSorter=new M(this.pickedTargets,F),this.pickedGeometries=new(o().MFNode)}j.prototype=Object.assign(Object.create(p().prototype),{constructor:j,initialize:function(){this.getLive().addInterest("set_live__",this),this._enabled.addInterest("set_live__",this),this._objectType.addInterest("set_objectType__",this),this._matchCriterion.addInterest("set_matchCriterion__",this),this._intersectionType.addInterest("set_intersectionType__",this),this._sortOrder.addInterest("set_sortOrder__",this),this._pickTarget.addInterest("set_pickTarget__",this),this.set_objectType__(),this.set_matchCriterion__(),this.set_intersectionType__(),this.set_sortOrder__(),this.set_pickTarget__()},getObjectType:function(){return this.objectType},getMatchCriterion:function(){return this.matchCriterion},getIntersectionType:function(){return this.intersectionType},getSortOrder:function(){return this.sortOrder},getModelMatrices:function(){return this.modelMatrices},getTargets:function(){return this.targets},getPickShape:(A=new WeakMap,function(e){var t=A.get(e);if(void 0!==t)return t;var i=this.getExecutionContext().createNode("Shape",{setup:!1,warn:!1}),n=this.getExecutionContext().createNode("CollidableShape",{setup:!1,warn:!1});return i.setPrivate(!0),n.setPrivate(!0),n.setConvex(!0),i._geometry=e,n._shape=i,i.setup(),n.setup(),A.set(e,n),n}),getPickedGeometries:function(){var e=this.targets,t=e.size,i=this.pickedTargets,n=this.pickedGeometries;i.length=0;for(var o=0;o<t;++o){var s=e[o];s.intersected&&i.push(s)}if(0===i.length)return n.length=0,n;switch(this.sortOrder){case v.ANY:i.length=1,n[0]=this.getPickedGeometry(i[0]),n.length=1;break;case v.CLOSEST:this.pickedTargetsSorter.sort(0,i.length),i.length=1,n[0]=this.getPickedGeometry(i[0]),n.length=1;break;case v.ALL:o=0;for(var r=i.length;o<r;++o)n[o]=this.getPickedGeometry(i[o]);n.length=r;break;case v.ALL_SORTED:for(this.pickedTargetsSorter.sort(0,i.length),o=0,r=i.length;o<r;++o)n[o]=this.getPickedGeometry(i[o]);n.length=r}return n},getPickedGeometry:function(e){var t=this.getExecutionContext(),i=e.geometryNode;if(i.getExecutionContext()===t)return i;if(-1!==(s=i.getExecutionContext()).getType().indexOf(u().X3DPrototypeInstance)&&s.getExecutionContext()===t)return s;for(var n=e.pickingHierarchy,o=n.length-1;o>=0;--o){var s,r=n[o];if(r.getExecutionContext()===t)return r;if(-1!==(s=r.getExecutionContext()).getType().indexOf(u().X3DPrototypeInstance)&&s.getExecutionContext()===t)return s}return null},getPickedTargets:function(){return this.pickedTargets},set_live__:function(){this.getLive().getValue()&&this._enabled.getValue()&&!this.objectType.has("NONE")?(this.getBrowser().addPickSensor(this),this.setPickableObject(!0)):(this.getBrowser().removePickSensor(this),this.setPickableObject(!1))},set_objectType__:function(){this.objectType.clear();for(var e=0,t=this._objectType.length;e<t;++e)this.objectType.add(this._objectType[e]);this.set_live__()},set_matchCriterion__:(D=new Map([["MATCH_ANY",w.MATCH_ANY],["MATCH_EVERY",w.MATCH_EVERY],["MATCH_ONLY_ONE",w.MATCH_ONLY_ONE]]),function(){this.matchCriterion=D.get(this._matchCriterion.getValue()),void 0===this.matchCriterion&&(this.matchCriterion=MatchCriterionType.MATCH_ANY)}),set_intersectionType__:(E=new Map([["BOUNDS",T.BOUNDS],["GEOMETRY",T.GEOMETRY]]),function(){this.intersectionType=E.get(this._intersectionType.getValue()),void 0===this.intersectionType&&(this.intersectionType=T.BOUNDS)}),set_sortOrder__:(B=new Map([["ANY",v.ANY],["CLOSEST",v.CLOSEST],["ALL",v.ALL],["ALL_SORTED",v.ALL_SORTED]]),function(){this.sortOrder=B.get(this._sortOrder.getValue()),void 0===this.sortOrder&&(this.sortOrder=v.CLOSEST)}),set_pickTarget__:function(){this.pickTargetNodes.clear();for(var e=0,t=this._pickTarget.length;e<t;++e)try{for(var i=this._pickTarget[e].getValue().getInnerNode(),n=i.getType(),o=n.length-1;o>=0;--o)switch(n[o]){case u().Inline:case u().Shape:case u().X3DGroupingNode:this.pickTargetNodes.add(i);break;default:continue}}catch(e){}},traverse:function(e,t){e===d().PICKING&&this.isPickableObject()&&this.modelMatrices.push(I.pop().assign(t.getModelViewMatrix().get()))},collect:function(e,t,i){var n=this.pickTargetNodes;if(i.some((function(e){return n.has(e)}))){var o=this.targets;if(o.size<o.length)var s=o[o.size];else{s={modelMatrix:new(C()),pickingHierarchy:[],pickedPoint:[],intersections:[]};o.push(s)}++o.size,s.intersected=!1,s.geometryNode=e,s.pickedPoint.length=0,s.intersections.length=0,s.modelMatrix.assign(t);for(var r=s.pickingHierarchy,c=0,a=i.length;c<a;++c)r[c]=i[c];r.length=a}},process:function(){for(var e=this.modelMatrices,t=0,i=e.length;t<i;++t)I.push(e[t]);this.modelMatrices.length=0,this.targets.size=0}});const X=j;y().set("x_ite/Components/Picking/X3DPickSensorNode",X);const L=X,V=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Vector3");var z=e.n(V);const R=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Geometry/Box3");var q=e.n(R);const Y=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Geometry/Line3");var H,U,W,K,Q,Z,J,$,ee,te,ie,ne,oe,se,re,ce,ae=e.n(Y);function he(e){L.call(this,e),this.addType(u().LinePickSensor),this.pickingGeometryNode=null}he.prototype=Object.assign(Object.create(L.prototype),{constructor:he,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"pickedTextureCoordinate",new(o().MFVec3f)),new(r())(u().outputOnly,"pickedNormal",new(o().MFVec3f)),new(r())(u().outputOnly,"pickedPoint",new(o().MFVec3f)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"LinePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=null;try{for(var e=this._pickingGeometry.getValue().getInnerNode(),t=e.getType(),i=t.length-1;i>=0;--i)switch(t[i]){case u().IndexedLineSet:case u().LineSet:this.pickingGeometryNode=e;break;default:continue}}catch(e){}},process:(H=new(q()),U=new(q()),W=new(z())(0,0,0),K=new(z())(0,0,0),Q=new(C()),Z=new(z())(0,0,0),J=new(z())(0,0,0),$=new(ae())(z().Zero,z().zAxis),ee=new(z())(0,0,0),te=new(z())(0,0,0),ie=[],ne=[],oe=new(z())(0,0,0),se=new(o().MFVec3f),re=new(o().MFVec3f),ce=new(o().MFVec3f),function(){if(this.pickingGeometryNode){var e=this.getModelMatrices(),t=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var i=0,n=e.length;i<n;++i){var o=e[i];H.assign(this.pickingGeometryNode.getBBox()).multRight(o);for(var s=0,r=t.size;s<r;++s){var c=t[s];U.assign(c.geometryNode.getBBox()).multRight(c.modelMatrix),H.intersectsBox(U)&&(W.assign(H.center),K.assign(U.center),c.intersected=!0,c.distance=W.distance(K))}}var a=this.getPickedGeometries(),h=Boolean(a.length);a.remove(0,a.length,null),h!==this._isActive.getValue()&&(this._isActive=h),this._pickedGeometry.equals(a)||(this._pickedGeometry=a);break;case T.GEOMETRY:for(i=0,n=e.length;i<n;++i)for(o=e[i],H.assign(this.pickingGeometryNode.getBBox()).multRight(o),s=0,r=t.size;s<r;++s){var p=(c=t[s]).geometryNode,l=this.pickingGeometryNode.getVertices();U.assign(p.getBBox()).multRight(c.modelMatrix),Q.assign(c.modelMatrix).inverse().multLeft(o);for(var d=0,g=l.length;d<g;d+=8)if(Q.multVecMatrix(Z.set(l[d+0],l[d+1],l[d+2])),Q.multVecMatrix(J.set(l[d+4],l[d+5],l[d+6])),$.setPoints(Z,J),ne.length=0,p.intersectsLine($,c.modelMatrix,ie,ne))for(var u=0,m=ne.length;u<m;++u){var y=ne[u];ee.assign(y.point).subtract(Z),te.assign(y.point).subtract(J),ee.add(te).magnitude()<=Z.distance(J)&&c.intersections.push(y)}c.intersections.length&&(W.assign(H.center),K.assign(U.center),c.intersected=!0,c.distance=W.distance(K))}a=this.getPickedGeometries(),h=Boolean(a.length),a.remove(0,a.length,null),h!==this._isActive.getValue()&&(this._isActive=h),this._pickedGeometry.equals(a)||(this._pickedGeometry=a);var _=this.getPickedTargets();for(se.length=0,re.length=0,ce.length=0,s=0,r=_.length;s<r;++s){var f=_[s].intersections;for(u=0,m=f.length;u<m;++u)s=(y=f[u]).texCoord,oe.set(s.x,s.y,s.z),se.push(oe),re.push(y.normal),ce.push(y.point)}this._pickedTextureCoordinate.equals(se)||(this._pickedTextureCoordinate=se),this._pickedNormal.equals(re)||(this._pickedNormal=re),this._pickedPoint.equals(ce)||(this._pickedPoint=ce)}}L.prototype.process.call(this)})});const pe=he;y().set("x_ite/Components/Picking/LinePickSensor",pe);const le=pe,de=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Components/Grouping/X3DGroupingNode");var ge=e.n(de);function ue(e){this.addType(u().X3DPickableObject),this.objectType=new Set}ue.prototype={constructor:ue,initialize:function(){this._objectType.addInterest("set_objectType__",this),this.set_objectType__()},getObjectType:function(){return this.objectType},set_objectType__:function(){this.objectType.clear();for(var e=0,t=this._objectType.length;e<t;++e)this.objectType.add(this._objectType[e])},dispose:function(){}};const me=ue;y().set("x_ite/Components/Picking/X3DPickableObject",me);const ye=me;function _e(e){ge().call(this,e),ye.call(this,e),this.addType(u().PickableGroup)}_e.prototype=Object.assign(Object.create(ge().prototype),ye.prototype,{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"pickable",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"PickableGroup"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){ge().prototype.initialize.call(this),ye.prototype.initialize.call(this),this._pickable.addInterest("set_pickable__",this),this.set_pickable__()},set_pickableObjects__:function(){this.set_pickable__()},set_pickable__:function(){this.setPickableObject(!(!this._pickable.getValue()&&!this.getTransformSensors().size))},traverse:function(){const e=new Set;return function(t,i){if(t===d().PICKING){if(this._pickable.getValue()){if(this.getObjectType().has("NONE"))return;const n=this.getBrowser(),o=n.getPickable();if(this.getObjectType().has("ALL"))o.push(!0),ge().prototype.traverse.call(this,t,i),o.pop();else{const s=n.getPickSensors();for(const t of s.at(-1)){if(!t.getObjectType().has("ALL")){let e=0;for(const i of this.getObjectType())if(t.getObjectType().has(i)){++e;break}switch(t.getMatchCriterion()){case w.MATCH_ANY:if(0===e)continue;break;case w.MATCH_EVERY:if(e!==pickSensor.getObjectType().size)continue;break;case w.MATCH_ONLY_ONE:if(1!==e)continue}}e.add(t)}o.push(!0),s.push(e),ge().prototype.traverse.call(this,t,i),s.pop(),o.pop(),e.clear()}}}else ge().prototype.traverse.call(this,t,i)}}(),dispose:function(){ye.prototype.dispose.call(this),ge().prototype.dispose.call(this)}});const fe=_e;y().set("x_ite/Components/Picking/PickableGroup",fe);const we=fe,ke=window[Symbol.for("X_ITE.X3D-8.6.14")].require("x_ite/Base/X3DCast");var Se=e.n(ke);const Te=window[Symbol.for("X_ITE.X3D-8.6.14")].require("standard/Math/Numbers/Rotation4");var be=e.n(Te);const Oe=window[Symbol.for("X_ITE.X3D-8.6.14")].require("lib/ammojs/AmmoClass");var ve=e.n(Oe);function Ne(){this.broadphase=new(ve().btDbvtBroadphase),this.collisionConfiguration=new(ve().btDefaultCollisionConfiguration),this.dispatcher=new(ve().btCollisionDispatcher)(this.collisionConfiguration),this.collisionWorld=new(ve().btCollisionWorld)(this.dispatcher,this.broadphase,this.collisionConfiguration),this.compoundShape1=new(ve().btCompoundShape),this.motionState1=new(ve().btDefaultMotionState),this.constructionInfo1=new(ve().btRigidBodyConstructionInfo)(0,this.motionState1,this.compoundShape1),this.rigidBody1=new(ve().btRigidBody)(this.constructionInfo1),this.compoundShape2=new(ve().btCompoundShape),this.motionState2=new(ve().btDefaultMotionState),this.constructionInfo2=new(ve().btRigidBodyConstructionInfo)(0,this.motionState2,this.compoundShape2),this.rigidBody2=new(ve().btRigidBody)(this.constructionInfo2),this.collisionWorld.addCollisionObject(this.rigidBody1),this.collisionWorld.addCollisionObject(this.rigidBody2)}Ne.prototype={constuctor:Ne,setChildShape1:function(e,t){this.setChildShape(this.compoundShape1,e,t)},setChildShape2:function(e,t){this.setChildShape(this.compoundShape2,e,t)},setChildShape1Components:function(e,t,i){this.setChildShapeComponents(this.compoundShape1,e,t,i)},setChildShape2Components:function(e,t,i){this.setChildShapeComponents(this.compoundShape2,e,t,i)},setChildShape:function(){const e=new(z())(0,0,0),t=new(be())(0,0,1,0),i=new(z())(1,1,1),n=new(ve().btVector3)(0,0,0);return function(o,s,r){o.getNumChildShapes()&&o.removeChildShapeByIndex(0),r.getNumChildShapes()&&(s.get(e,t,i),n.setValue(i.x,i.y,i.z),r.setLocalScaling(n),o.addChildShape(this.getTransform(e,t),r))}}(),setChildShapeComponents:function(e,t,i,n){e.getNumChildShapes()&&e.removeChildShapeByIndex(0),n.getNumChildShapes()&&(n.setLocalScaling(i),e.addChildShape(t,n))},contactTest:function(){this.collisionWorld.performDiscreteCollisionDetection();const e=this.dispatcher.getNumManifolds();for(let t=0;t<e;++t){const e=this.dispatcher.getManifoldByIndexInternal(t),i=e.getNumContacts();for(let t=0;t<i;++t){if(e.getContactPoint(t).getDistance()<=0)return!0}}return!1},getTransform:function(){const e=new(ve().btTransform),t=new(ve().btVector3)(0,0,0),i=new(C());return function(n,o,s){const r=s||e;return i.set(n,o),t.setValue(i[12],i[13],i[14]),r.getBasis().setValue(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),r.setOrigin(t),r}}()};const Ce=Ne;y().set("x_ite/Browser/Picking/VolumePicker",Ce);const Ge=Ce;function Pe(e){L.call(this,e),this.addType(u().PointPickSensor),this.pickingGeometryNode=null,this.picker=new Ge,this.compoundShapes=[]}var Me,xe,Be;Pe.prototype=Object.assign(Object.create(L.prototype),{constructor:Pe,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"pickedPoint",new(o().MFVec3f)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"PointPickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode&&this.pickingGeometryNode._rebuild.removeInterest("set_geometry__",this),this.pickingGeometryNode=Se()(u().PointSet,this._pickingGeometry),this.pickingGeometryNode&&this.pickingGeometryNode._rebuild.addInterest("set_geometry__",this),this.set_geometry__()},set_geometry__:(Me=new(ve().btVector3)(1,1,1),xe=new(ve().btVector3),Be=new(ve().btTransform),function(){var e=this.compoundShapes;if(this.pickingGeometryNode){var t=this.pickingGeometryNode.getCoord();if(t){for(var i=0,n=t.getSize();i<n;++i)if(i<e.length){var o=e[i],s=t.get1Point(i,o.point);xe.setValue(s.x,s.y,s.z),Be.setOrigin(xe),o.setLocalScaling(Me),o.updateChildTransform(0,Be)}else{o=new(ve().btCompoundShape);var r=new(ve().btSphereShape)(0);s=t.get1Point(i,new(z())(0,0,0)),o.point=s,xe.setValue(s.x,s.y,s.z),Be.setOrigin(xe),o.addChildShape(Be,r),e.push(o)}e.length=n}else e.length=0}else e.length=0}),process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0),s=new(ve().btTransform),r=new(ve().btVector3),c=new(z())(0,0,0),a=new(be())(0,0,1,0),h=new(z())(1,1,1),p=new(o().MFVec3f);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),l=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var d=0,g=o.length;d<g;++d){var u=o[d];e.assign(this.pickingGeometryNode.getBBox()).multRight(u);for(var m=0,y=l.size;m<y;++m){var _=l[m];t.assign(_.geometryNode.getBBox()).multRight(_.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),_.intersected=!0,_.distance=i.distance(n))}}var f=this.getPickedGeometries(),w=Boolean(f.length);f.remove(0,f.length,null),w!==this._isActive.getValue()&&(this._isActive=w),this._pickedGeometry.equals(f)||(this._pickedGeometry=f);break;case T.GEOMETRY:var k=this.picker,S=this.compoundShapes;for(d=0,g=o.length;d<g;++d){u=o[d];e.assign(this.pickingGeometryNode.getBBox()).multRight(u),u.get(c,a,h),k.getTransform(c,a,s),r.setValue(h.x,h.y,h.z);for(var b=0,O=S.length;b<O;++b){var v=S[b];k.setChildShape1Components(s,r,v);for(m=0,y=l.size;m<y;++m){_=l[m];var N=this.getPickShape(_.geometryNode);t.assign(_.geometryNode.getBBox()).multRight(_.modelMatrix),k.setChildShape2(_.modelMatrix,N.getCompoundShape()),k.contactTest()&&(i.assign(e.center),n.assign(t.center),_.intersected=!0,_.distance=i.distance(n),_.pickedPoint.push(v.point))}}}f=this.getPickedGeometries(),w=Boolean(f.length);f.remove(0,f.length,null),w!==this._isActive.getValue()&&(this._isActive=w),this._pickedGeometry.equals(f)||(this._pickedGeometry=f);var C=this.getPickedTargets();p.length=0;for(m=0,y=C.length;m<y;++m)for(var G=C[m].pickedPoint,P=0,M=G.length;P<M;++P)p.push(G[P]);this._pickedPoint.equals(p)||(this._pickedPoint=p)}}L.prototype.process.call(this)}}()});const Ee=Pe;y().set("x_ite/Components/Picking/PointPickSensor",Ee);const De=Ee;function Ae(e){L.call(this,e),this.addType(u().PrimitivePickSensor),this.pickingGeometryNode=null,this.picker=new Ge}Ae.prototype=Object.assign(Object.create(L.prototype),{constructor:Ae,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"PrimitivePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=null;try{for(var e=this._pickingGeometry.getValue().getInnerNode(),t=e.getType(),i=t.length-1;i>=0;--i)switch(t[i]){case u().Box:case u().Cone:case u().Cylinder:case u().Sphere:this.pickingGeometryNode=e;break;default:continue}}catch(e){}},process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),s=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var r=0,c=o.length;r<c;++r){var a=o[r];e.assign(this.pickingGeometryNode.getBBox()).multRight(a);for(var h=0,p=s.size;h<p;++h){var l=s[h];t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}var d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d);break;case T.GEOMETRY:var u=this.picker;for(r=0,c=o.length;r<c;++r){a=o[r];var m=this.getPickShape(this.pickingGeometryNode);e.assign(this.pickingGeometryNode.getBBox()).multRight(a),u.setChildShape1(a,m.getCompoundShape());for(h=0,p=s.size;h<p;++h){l=s[h];var y=this.getPickShape(l.geometryNode);t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),u.setChildShape2(l.modelMatrix,y.getCompoundShape()),u.contactTest()&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d)}}L.prototype.process.call(this)}}()});const Ie=Ae;y().set("x_ite/Components/Picking/PrimitivePickSensor",Ie);const Fe=Ie;function je(e){L.call(this,e),this.addType(u().VolumePickSensor),this.pickingGeometryNode=null,this.picker=new Ge}je.prototype=Object.assign(Object.create(L.prototype),{constructor:je,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"objectType",new(o().MFString)("ALL")),new(r())(u().inputOutput,"matchCriterion",new(o().SFString)("MATCH_ANY")),new(r())(u().initializeOnly,"intersectionType",new(o().SFString)("BOUNDS")),new(r())(u().initializeOnly,"sortOrder",new(o().SFString)("CLOSEST")),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().inputOutput,"pickingGeometry",new(o().SFNode)),new(r())(u().inputOutput,"pickTarget",new(o().MFNode)),new(r())(u().outputOnly,"pickedGeometry",new(o().MFNode))]),getTypeName:function(){return"VolumePickSensor"},getComponentName:function(){return"Picking"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){L.prototype.initialize.call(this),this._pickingGeometry.addInterest("set_pickingGeometry__",this),this.set_pickingGeometry__()},set_pickingGeometry__:function(){this.pickingGeometryNode=Se()(u().X3DGeometryNode,this._pickingGeometry)},process:function(){var e=new(q()),t=new(q()),i=new(z())(0,0,0),n=new(z())(0,0,0);return function(){if(this.pickingGeometryNode){var o=this.getModelMatrices(),s=this.getTargets();switch(this.getIntersectionType()){case T.BOUNDS:for(var r=0,c=o.length;r<c;++r){var a=o[r];e.assign(this.pickingGeometryNode.getBBox()).multRight(a);for(var h=0,p=s.size;h<p;++h){var l=s[h];t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),e.intersectsBox(t)&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}var d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d);break;case T.GEOMETRY:var u=this.picker;for(r=0,c=o.length;r<c;++r){a=o[r];var m=this.getPickShape(this.pickingGeometryNode);e.assign(this.pickingGeometryNode.getBBox()).multRight(a),u.setChildShape1(a,m.getCompoundShape());for(h=0,p=s.size;h<p;++h){l=s[h];var y=this.getPickShape(l.geometryNode);t.assign(l.geometryNode.getBBox()).multRight(l.modelMatrix),u.setChildShape2(l.modelMatrix,y.getCompoundShape()),u.contactTest()&&(i.assign(e.center),n.assign(t.center),l.intersected=!0,l.distance=i.distance(n))}}d=this.getPickedGeometries(),g=Boolean(d.length);d.remove(0,d.length,null),g!==this._isActive.getValue()&&(this._isActive=g),this._pickedGeometry.equals(d)||(this._pickedGeometry=d)}}L.prototype.process.call(this)}}()});const Xe=je;y().set("x_ite/Components/Picking/VolumePickSensor",Xe);const Le=Xe;i().addComponent({name:"Picking",types:{LinePickSensor:le,PickableGroup:we,PointPickSensor:De,PrimitivePickSensor:Fe,VolumePickSensor:Le},abstractTypes:{X3DPickSensorNode:L,X3DPickableObject:ye}});const Ve=void 0;y().set("assets/components/Picking",Ve)})();
@@ -1,11 +1,11 @@
1
- /* X_ITE v8.6.12 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.6.14 */(() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
4
  /***/ 355:
5
5
  /***/ ((module) => {
6
6
 
7
7
  "use strict";
8
- module.exports = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("lib/jquery");
8
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("lib/jquery");
9
9
 
10
10
  /***/ }),
11
11
 
@@ -88,31 +88,31 @@ var __webpack_exports__ = {};
88
88
  // UNUSED EXPORTS: default
89
89
 
90
90
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
91
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components");
91
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components");
92
92
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
93
93
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
94
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Fields");
94
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Fields");
95
95
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
96
96
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
97
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DFieldDefinition");
97
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DFieldDefinition");
98
98
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
99
99
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
100
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/FieldDefinitionArray");
100
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/FieldDefinitionArray");
101
101
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
102
102
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
103
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DNode");
103
+ const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Core/X3DNode");
104
104
  var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
105
105
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
106
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DConstants");
106
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DConstants");
107
107
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
108
108
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
109
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DCast");
109
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Base/X3DCast");
110
110
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
111
111
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
112
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Matrix4");
112
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Matrix4");
113
113
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
114
114
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
115
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Namespace");
115
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Namespace");
116
116
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
117
117
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js
118
118
  /*******************************************************************************
@@ -328,7 +328,7 @@ const __default__ = X3DRigidJointNode;
328
328
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/X3DRigidJointNode", __default__);
329
329
  /* harmony default export */ const RigidBodyPhysics_X3DRigidJointNode = (__default__);
330
330
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
331
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector3");
331
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Vector3");
332
332
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
333
333
  ;// CONCATENATED MODULE: ./src/lib/ammojs/ammo.js
334
334
  var ammo_dirname = "/";
@@ -521,6 +521,10 @@ BallJoint .prototype = Object .assign (Object .create (RigidBodyPhysics_X3DRigid
521
521
  {
522
522
  return "joints";
523
523
  },
524
+ getSpecificationRange: function ()
525
+ {
526
+ return ["3.2", "Infinity"];
527
+ },
524
528
  initialize: function ()
525
529
  {
526
530
  RigidBodyPhysics_X3DRigidJointNode.prototype.initialize.call (this);
@@ -629,10 +633,10 @@ const BallJoint_default_ = BallJoint;
629
633
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/BallJoint", BallJoint_default_);
630
634
  /* harmony default export */ const RigidBodyPhysics_BallJoint = (BallJoint_default_);
631
635
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
632
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DChildNode");
636
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Core/X3DChildNode");
633
637
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
634
638
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
635
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
639
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
636
640
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
637
641
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js
638
642
  /*******************************************************************************
@@ -794,7 +798,7 @@ const X3DNBodyCollidableNode_default_ = X3DNBodyCollidableNode;
794
798
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode", X3DNBodyCollidableNode_default_);
795
799
  /* harmony default export */ const RigidBodyPhysics_X3DNBodyCollidableNode = (X3DNBodyCollidableNode_default_);
796
800
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
797
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TraverseType");
801
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Rendering/TraverseType");
798
802
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
799
803
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js
800
804
  /*******************************************************************************
@@ -887,6 +891,10 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
887
891
  {
888
892
  return "children";
889
893
  },
894
+ getSpecificationRange: function ()
895
+ {
896
+ return ["3.2", "Infinity"];
897
+ },
890
898
  initialize: function ()
891
899
  {
892
900
  RigidBodyPhysics_X3DNBodyCollidableNode.prototype.initialize.call (this);
@@ -899,7 +907,7 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
899
907
  getBBox: function (bbox, shadows)
900
908
  {
901
909
  if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
902
- return this .visibleNode?.getBBox (bbox, shadows) .multRight (this .getMatrix ()) ?? bbox .set ();
910
+ return this .visibleNode ?.getBBox (bbox, shadows) .multRight (this .getMatrix ()) ?? bbox .set ();
903
911
 
904
912
  return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
905
913
  },
@@ -949,7 +957,7 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
949
957
  },
950
958
  set_cameraObject__: function ()
951
959
  {
952
- this .setCameraObject (!!this .visibleNode?.isCameraObject ());
960
+ this .setCameraObject (!!this .visibleNode ?.isCameraObject ());
953
961
  },
954
962
  set_visible__: function ()
955
963
  {
@@ -990,7 +998,7 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
990
998
  modelViewMatrix .push ();
991
999
  modelViewMatrix .multLeft (this .getMatrix ());
992
1000
 
993
- this .visibleNode?.traverse (type, renderObject);
1001
+ this .visibleNode ?.traverse (type, renderObject);
994
1002
 
995
1003
  modelViewMatrix .pop ();
996
1004
  return;
@@ -1006,7 +1014,7 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
1006
1014
  modelViewMatrix .push ();
1007
1015
  modelViewMatrix .multLeft (this .getMatrix ());
1008
1016
 
1009
- this .visibleNode?.traverse (type, renderObject);
1017
+ this .visibleNode ?.traverse (type, renderObject);
1010
1018
 
1011
1019
  modelViewMatrix .pop ();
1012
1020
  pickingHierarchy .pop ();
@@ -1019,7 +1027,7 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
1019
1027
  modelViewMatrix .push ();
1020
1028
  modelViewMatrix .multLeft (this .getMatrix ());
1021
1029
 
1022
- this .visibleNode?.traverse (type, renderObject);
1030
+ this .visibleNode ?.traverse (type, renderObject);
1023
1031
 
1024
1032
  modelViewMatrix .pop ();
1025
1033
  break;
@@ -1031,9 +1039,9 @@ CollidableOffset .prototype = Object .assign (Object .create (RigidBodyPhysics_X
1031
1039
  modelViewMatrix .push ();
1032
1040
  modelViewMatrix .multLeft (this .getMatrix ());
1033
1041
 
1034
- this .visibleNode?.traverse (type, renderObject);
1042
+ this .visibleNode ?.traverse (type, renderObject);
1035
1043
 
1036
- this .boundedObject?.displayBBox (type, renderObject);
1044
+ this .boundedObject ?.displayBBox (type, renderObject);
1037
1045
 
1038
1046
  modelViewMatrix .pop ();
1039
1047
  return;
@@ -1145,6 +1153,10 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1145
1153
  {
1146
1154
  return "children";
1147
1155
  },
1156
+ getSpecificationRange: function ()
1157
+ {
1158
+ return ["3.2", "Infinity"];
1159
+ },
1148
1160
  initialize: function ()
1149
1161
  {
1150
1162
  RigidBodyPhysics_X3DNBodyCollidableNode.prototype.initialize.call (this);
@@ -1157,7 +1169,7 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1157
1169
  getBBox: function (bbox, shadows)
1158
1170
  {
1159
1171
  if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
1160
- return this .visibleNode?.getBBox (bbox, shadows) .multRight (this .getMatrix ()) ?? bbox .set ();
1172
+ return this .visibleNode ?.getBBox (bbox, shadows) .multRight (this .getMatrix ()) ?? bbox .set ();
1161
1173
 
1162
1174
  return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
1163
1175
  },
@@ -1265,7 +1277,7 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1265
1277
  },
1266
1278
  set_cameraObject__: function ()
1267
1279
  {
1268
- this .setCameraObject (!!this .visibleNode?.isCameraObject ());
1280
+ this .setCameraObject (!!this .visibleNode ?.isCameraObject ());
1269
1281
  },
1270
1282
  set_visible__: function ()
1271
1283
  {
@@ -1471,7 +1483,7 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1471
1483
  modelViewMatrix .push ();
1472
1484
  modelViewMatrix .multLeft (this .getMatrix ());
1473
1485
 
1474
- this .visibleNode?.traverse (type, renderObject);
1486
+ this .visibleNode ?.traverse (type, renderObject);
1475
1487
 
1476
1488
  modelViewMatrix .pop ();
1477
1489
  return;
@@ -1487,7 +1499,7 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1487
1499
  modelViewMatrix .push ();
1488
1500
  modelViewMatrix .multLeft (this .getMatrix ());
1489
1501
 
1490
- this .visibleNode?.traverse (type, renderObject);
1502
+ this .visibleNode ?.traverse (type, renderObject);
1491
1503
 
1492
1504
  modelViewMatrix .pop ();
1493
1505
  pickingHierarchy .pop ();
@@ -1500,7 +1512,7 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1500
1512
  modelViewMatrix .push ();
1501
1513
  modelViewMatrix .multLeft (this .getMatrix ());
1502
1514
 
1503
- this .visibleNode?.traverse (type, renderObject);
1515
+ this .visibleNode ?.traverse (type, renderObject);
1504
1516
 
1505
1517
  modelViewMatrix .pop ();
1506
1518
  return;
@@ -1512,9 +1524,9 @@ CollidableShape .prototype = Object .assign (Object .create (RigidBodyPhysics_X3
1512
1524
  modelViewMatrix .push ();
1513
1525
  modelViewMatrix .multLeft (this .getMatrix ());
1514
1526
 
1515
- this .visibleNode?.traverse (type, renderObject);
1527
+ this .visibleNode ?.traverse (type, renderObject);
1516
1528
 
1517
- this .boundedObject?.displayBBox (type, renderObject);
1529
+ this .boundedObject ?.displayBBox (type, renderObject);
1518
1530
 
1519
1531
  modelViewMatrix .pop ();
1520
1532
  return;
@@ -1701,6 +1713,10 @@ CollisionCollection .prototype = Object .assign (Object .create ((X3DChildNode_d
1701
1713
  {
1702
1714
  return "collider";
1703
1715
  },
1716
+ getSpecificationRange: function ()
1717
+ {
1718
+ return ["3.2", "Infinity"];
1719
+ },
1704
1720
  initialize: function ()
1705
1721
  {
1706
1722
  X3DChildNode_default().prototype.initialize.call (this);
@@ -1807,7 +1823,7 @@ const CollisionCollection_default_ = CollisionCollection;
1807
1823
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/CollisionCollection", CollisionCollection_default_);
1808
1824
  /* harmony default export */ const RigidBodyPhysics_CollisionCollection = (CollisionCollection_default_);
1809
1825
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
1810
- const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DSensorNode");
1826
+ const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("x_ite/Components/Core/X3DSensorNode");
1811
1827
  var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
1812
1828
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js
1813
1829
  /*******************************************************************************
@@ -1898,11 +1914,15 @@ CollisionSensor .prototype = Object .assign (Object .create ((X3DSensorNode_defa
1898
1914
  {
1899
1915
  return "children";
1900
1916
  },
1917
+ getSpecificationRange: function ()
1918
+ {
1919
+ return ["3.2", "Infinity"];
1920
+ },
1901
1921
  initialize: function ()
1902
1922
  {
1903
1923
  X3DSensorNode_default().prototype.initialize.call (this);
1904
1924
 
1905
- this .isLive () .addInterest ("set_live__", this);
1925
+ this .getLive () .addInterest ("set_live__", this);
1906
1926
 
1907
1927
  this ._collider .addInterest ("set_collider__", this);
1908
1928
 
@@ -1910,7 +1930,7 @@ CollisionSensor .prototype = Object .assign (Object .create ((X3DSensorNode_defa
1910
1930
  },
1911
1931
  set_live__: function ()
1912
1932
  {
1913
- if (this .isLive () .getValue () && this ._enabled .getValue () && this .colliderNode)
1933
+ if (this .getLive () .getValue () && this ._enabled .getValue () && this .colliderNode)
1914
1934
  {
1915
1935
  this .getBrowser () .sensorEvents () .addInterest ("update", this);
1916
1936
  }
@@ -2072,7 +2092,7 @@ CollisionSensor .prototype = Object .assign (Object .create ((X3DSensorNode_defa
2072
2092
  if (contactNode)
2073
2093
  return contactNode;
2074
2094
 
2075
- contactNode = this .contactCache [index] = this .getExecutionContext () .createNode ("Contact", false);
2095
+ contactNode = this .contactCache [index] = this .getExecutionContext () .createNode ("Contact", { setup: false });
2076
2096
 
2077
2097
  contactNode .setup ();
2078
2098
 
@@ -2256,6 +2276,10 @@ CollisionSpace .prototype = Object .assign (Object .create (RigidBodyPhysics_X3D
2256
2276
  {
2257
2277
  return "children";
2258
2278
  },
2279
+ getSpecificationRange: function ()
2280
+ {
2281
+ return ["3.2", "Infinity"];
2282
+ },
2259
2283
  initialize: function ()
2260
2284
  {
2261
2285
  RigidBodyPhysics_X3DNBodyCollisionSpaceNode.prototype.initialize.call (this);
@@ -2439,6 +2463,10 @@ Contact .prototype = Object .assign (Object .create ((X3DNode_default()).prototy
2439
2463
  {
2440
2464
  return "children";
2441
2465
  },
2466
+ getSpecificationRange: function ()
2467
+ {
2468
+ return ["3.2", "Infinity"];
2469
+ },
2442
2470
  });
2443
2471
 
2444
2472
  const Contact_default_ = Contact;
@@ -2447,7 +2475,7 @@ const Contact_default_ = Contact;
2447
2475
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/Contact", Contact_default_);
2448
2476
  /* harmony default export */ const RigidBodyPhysics_Contact = (Contact_default_);
2449
2477
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
2450
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Rotation4");
2478
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Rotation4");
2451
2479
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
2452
2480
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js
2453
2481
  /* provided dependency */ var DoubleAxisHingeJoint_$ = __webpack_require__(355);
@@ -2573,6 +2601,10 @@ DoubleAxisHingeJoint .prototype = Object .assign (Object .create (RigidBodyPhysi
2573
2601
  {
2574
2602
  return "joints";
2575
2603
  },
2604
+ getSpecificationRange: function ()
2605
+ {
2606
+ return ["3.2", "Infinity"];
2607
+ },
2576
2608
  initialize: function ()
2577
2609
  {
2578
2610
  RigidBodyPhysics_X3DRigidJointNode.prototype.initialize.call (this);
@@ -2850,6 +2882,10 @@ MotorJoint .prototype = Object .assign (Object .create (RigidBodyPhysics_X3DRigi
2850
2882
  {
2851
2883
  return "joints";
2852
2884
  },
2885
+ getSpecificationRange: function ()
2886
+ {
2887
+ return ["3.2", "Infinity"];
2888
+ },
2853
2889
  });
2854
2890
 
2855
2891
  const MotorJoint_default_ = MotorJoint;
@@ -2858,7 +2894,7 @@ const MotorJoint_default_ = MotorJoint;
2858
2894
  Namespace_default().set ("x_ite/Components/RigidBodyPhysics/MotorJoint", MotorJoint_default_);
2859
2895
  /* harmony default export */ const RigidBodyPhysics_MotorJoint = (MotorJoint_default_);
2860
2896
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Quaternion\")"
2861
- const Quaternion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Quaternion");
2897
+ const Quaternion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.14")] .require ("standard/Math/Numbers/Quaternion");
2862
2898
  var Quaternion_default = /*#__PURE__*/__webpack_require__.n(Quaternion_namespaceObject);
2863
2899
  ;// CONCATENATED MODULE: ./src/x_ite/Components/RigidBodyPhysics/RigidBody.js
2864
2900
  /*******************************************************************************
@@ -2991,6 +3027,10 @@ RigidBody .prototype = Object .assign (Object .create ((X3DNode_default()).proto
2991
3027
  {
2992
3028
  return "bodies";
2993
3029
  },
3030
+ getSpecificationRange: function ()
3031
+ {
3032
+ return ["3.2", "Infinity"];
3033
+ },
2994
3034
  initialize: function ()
2995
3035
  {
2996
3036
  X3DNode_default().prototype.initialize.call (this);
@@ -3490,11 +3530,15 @@ RigidBodyCollection .prototype = Object .assign (Object .create ((X3DChildNode_d
3490
3530
  {
3491
3531
  return "children";
3492
3532
  },
3533
+ getSpecificationRange: function ()
3534
+ {
3535
+ return ["3.2", "Infinity"];
3536
+ },
3493
3537
  initialize: function ()
3494
3538
  {
3495
3539
  X3DChildNode_default().prototype.initialize.call (this);
3496
3540
 
3497
- this .isLive () .addInterest ("set_enabled__", this);
3541
+ this .getLive () .addInterest ("set_enabled__", this);
3498
3542
 
3499
3543
  this ._enabled .addInterest ("set_enabled__", this);
3500
3544
  this ._set_contacts .addInterest ("set_contacts__", this);
@@ -3525,7 +3569,7 @@ RigidBodyCollection .prototype = Object .assign (Object .create ((X3DChildNode_d
3525
3569
  },
3526
3570
  set_enabled__: function ()
3527
3571
  {
3528
- if (this .isLive () .getValue () && this ._enabled .getValue ())
3572
+ if (this .getLive () .getValue () && this ._enabled .getValue ())
3529
3573
  this .getBrowser () .sensorEvents () .addInterest ("update", this);
3530
3574
  else
3531
3575
  this .getBrowser () .sensorEvents () .removeInterest ("update", this);
@@ -3858,6 +3902,10 @@ SingleAxisHingeJoint .prototype = Object .assign (Object .create (RigidBodyPhysi
3858
3902
  {
3859
3903
  return "joints";
3860
3904
  },
3905
+ getSpecificationRange: function ()
3906
+ {
3907
+ return ["3.2", "Infinity"];
3908
+ },
3861
3909
  initialize: function ()
3862
3910
  {
3863
3911
  RigidBodyPhysics_X3DRigidJointNode.prototype.initialize.call (this);
@@ -4095,6 +4143,10 @@ SliderJoint .prototype = Object .assign (Object .create (RigidBodyPhysics_X3DRig
4095
4143
  {
4096
4144
  return "joints";
4097
4145
  },
4146
+ getSpecificationRange: function ()
4147
+ {
4148
+ return ["3.2", "Infinity"];
4149
+ },
4098
4150
  initialize: function ()
4099
4151
  {
4100
4152
  RigidBodyPhysics_X3DRigidJointNode.prototype.initialize.call (this);
@@ -4312,6 +4364,10 @@ UniversalJoint .prototype = Object .assign (Object .create (RigidBodyPhysics_X3D
4312
4364
  {
4313
4365
  return "joints";
4314
4366
  },
4367
+ getSpecificationRange: function ()
4368
+ {
4369
+ return ["3.2", "Infinity"];
4370
+ },
4315
4371
  });
4316
4372
 
4317
4373
  const UniversalJoint_default_ = UniversalJoint;