x_ite 8.4.3 → 8.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (568) hide show
  1. package/.vscode/settings.json +5 -1
  2. package/Makefile +0 -3
  3. package/build/bin/components.js +173 -0
  4. package/build/bin/tags.pl +28 -0
  5. package/build/bin/tests.pl +80 -2
  6. package/build/bin/version.pl +12 -7
  7. package/dist/assets/components/Annotation.js +13 -13
  8. package/dist/assets/components/Annotation.min.js +1 -1
  9. package/dist/assets/components/CADGeometry.js +13 -13
  10. package/dist/assets/components/CADGeometry.min.js +1 -1
  11. package/dist/assets/components/CubeMapTexturing.js +28 -29
  12. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  13. package/dist/assets/components/DIS.js +13 -13
  14. package/dist/assets/components/DIS.min.js +1 -1
  15. package/dist/assets/components/EventUtilities.js +9 -9
  16. package/dist/assets/components/EventUtilities.min.js +1 -1
  17. package/dist/assets/components/Geometry2D.js +19 -19
  18. package/dist/assets/components/Geometry2D.min.js +1 -1
  19. package/dist/assets/components/Geospatial.js +33 -33
  20. package/dist/assets/components/Geospatial.min.js +1 -1
  21. package/dist/assets/components/HAnim.js +63 -42
  22. package/dist/assets/components/HAnim.min.js +1 -1
  23. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  24. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  25. package/dist/assets/components/Layout.js +37 -29
  26. package/dist/assets/components/Layout.min.js +1 -1
  27. package/dist/assets/components/NURBS.js +29 -31
  28. package/dist/assets/components/NURBS.min.js +1 -1
  29. package/dist/assets/components/ParticleSystems.js +23 -23
  30. package/dist/assets/components/ParticleSystems.min.js +1 -1
  31. package/dist/assets/components/Picking.js +19 -19
  32. package/dist/assets/components/Picking.min.js +1 -1
  33. package/dist/assets/components/RigidBodyPhysics.js +24 -19
  34. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  35. package/dist/assets/components/Scripting.js +30 -30
  36. package/dist/assets/components/Scripting.min.js +1 -1
  37. package/dist/assets/components/Text.js +172 -594
  38. package/dist/assets/components/Text.min.js +1 -1
  39. package/dist/assets/components/TextureProjector.js +31 -47
  40. package/dist/assets/components/TextureProjector.min.js +1 -1
  41. package/dist/assets/components/Texturing3D.js +367 -346
  42. package/dist/assets/components/Texturing3D.min.js +1 -1
  43. package/dist/assets/components/VolumeRendering.js +19 -19
  44. package/dist/assets/components/VolumeRendering.min.js +1 -1
  45. package/dist/assets/components/X_ITE.js +9 -9
  46. package/dist/assets/components/X_ITE.min.js +1 -1
  47. package/dist/x_ite.css +1 -1
  48. package/dist/x_ite.js +12174 -3553
  49. package/dist/x_ite.min.js +1 -1
  50. package/dist/x_ite.zip +0 -0
  51. package/docs/_config.yml +5 -136
  52. package/docs/_data/nav/components-CADGeometry.yml +14 -0
  53. package/docs/_data/nav/components-Core.yml +16 -0
  54. package/docs/_data/nav/components-CubeMapTexturing.yml +8 -0
  55. package/docs/_data/nav/components-DIS.yml +14 -0
  56. package/docs/_data/nav/components-EnvironmentalEffects.yml +12 -0
  57. package/docs/_data/nav/components-EnvironmentalSensor.yml +8 -0
  58. package/docs/_data/nav/components-EventUtilities.yml +16 -0
  59. package/docs/_data/nav/components-Followers.yml +30 -0
  60. package/docs/_data/nav/components-Geometry2D.yml +18 -0
  61. package/docs/_data/nav/components-Geometry3D.yml +16 -0
  62. package/docs/_data/nav/components-Geospatial.yml +24 -0
  63. package/docs/_data/nav/components-Grouping.yml +10 -0
  64. package/docs/_data/nav/components-HAnim.yml +14 -0
  65. package/docs/_data/nav/components-Interpolation.yml +28 -0
  66. package/docs/_data/nav/components-KeyDeviceSensor.yml +6 -0
  67. package/docs/_data/nav/components-Layering.yml +8 -0
  68. package/docs/_data/nav/components-Layout.yml +12 -0
  69. package/docs/_data/nav/components-Lighting.yml +10 -0
  70. package/docs/_data/nav/components-NURBS.yml +30 -0
  71. package/docs/_data/nav/components-Navigation.yml +16 -0
  72. package/docs/_data/nav/components-Networking.yml +8 -0
  73. package/docs/_data/nav/components-ParticleSystems.yml +22 -0
  74. package/docs/_data/nav/components-Picking.yml +12 -0
  75. package/docs/_data/nav/components-PointingDeviceSensor.yml +10 -0
  76. package/docs/_data/nav/components-Rendering.yml +30 -0
  77. package/docs/_data/nav/components-RigidBodyPhysics.yml +30 -0
  78. package/docs/_data/nav/components-Scripting.yml +4 -0
  79. package/docs/_data/nav/components-Shaders.yml +18 -0
  80. package/docs/_data/nav/components-Shape.yml +22 -0
  81. package/docs/_data/nav/components-Sound.yml +44 -0
  82. package/docs/_data/nav/components-Text.yml +6 -0
  83. package/docs/_data/nav/components-TextureProjector.yml +6 -0
  84. package/docs/_data/nav/components-Texturing.yml +22 -0
  85. package/docs/_data/nav/components-Texturing3D.yml +18 -0
  86. package/docs/_data/nav/components-Time.yml +4 -0
  87. package/docs/_data/nav/components-VolumeRendering.yml +28 -0
  88. package/docs/_data/nav/components-X_ITE.yml +4 -0
  89. package/docs/_data/nav/main.yml +26 -0
  90. package/docs/_data/nav/reference.yml +18 -0
  91. package/docs/_data/nav/tutorials-animation-sensors-and-geometry.yml +18 -0
  92. package/docs/_data/nav/tutorials-basic.yml +6 -0
  93. package/docs/_data/nav/tutorials-optimize-your-scene.yml +6 -0
  94. package/docs/_data/nav/tutorials-scripts-and-prototypes.yml +12 -0
  95. package/docs/_data/nav/tutorials-shapes-geometry-and-appearance.yml +16 -0
  96. package/docs/_data/nav/tutorials-textures-lights-and-environment.yml +20 -0
  97. package/docs/_includes/nav.html +2 -2
  98. package/docs/_includes/scripts.html +2 -1
  99. package/docs/_posts/accessing-the-external-browser.md +1 -1
  100. package/docs/_posts/browser-support.md +1 -1
  101. package/docs/_posts/components/CADGeometry/CADAssembly.md +83 -0
  102. package/docs/_posts/components/CADGeometry/CADFace.md +70 -0
  103. package/docs/_posts/components/CADGeometry/CADLayer.md +84 -0
  104. package/docs/_posts/components/CADGeometry/CADPart.md +117 -0
  105. package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +125 -0
  106. package/docs/_posts/components/CADGeometry/QuadSet.md +113 -0
  107. package/docs/_posts/components/Core/MetadataBoolean.md +90 -0
  108. package/docs/_posts/components/Core/MetadataDouble.md +67 -0
  109. package/docs/_posts/components/Core/MetadataFloat.md +67 -0
  110. package/docs/_posts/components/Core/MetadataInteger.md +66 -0
  111. package/docs/_posts/components/Core/MetadataSet.md +63 -0
  112. package/docs/_posts/components/Core/MetadataString.md +66 -0
  113. package/docs/_posts/components/Core/WorldInfo.md +54 -0
  114. package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +76 -0
  115. package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +65 -0
  116. package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +66 -0
  117. package/docs/_posts/components/DIS/DISEntityManager.md +73 -0
  118. package/docs/_posts/components/DIS/DISEntityTypeMapping.md +88 -0
  119. package/docs/_posts/components/DIS/EspduTransform.md +416 -0
  120. package/docs/_posts/components/DIS/ReceiverPdu.md +168 -0
  121. package/docs/_posts/components/DIS/SignalPdu.md +168 -0
  122. package/docs/_posts/components/DIS/TransmitterPdu.md +232 -0
  123. package/docs/_posts/components/EnvironmentalEffects/Background.md +189 -0
  124. package/docs/_posts/components/EnvironmentalEffects/Fog.md +97 -0
  125. package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +40 -0
  126. package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +84 -0
  127. package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +142 -0
  128. package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +90 -0
  129. package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +91 -0
  130. package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +73 -0
  131. package/docs/_posts/components/EventUtilities/BooleanFilter.md +62 -0
  132. package/docs/_posts/components/EventUtilities/BooleanSequencer.md +86 -0
  133. package/docs/_posts/components/EventUtilities/BooleanToggle.md +46 -0
  134. package/docs/_posts/components/EventUtilities/BooleanTrigger.md +47 -0
  135. package/docs/_posts/components/EventUtilities/IntegerSequencer.md +90 -0
  136. package/docs/_posts/components/EventUtilities/IntegerTrigger.md +51 -0
  137. package/docs/_posts/components/EventUtilities/TimeTrigger.md +47 -0
  138. package/docs/_posts/components/Followers/ColorChaser.md +77 -0
  139. package/docs/_posts/components/Followers/ColorDamper.md +85 -0
  140. package/docs/_posts/components/Followers/CoordinateChaser.md +76 -0
  141. package/docs/_posts/components/Followers/CoordinateDamper.md +80 -0
  142. package/docs/_posts/components/Followers/OrientationChaser.md +72 -0
  143. package/docs/_posts/components/Followers/OrientationDamper.md +80 -0
  144. package/docs/_posts/components/Followers/PositionChaser.md +72 -0
  145. package/docs/_posts/components/Followers/PositionChaser2D.md +72 -0
  146. package/docs/_posts/components/Followers/PositionDamper.md +80 -0
  147. package/docs/_posts/components/Followers/PositionDamper2D.md +80 -0
  148. package/docs/_posts/components/Followers/ScalarChaser.md +76 -0
  149. package/docs/_posts/components/Followers/ScalarDamper.md +80 -0
  150. package/docs/_posts/components/Followers/TexCoordChaser2D.md +72 -0
  151. package/docs/_posts/components/Followers/TexCoordDamper2D.md +80 -0
  152. package/docs/_posts/components/Geometry2D/Arc2D.md +71 -0
  153. package/docs/_posts/components/Geometry2D/ArcClose2D.md +91 -0
  154. package/docs/_posts/components/Geometry2D/Circle2D.md +55 -0
  155. package/docs/_posts/components/Geometry2D/Disk2D.md +75 -0
  156. package/docs/_posts/components/Geometry2D/Polyline2D.md +54 -0
  157. package/docs/_posts/components/Geometry2D/Polypoint2D.md +54 -0
  158. package/docs/_posts/components/Geometry2D/Rectangle2D.md +66 -0
  159. package/docs/_posts/components/Geometry2D/TriangleSet2D.md +66 -0
  160. package/docs/_posts/components/Geometry3D/Box.md +66 -0
  161. package/docs/_posts/components/Geometry3D/Cone.md +90 -0
  162. package/docs/_posts/components/Geometry3D/Cylinder.md +98 -0
  163. package/docs/_posts/components/Geometry3D/ElevationGrid.md +162 -0
  164. package/docs/_posts/components/Geometry3D/Extrusion.md +170 -0
  165. package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +208 -0
  166. package/docs/_posts/components/Geometry3D/Sphere.md +66 -0
  167. package/docs/_posts/components/Geospatial/GeoCoordinate.md +65 -0
  168. package/docs/_posts/components/Geospatial/GeoElevationGrid.md +180 -0
  169. package/docs/_posts/components/Geospatial/GeoLOD.md +128 -0
  170. package/docs/_posts/components/Geospatial/GeoLocation.md +93 -0
  171. package/docs/_posts/components/Geospatial/GeoMetadata.md +75 -0
  172. package/docs/_posts/components/Geospatial/GeoOrigin.md +69 -0
  173. package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +95 -0
  174. package/docs/_posts/components/Geospatial/GeoProximitySensor.md +109 -0
  175. package/docs/_posts/components/Geospatial/GeoTouchSensor.md +108 -0
  176. package/docs/_posts/components/Geospatial/GeoTransform.md +121 -0
  177. package/docs/_posts/components/Geospatial/GeoViewpoint.md +126 -0
  178. package/docs/_posts/components/Grouping/Group.md +75 -0
  179. package/docs/_posts/components/Grouping/StaticGroup.md +65 -0
  180. package/docs/_posts/components/Grouping/Switch.md +89 -0
  181. package/docs/_posts/components/Grouping/Transform.md +126 -0
  182. package/docs/_posts/components/HAnim/HAnimDisplacer.md +89 -0
  183. package/docs/_posts/components/HAnim/HAnimHumanoid.md +136 -0
  184. package/docs/_posts/components/HAnim/HAnimJoint.md +165 -0
  185. package/docs/_posts/components/HAnim/HAnimMotion.md +68 -0
  186. package/docs/_posts/components/HAnim/HAnimSegment.md +107 -0
  187. package/docs/_posts/components/HAnim/HAnimSite.md +108 -0
  188. package/docs/_posts/components/Interpolation/ColorInterpolator.md +73 -0
  189. package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +76 -0
  190. package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +73 -0
  191. package/docs/_posts/components/Interpolation/EaseInEaseOut.md +67 -0
  192. package/docs/_posts/components/Interpolation/NormalInterpolator.md +68 -0
  193. package/docs/_posts/components/Interpolation/OrientationInterpolator.md +72 -0
  194. package/docs/_posts/components/Interpolation/PositionInterpolator.md +72 -0
  195. package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +77 -0
  196. package/docs/_posts/components/Interpolation/ScalarInterpolator.md +76 -0
  197. package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +93 -0
  198. package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +93 -0
  199. package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +106 -0
  200. package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +78 -0
  201. package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +78 -0
  202. package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +70 -0
  203. package/docs/_posts/components/Layering/Layer.md +67 -0
  204. package/docs/_posts/components/Layering/LayerSet.md +78 -0
  205. package/docs/_posts/components/Layering/Viewport.md +80 -0
  206. package/docs/_posts/components/Layout/Layout.md +107 -0
  207. package/docs/_posts/components/Layout/LayoutGroup.md +85 -0
  208. package/docs/_posts/components/Layout/LayoutLayer.md +74 -0
  209. package/docs/_posts/components/Layout/ScreenFontStyle.md +137 -0
  210. package/docs/_posts/components/Layout/ScreenGroup.md +71 -0
  211. package/docs/_posts/components/Lighting/DirectionalLight.md +100 -0
  212. package/docs/_posts/components/Lighting/EnvironmentLight.md +91 -0
  213. package/docs/_posts/components/Lighting/PointLight.md +103 -0
  214. package/docs/_posts/components/Lighting/SpotLight.md +132 -0
  215. package/docs/_posts/components/NURBS/Contour2D.md +57 -0
  216. package/docs/_posts/components/NURBS/ContourPolyline2D.md +46 -0
  217. package/docs/_posts/components/NURBS/CoordinateDouble.md +47 -0
  218. package/docs/_posts/components/NURBS/NurbsCurve.md +71 -0
  219. package/docs/_posts/components/NURBS/NurbsCurve2D.md +66 -0
  220. package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +70 -0
  221. package/docs/_posts/components/NURBS/NurbsPatchSurface.md +106 -0
  222. package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +70 -0
  223. package/docs/_posts/components/NURBS/NurbsSet.md +66 -0
  224. package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +90 -0
  225. package/docs/_posts/components/NURBS/NurbsSweptSurface.md +69 -0
  226. package/docs/_posts/components/NURBS/NurbsSwungSurface.md +65 -0
  227. package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +77 -0
  228. package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +114 -0
  229. package/docs/_posts/components/Navigation/Billboard.md +88 -0
  230. package/docs/_posts/components/Navigation/Collision.md +102 -0
  231. package/docs/_posts/components/Navigation/LOD.md +99 -0
  232. package/docs/_posts/components/Navigation/NavigationInfo.md +122 -0
  233. package/docs/_posts/components/Navigation/OrthoViewpoint.md +117 -0
  234. package/docs/_posts/components/Navigation/Viewpoint.md +117 -0
  235. package/docs/_posts/components/Navigation/ViewpointGroup.md +80 -0
  236. package/docs/_posts/components/Networking/Anchor.md +111 -0
  237. package/docs/_posts/components/Networking/Inline.md +115 -0
  238. package/docs/_posts/components/Networking/LoadSensor.md +91 -0
  239. package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +54 -0
  240. package/docs/_posts/components/ParticleSystems/ConeEmitter.md +76 -0
  241. package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +72 -0
  242. package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +58 -0
  243. package/docs/_posts/components/ParticleSystems/ParticleSystem.md +177 -0
  244. package/docs/_posts/components/ParticleSystems/PointEmitter.md +76 -0
  245. package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +94 -0
  246. package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +90 -0
  247. package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +90 -0
  248. package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +68 -0
  249. package/docs/_posts/components/Picking/LinePickSensor.md +125 -0
  250. package/docs/_posts/components/Picking/PickableGroup.md +93 -0
  251. package/docs/_posts/components/Picking/PointPickSensor.md +112 -0
  252. package/docs/_posts/components/Picking/PrimitivePickSensor.md +114 -0
  253. package/docs/_posts/components/Picking/VolumePickSensor.md +107 -0
  254. package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +122 -0
  255. package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +114 -0
  256. package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +89 -0
  257. package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +87 -0
  258. package/docs/_posts/components/Rendering/ClipPlane.md +67 -0
  259. package/docs/_posts/components/Rendering/Color.md +56 -0
  260. package/docs/_posts/components/Rendering/ColorRGBA.md +61 -0
  261. package/docs/_posts/components/Rendering/Coordinate.md +45 -0
  262. package/docs/_posts/components/Rendering/IndexedLineSet.md +128 -0
  263. package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +128 -0
  264. package/docs/_posts/components/Rendering/IndexedTriangleSet.md +128 -0
  265. package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +116 -0
  266. package/docs/_posts/components/Rendering/LineSet.md +85 -0
  267. package/docs/_posts/components/Rendering/Normal.md +41 -0
  268. package/docs/_posts/components/Rendering/PointSet.md +76 -0
  269. package/docs/_posts/components/Rendering/TriangleFanSet.md +112 -0
  270. package/docs/_posts/components/Rendering/TriangleSet.md +108 -0
  271. package/docs/_posts/components/Rendering/TriangleStripSet.md +116 -0
  272. package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +78 -0
  273. package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +75 -0
  274. package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +83 -0
  275. package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +90 -0
  276. package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +65 -0
  277. package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +70 -0
  278. package/docs/_posts/components/RigidBodyPhysics/Contact.md +117 -0
  279. package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +162 -0
  280. package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +183 -0
  281. package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +175 -0
  282. package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +120 -0
  283. package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +108 -0
  284. package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +106 -0
  285. package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +119 -0
  286. package/docs/_posts/components/Scripting/Script.md +81 -0
  287. package/docs/_posts/components/Shaders/ComposedShader.md +81 -0
  288. package/docs/_posts/components/Shaders/FloatVertexAttribute.md +65 -0
  289. package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +53 -0
  290. package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +53 -0
  291. package/docs/_posts/components/Shaders/PackagedShader.md +77 -0
  292. package/docs/_posts/components/Shaders/ProgramShader.md +71 -0
  293. package/docs/_posts/components/Shaders/ShaderPart.md +76 -0
  294. package/docs/_posts/components/Shaders/ShaderProgram.md +68 -0
  295. package/docs/_posts/components/Shape/AcousticProperties.md +52 -0
  296. package/docs/_posts/components/Shape/Appearance.md +123 -0
  297. package/docs/_posts/components/Shape/FillProperties.md +67 -0
  298. package/docs/_posts/components/Shape/LineProperties.md +63 -0
  299. package/docs/_posts/components/Shape/Material.md +217 -0
  300. package/docs/_posts/components/Shape/PhysicalMaterial.md +173 -0
  301. package/docs/_posts/components/Shape/PointProperties.md +84 -0
  302. package/docs/_posts/components/Shape/Shape.md +63 -0
  303. package/docs/_posts/components/Shape/TwoSidedMaterial.md +149 -0
  304. package/docs/_posts/components/Shape/UnlitMaterial.md +115 -0
  305. package/docs/_posts/components/Sound/Analyser.md +72 -0
  306. package/docs/_posts/components/Sound/AudioClip.md +139 -0
  307. package/docs/_posts/components/Sound/AudioDestination.md +52 -0
  308. package/docs/_posts/components/Sound/BiquadFilter.md +70 -0
  309. package/docs/_posts/components/Sound/BufferAudioSource.md +86 -0
  310. package/docs/_posts/components/Sound/ChannelMerger.md +46 -0
  311. package/docs/_posts/components/Sound/ChannelSelector.md +48 -0
  312. package/docs/_posts/components/Sound/ChannelSplitter.md +48 -0
  313. package/docs/_posts/components/Sound/Convolver.md +66 -0
  314. package/docs/_posts/components/Sound/Delay.md +66 -0
  315. package/docs/_posts/components/Sound/DynamicsCompressor.md +74 -0
  316. package/docs/_posts/components/Sound/Gain.md +62 -0
  317. package/docs/_posts/components/Sound/ListenerPointSource.md +62 -0
  318. package/docs/_posts/components/Sound/MicrophoneSource.md +54 -0
  319. package/docs/_posts/components/Sound/OscillatorSource.md +58 -0
  320. package/docs/_posts/components/Sound/PeriodicWave.md +42 -0
  321. package/docs/_posts/components/Sound/Sound.md +92 -0
  322. package/docs/_posts/components/Sound/SpatialSound.md +68 -0
  323. package/docs/_posts/components/Sound/StreamAudioDestination.md +52 -0
  324. package/docs/_posts/components/Sound/StreamAudioSource.md +54 -0
  325. package/docs/_posts/components/Sound/WaveShaper.md +66 -0
  326. package/docs/_posts/components/Text/FontStyle.md +145 -0
  327. package/docs/_posts/components/Text/Text.md +102 -0
  328. package/docs/_posts/components/TextureProjector/TextureProjector.md +52 -0
  329. package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +52 -0
  330. package/docs/_posts/components/Texturing/ImageTexture.md +134 -0
  331. package/docs/_posts/components/Texturing/MovieTexture.md +221 -0
  332. package/docs/_posts/components/Texturing/MultiTexture.md +100 -0
  333. package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +47 -0
  334. package/docs/_posts/components/Texturing/MultiTextureTransform.md +47 -0
  335. package/docs/_posts/components/Texturing/PixelTexture.md +80 -0
  336. package/docs/_posts/components/Texturing/TextureCoordinate.md +52 -0
  337. package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +64 -0
  338. package/docs/_posts/components/Texturing/TextureProperties.md +137 -0
  339. package/docs/_posts/components/Texturing/TextureTransform.md +73 -0
  340. package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +76 -0
  341. package/docs/_posts/components/Texturing3D/ImageTexture3D.md +132 -0
  342. package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +131 -0
  343. package/docs/_posts/components/Texturing3D/PixelTexture3D.md +75 -0
  344. package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +53 -0
  345. package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +52 -0
  346. package/docs/_posts/components/Texturing3D/TextureTransform3D.md +69 -0
  347. package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +57 -0
  348. package/docs/_posts/components/Time/TimeSensor.md +136 -0
  349. package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +92 -0
  350. package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +53 -0
  351. package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +83 -0
  352. package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +51 -0
  353. package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +67 -0
  354. package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +99 -0
  355. package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +51 -0
  356. package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +48 -0
  357. package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +80 -0
  358. package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +75 -0
  359. package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +63 -0
  360. package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +71 -0
  361. package/docs/_posts/components/VolumeRendering/VolumeData.md +71 -0
  362. package/docs/_posts/components/X_ITE/BlendMode.md +94 -0
  363. package/docs/_posts/custom-shaders.md +9 -4
  364. package/docs/_posts/dom-integration.md +1 -6
  365. package/docs/_posts/features.md +2 -2
  366. package/docs/_posts/getting-started.md +100 -57
  367. package/docs/_posts/glossary.md +1 -1
  368. package/docs/_posts/how-to-configure-your-web-server.md +1 -1
  369. package/docs/_posts/reference/browser-services.md +78 -18
  370. package/docs/_posts/reference/constants-services.md +1 -1
  371. package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +1 -1
  372. package/docs/_posts/reference/field-services-and-objects.md +8 -8
  373. package/docs/_posts/reference/prototype-services.md +7 -7
  374. package/docs/_posts/reference/route-services.md +1 -1
  375. package/docs/_posts/reference/scene-services.md +5 -5
  376. package/docs/_posts/reference/script-node-authoring-interface.md +1 -1
  377. package/docs/_posts/report-a-bug.md +1 -1
  378. package/docs/_posts/setup-a-localhost-server.md +5 -1
  379. package/docs/_posts/supported-nodes.md +239 -238
  380. package/docs/_posts/tutorials/adding-backgrounds.md +3 -3
  381. package/docs/_posts/tutorials/adding-fog.md +2 -2
  382. package/docs/_posts/tutorials/adding-sound.md +19 -19
  383. package/docs/_posts/tutorials/animating-transforms.md +17 -17
  384. package/docs/_posts/tutorials/basic-nodes.md +30 -30
  385. package/docs/_posts/tutorials/building-a-x3d-world.md +3 -3
  386. package/docs/_posts/tutorials/building-elevation-grids.md +7 -7
  387. package/docs/_posts/tutorials/building-extruded-shapes.md +7 -7
  388. package/docs/_posts/tutorials/building-primitive-shapes.md +13 -13
  389. package/docs/_posts/tutorials/building-shapes-out-of-points-lines-and-faces.md +21 -21
  390. package/docs/_posts/tutorials/controlling-appearance-with-materials.md +7 -7
  391. package/docs/_posts/tutorials/controlling-color-on-coordinate-based-geometry.md +11 -11
  392. package/docs/_posts/tutorials/controlling-detail.md +4 -4
  393. package/docs/_posts/tutorials/controlling-how-textures-are-mapped.md +7 -7
  394. package/docs/_posts/tutorials/controlling-navigation.md +3 -3
  395. package/docs/_posts/tutorials/controlling-shading-on-coordinate-based-geometry.md +13 -13
  396. package/docs/_posts/tutorials/controlling-the-viewpoint.md +3 -3
  397. package/docs/_posts/tutorials/creating-new-node-types.md +4 -4
  398. package/docs/_posts/tutorials/grouping-nodes.md +13 -13
  399. package/docs/_posts/tutorials/hello-world.md +1 -1
  400. package/docs/_posts/tutorials/improving-performance.md +1 -1
  401. package/docs/_posts/tutorials/increasing-rendering-speed.md +1 -1
  402. package/docs/_posts/tutorials/introducing-animation.md +10 -10
  403. package/docs/_posts/tutorials/introducing-script-use.md +3 -3
  404. package/docs/_posts/tutorials/introducing-x3d.md +1 -1
  405. package/docs/_posts/tutorials/lighting-your-world.md +4 -4
  406. package/docs/_posts/tutorials/mapping-textures.md +7 -7
  407. package/docs/_posts/tutorials/naming-nodes.md +1 -1
  408. package/docs/_posts/tutorials/overview.md +1 -1
  409. package/docs/_posts/tutorials/providing-information-about-your-world.md +2 -2
  410. package/docs/_posts/tutorials/sensing-the-viewer.md +15 -15
  411. package/docs/_posts/tutorials/sensing-viewer-actions.md +10 -10
  412. package/docs/_posts/tutorials/transforming-shapes.md +4 -4
  413. package/docs/_posts/tutorials/writing-program-scripts-with-ecmascript.md +5 -5
  414. package/docs/_posts/what's-new.md +40 -2
  415. package/docs/_tabs/components.md +383 -0
  416. package/docs/_tabs/imprint.md +1 -1
  417. package/docs/_tabs/laboratory.md +38 -6
  418. package/docs/_tabs/playground.html +22 -66
  419. package/docs/_tabs/reference.md +2 -1
  420. package/docs/_tabs/tags.md +1 -1
  421. package/docs/_tabs/tutorials.md +1 -1
  422. package/docs/assets/X3D/Michroma-Regular.ttf +0 -0
  423. package/docs/assets/X3D/peakpx.jpg +0 -0
  424. package/docs/assets/X3D/teaser.x3d +55 -0
  425. package/docs/assets/css/style.scss +120 -11
  426. package/docs/assets/img/laboratory/blend-mode.png +0 -0
  427. package/docs/assets/img/laboratory/dicom-nrrd.png +0 -0
  428. package/docs/assets/img/laboratory/earthquake.png +0 -0
  429. package/docs/assets/img/laboratory/gltf.png +0 -0
  430. package/docs/assets/img/laboratory/l-system.png +0 -0
  431. package/docs/assets/js/autoupdate.js +25 -0
  432. package/docs/laboratory/gltf-sample-viewer.html +318 -0
  433. package/docs/laboratory/x3d-visual-blend-mode-editor.html +1 -0
  434. package/package.json +9 -2
  435. package/src/assets/components/Texturing3D.js +5 -3
  436. package/src/assets/shaders/Types.glsl.js +5 -5
  437. package/src/assets/shaders/webgl1/PBR.fs.js +1 -1
  438. package/src/assets/shaders/webgl1/include/Colors.glsl.js +5 -7
  439. package/src/assets/shaders/webgl1/include/Fragment.glsl.js +4 -0
  440. package/src/assets/shaders/webgl1/include/Hatch.glsl.js +1 -1
  441. package/src/assets/shaders/webgl1/include/Texture.glsl.js +3 -3
  442. package/src/assets/shaders/webgl2/include/Colors.glsl.js +5 -7
  443. package/src/assets/shaders/webgl2/include/Hatch.glsl.js +1 -1
  444. package/src/assets/shaders/webgl2/include/Particle.glsl.js +2 -2
  445. package/src/assets/shaders/webgl2/include/Texture.glsl.js +2 -2
  446. package/src/bookmarks.js +12 -8
  447. package/src/examples.js +3 -0
  448. package/src/lib/jquery.js +20 -0
  449. package/src/lib/libgif/libgif.js +1004 -0
  450. package/src/lib/libtess.js +1 -0
  451. package/src/lib/nurbs/extras/sample.js +5 -7
  452. package/src/standard/Math/Algorithms/Bezier.js +175 -33
  453. package/src/standard/Math/Geometry/Box2.js +15 -55
  454. package/src/standard/Math/Geometry/Box3.js +19 -66
  455. package/src/standard/Math/Geometry/Triangle3.js +14 -79
  456. package/src/standard/Math/Numbers/Color3.js +4 -0
  457. package/src/standard/Math/Numbers/Color4.js +4 -0
  458. package/src/standard/Math/Numbers/Matrix3.js +11 -3
  459. package/src/standard/Math/Numbers/Matrix4.js +9 -6
  460. package/src/standard/Math/Numbers/Rotation4.js +72 -65
  461. package/src/tests.js +3 -0
  462. package/src/x_ite/Base/X3DArrayField.js +0 -2
  463. package/src/x_ite/Base/X3DInfoArray.js +2 -2
  464. package/src/x_ite/Base/X3DObjectArrayField.js +19 -0
  465. package/src/x_ite/Base/X3DTypedArrayField.js +149 -0
  466. package/src/x_ite/Browser/Core/BrowserOptions.js +108 -64
  467. package/src/x_ite/Browser/Core/Context.js +1 -1
  468. package/src/x_ite/Browser/Core/ContextMenu.js +2 -2
  469. package/src/x_ite/Browser/Core/Notification.js +1 -1
  470. package/src/x_ite/Browser/Core/RenderingProperties.js +4 -0
  471. package/src/x_ite/Browser/Core/X3DCoreContext.js +99 -54
  472. package/src/x_ite/Browser/Navigation/ExamineViewer.js +4 -14
  473. package/src/x_ite/Browser/Navigation/LookAtViewer.js +3 -13
  474. package/src/x_ite/Browser/Navigation/PlaneViewer.js +3 -12
  475. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +25 -22
  476. package/src/x_ite/Browser/Navigation/X3DViewer.js +12 -3
  477. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +2 -2
  478. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +19 -15
  479. package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +30 -10
  480. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +1 -1
  481. package/src/x_ite/Browser/Shape/X3DShapeContext.js +30 -3
  482. package/src/x_ite/Browser/Text/PolygonText.js +137 -134
  483. package/src/x_ite/Browser/Texturing/GifMedia.js +113 -0
  484. package/src/x_ite/Browser/Texturing3D/DICOMParser.js +1 -6
  485. package/src/x_ite/Browser/Texturing3D/NRRDParser.js +81 -310
  486. package/src/x_ite/Browser/VERSION.js +1 -1
  487. package/src/x_ite/Browser/X3DBrowser.js +162 -122
  488. package/src/x_ite/Browser/X3DBrowserContext.js +7 -5
  489. package/src/x_ite/Components/Core/WorldInfo.js +3 -3
  490. package/src/x_ite/Components/Core/X3DNode.js +7 -7
  491. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
  492. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +2 -3
  493. package/src/x_ite/Components/Geometry3D/Extrusion.js +27 -23
  494. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +10 -19
  495. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +1 -3
  496. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +39 -15
  497. package/src/x_ite/Components/HAnim/HAnimJoint.js +6 -9
  498. package/src/x_ite/Components/Layering/X3DLayerNode.js +21 -2
  499. package/src/x_ite/Components/Layout/Layout.js +4 -2
  500. package/src/x_ite/Components/Layout/ScreenFontStyle.js +6 -0
  501. package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -11
  502. package/src/x_ite/Components/Lighting/EnvironmentLight.js +1 -1
  503. package/src/x_ite/Components/Lighting/PointLight.js +4 -11
  504. package/src/x_ite/Components/Lighting/SpotLight.js +4 -11
  505. package/src/x_ite/Components/Lighting/X3DLightNode.js +7 -9
  506. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +2 -2
  507. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +14 -6
  508. package/src/x_ite/Components/Networking/Inline.js +48 -59
  509. package/src/x_ite/Components/Networking/X3DUrlObject.js +1 -1
  510. package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +2 -2
  511. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +7 -13
  512. package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +4 -2
  513. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -2
  514. package/src/x_ite/Components/Scripting/Script.js +2 -2
  515. package/src/x_ite/Components/Shaders/ShaderPart.js +1 -1
  516. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -3
  517. package/src/x_ite/Components/Shape/Appearance.js +27 -1
  518. package/src/x_ite/Components/Shape/FillProperties.js +1 -0
  519. package/src/x_ite/Components/Shape/LineProperties.js +15 -9
  520. package/src/x_ite/Components/Shape/Material.js +33 -22
  521. package/src/x_ite/Components/Shape/PhysicalMaterial.js +22 -15
  522. package/src/x_ite/Components/Shape/PointProperties.js +23 -7
  523. package/src/x_ite/Components/Shape/UnlitMaterial.js +3 -2
  524. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +25 -19
  525. package/src/x_ite/Components/Sound/AudioClip.js +5 -5
  526. package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +26 -34
  527. package/src/x_ite/Components/Text/X3DFontStyleNode.js +1 -1
  528. package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -12
  529. package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +6 -14
  530. package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +7 -7
  531. package/src/x_ite/Components/Texturing/ImageTexture.js +15 -10
  532. package/src/x_ite/Components/Texturing/MovieTexture.js +51 -11
  533. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +2 -2
  534. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +230 -0
  535. package/src/x_ite/Components/Time/X3DTimeDependentNode.js +12 -10
  536. package/src/x_ite/Execution/BindableList.js +35 -37
  537. package/src/x_ite/Execution/BindableStack.js +25 -7
  538. package/src/x_ite/Execution/X3DScene.js +2 -2
  539. package/src/x_ite/Execution/X3DWorld.js +1 -1
  540. package/src/x_ite/Fields/SFRotation.js +2 -1
  541. package/src/x_ite/Fields/SFString.js +1 -1
  542. package/src/x_ite/InputOutput/FileLoader.js +105 -236
  543. package/src/x_ite/InputOutput/Generator.js +12 -8
  544. package/src/x_ite/Parser/Expressions.js +85 -0
  545. package/src/x_ite/Parser/GLB2Parser.js +147 -0
  546. package/src/x_ite/Parser/GLTF2Parser.js +2221 -0
  547. package/src/x_ite/Parser/GoldenGate.js +64 -13
  548. package/src/x_ite/Parser/JSONParser.js +7 -36
  549. package/src/x_ite/Parser/OBJParser.js +1076 -0
  550. package/src/x_ite/Parser/STLAParser.js +376 -0
  551. package/src/x_ite/Parser/STLBParser.js +156 -0
  552. package/src/x_ite/Parser/SVGParser.js +2476 -0
  553. package/src/x_ite/Parser/VRMLParser.js +127 -183
  554. package/src/x_ite/Parser/X3DOptimizer.js +191 -0
  555. package/src/x_ite/Parser/X3DParser.js +34 -0
  556. package/src/x_ite/Parser/XMLParser.js +11 -109
  557. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
  558. package/src/x_ite/Prototype/X3DProtoDeclaration.js +3 -3
  559. package/src/x_ite/Rendering/DependentRenderer.js +1 -1
  560. package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +150 -0
  561. package/src/x_ite/Rendering/TextureBuffer.js +3 -5
  562. package/src/x_ite/Rendering/X3DRenderObject.js +2 -7
  563. package/src/x_ite/X3D.js +1 -0
  564. package/src/x_ite/X3DCanvas.js +10 -0
  565. package/src/x_ite.html +39 -17
  566. package/webpack.config.js +1 -0
  567. package/x_ite.min.html +38 -17
  568. package/src/standard/Networking/BinaryTransport.js +0 -116
@@ -1,7 +1,7 @@
1
- /* X_ITE v8.4.3 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.5.3 */(() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
- /***/ 171:
4
+ /***/ 221:
5
5
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
6
6
 
7
7
  /**
@@ -14488,7 +14488,7 @@
14488
14488
  /***/ ((module) => {
14489
14489
 
14490
14490
  "use strict";
14491
- module.exports = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("lib/jquery");
14491
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("lib/jquery");
14492
14492
 
14493
14493
  /***/ }),
14494
14494
 
@@ -14564,25 +14564,25 @@ var __webpack_exports__ = {};
14564
14564
  // UNUSED EXPORTS: default
14565
14565
 
14566
14566
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
14567
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Components");
14567
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Components");
14568
14568
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
14569
14569
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
14570
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Fields");
14570
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Fields");
14571
14571
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
14572
14572
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
14573
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Base/X3DFieldDefinition");
14573
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Base/X3DFieldDefinition");
14574
14574
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
14575
14575
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
14576
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Base/FieldDefinitionArray");
14576
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Base/FieldDefinitionArray");
14577
14577
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
14578
14578
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
14579
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Components/Core/X3DNode");
14579
+ const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Components/Core/X3DNode");
14580
14580
  var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
14581
14581
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
14582
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Components/Networking/X3DUrlObject");
14582
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Components/Networking/X3DUrlObject");
14583
14583
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
14584
14584
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
14585
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Namespace");
14585
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Namespace");
14586
14586
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
14587
14587
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/TextAlignment.js
14588
14588
  /*******************************************************************************
@@ -14648,13 +14648,13 @@ const __default__ = TextAlignment;
14648
14648
  Namespace_default().set ("x_ite/Browser/Text/TextAlignment", __default__);
14649
14649
  /* harmony default export */ const Text_TextAlignment = (__default__);
14650
14650
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
14651
- const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/InputOutput/FileLoader");
14651
+ const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/InputOutput/FileLoader");
14652
14652
  var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
14653
14653
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
14654
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Base/X3DConstants");
14654
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Base/X3DConstants");
14655
14655
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
14656
14656
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Networking/URLs\")"
14657
- const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Browser/Networking/URLs");
14657
+ const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Browser/Networking/URLs");
14658
14658
  var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
14659
14659
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Text/X3DFontStyleNode.js
14660
14660
  /*******************************************************************************
@@ -14878,7 +14878,7 @@ X3DFontStyleNode .prototype = Object .assign (Object .create ((X3DNode_default()
14878
14878
 
14879
14879
  if (this .URL .protocol !== "data:")
14880
14880
  {
14881
- if (!this .getBrowser () .getBrowserOptions () .getCache () || !this .getCache ())
14881
+ if (!this .getCache ())
14882
14882
  this .URL .searchParams .set ("_", Date .now ());
14883
14883
  }
14884
14884
 
@@ -14922,300 +14922,19 @@ const X3DFontStyleNode_default_ = X3DFontStyleNode;
14922
14922
  Namespace_default().set ("x_ite/Components/Text/X3DFontStyleNode", X3DFontStyleNode_default_);
14923
14923
  /* harmony default export */ const Text_X3DFontStyleNode = (X3DFontStyleNode_default_);
14924
14924
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
14925
- const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Browser/Core/PrimitiveQuality");
14925
+ const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Browser/Core/PrimitiveQuality");
14926
14926
  var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
14927
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix3\")"
14928
- const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Numbers/Matrix3");
14929
- var Matrix3_default = /*#__PURE__*/__webpack_require__.n(Matrix3_namespaceObject);
14930
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
14931
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Numbers/Vector2");
14932
- var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
14933
- ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Box2.js
14934
- /*******************************************************************************
14935
- *
14936
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
14937
- *
14938
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
14939
- *
14940
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
14941
- *
14942
- * The copyright notice above does not evidence any actual of intended
14943
- * publication of such source code, and is an unpublished work by create3000.
14944
- * This material contains CONFIDENTIAL INFORMATION that is the property of
14945
- * create3000.
14946
- *
14947
- * No permission is granted to copy, distribute, or create derivative works from
14948
- * the contents of this software, in whole or in part, without the prior written
14949
- * permission of create3000.
14950
- *
14951
- * NON-MILITARY USE ONLY
14952
- *
14953
- * All create3000 software are effectively free software with a non-military use
14954
- * restriction. It is free. Well commented source is provided. You may reuse the
14955
- * source in any way you please with the exception anything that uses it must be
14956
- * marked to indicate is contains 'non-military use only' components.
14957
- *
14958
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
14959
- *
14960
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
14961
- *
14962
- * This file is part of the X_ITE Project.
14963
- *
14964
- * X_ITE is free software: you can redistribute it and/or modify it under the
14965
- * terms of the GNU General Public License version 3 only, as published by the
14966
- * Free Software Foundation.
14967
- *
14968
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
14969
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14970
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
14971
- * details (a copy is included in the LICENSE file that accompanied this code).
14972
- *
14973
- * You should have received a copy of the GNU General Public License version 3
14974
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
14975
- * copy of the GPLv3 License.
14976
- *
14977
- * For Silvio, Joy and Adi.
14978
- *
14979
- ******************************************************************************/
14980
-
14981
-
14982
-
14983
-
14984
- function Box2 (size, center)
14985
- {
14986
- switch (arguments .length)
14987
- {
14988
- case 0:
14989
- {
14990
- this .matrix = new (Matrix3_default()) (0, 0, 0,
14991
- 0, 0, 0,
14992
- 0, 0, 0);
14993
- return;
14994
- }
14995
- case 2:
14996
- {
14997
- this .matrix = new (Matrix3_default()) (size .x / 2, 0, 0,
14998
- 0, size .y / 2, 0,
14999
- center .x, center .y, 1);
15000
- return;
15001
- }
15002
- case 3:
15003
- {
15004
- const
15005
- min = arguments [0],
15006
- max = arguments [1],
15007
- sx = (max .x - min .x) / 2,
15008
- sy = (max .y - min .y) / 2,
15009
- cx = (max .x + min .x) / 2,
15010
- cy = (max .y + min .y) / 2;
15011
-
15012
- this .matrix = new (Matrix3_default()) (sx, 0, 0,
15013
- 0, sy, 0,
15014
- cx, cy, 1);
15015
- return;
15016
- }
15017
- }
15018
- }
15019
-
15020
- Box2 .prototype =
15021
- {
15022
- constructor: Box2,
15023
- copy: function ()
15024
- {
15025
- const copy = Object .create (Box2 .prototype);
15026
- copy .matrix = this .matrix .copy ();
15027
- return copy;
15028
- },
15029
- assign: function (box)
15030
- {
15031
- this .matrix .assign (box .matrix);
15032
- return this;
15033
- },
15034
- equals: function (box)
15035
- {
15036
- return this .matrix .equals (box .matrix);
15037
- },
15038
- set: function (size, center)
15039
- {
15040
- const m = this .matrix;
15041
-
15042
- switch (arguments .length)
15043
- {
15044
- case 0:
15045
- {
15046
- m [0] = 0.5; m [1] = 0; m [2] = 0;
15047
- m [3] = 0; m [4] = 0.5; m [5] = 0;
15048
- m [6] = 0; m [7] = 0; m [8] = 0;
15049
- return this;
15050
- }
15051
- case 2:
15052
- {
15053
- // size, center
15054
- m [0] = size .x / 2; m [1] = 0; m [2] = 0;
15055
- m [3] = 0; m [4] = size .y / 2; m [5] = 0;
15056
- m [6] = center .x; m [7] = center .y; m [8] = 1;
15057
- return this;
15058
- }
15059
- case 3:
15060
- {
15061
- const
15062
- min = arguments [0],
15063
- max = arguments [1],
15064
- sx = (max .x - min .x) / 2,
15065
- sy = (max .y - min .y) / 2,
15066
- cx = (max .x + min .x) / 2,
15067
- cy = (max .y + min .y) / 2;
15068
-
15069
- this .matrix .set (sx, 0, 0,
15070
- 0, sy, 0,
15071
- cx, cy, 1);
15072
- return this;
15073
- }
15074
- }
15075
- },
15076
- setExtents: function (min, max)
15077
- {
15078
- const
15079
- m = this .matrix,
15080
- sx = (max .x - min .x) / 2,
15081
- sy = (max .y - min .y) / 2,
15082
- cx = (max .x + min .x) / 2,
15083
- cy = (max .y + min .y) / 2;
15084
-
15085
- m [0] = sx; m [1] = 0; m [2] = 0;
15086
- m [3] = 0; m [4] = sy; m [5] = 0;
15087
- m [6] = cx; m [7] = cy; m [8] = 1;
15088
- return this;
15089
- },
15090
- isEmpty: function ()
15091
- {
15092
- return this .matrix [8] === 0;
15093
- },
15094
- add: (function ()
15095
- {
15096
- const
15097
- lhs_min = new (Vector2_default()) (0, 0),
15098
- lhs_max = new (Vector2_default()) (0, 0),
15099
- rhs_min = new (Vector2_default()) (0, 0),
15100
- rhs_max = new (Vector2_default()) (0, 0);
15101
-
15102
- return function (box)
15103
- {
15104
- if (this .isEmpty ())
15105
- return this .assign (box);
15106
-
15107
- if (box .isEmpty ())
15108
- return this;
15109
-
15110
- this .getExtents (lhs_min, lhs_max);
15111
- box .getExtents (rhs_min, rhs_max);
15112
-
15113
- return this .set (lhs_min .min (rhs_min), lhs_max .max (rhs_max), true);
15114
- };
15115
- })(),
15116
- multLeft: function (matrix)
15117
- {
15118
- this .matrix .multLeft (matrix);
15119
- return this;
15120
- },
15121
- multRight: function (matrix)
15122
- {
15123
- this .matrix .multRight (matrix);
15124
- return this;
15125
- },
15126
- getExtents: function (min, max)
15127
- {
15128
- this .getAbsoluteExtents (min, max);
15129
-
15130
- min .add (this .center);
15131
- max .add (this .center);
15132
- },
15133
- getAbsoluteExtents: (function ()
15134
- {
15135
- const p1 = new (Vector2_default()) (0, 0);
15136
-
15137
- return function (min, max)
15138
- {
15139
- const
15140
- m = this .matrix,
15141
- x = m .xAxis,
15142
- y = m .yAxis;
15143
-
15144
- p1 .assign (x) .add (y);
15145
-
15146
- const p2 = y .subtract (x);
15147
-
15148
- min .assign (p1) .min (p2);
15149
- max .assign (p1) .max (p2);
15150
-
15151
- p1 .negate ();
15152
- p2 .negate ();
15153
-
15154
- min .min (p1, p2);
15155
- max .max (p1, p2);
15156
- };
15157
- })(),
15158
- containsPoint: (function ()
15159
- {
15160
- const
15161
- min = new (Vector2_default()) (0, 0),
15162
- max = new (Vector2_default()) (0, 0);
15163
-
15164
- return function (point)
15165
- {
15166
- this .getExtents (min, max);
15167
-
15168
- return min .x <= point .x &&
15169
- max .x >= point .x &&
15170
- min .y <= point .y &&
15171
- max .y >= point .y;
15172
- };
15173
- })(),
15174
- toString: function ()
15175
- {
15176
- return this .size + ", " + this .center;
15177
- },
15178
- };
15179
-
15180
- Object .defineProperty (Box2 .prototype, "size",
15181
- {
15182
- get: (function ()
15183
- {
15184
- const
15185
- min = new (Vector2_default()) (0, 0),
15186
- max = new (Vector2_default()) (0, 0);
15187
-
15188
- return function ()
15189
- {
15190
- this .getAbsoluteExtents (min, max);
15191
-
15192
- return max .subtract (min);
15193
- };
15194
- })(),
15195
- enumerable: true,
15196
- configurable: false
15197
- });
15198
-
15199
- Object .defineProperty (Box2 .prototype, "center",
15200
- {
15201
- get: function ()
15202
- {
15203
- return this .matrix .origin;
15204
- },
15205
- enumerable: true,
15206
- configurable: false
15207
- });
15208
-
15209
- const Box2_default_ = Box2;
15210
- ;
15211
-
15212
- Namespace_default().set ("standard/Math/Geometry/Box2", Box2_default_);
15213
- /* harmony default export */ const Geometry_Box2 = (Box2_default_);
14927
+ ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box2\")"
14928
+ const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Geometry/Box2");
14929
+ var Box2_default = /*#__PURE__*/__webpack_require__.n(Box2_namespaceObject);
15214
14930
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
15215
- const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Geometry/Box3");
14931
+ const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Geometry/Box3");
15216
14932
  var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
14933
+ ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
14934
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Numbers/Vector2");
14935
+ var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
15217
14936
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
15218
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Numbers/Vector3");
14937
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Numbers/Vector3");
15219
14938
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
15220
14939
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextGeometry.js
15221
14940
  /*******************************************************************************
@@ -15272,8 +14991,8 @@ var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject
15272
14991
 
15273
14992
 
15274
14993
  var
15275
- bbox = new Geometry_Box2 (),
15276
- lineBBox = new Geometry_Box2 (),
14994
+ bbox = new (Box2_default()) (),
14995
+ lineBBox = new (Box2_default()) (),
15277
14996
  min = new (Vector2_default()) (0, 0),
15278
14997
  max = new (Vector2_default()) (0, 0),
15279
14998
  glyphMin = new (Vector2_default()) (0, 0),
@@ -15287,7 +15006,7 @@ var
15287
15006
  lineBound = new (Vector2_default()) (0, 0),
15288
15007
  origin = new (Vector3_default()) (0, 0, 0),
15289
15008
  vector = new (Vector2_default()) (0, 0),
15290
- box2 = new Geometry_Box2 (),
15009
+ box2 = new (Box2_default()) (),
15291
15010
  zero2 = new (Vector2_default()) (0, 0),
15292
15011
  zero3 = new (Vector3_default()) (0, 0, 0);
15293
15012
 
@@ -15839,161 +15558,17 @@ const X3DTextGeometry_default_ = X3DTextGeometry;
15839
15558
  Namespace_default().set ("x_ite/Browser/Text/X3DTextGeometry", X3DTextGeometry_default_);
15840
15559
  /* harmony default export */ const Text_X3DTextGeometry = (X3DTextGeometry_default_);
15841
15560
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
15842
- const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
15561
+ const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
15843
15562
  var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
15844
15563
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
15845
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Numbers/Matrix4");
15564
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Numbers/Matrix4");
15846
15565
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
15847
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
15848
- const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Geometry/Triangle3");
15849
- var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
15850
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
15851
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("standard/Math/Algorithm");
15852
- var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
15853
- ;// CONCATENATED MODULE: ./src/standard/Math/Algorithms/Bezier.js
15854
- /*******************************************************************************
15855
- *
15856
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
15857
- *
15858
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
15859
- *
15860
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
15861
- *
15862
- * The copyright notice above does not evidence any actual of intended
15863
- * publication of such source code, and is an unpublished work by create3000.
15864
- * This material contains CONFIDENTIAL INFORMATION that is the property of
15865
- * create3000.
15866
- *
15867
- * No permission is granted to copy, distribute, or create derivative works from
15868
- * the contents of this software, in whole or in part, without the prior written
15869
- * permission of create3000.
15870
- *
15871
- * NON-MILITARY USE ONLY
15872
- *
15873
- * All create3000 software are effectively free software with a non-military use
15874
- * restriction. It is free. Well commented source is provided. You may reuse the
15875
- * source in any way you please with the exception anything that uses it must be
15876
- * marked to indicate is contains 'non-military use only' components.
15877
- *
15878
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
15879
- *
15880
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
15881
- *
15882
- * This file is part of the X_ITE Project.
15883
- *
15884
- * X_ITE is free software: you can redistribute it and/or modify it under the
15885
- * terms of the GNU General Public License version 3 only, as published by the
15886
- * Free Software Foundation.
15887
- *
15888
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
15889
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
15890
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
15891
- * details (a copy is included in the LICENSE file that accompanied this code).
15892
- *
15893
- * You should have received a copy of the GNU General Public License version 3
15894
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
15895
- * copy of the GPLv3 License.
15896
- *
15897
- * For Silvio, Joy and Adi.
15898
- *
15899
- ******************************************************************************/
15900
-
15901
-
15902
-
15903
- const lerp = (Algorithm_default()).lerp;
15904
-
15905
- function Bezier (x0, y0, x1, y1, x2, y2, x3, y3)
15906
- {
15907
- this .x0 = x0;
15908
- this .y0 = y0;
15909
- this .x1 = x1;
15910
- this .y1 = y1;
15911
- this .x2 = x2;
15912
- this .y2 = y2;
15913
- this .x3 = x3;
15914
- this .y3 = y3;
15915
-
15916
- this .order = arguments .length / 2 - 1;
15917
- }
15918
-
15919
- Bezier .prototype =
15920
- {
15921
- getLUT: function (dimension)
15922
- {
15923
- const
15924
- x0 = this .x0,
15925
- y0 = this .y0,
15926
- x1 = this .x1,
15927
- y1 = this .y1,
15928
- x2 = this .x2,
15929
- y2 = this .y2,
15930
- x3 = this .x3,
15931
- y3 = this .y3,
15932
- lut = [ ];
15933
-
15934
- switch (this .order)
15935
- {
15936
- case 2:
15937
- {
15938
- for (let i = 0, d = dimension - 1; i < dimension; ++ i)
15939
- {
15940
- lut .push (quadric (x0, y0, x1, y1, x2, y2, i / d));
15941
- }
15942
-
15943
- break;
15944
- }
15945
- case 3:
15946
- {
15947
- for (let i = 0, d = dimension - 1; i < dimension; ++ i)
15948
- {
15949
- lut .push (cubic (x0, y0, x1, y1, x2, y2, x3, y3, i / d));
15950
- }
15951
-
15952
- break;
15953
- }
15954
- }
15955
-
15956
- return lut;
15957
- }
15958
- };
15959
-
15960
- function quadric (x0, y0, x1, y1, x2, y2, t)
15961
- {
15962
- const
15963
- ax0 = lerp (x0, x1, t),
15964
- ay0 = lerp (y0, y1, t),
15965
- ax1 = lerp (x1, x2, t),
15966
- ay1 = lerp (y1, y2, t),
15967
- bx0 = lerp (ax0, ax1, t),
15968
- by0 = lerp (ay0, ay1, t);
15969
-
15970
- return {x: bx0, y: by0};
15971
- }
15972
-
15973
- function cubic (x0, y0, x1, y1, x2, y2, x3, y3, t)
15974
- {
15975
- const
15976
- ax0 = lerp (x0, x1, t),
15977
- ay0 = lerp (y0, y1, t),
15978
- ax1 = lerp (x1, x2, t),
15979
- ay1 = lerp (y1, y2, t),
15980
- ax2 = lerp (x2, x3, t),
15981
- ay2 = lerp (y2, y3, t),
15982
- bx0 = lerp (ax0, ax1, t),
15983
- by0 = lerp (ay0, ay1, t),
15984
- bx1 = lerp (ax1, ax2, t),
15985
- by1 = lerp (ay1, ay2, t),
15986
- cx0 = lerp (bx0, bx1, t),
15987
- cy0 = lerp (by0, by1, t);
15988
-
15989
- return {x: cx0, y: cy0};
15990
- }
15991
-
15992
- const Bezier_default_ = Bezier;
15993
- ;
15994
-
15995
- Namespace_default().set ("standard/Math/Algorithms/Bezier", Bezier_default_);
15996
- /* harmony default export */ const Algorithms_Bezier = (Bezier_default_);
15566
+ ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithms/Bezier\")"
15567
+ const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("standard/Math/Algorithms/Bezier");
15568
+ var Bezier_default = /*#__PURE__*/__webpack_require__.n(Bezier_namespaceObject);
15569
+ ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/libtess\")"
15570
+ const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("lib/libtess");
15571
+ var libtess_default = /*#__PURE__*/__webpack_require__.n(libtess_namespaceObject);
15997
15572
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/PolygonText.js
15998
15573
  /*******************************************************************************
15999
15574
  *
@@ -16072,20 +15647,20 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16072
15647
  },
16073
15648
  build: (function ()
16074
15649
  {
16075
- var
15650
+ const
16076
15651
  min = new (Vector3_default()) (0, 0, 0),
16077
15652
  max = new (Vector3_default()) (0, 0, 0);
16078
15653
 
16079
15654
  return function ()
16080
15655
  {
16081
- var
15656
+ const
16082
15657
  fontStyle = this .getFontStyle (),
16083
15658
  font = fontStyle .getFont ();
16084
15659
 
16085
- if (! font)
15660
+ if (!font)
16086
15661
  return;
16087
15662
 
16088
- var
15663
+ const
16089
15664
  text = this .getText (),
16090
15665
  glyphs = this .getGlyphs (),
16091
15666
  minorAlignment = this .getMinorAlignment (),
@@ -16110,25 +15685,26 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16110
15685
 
16111
15686
  if (fontStyle ._horizontal .getValue ())
16112
15687
  {
16113
- for (var l = 0, length = glyphs .length; l < length; ++ l)
15688
+ for (let l = 0, length = glyphs .length; l < length; ++ l)
16114
15689
  {
16115
- var
16116
- line = glyphs [l],
16117
- charSpacing = charSpacings [l],
16118
- translation = translations [l],
16119
- advanceWidth = 0;
15690
+ const
15691
+ line = glyphs [l],
15692
+ charSpacing = charSpacings [l],
15693
+ translation = translations [l];
16120
15694
 
16121
- for (var g = 0, gl = line .length; g < gl; ++ g)
15695
+ let advanceWidth = 0;
15696
+
15697
+ for (let g = 0, gl = line .length; g < gl; ++ g)
16122
15698
  {
16123
- var
15699
+ const
16124
15700
  glyph = line [g],
16125
15701
  glyphVertices = this .getGlyphGeometry (font, glyph, primitiveQuality),
16126
15702
  xOffset = minorAlignment .x + translation .x + advanceWidth + g * charSpacing,
16127
15703
  yOffset = minorAlignment .y + translation .y;
16128
15704
 
16129
- for (var v = 0, vl = glyphVertices .length; v < vl; ++ v)
15705
+ for (let v = 0, vl = glyphVertices .length; v < vl; ++ v)
16130
15706
  {
16131
- var
15707
+ const
16132
15708
  x = glyphVertices [v] .x * size + xOffset,
16133
15709
  y = glyphVertices [v] .y * size + yOffset;
16134
15710
 
@@ -16139,7 +15715,7 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16139
15715
 
16140
15716
  // Calculate advanceWidth.
16141
15717
 
16142
- var kerning = 0;
15718
+ let kerning = 0;
16143
15719
 
16144
15720
  if (g + 1 < line .length)
16145
15721
  kerning = font .getKerningValue (glyph, line [g + 1]);
@@ -16150,32 +15726,31 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16150
15726
  }
16151
15727
  else
16152
15728
  {
16153
- var
15729
+ const
16154
15730
  leftToRight = fontStyle ._leftToRight .getValue (),
16155
15731
  topToBottom = fontStyle ._topToBottom .getValue (),
16156
15732
  first = leftToRight ? 0 : text ._string .length - 1,
16157
15733
  last = leftToRight ? text ._string .length : -1,
16158
15734
  step = leftToRight ? 1 : -1;
16159
15735
 
16160
- for (var l = first, t = 0; l !== last; l += step)
15736
+ for (let l = first, t = 0; l !== last; l += step)
16161
15737
  {
16162
- var line = glyphs [l];
16163
-
16164
- var
15738
+ const
15739
+ line = glyphs [l],
16165
15740
  numChars = line .length,
16166
15741
  firstG = topToBottom ? 0 : numChars - 1,
16167
15742
  lastG = topToBottom ? numChars : -1,
16168
15743
  stepG = topToBottom ? 1 : -1;
16169
15744
 
16170
- for (var g = firstG; g !== lastG; g += stepG, ++ t)
15745
+ for (let g = firstG; g !== lastG; g += stepG, ++ t)
16171
15746
  {
16172
- var
15747
+ const
16173
15748
  translation = translations [t],
16174
15749
  glyphVertices = this .getGlyphGeometry (font, line [g], primitiveQuality);
16175
15750
 
16176
- for (var v = 0, vl = glyphVertices .length; v < vl; ++ v)
15751
+ for (let v = 0, vl = glyphVertices .length; v < vl; ++ v)
16177
15752
  {
16178
- var
15753
+ const
16179
15754
  x = glyphVertices [v] .x * size + minorAlignment .x + translation .x,
16180
15755
  y = glyphVertices [v] .y * size + minorAlignment .y + translation .y;
16181
15756
 
@@ -16190,7 +15765,7 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16190
15765
  })(),
16191
15766
  getGlyphExtents: function (font, glyph, primitiveQuality, min, max)
16192
15767
  {
16193
- var
15768
+ const
16194
15769
  glyphCache = this .getBrowser () .getGlyph (font, primitiveQuality, glyph .index),
16195
15770
  extents = glyphCache .extents;
16196
15771
 
@@ -16198,150 +15773,119 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16198
15773
  {
16199
15774
  min .assign (extents .min);
16200
15775
  max .assign (extents .max);
16201
- return;
16202
15776
  }
16203
-
16204
- var vertices = this .getGlyphGeometry (font, glyph, primitiveQuality);
16205
-
16206
- if (vertices .length)
15777
+ else
16207
15778
  {
16208
- var vertex = vertices [0];
16209
-
16210
- min .assign (vertex);
16211
- max .assign (vertex);
15779
+ const vertices = this .getGlyphGeometry (font, glyph, primitiveQuality);
16212
15780
 
16213
- for (var i = 1, length = vertices .length; i < length; ++ i)
15781
+ if (vertices .length)
16214
15782
  {
16215
- var vertex = vertices [i];
16216
-
16217
- min .min (vertex);
16218
- max .max (vertex);
15783
+ min .assign (vertices [0]) .min (... vertices);
15784
+ max .assign (vertices [0]) .max (... vertices);
15785
+ }
15786
+ else
15787
+ {
15788
+ min .set (0, 0, 0);
15789
+ max .set (0, 0, 0);
16219
15790
  }
16220
- }
16221
- else
16222
- {
16223
- min .set (0, 0, 0);
16224
- max .set (0, 0, 0);
16225
- }
16226
15791
 
16227
- var extents = glyphCache .extents = { };
15792
+ const extents = glyphCache .extents = { };
16228
15793
 
16229
- extents .min = min .copy ();
16230
- extents .max = max .copy ();
15794
+ extents .min = min .copy ();
15795
+ extents .max = max .copy ();
15796
+ }
16231
15797
  },
16232
15798
  getGlyphGeometry: function (font, glyph, primitiveQuality)
16233
15799
  {
16234
- var
15800
+ const
16235
15801
  glyphCache = this .getBrowser () .getGlyph (font, primitiveQuality, glyph .index),
16236
15802
  glyphGeometry = glyphCache .geometry;
16237
15803
 
16238
15804
  if (glyphGeometry)
15805
+ {
16239
15806
  return glyphGeometry;
15807
+ }
15808
+ else
15809
+ {
15810
+ const glyphGeometry = glyphCache .geometry = [ ];
16240
15811
 
16241
- glyphGeometry = glyphCache .geometry = [ ];
16242
-
16243
- this .createGlyphGeometry (glyph, glyphGeometry, primitiveQuality);
15812
+ this .createGlyphGeometry (glyph, glyphGeometry, primitiveQuality);
16244
15813
 
16245
- return glyphGeometry;
15814
+ return glyphGeometry;
15815
+ }
16246
15816
  },
16247
- createGlyphGeometry: (function ()
15817
+ createGlyphGeometry: function (glyph, vertices, primitiveQuality)
16248
15818
  {
16249
- var
16250
- points = [ ],
16251
- curves = [ ],
16252
- normal = new (Vector3_default()) (0, 0, 0);
16253
-
16254
- return function (glyph, vertices, primitiveQuality)
16255
- {
16256
- // Get curves for the current glyph.
15819
+ // Get contours for the current glyph.
16257
15820
 
16258
- var
16259
- dimension = this .getBezierDimension (primitiveQuality),
16260
- path = glyph .getPath (0, 0, 1),
16261
- commands = path .commands,
16262
- x = 0,
16263
- y = 0;
15821
+ const
15822
+ steps = this .getBezierSteps (primitiveQuality),
15823
+ path = glyph .getPath (0, 0, 1);
16264
15824
 
16265
- points .length = 0;
16266
- curves .length = 0;
15825
+ let
15826
+ contours = [ ],
15827
+ points = [ ],
15828
+ x = 0,
15829
+ y = 0;
16267
15830
 
16268
- for (var i = 0, cl = commands .length; i < cl; ++ i)
15831
+ for (const command of path .commands)
15832
+ {
15833
+ switch (command .type)
16269
15834
  {
16270
- var command = commands [i];
16271
-
16272
- switch (command .type)
15835
+ case "M": // Start
15836
+ case "Z": // End
16273
15837
  {
16274
- case "M": // Start
16275
- case "Z": // End
16276
- {
16277
- if (points .length > 2)
16278
- {
16279
- if (points [0] .x === points .at (-1) .x && points [0] .y === points .at (-1) .y)
16280
- points .pop ();
15838
+ // Filter consecutive identical points.
15839
+ points = points .filter ((p, i, a) => !p .equals (a [(i + 1) % a .length]));
16281
15840
 
16282
- curves .push (points);
16283
- }
15841
+ if (points .length > 2)
15842
+ contours .push (points);
16284
15843
 
16285
- points = [ ];
15844
+ points = [ ];
16286
15845
 
16287
- if (command .type === "M")
16288
- points .push (new (Vector3_default()) (command .x, -command .y, 0));
16289
-
16290
- break;
16291
- }
16292
- case "L": // Linear
16293
- {
15846
+ if (command .type === "M")
16294
15847
  points .push (new (Vector3_default()) (command .x, -command .y, 0));
16295
- break;
16296
- }
16297
- case "Q": // Quadric
16298
- {
16299
- var
16300
- curve = new Algorithms_Bezier (x, -y, command .x1, -command .y1, command .x, -command .y),
16301
- lut = curve .getLUT (dimension);
16302
15848
 
16303
- for (var l = 1, ll = lut .length; l < ll; ++ l)
16304
- points .push (new (Vector3_default()) (lut [l] .x, lut [l] .y, 0));
16305
-
16306
- break;
16307
- }
16308
- case "C": // Cubic
16309
- {
16310
- var
16311
- curve = new Algorithms_Bezier (x, -y, command .x1, -command .y1, command .x2, -command .y2, command .x, -command .y),
16312
- lut = curve .getLUT (dimension);
16313
-
16314
- for (var l = 1, ll = lut .length; l < ll; ++ l)
16315
- points .push (new (Vector3_default()) (lut [l] .x, lut [l] .y, 0));
16316
-
16317
- break;
16318
- }
16319
- default:
16320
- continue;
15849
+ break;
16321
15850
  }
15851
+ case "L": // Linear
15852
+ {
15853
+ points .push (new (Vector3_default()) (command .x, -command .y, 0));
15854
+ break;
15855
+ }
15856
+ case "Q": // Quadric
15857
+ {
15858
+ const
15859
+ curve = new (Bezier_default()) (x, -y, command .x1, -command .y1, command .x, -command .y),
15860
+ lut = curve .getPoints ("quadric", steps);
16322
15861
 
16323
- x = command .x;
16324
- y = command .y;
16325
- }
16326
-
16327
- // Triangulate contours.
15862
+ for (const p of lut)
15863
+ points .push (new (Vector3_default()) (p .x, p .y, 0));
16328
15864
 
16329
- curves = curves .map (function (curve)
16330
- {
16331
- Triangle3_default().getPolygonNormal (curve, normal);
15865
+ break;
15866
+ }
15867
+ case "C": // Cubic
15868
+ {
15869
+ const
15870
+ curve = new (Bezier_default()) (x, -y, command .x1, -command .y1, command .x2, -command .y2, command .x, -command .y),
15871
+ lut = curve .getPoints ("cubic", steps);
16332
15872
 
16333
- if (normal .dot ((Vector3_default()).zAxis) > 0)
16334
- return curve;
15873
+ for (const p of lut)
15874
+ points .push (new (Vector3_default()) (p .x, p .y, 0));
16335
15875
 
16336
- return curve .reverse ();
16337
- });
15876
+ break;
15877
+ }
15878
+ default:
15879
+ continue;
15880
+ }
16338
15881
 
16339
- curves .push (vertices);
15882
+ x = command .x;
15883
+ y = command .y;
15884
+ }
16340
15885
 
16341
- Triangle3_default().triangulatePolygon.apply ((Triangle3_default()), curves);
16342
- };
16343
- })(),
16344
- getBezierDimension: function (primitiveQuality)
15886
+ return this .triangulatePolygon (contours, vertices);
15887
+ },
15888
+ getBezierSteps: function (primitiveQuality)
16345
15889
  {
16346
15890
  switch (primitiveQuality)
16347
15891
  {
@@ -16353,6 +15897,40 @@ PolygonText .prototype = Object .assign (Object .create (Text_X3DTextGeometry.pr
16353
15897
  return 5;
16354
15898
  }
16355
15899
  },
15900
+ triangulatePolygon: (function ()
15901
+ {
15902
+ // Function called for each vertex of tessellator output.
15903
+
15904
+ function vertexCallback (point, triangles)
15905
+ {
15906
+ triangles .push (point);
15907
+ }
15908
+
15909
+ const tessy = new (libtess_default()).GluTesselator ();
15910
+
15911
+ tessy .gluTessCallback ((libtess_default()).gluEnum.GLU_TESS_VERTEX_DATA, vertexCallback);
15912
+ tessy .gluTessProperty ((libtess_default()).gluEnum.GLU_TESS_WINDING_RULE, (libtess_default()).windingRule.GLU_TESS_WINDING_ODD);
15913
+ tessy .gluTessNormal (0, 0, 1);
15914
+
15915
+ return function (contours, triangles)
15916
+ {
15917
+ tessy .gluTessBeginPolygon (triangles);
15918
+
15919
+ for (const points of contours)
15920
+ {
15921
+ tessy .gluTessBeginContour ();
15922
+
15923
+ for (const point of points)
15924
+ tessy .gluTessVertex (point, point);
15925
+
15926
+ tessy .gluTessEndContour ();
15927
+ }
15928
+
15929
+ tessy .gluTessEndPolygon ();
15930
+
15931
+ return triangles;
15932
+ };
15933
+ })(),
16356
15934
  display: function (gl, renderContext)
16357
15935
  { },
16358
15936
  transformLine: function (line)
@@ -16474,7 +16052,7 @@ Namespace_default().set ("x_ite/Components/Text/FontStyle", FontStyle_default_);
16474
16052
  /* harmony default export */ const Text_FontStyle = (FontStyle_default_);
16475
16053
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextContext.js
16476
16054
  /* provided dependency */ var $ = __webpack_require__(355);
16477
- /* provided dependency */ var opentype = __webpack_require__(171);
16055
+ /* provided dependency */ var opentype = __webpack_require__(221);
16478
16056
  /*******************************************************************************
16479
16057
  *
16480
16058
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -16600,7 +16178,7 @@ const X3DTextContext_default_ = X3DTextContext;
16600
16178
  Namespace_default().set ("x_ite/Browser/Text/X3DTextContext", X3DTextContext_default_);
16601
16179
  /* harmony default export */ const Text_X3DTextContext = (X3DTextContext_default_);
16602
16180
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
16603
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.4.3")] .require ("x_ite/Base/X3DCast");
16181
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.5.3")] .require ("x_ite/Base/X3DCast");
16604
16182
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
16605
16183
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Text/Text.js
16606
16184
  /*******************************************************************************