x_ite 8.11.7 → 8.11.8

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 (1264) hide show
  1. package/README.md +4 -0
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +13 -13
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +25 -25
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +19 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +23 -23
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +26 -26
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +24 -24
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +23 -23
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +18 -18
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +19 -19
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +37 -37
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +14 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +30 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +18 -18
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +9 -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 +154 -145
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.zip +0 -0
  46. package/package.json +16 -13
  47. package/.github/workflows/pages-deploy.yml +0 -64
  48. package/.vscode/launch.json +0 -15
  49. package/.vscode/settings.json +0 -44
  50. package/.vscode/tasks.json +0 -31
  51. package/Makefile +0 -82
  52. package/build/bin/bump.pl +0 -21
  53. package/build/bin/tests.pl +0 -203
  54. package/build/bin/version.pl +0 -157
  55. package/build/docs/components.js +0 -218
  56. package/build/docs/glTF-samples.pl +0 -151
  57. package/build/docs/nodes.pl +0 -434
  58. package/build/docs/tags.pl +0 -28
  59. package/build/src/nodes.pl +0 -41
  60. package/docs/Gemfile +0 -19
  61. package/docs/LICENSE +0 -21
  62. package/docs/README.md +0 -46
  63. package/docs/_config.yml +0 -203
  64. package/docs/_data/assets/cross_origin.yml +0 -62
  65. package/docs/_data/assets/self_host.yml +0 -51
  66. package/docs/_data/contact.yml +0 -30
  67. package/docs/_data/locales/bg-BG.yml +0 -83
  68. package/docs/_data/locales/de-DE.yml +0 -82
  69. package/docs/_data/locales/en.yml +0 -93
  70. package/docs/_data/locales/es-ES.yml +0 -79
  71. package/docs/_data/locales/fr-FR.yml +0 -79
  72. package/docs/_data/locales/hu-HU.yml +0 -81
  73. package/docs/_data/locales/id-ID.yml +0 -79
  74. package/docs/_data/locales/ko-KR.yml +0 -86
  75. package/docs/_data/locales/my-MM.yml +0 -79
  76. package/docs/_data/locales/pt-BR.yml +0 -79
  77. package/docs/_data/locales/ru-RU.yml +0 -79
  78. package/docs/_data/locales/tr-TR.yml +0 -79
  79. package/docs/_data/locales/uk-UA.yml +0 -79
  80. package/docs/_data/locales/vi-VN.yml +0 -77
  81. package/docs/_data/locales/zh-CN.yml +0 -85
  82. package/docs/_data/nav/components-CADGeometry.yml +0 -14
  83. package/docs/_data/nav/components-Core.yml +0 -16
  84. package/docs/_data/nav/components-CubeMapTexturing.yml +0 -8
  85. package/docs/_data/nav/components-DIS.yml +0 -14
  86. package/docs/_data/nav/components-EnvironmentalEffects.yml +0 -12
  87. package/docs/_data/nav/components-EnvironmentalSensor.yml +0 -8
  88. package/docs/_data/nav/components-EventUtilities.yml +0 -16
  89. package/docs/_data/nav/components-Followers.yml +0 -30
  90. package/docs/_data/nav/components-Geometry2D.yml +0 -18
  91. package/docs/_data/nav/components-Geometry3D.yml +0 -16
  92. package/docs/_data/nav/components-Geospatial.yml +0 -24
  93. package/docs/_data/nav/components-Grouping.yml +0 -10
  94. package/docs/_data/nav/components-HAnim.yml +0 -14
  95. package/docs/_data/nav/components-Interpolation.yml +0 -28
  96. package/docs/_data/nav/components-KeyDeviceSensor.yml +0 -6
  97. package/docs/_data/nav/components-Layering.yml +0 -8
  98. package/docs/_data/nav/components-Layout.yml +0 -12
  99. package/docs/_data/nav/components-Lighting.yml +0 -10
  100. package/docs/_data/nav/components-NURBS.yml +0 -30
  101. package/docs/_data/nav/components-Navigation.yml +0 -16
  102. package/docs/_data/nav/components-Networking.yml +0 -8
  103. package/docs/_data/nav/components-ParticleSystems.yml +0 -22
  104. package/docs/_data/nav/components-Picking.yml +0 -12
  105. package/docs/_data/nav/components-PointingDeviceSensor.yml +0 -10
  106. package/docs/_data/nav/components-Rendering.yml +0 -30
  107. package/docs/_data/nav/components-RigidBodyPhysics.yml +0 -30
  108. package/docs/_data/nav/components-Scripting.yml +0 -4
  109. package/docs/_data/nav/components-Shaders.yml +0 -18
  110. package/docs/_data/nav/components-Shape.yml +0 -22
  111. package/docs/_data/nav/components-Sound.yml +0 -44
  112. package/docs/_data/nav/components-Text.yml +0 -6
  113. package/docs/_data/nav/components-TextureProjector.yml +0 -6
  114. package/docs/_data/nav/components-Texturing.yml +0 -22
  115. package/docs/_data/nav/components-Texturing3D.yml +0 -18
  116. package/docs/_data/nav/components-Time.yml +0 -4
  117. package/docs/_data/nav/components-VolumeRendering.yml +0 -28
  118. package/docs/_data/nav/components-X_ITE.yml +0 -4
  119. package/docs/_data/nav/main.yml +0 -26
  120. package/docs/_data/nav/reference.yml +0 -18
  121. package/docs/_data/nav/tutorials-animation-sensors-and-geometry.yml +0 -18
  122. package/docs/_data/nav/tutorials-basic.yml +0 -6
  123. package/docs/_data/nav/tutorials-optimize-your-scene.yml +0 -6
  124. package/docs/_data/nav/tutorials-scripts-and-prototypes.yml +0 -12
  125. package/docs/_data/nav/tutorials-shapes-geometry-and-appearance.yml +0 -16
  126. package/docs/_data/nav/tutorials-textures-lights-and-environment.yml +0 -20
  127. package/docs/_data/share.yml +0 -27
  128. package/docs/_includes/nav.html +0 -19
  129. package/docs/_includes/scripts.html +0 -3
  130. package/docs/_layouts/compress.html +0 -11
  131. package/docs/_layouts/redirect-page.html +0 -6
  132. package/docs/_layouts/wide.html +0 -52
  133. package/docs/_layouts/wrap.html +0 -4
  134. package/docs/_layouts/x_ite.html +0 -8
  135. package/docs/_plugins/no_date.rb +0 -11
  136. package/docs/_plugins/posts-lastmod-hook.rb +0 -14
  137. package/docs/_posts/accessing-the-external-browser.md +0 -312
  138. package/docs/_posts/browser-support.md +0 -53
  139. package/docs/_posts/components/CADGeometry/CADAssembly.md +0 -126
  140. package/docs/_posts/components/CADGeometry/CADFace.md +0 -113
  141. package/docs/_posts/components/CADGeometry/CADLayer.md +0 -126
  142. package/docs/_posts/components/CADGeometry/CADPart.md +0 -164
  143. package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +0 -154
  144. package/docs/_posts/components/CADGeometry/QuadSet.md +0 -145
  145. package/docs/_posts/components/Core/MetadataBoolean.md +0 -83
  146. package/docs/_posts/components/Core/MetadataDouble.md +0 -84
  147. package/docs/_posts/components/Core/MetadataFloat.md +0 -84
  148. package/docs/_posts/components/Core/MetadataInteger.md +0 -83
  149. package/docs/_posts/components/Core/MetadataSet.md +0 -80
  150. package/docs/_posts/components/Core/MetadataString.md +0 -83
  151. package/docs/_posts/components/Core/WorldInfo.md +0 -65
  152. package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +0 -123
  153. package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +0 -82
  154. package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +0 -112
  155. package/docs/_posts/components/DIS/DISEntityManager.md +0 -98
  156. package/docs/_posts/components/DIS/DISEntityTypeMapping.md +0 -131
  157. package/docs/_posts/components/DIS/EspduTransform.md +0 -566
  158. package/docs/_posts/components/DIS/ReceiverPdu.md +0 -235
  159. package/docs/_posts/components/DIS/SignalPdu.md +0 -239
  160. package/docs/_posts/components/DIS/TransmitterPdu.md +0 -299
  161. package/docs/_posts/components/EnvironmentalEffects/Background.md +0 -230
  162. package/docs/_posts/components/EnvironmentalEffects/Fog.md +0 -118
  163. package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +0 -44
  164. package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +0 -91
  165. package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +0 -194
  166. package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +0 -118
  167. package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +0 -115
  168. package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +0 -89
  169. package/docs/_posts/components/EventUtilities/BooleanFilter.md +0 -75
  170. package/docs/_posts/components/EventUtilities/BooleanSequencer.md +0 -115
  171. package/docs/_posts/components/EventUtilities/BooleanToggle.md +0 -67
  172. package/docs/_posts/components/EventUtilities/BooleanTrigger.md +0 -64
  173. package/docs/_posts/components/EventUtilities/IntegerSequencer.md +0 -119
  174. package/docs/_posts/components/EventUtilities/IntegerTrigger.md +0 -76
  175. package/docs/_posts/components/EventUtilities/TimeTrigger.md +0 -68
  176. package/docs/_posts/components/Followers/ColorChaser.md +0 -101
  177. package/docs/_posts/components/Followers/ColorDamper.md +0 -105
  178. package/docs/_posts/components/Followers/CoordinateChaser.md +0 -100
  179. package/docs/_posts/components/Followers/CoordinateDamper.md +0 -100
  180. package/docs/_posts/components/Followers/OrientationChaser.md +0 -96
  181. package/docs/_posts/components/Followers/OrientationDamper.md +0 -100
  182. package/docs/_posts/components/Followers/PositionChaser.md +0 -96
  183. package/docs/_posts/components/Followers/PositionChaser2D.md +0 -96
  184. package/docs/_posts/components/Followers/PositionDamper.md +0 -100
  185. package/docs/_posts/components/Followers/PositionDamper2D.md +0 -100
  186. package/docs/_posts/components/Followers/ScalarChaser.md +0 -100
  187. package/docs/_posts/components/Followers/ScalarDamper.md +0 -100
  188. package/docs/_posts/components/Followers/TexCoordChaser2D.md +0 -96
  189. package/docs/_posts/components/Followers/TexCoordDamper2D.md +0 -100
  190. package/docs/_posts/components/Geometry2D/Arc2D.md +0 -96
  191. package/docs/_posts/components/Geometry2D/ArcClose2D.md +0 -115
  192. package/docs/_posts/components/Geometry2D/Circle2D.md +0 -66
  193. package/docs/_posts/components/Geometry2D/Disk2D.md +0 -93
  194. package/docs/_posts/components/Geometry2D/Polyline2D.md +0 -69
  195. package/docs/_posts/components/Geometry2D/Polypoint2D.md +0 -62
  196. package/docs/_posts/components/Geometry2D/Rectangle2D.md +0 -77
  197. package/docs/_posts/components/Geometry2D/TriangleSet2D.md +0 -77
  198. package/docs/_posts/components/Geometry3D/Box.md +0 -79
  199. package/docs/_posts/components/Geometry3D/Cone.md +0 -98
  200. package/docs/_posts/components/Geometry3D/Cylinder.md +0 -102
  201. package/docs/_posts/components/Geometry3D/ElevationGrid.md +0 -206
  202. package/docs/_posts/components/Geometry3D/Extrusion.md +0 -222
  203. package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +0 -260
  204. package/docs/_posts/components/Geometry3D/Sphere.md +0 -78
  205. package/docs/_posts/components/Geospatial/GeoCoordinate.md +0 -81
  206. package/docs/_posts/components/Geospatial/GeoElevationGrid.md +0 -225
  207. package/docs/_posts/components/Geospatial/GeoLOD.md +0 -184
  208. package/docs/_posts/components/Geospatial/GeoLocation.md +0 -148
  209. package/docs/_posts/components/Geospatial/GeoMetadata.md +0 -117
  210. package/docs/_posts/components/Geospatial/GeoOrigin.md +0 -84
  211. package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +0 -141
  212. package/docs/_posts/components/Geospatial/GeoProximitySensor.md +0 -158
  213. package/docs/_posts/components/Geospatial/GeoTouchSensor.md +0 -153
  214. package/docs/_posts/components/Geospatial/GeoTransform.md +0 -182
  215. package/docs/_posts/components/Geospatial/GeoViewpoint.md +0 -214
  216. package/docs/_posts/components/Grouping/Group.md +0 -108
  217. package/docs/_posts/components/Grouping/StaticGroup.md +0 -103
  218. package/docs/_posts/components/Grouping/Switch.md +0 -125
  219. package/docs/_posts/components/Grouping/Transform.md +0 -160
  220. package/docs/_posts/components/HAnim/HAnimDisplacer.md +0 -108
  221. package/docs/_posts/components/HAnim/HAnimHumanoid.md +0 -351
  222. package/docs/_posts/components/HAnim/HAnimJoint.md +0 -256
  223. package/docs/_posts/components/HAnim/HAnimMotion.md +0 -186
  224. package/docs/_posts/components/HAnim/HAnimSegment.md +0 -172
  225. package/docs/_posts/components/HAnim/HAnimSite.md +0 -176
  226. package/docs/_posts/components/Interpolation/ColorInterpolator.md +0 -103
  227. package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +0 -102
  228. package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +0 -102
  229. package/docs/_posts/components/Interpolation/EaseInEaseOut.md +0 -91
  230. package/docs/_posts/components/Interpolation/NormalInterpolator.md +0 -98
  231. package/docs/_posts/components/Interpolation/OrientationInterpolator.md +0 -102
  232. package/docs/_posts/components/Interpolation/PositionInterpolator.md +0 -102
  233. package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +0 -106
  234. package/docs/_posts/components/Interpolation/ScalarInterpolator.md +0 -102
  235. package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +0 -118
  236. package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +0 -118
  237. package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +0 -122
  238. package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +0 -102
  239. package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +0 -120
  240. package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +0 -92
  241. package/docs/_posts/components/Layering/Layer.md +0 -92
  242. package/docs/_posts/components/Layering/LayerSet.md +0 -84
  243. package/docs/_posts/components/Layering/Viewport.md +0 -113
  244. package/docs/_posts/components/Layout/Layout.md +0 -118
  245. package/docs/_posts/components/Layout/LayoutGroup.md +0 -118
  246. package/docs/_posts/components/Layout/LayoutLayer.md +0 -99
  247. package/docs/_posts/components/Layout/ScreenFontStyle.md +0 -164
  248. package/docs/_posts/components/Layout/ScreenGroup.md +0 -104
  249. package/docs/_posts/components/Lighting/DirectionalLight.md +0 -108
  250. package/docs/_posts/components/Lighting/EnvironmentLight.md +0 -87
  251. package/docs/_posts/components/Lighting/PointLight.md +0 -115
  252. package/docs/_posts/components/Lighting/SpotLight.md +0 -145
  253. package/docs/_posts/components/NURBS/Contour2D.md +0 -65
  254. package/docs/_posts/components/NURBS/ContourPolyline2D.md +0 -50
  255. package/docs/_posts/components/NURBS/CoordinateDouble.md +0 -51
  256. package/docs/_posts/components/NURBS/NurbsCurve.md +0 -75
  257. package/docs/_posts/components/NURBS/NurbsCurve2D.md +0 -70
  258. package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +0 -86
  259. package/docs/_posts/components/NURBS/NurbsPatchSurface.md +0 -112
  260. package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +0 -86
  261. package/docs/_posts/components/NURBS/NurbsSet.md +0 -117
  262. package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +0 -110
  263. package/docs/_posts/components/NURBS/NurbsSweptSurface.md +0 -86
  264. package/docs/_posts/components/NURBS/NurbsSwungSurface.md +0 -76
  265. package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +0 -81
  266. package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +0 -124
  267. package/docs/_posts/components/Navigation/Billboard.md +0 -121
  268. package/docs/_posts/components/Navigation/Collision.md +0 -156
  269. package/docs/_posts/components/Navigation/LOD.md +0 -146
  270. package/docs/_posts/components/Navigation/NavigationInfo.md +0 -170
  271. package/docs/_posts/components/Navigation/OrthoViewpoint.md +0 -209
  272. package/docs/_posts/components/Navigation/Viewpoint.md +0 -213
  273. package/docs/_posts/components/Navigation/ViewpointGroup.md +0 -91
  274. package/docs/_posts/components/Networking/Anchor.md +0 -160
  275. package/docs/_posts/components/Networking/Inline.md +0 -161
  276. package/docs/_posts/components/Networking/LoadSensor.md +0 -123
  277. package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +0 -62
  278. package/docs/_posts/components/ParticleSystems/ConeEmitter.md +0 -95
  279. package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +0 -83
  280. package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +0 -65
  281. package/docs/_posts/components/ParticleSystems/ParticleSystem.md +0 -249
  282. package/docs/_posts/components/ParticleSystems/PointEmitter.md +0 -87
  283. package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +0 -106
  284. package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +0 -101
  285. package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +0 -109
  286. package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +0 -72
  287. package/docs/_posts/components/Picking/LinePickSensor.md +0 -151
  288. package/docs/_posts/components/Picking/PickableGroup.md +0 -128
  289. package/docs/_posts/components/Picking/PointPickSensor.md +0 -133
  290. package/docs/_posts/components/Picking/PrimitivePickSensor.md +0 -126
  291. package/docs/_posts/components/Picking/VolumePickSensor.md +0 -124
  292. package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +0 -147
  293. package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +0 -137
  294. package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +0 -111
  295. package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +0 -121
  296. package/docs/_posts/components/Rendering/ClipPlane.md +0 -72
  297. package/docs/_posts/components/Rendering/Color.md +0 -56
  298. package/docs/_posts/components/Rendering/ColorRGBA.md +0 -65
  299. package/docs/_posts/components/Rendering/Coordinate.md +0 -49
  300. package/docs/_posts/components/Rendering/IndexedLineSet.md +0 -156
  301. package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +0 -149
  302. package/docs/_posts/components/Rendering/IndexedTriangleSet.md +0 -149
  303. package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +0 -141
  304. package/docs/_posts/components/Rendering/LineSet.md +0 -97
  305. package/docs/_posts/components/Rendering/Normal.md +0 -63
  306. package/docs/_posts/components/Rendering/PointSet.md +0 -89
  307. package/docs/_posts/components/Rendering/TriangleFanSet.md +0 -137
  308. package/docs/_posts/components/Rendering/TriangleSet.md +0 -133
  309. package/docs/_posts/components/Rendering/TriangleStripSet.md +0 -141
  310. package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +0 -90
  311. package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +0 -115
  312. package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +0 -118
  313. package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +0 -95
  314. package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +0 -74
  315. package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +0 -106
  316. package/docs/_posts/components/RigidBodyPhysics/Contact.md +0 -121
  317. package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +0 -164
  318. package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +0 -235
  319. package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +0 -185
  320. package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +0 -136
  321. package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +0 -118
  322. package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +0 -118
  323. package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +0 -127
  324. package/docs/_posts/components/Scripting/Script.md +0 -139
  325. package/docs/_posts/components/Shaders/ComposedShader.md +0 -94
  326. package/docs/_posts/components/Shaders/FloatVertexAttribute.md +0 -74
  327. package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +0 -62
  328. package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +0 -62
  329. package/docs/_posts/components/Shaders/PackagedShader.md +0 -137
  330. package/docs/_posts/components/Shaders/ProgramShader.md +0 -91
  331. package/docs/_posts/components/Shaders/ShaderPart.md +0 -127
  332. package/docs/_posts/components/Shaders/ShaderProgram.md +0 -121
  333. package/docs/_posts/components/Shape/AcousticProperties.md +0 -80
  334. package/docs/_posts/components/Shape/Appearance.md +0 -130
  335. package/docs/_posts/components/Shape/FillProperties.md +0 -74
  336. package/docs/_posts/components/Shape/LineProperties.md +0 -71
  337. package/docs/_posts/components/Shape/Material.md +0 -235
  338. package/docs/_posts/components/Shape/PhysicalMaterial.md +0 -189
  339. package/docs/_posts/components/Shape/PointProperties.md +0 -83
  340. package/docs/_posts/components/Shape/Shape.md +0 -107
  341. package/docs/_posts/components/Shape/TwoSidedMaterial.md +0 -148
  342. package/docs/_posts/components/Shape/UnlitMaterial.md +0 -119
  343. package/docs/_posts/components/Sound/Analyser.md +0 -205
  344. package/docs/_posts/components/Sound/AudioClip.md +0 -223
  345. package/docs/_posts/components/Sound/AudioDestination.md +0 -128
  346. package/docs/_posts/components/Sound/BiquadFilter.md +0 -213
  347. package/docs/_posts/components/Sound/BufferAudioSource.md +0 -284
  348. package/docs/_posts/components/Sound/ChannelMerger.md +0 -108
  349. package/docs/_posts/components/Sound/ChannelSelector.md +0 -112
  350. package/docs/_posts/components/Sound/ChannelSplitter.md +0 -116
  351. package/docs/_posts/components/Sound/Convolver.md +0 -190
  352. package/docs/_posts/components/Sound/Delay.md +0 -185
  353. package/docs/_posts/components/Sound/DynamicsCompressor.md +0 -201
  354. package/docs/_posts/components/Sound/Gain.md +0 -177
  355. package/docs/_posts/components/Sound/ListenerPointSource.md +0 -171
  356. package/docs/_posts/components/Sound/MicrophoneSource.md +0 -145
  357. package/docs/_posts/components/Sound/OscillatorSource.md +0 -153
  358. package/docs/_posts/components/Sound/PeriodicWave.md +0 -83
  359. package/docs/_posts/components/Sound/Sound.md +0 -139
  360. package/docs/_posts/components/Sound/SpatialSound.md +0 -187
  361. package/docs/_posts/components/Sound/StreamAudioDestination.md +0 -132
  362. package/docs/_posts/components/Sound/StreamAudioSource.md +0 -145
  363. package/docs/_posts/components/Sound/WaveShaper.md +0 -189
  364. package/docs/_posts/components/Text/FontStyle.md +0 -171
  365. package/docs/_posts/components/Text/Text.md +0 -124
  366. package/docs/_posts/components/TextureProjector/TextureProjector.md +0 -111
  367. package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +0 -112
  368. package/docs/_posts/components/Texturing/ImageTexture.md +0 -138
  369. package/docs/_posts/components/Texturing/MovieTexture.md +0 -264
  370. package/docs/_posts/components/Texturing/MultiTexture.md +0 -128
  371. package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +0 -64
  372. package/docs/_posts/components/Texturing/MultiTextureTransform.md +0 -69
  373. package/docs/_posts/components/Texturing/PixelTexture.md +0 -100
  374. package/docs/_posts/components/Texturing/TextureCoordinate.md +0 -62
  375. package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +0 -74
  376. package/docs/_posts/components/Texturing/TextureProperties.md +0 -162
  377. package/docs/_posts/components/Texturing/TextureTransform.md +0 -82
  378. package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +0 -84
  379. package/docs/_posts/components/Texturing3D/ImageTexture3D.md +0 -141
  380. package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +0 -137
  381. package/docs/_posts/components/Texturing3D/PixelTexture3D.md +0 -87
  382. package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +0 -65
  383. package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +0 -64
  384. package/docs/_posts/components/Texturing3D/TextureTransform3D.md +0 -78
  385. package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +0 -67
  386. package/docs/_posts/components/Time/TimeSensor.md +0 -187
  387. package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +0 -113
  388. package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +0 -63
  389. package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +0 -86
  390. package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +0 -59
  391. package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +0 -75
  392. package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +0 -138
  393. package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +0 -59
  394. package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +0 -70
  395. package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +0 -130
  396. package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +0 -83
  397. package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +0 -71
  398. package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +0 -80
  399. package/docs/_posts/components/VolumeRendering/VolumeData.md +0 -105
  400. package/docs/_posts/components/X_ITE/BlendMode.md +0 -101
  401. package/docs/_posts/custom-shaders.md +0 -720
  402. package/docs/_posts/dom-integration.md +0 -237
  403. package/docs/_posts/features.md +0 -56
  404. package/docs/_posts/getting-started.md +0 -845
  405. package/docs/_posts/glossary.md +0 -344
  406. package/docs/_posts/how-to-configure-your-web-server.md +0 -61
  407. package/docs/_posts/laboratory/x3d-file-converter.md +0 -188
  408. package/docs/_posts/reference/browser-services.md +0 -466
  409. package/docs/_posts/reference/constants-services.md +0 -381
  410. package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +0 -50
  411. package/docs/_posts/reference/field-services-and-objects.md +0 -1137
  412. package/docs/_posts/reference/prototype-services.md +0 -146
  413. package/docs/_posts/reference/route-services.md +0 -54
  414. package/docs/_posts/reference/scene-services.md +0 -392
  415. package/docs/_posts/reference/script-node-authoring-interface.md +0 -347
  416. package/docs/_posts/report-a-bug.md +0 -17
  417. package/docs/_posts/setup-a-localhost-server.md +0 -46
  418. package/docs/_posts/supported-nodes.md +0 -378
  419. package/docs/_posts/tutorials/adding-backgrounds.md +0 -273
  420. package/docs/_posts/tutorials/adding-fog.md +0 -72
  421. package/docs/_posts/tutorials/adding-sound.md +0 -333
  422. package/docs/_posts/tutorials/animating-transforms.md +0 -390
  423. package/docs/_posts/tutorials/basic-nodes.md +0 -312
  424. package/docs/_posts/tutorials/building-a-x3d-world.md +0 -174
  425. package/docs/_posts/tutorials/building-elevation-grids.md +0 -177
  426. package/docs/_posts/tutorials/building-extruded-shapes.md +0 -150
  427. package/docs/_posts/tutorials/building-primitive-shapes.md +0 -211
  428. package/docs/_posts/tutorials/building-shapes-out-of-points-lines-and-faces.md +0 -315
  429. package/docs/_posts/tutorials/controlling-appearance-with-materials.md +0 -193
  430. package/docs/_posts/tutorials/controlling-color-on-coordinate-based-geometry.md +0 -213
  431. package/docs/_posts/tutorials/controlling-detail.md +0 -137
  432. package/docs/_posts/tutorials/controlling-how-textures-are-mapped.md +0 -282
  433. package/docs/_posts/tutorials/controlling-navigation.md +0 -75
  434. package/docs/_posts/tutorials/controlling-shading-on-coordinate-based-geometry.md +0 -185
  435. package/docs/_posts/tutorials/controlling-the-viewpoint.md +0 -54
  436. package/docs/_posts/tutorials/creating-new-node-types.md +0 -340
  437. package/docs/_posts/tutorials/grouping-nodes.md +0 -242
  438. package/docs/_posts/tutorials/hello-world.md +0 -198
  439. package/docs/_posts/tutorials/improving-performance.md +0 -229
  440. package/docs/_posts/tutorials/increasing-rendering-speed.md +0 -115
  441. package/docs/_posts/tutorials/introducing-animation.md +0 -216
  442. package/docs/_posts/tutorials/introducing-script-use.md +0 -132
  443. package/docs/_posts/tutorials/introducing-x3d.md +0 -100
  444. package/docs/_posts/tutorials/lighting-your-world.md +0 -144
  445. package/docs/_posts/tutorials/mapping-textures.md +0 -217
  446. package/docs/_posts/tutorials/naming-nodes.md +0 -168
  447. package/docs/_posts/tutorials/overview.md +0 -83
  448. package/docs/_posts/tutorials/providing-information-about-your-world.md +0 -35
  449. package/docs/_posts/tutorials/sensing-the-viewer.md +0 -210
  450. package/docs/_posts/tutorials/sensing-viewer-actions.md +0 -219
  451. package/docs/_posts/tutorials/transforming-shapes.md +0 -275
  452. package/docs/_posts/tutorials/writing-program-scripts-with-ecmascript.md +0 -637
  453. package/docs/_posts/what's-new.md +0 -1115
  454. package/docs/_tabs/components.md +0 -383
  455. package/docs/_tabs/laboratory.md +0 -52
  456. package/docs/_tabs/playground.html +0 -407
  457. package/docs/_tabs/reference.md +0 -8
  458. package/docs/_tabs/tags.md +0 -5
  459. package/docs/_tabs/tutorials.md +0 -7
  460. package/docs/assets/X3D/teaser/Michroma-Regular.ttf +0 -0
  461. package/docs/assets/X3D/teaser/peakpx.jpg +0 -0
  462. package/docs/assets/X3D/teaser/teaser.x3d +0 -55
  463. package/docs/assets/css/style.scss +0 -320
  464. package/docs/assets/img/favicons/android-chrome-192x192.png +0 -0
  465. package/docs/assets/img/favicons/android-chrome-512x512.png +0 -0
  466. package/docs/assets/img/favicons/apple-touch-icon.png +0 -0
  467. package/docs/assets/img/favicons/favicon-16x16.png +0 -0
  468. package/docs/assets/img/favicons/favicon-32x32.png +0 -0
  469. package/docs/assets/img/favicons/favicon.ico +0 -0
  470. package/docs/assets/img/favicons/mstile-150x150.png +0 -0
  471. package/docs/assets/img/favicons/safari-pinned-tab.svg +0 -71
  472. package/docs/assets/img/laboratory/blend-mode.png +0 -0
  473. package/docs/assets/img/laboratory/dicom-nrrd.png +0 -0
  474. package/docs/assets/img/laboratory/earthquake.png +0 -0
  475. package/docs/assets/img/laboratory/gltf.png +0 -0
  476. package/docs/assets/img/laboratory/l-system.png +0 -0
  477. package/docs/assets/img/logo.png +0 -0
  478. package/docs/assets/js/example.js +0 -128
  479. package/docs/google3696ee938394d7b6.html +0 -1
  480. package/docs/laboratory/3d-l-system-generator.html +0 -169
  481. package/docs/laboratory/gltf-sample-viewer.html +0 -811
  482. package/docs/laboratory/online-dicom-and-nrrd-file-viewer.html +0 -72
  483. package/docs/laboratory/real-time-earth-quake-information.html +0 -50
  484. package/docs/laboratory/x3d-visual-blend-mode-editor.html +0 -228
  485. package/meta/logo/icon.svg +0 -432
  486. package/meta/logo/logo.png +0 -0
  487. package/meta/logo/logo.s.svg +0 -470
  488. package/meta/logo/logo.svg +0 -396
  489. package/src/LICENSE.txt +0 -46
  490. package/src/assets/components/Annotation.js +0 -74
  491. package/src/assets/components/CADGeometry.js +0 -74
  492. package/src/assets/components/CubeMapTexturing.js +0 -68
  493. package/src/assets/components/DIS.js +0 -72
  494. package/src/assets/components/EventUtilities.js +0 -78
  495. package/src/assets/components/Geometry2D.js +0 -78
  496. package/src/assets/components/Geospatial.js +0 -84
  497. package/src/assets/components/HAnim.js +0 -72
  498. package/src/assets/components/KeyDeviceSensor.js +0 -68
  499. package/src/assets/components/Layout.js +0 -74
  500. package/src/assets/components/NURBS.js +0 -94
  501. package/src/assets/components/ParticleSystems.js +0 -86
  502. package/src/assets/components/Picking.js +0 -74
  503. package/src/assets/components/RigidBodyPhysics.js +0 -94
  504. package/src/assets/components/Scripting.js +0 -64
  505. package/src/assets/components/Text.js +0 -68
  506. package/src/assets/components/TextureProjector.js +0 -66
  507. package/src/assets/components/Texturing3D.js +0 -78
  508. package/src/assets/components/VolumeRendering.js +0 -94
  509. package/src/assets/components/X_ITE.js +0 -62
  510. package/src/assets/fonts/DroidSerif-Bold.ttf +0 -0
  511. package/src/assets/fonts/DroidSerif-BoldItalic.ttf +0 -0
  512. package/src/assets/fonts/DroidSerif-Italic.ttf +0 -0
  513. package/src/assets/fonts/DroidSerif-Regular.ttf +0 -0
  514. package/src/assets/fonts/Ubuntu-B.ttf +0 -0
  515. package/src/assets/fonts/Ubuntu-BI.ttf +0 -0
  516. package/src/assets/fonts/Ubuntu-R.ttf +0 -0
  517. package/src/assets/fonts/Ubuntu-RI.ttf +0 -0
  518. package/src/assets/fonts/UbuntuMono-B.ttf +0 -0
  519. package/src/assets/fonts/UbuntuMono-BI.ttf +0 -0
  520. package/src/assets/fonts/UbuntuMono-R.ttf +0 -0
  521. package/src/assets/fonts/UbuntuMono-RI.ttf +0 -0
  522. package/src/assets/hatching/1.png +0 -0
  523. package/src/assets/hatching/10.png +0 -0
  524. package/src/assets/hatching/11.png +0 -0
  525. package/src/assets/hatching/12.png +0 -0
  526. package/src/assets/hatching/13.png +0 -0
  527. package/src/assets/hatching/14.png +0 -0
  528. package/src/assets/hatching/15.png +0 -0
  529. package/src/assets/hatching/16.png +0 -0
  530. package/src/assets/hatching/17.png +0 -0
  531. package/src/assets/hatching/18.png +0 -0
  532. package/src/assets/hatching/19.png +0 -0
  533. package/src/assets/hatching/2.png +0 -0
  534. package/src/assets/hatching/3.png +0 -0
  535. package/src/assets/hatching/4.png +0 -0
  536. package/src/assets/hatching/5.png +0 -0
  537. package/src/assets/hatching/6.png +0 -0
  538. package/src/assets/hatching/7.png +0 -0
  539. package/src/assets/hatching/8.png +0 -0
  540. package/src/assets/hatching/9.png +0 -0
  541. package/src/assets/images/ExamineViewer.png +0 -0
  542. package/src/assets/images/FlyViewer.png +0 -0
  543. package/src/assets/images/NoneViewer.png +0 -0
  544. package/src/assets/images/PlaneViewer.png +0 -0
  545. package/src/assets/images/PrimitiveQuality.png +0 -0
  546. package/src/assets/images/Shading.png +0 -0
  547. package/src/assets/images/TextureQuality.png +0 -0
  548. package/src/assets/images/Time.png +0 -0
  549. package/src/assets/images/Viewpoint.png +0 -0
  550. package/src/assets/images/WalkViewer.png +0 -0
  551. package/src/assets/images/go-next.png +0 -0
  552. package/src/assets/images/gtk-fullscreen.png +0 -0
  553. package/src/assets/images/gtk-leave-fullscreen.png +0 -0
  554. package/src/assets/images/gtk-zoom-fit.png +0 -0
  555. package/src/assets/images/gtk-zoom-in.png +0 -0
  556. package/src/assets/images/help-about.png +0 -0
  557. package/src/assets/images/icon.bw.png +0 -0
  558. package/src/assets/images/icon.png +0 -0
  559. package/src/assets/images/logo.128.png +0 -0
  560. package/src/assets/images/logo.bw.png +0 -0
  561. package/src/assets/images/logo.png +0 -0
  562. package/src/assets/lib/draco_decoder_gltf.js +0 -29
  563. package/src/assets/linetype/linetypes.png +0 -0
  564. package/src/assets/shaders/Types.glsl.js +0 -312
  565. package/src/assets/shaders/webgl1/Default.vs.js +0 -14
  566. package/src/assets/shaders/webgl1/Depth.fs.js +0 -25
  567. package/src/assets/shaders/webgl1/Depth.vs.js +0 -31
  568. package/src/assets/shaders/webgl1/Gouraud.fs.js +0 -40
  569. package/src/assets/shaders/webgl1/Gouraud.vs.js +0 -58
  570. package/src/assets/shaders/webgl1/PBR.fs.js +0 -366
  571. package/src/assets/shaders/webgl1/Phong.fs.js +0 -211
  572. package/src/assets/shaders/webgl1/Pointing.fs.js +0 -40
  573. package/src/assets/shaders/webgl1/Pointing.vs.js +0 -46
  574. package/src/assets/shaders/webgl1/Unlit.fs.js +0 -55
  575. package/src/assets/shaders/webgl1/include/ClipPlanes.glsl.js +0 -17
  576. package/src/assets/shaders/webgl1/include/Colors.glsl.js +0 -27
  577. package/src/assets/shaders/webgl1/include/Fog.glsl.js +0 -32
  578. package/src/assets/shaders/webgl1/include/Fragment.glsl.js +0 -137
  579. package/src/assets/shaders/webgl1/include/Hatch.glsl.js +0 -22
  580. package/src/assets/shaders/webgl1/include/Material.glsl.js +0 -59
  581. package/src/assets/shaders/webgl1/include/Normal.glsl.js +0 -48
  582. package/src/assets/shaders/webgl1/include/Perlin.glsl.js +0 -41
  583. package/src/assets/shaders/webgl1/include/Point.glsl.js +0 -47
  584. package/src/assets/shaders/webgl1/include/PointSize.glsl.js +0 -31
  585. package/src/assets/shaders/webgl1/include/Shadow.glsl.js +0 -314
  586. package/src/assets/shaders/webgl1/include/SpotFactor.glsl.js +0 -14
  587. package/src/assets/shaders/webgl1/include/Texture.glsl.js +0 -532
  588. package/src/assets/shaders/webgl1/include/Vertex.glsl.js +0 -154
  589. package/src/assets/shaders/webgl2/Compose.fs.js +0 -29
  590. package/src/assets/shaders/webgl2/Compose.vs.js +0 -14
  591. package/src/assets/shaders/webgl2/Default.vs.js +0 -16
  592. package/src/assets/shaders/webgl2/Depth.fs.js +0 -28
  593. package/src/assets/shaders/webgl2/Depth.vs.js +0 -37
  594. package/src/assets/shaders/webgl2/Gouraud.fs.js +0 -42
  595. package/src/assets/shaders/webgl2/Gouraud.vs.js +0 -60
  596. package/src/assets/shaders/webgl2/LineTransform.fs.js +0 -7
  597. package/src/assets/shaders/webgl2/LineTransform.vs.js +0 -90
  598. package/src/assets/shaders/webgl2/PBR.fs.js +0 -373
  599. package/src/assets/shaders/webgl2/Phong.fs.js +0 -225
  600. package/src/assets/shaders/webgl2/Pointing.fs.js +0 -49
  601. package/src/assets/shaders/webgl2/Pointing.vs.js +0 -68
  602. package/src/assets/shaders/webgl2/Unlit.fs.js +0 -60
  603. package/src/assets/shaders/webgl2/include/ClipPlanes.glsl.js +0 -17
  604. package/src/assets/shaders/webgl2/include/Colors.glsl.js +0 -27
  605. package/src/assets/shaders/webgl2/include/Fog.glsl.js +0 -32
  606. package/src/assets/shaders/webgl2/include/Fragment.glsl.js +0 -162
  607. package/src/assets/shaders/webgl2/include/Hatch.glsl.js +0 -22
  608. package/src/assets/shaders/webgl2/include/Line2.glsl.js +0 -22
  609. package/src/assets/shaders/webgl2/include/Material.glsl.js +0 -59
  610. package/src/assets/shaders/webgl2/include/Normal.glsl.js +0 -50
  611. package/src/assets/shaders/webgl2/include/Particle.glsl.js +0 -34
  612. package/src/assets/shaders/webgl2/include/Perlin.glsl.js +0 -41
  613. package/src/assets/shaders/webgl2/include/Point.glsl.js +0 -47
  614. package/src/assets/shaders/webgl2/include/PointSize.glsl.js +0 -31
  615. package/src/assets/shaders/webgl2/include/Shadow.glsl.js +0 -328
  616. package/src/assets/shaders/webgl2/include/Skin.glsl.js +0 -88
  617. package/src/assets/shaders/webgl2/include/SpotFactor.glsl.js +0 -14
  618. package/src/assets/shaders/webgl2/include/Stipple.glsl.js +0 -43
  619. package/src/assets/shaders/webgl2/include/Texture.glsl.js +0 -527
  620. package/src/assets/shaders/webgl2/include/Utils.glsl.js +0 -13
  621. package/src/assets/shaders/webgl2/include/Vertex.glsl.js +0 -180
  622. package/src/bookmarks.js +0 -297
  623. package/src/example.html +0 -21
  624. package/src/examples.js +0 -156
  625. package/src/lib/ammojs/AmmoClass.js +0 -50
  626. package/src/lib/ammojs/Makefile +0 -25
  627. package/src/lib/ammojs/ammo.idl +0 -1031
  628. package/src/lib/ammojs/ammo.js +0 -35
  629. package/src/lib/jquery.js +0 -66
  630. package/src/lib/libgif/libgif.js +0 -1004
  631. package/src/lib/libtess.js +0 -1
  632. package/src/lib/nurbs/extras/sample.js +0 -233
  633. package/src/lib/nurbs/nurbs.js +0 -325
  634. package/src/lib/nurbs/src/evaluate.js +0 -402
  635. package/src/lib/nurbs/src/numerical-derivative.js +0 -49
  636. package/src/lib/nurbs/src/support.js +0 -140
  637. package/src/lib/nurbs/src/transform.js +0 -70
  638. package/src/lib/nurbs/src/utils/accessor-preamble.js +0 -27
  639. package/src/lib/nurbs/src/utils/bisection-search.js +0 -22
  640. package/src/lib/nurbs/src/utils/cache-key.js +0 -50
  641. package/src/lib/nurbs/src/utils/create-accessors.js +0 -103
  642. package/src/lib/nurbs/src/utils/infer-type.js +0 -44
  643. package/src/lib/nurbs/src/utils/is-array-like.js +0 -5
  644. package/src/lib/nurbs/src/utils/is-ndarray-like.js +0 -13
  645. package/src/lib/nurbs/src/utils/is-ndarray.js +0 -16
  646. package/src/lib/nurbs/src/utils/ndloop.js +0 -18
  647. package/src/lib/nurbs/src/utils/size-getter.js +0 -16
  648. package/src/lib/nurbs/src/utils/variable.js +0 -26
  649. package/src/locale/de.po.js +0 -182
  650. package/src/locale/fr.po.js +0 -179
  651. package/src/locale/gettext.js +0 -120
  652. package/src/shim.js +0 -81
  653. package/src/standard/Geospatial/Geodetic.js +0 -257
  654. package/src/standard/Geospatial/ReferenceEllipsoids.js +0 -92
  655. package/src/standard/Geospatial/UniversalTransverseMercator.js +0 -205
  656. package/src/standard/Math/Algorithm.js +0 -237
  657. package/src/standard/Math/Algorithms/Bezier.js +0 -232
  658. package/src/standard/Math/Algorithms/MergeSort.js +0 -104
  659. package/src/standard/Math/Algorithms/PartialSort.js +0 -92
  660. package/src/standard/Math/Algorithms/QuickSort.js +0 -106
  661. package/src/standard/Math/Algorithms/SAT.js +0 -109
  662. package/src/standard/Math/Algorithms/eigen_decomposition.js +0 -190
  663. package/src/standard/Math/Geometry/Box2.js +0 -257
  664. package/src/standard/Math/Geometry/Box3.js +0 -665
  665. package/src/standard/Math/Geometry/Camera.js +0 -127
  666. package/src/standard/Math/Geometry/Cylinder3.js +0 -159
  667. package/src/standard/Math/Geometry/Line2.js +0 -155
  668. package/src/standard/Math/Geometry/Line3.js +0 -235
  669. package/src/standard/Math/Geometry/Plane3.js +0 -163
  670. package/src/standard/Math/Geometry/Sphere3.js +0 -191
  671. package/src/standard/Math/Geometry/Spheroid3.js +0 -86
  672. package/src/standard/Math/Geometry/Triangle2.js +0 -78
  673. package/src/standard/Math/Geometry/Triangle3.js +0 -140
  674. package/src/standard/Math/Geometry/ViewVolume.js +0 -422
  675. package/src/standard/Math/Numbers/Color3.js +0 -258
  676. package/src/standard/Math/Numbers/Color4.js +0 -188
  677. package/src/standard/Math/Numbers/Complex.js +0 -246
  678. package/src/standard/Math/Numbers/Matrix2.js +0 -274
  679. package/src/standard/Math/Numbers/Matrix3.js +0 -673
  680. package/src/standard/Math/Numbers/Matrix4.js +0 -794
  681. package/src/standard/Math/Numbers/Quaternion.js +0 -665
  682. package/src/standard/Math/Numbers/Rotation4.js +0 -478
  683. package/src/standard/Math/Numbers/Vector2.js +0 -238
  684. package/src/standard/Math/Numbers/Vector3.js +0 -292
  685. package/src/standard/Math/Numbers/Vector4.js +0 -307
  686. package/src/standard/Math/Utility/BVH.js +0 -378
  687. package/src/standard/Math/Utility/MatrixStack.js +0 -114
  688. package/src/standard/Time/StopWatch.js +0 -84
  689. package/src/standard/Utility/BitSet.js +0 -117
  690. package/src/standard/Utility/DataStorage.js +0 -132
  691. package/src/standard/Utility/MapUtilities.js +0 -83
  692. package/src/standard/Utility/ObjectCache.js +0 -72
  693. package/src/standard/Utility/Shuffle.js +0 -66
  694. package/src/tests.js +0 -399
  695. package/src/x_ite/Base/Events.js +0 -73
  696. package/src/x_ite/Base/FieldArray.js +0 -70
  697. package/src/x_ite/Base/FieldDefinitionArray.js +0 -70
  698. package/src/x_ite/Base/X3DArrayField.js +0 -138
  699. package/src/x_ite/Base/X3DBaseNode.js +0 -639
  700. package/src/x_ite/Base/X3DCast.js +0 -75
  701. package/src/x_ite/Base/X3DChildObject.js +0 -265
  702. package/src/x_ite/Base/X3DConstants.js +0 -146
  703. package/src/x_ite/Base/X3DField.js +0 -429
  704. package/src/x_ite/Base/X3DFieldDefinition.js +0 -75
  705. package/src/x_ite/Base/X3DInfoArray.js +0 -381
  706. package/src/x_ite/Base/X3DObject.js +0 -254
  707. package/src/x_ite/Base/X3DObjectArrayField.js +0 -541
  708. package/src/x_ite/Base/X3DTypedArrayField.js +0 -1018
  709. package/src/x_ite/Browser/Core/BrowserOptions.js +0 -388
  710. package/src/x_ite/Browser/Core/BrowserProperties.js +0 -84
  711. package/src/x_ite/Browser/Core/BrowserTimings.js +0 -300
  712. package/src/x_ite/Browser/Core/Context.js +0 -278
  713. package/src/x_ite/Browser/Core/ContextMenu.js +0 -718
  714. package/src/x_ite/Browser/Core/Notification.js +0 -117
  715. package/src/x_ite/Browser/Core/PrimitiveQuality.js +0 -57
  716. package/src/x_ite/Browser/Core/RenderingProperties.js +0 -104
  717. package/src/x_ite/Browser/Core/Shading.js +0 -59
  718. package/src/x_ite/Browser/Core/TextureQuality.js +0 -57
  719. package/src/x_ite/Browser/Core/X3DCoreContext.js +0 -758
  720. package/src/x_ite/Browser/DOMIntegration.js +0 -383
  721. package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +0 -76
  722. package/src/x_ite/Browser/Followers/X3DArrayChaserTemplate.js +0 -78
  723. package/src/x_ite/Browser/Followers/X3DArrayFollowerTemplate.js +0 -176
  724. package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +0 -70
  725. package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +0 -70
  726. package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +0 -106
  727. package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +0 -159
  728. package/src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js +0 -112
  729. package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +0 -134
  730. package/src/x_ite/Browser/Geometry3D/BoxOptions.js +0 -123
  731. package/src/x_ite/Browser/Geometry3D/ConeOptions.js +0 -71
  732. package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +0 -71
  733. package/src/x_ite/Browser/Geometry3D/IcoSphere.js +0 -404
  734. package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +0 -115
  735. package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +0 -287
  736. package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +0 -128
  737. package/src/x_ite/Browser/Geospatial/Geocentric.js +0 -75
  738. package/src/x_ite/Browser/Geospatial/Geospatial.js +0 -205
  739. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +0 -84
  740. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +0 -186
  741. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +0 -87
  742. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator2.js +0 -53
  743. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator3.js +0 -53
  744. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +0 -107
  745. package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +0 -112
  746. package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +0 -97
  747. package/src/x_ite/Browser/Layering/X3DLayeringContext.js +0 -70
  748. package/src/x_ite/Browser/Layout/ScreenText.js +0 -412
  749. package/src/x_ite/Browser/Layout/X3DLayoutContext.js +0 -131
  750. package/src/x_ite/Browser/Legacy.js +0 -84
  751. package/src/x_ite/Browser/Lighting/X3DLightingContext.js +0 -105
  752. package/src/x_ite/Browser/NURBS/NURBS.js +0 -471
  753. package/src/x_ite/Browser/Navigation/ExamineViewer.js +0 -866
  754. package/src/x_ite/Browser/Navigation/FlyViewer.js +0 -99
  755. package/src/x_ite/Browser/Navigation/LookAtViewer.js +0 -519
  756. package/src/x_ite/Browser/Navigation/NoneViewer.js +0 -77
  757. package/src/x_ite/Browser/Navigation/PlaneViewer.js +0 -243
  758. package/src/x_ite/Browser/Navigation/WalkViewer.js +0 -130
  759. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +0 -727
  760. package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +0 -240
  761. package/src/x_ite/Browser/Navigation/X3DViewer.js +0 -204
  762. package/src/x_ite/Browser/Networking/URLs.js +0 -103
  763. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +0 -227
  764. package/src/x_ite/Browser/ParticleSystems/BVH.glsl.js +0 -185
  765. package/src/x_ite/Browser/ParticleSystems/Box3.glsl.js +0 -49
  766. package/src/x_ite/Browser/ParticleSystems/GeometryTypes.js +0 -59
  767. package/src/x_ite/Browser/ParticleSystems/Line3.glsl.js +0 -57
  768. package/src/x_ite/Browser/ParticleSystems/Plane3.glsl.js +0 -162
  769. package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +0 -72
  770. package/src/x_ite/Browser/Picking/IntersectionType.js +0 -56
  771. package/src/x_ite/Browser/Picking/MatchCriterion.js +0 -57
  772. package/src/x_ite/Browser/Picking/SortOrder.js +0 -58
  773. package/src/x_ite/Browser/Picking/VolumePicker.js +0 -177
  774. package/src/x_ite/Browser/Picking/X3DPickingContext.js +0 -132
  775. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +0 -279
  776. package/src/x_ite/Browser/PointingDeviceSensor/PointingDeviceSensorContainer.js +0 -85
  777. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +0 -395
  778. package/src/x_ite/Browser/Rendering/GeometryContext.js +0 -83
  779. package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +0 -270
  780. package/src/x_ite/Browser/RigidBodyPhysics/AppliedParametersType.js +0 -63
  781. package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +0 -67
  782. package/src/x_ite/Browser/Scripting/evaluate.js +0 -68
  783. package/src/x_ite/Browser/Shaders/ShaderCompiler.js +0 -97
  784. package/src/x_ite/Browser/Shaders/ShaderSource.js +0 -204
  785. package/src/x_ite/Browser/Shaders/Shaders.js +0 -191
  786. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +0 -190
  787. package/src/x_ite/Browser/Shape/AlphaMode.js +0 -58
  788. package/src/x_ite/Browser/Shape/X3DShapeContext.js +0 -209
  789. package/src/x_ite/Browser/Sound/X3DSoundContext.js +0 -57
  790. package/src/x_ite/Browser/Text/PolygonText.js +0 -360
  791. package/src/x_ite/Browser/Text/TextAlignment.js +0 -58
  792. package/src/x_ite/Browser/Text/X3DTextContext.js +0 -134
  793. package/src/x_ite/Browser/Text/X3DTextGeometry.js +0 -614
  794. package/src/x_ite/Browser/Texturing/FunctionType.js +0 -57
  795. package/src/x_ite/Browser/Texturing/GifMedia.js +0 -113
  796. package/src/x_ite/Browser/Texturing/ModeType.js +0 -74
  797. package/src/x_ite/Browser/Texturing/SourceType.js +0 -58
  798. package/src/x_ite/Browser/Texturing/TextureCoordinateGeneratorModeType.js +0 -66
  799. package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +0 -340
  800. package/src/x_ite/Browser/Texturing3D/DICOMParser.js +0 -1097
  801. package/src/x_ite/Browser/Texturing3D/NRRDParser.js +0 -458
  802. package/src/x_ite/Browser/Time/X3DTimeContext.js +0 -108
  803. package/src/x_ite/Browser/VERSION.js +0 -48
  804. package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +0 -145
  805. package/src/x_ite/Browser/VolumeRendering/VolumeStyle.fs.js +0 -60
  806. package/src/x_ite/Browser/VolumeRendering/VolumeStyle.vs.js +0 -26
  807. package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +0 -131
  808. package/src/x_ite/Browser/X3DBrowser.js +0 -1060
  809. package/src/x_ite/Browser/X3DBrowserContext.js +0 -436
  810. package/src/x_ite/Components/Annotation/AnnotationLayer.js +0 -109
  811. package/src/x_ite/Components/Annotation/AnnotationTarget.js +0 -104
  812. package/src/x_ite/Components/Annotation/GroupAnnotation.js +0 -119
  813. package/src/x_ite/Components/Annotation/IconAnnotation.js +0 -117
  814. package/src/x_ite/Components/Annotation/TextAnnotation.js +0 -105
  815. package/src/x_ite/Components/Annotation/URLAnnotation.js +0 -104
  816. package/src/x_ite/Components/Annotation/X3DAnnotationNode.js +0 -80
  817. package/src/x_ite/Components/CADGeometry/CADAssembly.js +0 -107
  818. package/src/x_ite/Components/CADGeometry/CADFace.js +0 -252
  819. package/src/x_ite/Components/CADGeometry/CADLayer.js +0 -102
  820. package/src/x_ite/Components/CADGeometry/CADPart.js +0 -112
  821. package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +0 -132
  822. package/src/x_ite/Components/CADGeometry/QuadSet.js +0 -127
  823. package/src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js +0 -74
  824. package/src/x_ite/Components/Core/MetadataBoolean.js +0 -119
  825. package/src/x_ite/Components/Core/MetadataDouble.js +0 -119
  826. package/src/x_ite/Components/Core/MetadataFloat.js +0 -119
  827. package/src/x_ite/Components/Core/MetadataInteger.js +0 -119
  828. package/src/x_ite/Components/Core/MetadataSet.js +0 -119
  829. package/src/x_ite/Components/Core/MetadataString.js +0 -119
  830. package/src/x_ite/Components/Core/WorldInfo.js +0 -110
  831. package/src/x_ite/Components/Core/X3DBindableNode.js +0 -108
  832. package/src/x_ite/Components/Core/X3DChildNode.js +0 -101
  833. package/src/x_ite/Components/Core/X3DInfoNode.js +0 -74
  834. package/src/x_ite/Components/Core/X3DMetadataObject.js +0 -75
  835. package/src/x_ite/Components/Core/X3DNode.js +0 -1393
  836. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +0 -1012
  837. package/src/x_ite/Components/Core/X3DSensorNode.js +0 -74
  838. package/src/x_ite/Components/Core.js +0 -85
  839. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +0 -250
  840. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +0 -295
  841. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +0 -278
  842. package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +0 -141
  843. package/src/x_ite/Components/DIS/DISEntityManager.js +0 -104
  844. package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +0 -120
  845. package/src/x_ite/Components/DIS/EspduTransform.js +0 -194
  846. package/src/x_ite/Components/DIS/ReceiverPdu.js +0 -139
  847. package/src/x_ite/Components/DIS/SignalPdu.js +0 -139
  848. package/src/x_ite/Components/DIS/TransmitterPdu.js +0 -155
  849. package/src/x_ite/Components/EnvironmentalEffects/Background.js +0 -159
  850. package/src/x_ite/Components/EnvironmentalEffects/Fog.js +0 -132
  851. package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +0 -153
  852. package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +0 -129
  853. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +0 -133
  854. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +0 -613
  855. package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +0 -176
  856. package/src/x_ite/Components/EnvironmentalEffects.js +0 -71
  857. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +0 -280
  858. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +0 -319
  859. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +0 -177
  860. package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +0 -143
  861. package/src/x_ite/Components/EnvironmentalSensor.js +0 -65
  862. package/src/x_ite/Components/EventUtilities/BooleanFilter.js +0 -118
  863. package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +0 -116
  864. package/src/x_ite/Components/EventUtilities/BooleanToggle.js +0 -109
  865. package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +0 -108
  866. package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +0 -116
  867. package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +0 -109
  868. package/src/x_ite/Components/EventUtilities/TimeTrigger.js +0 -108
  869. package/src/x_ite/Components/EventUtilities/X3DSequencerNode.js +0 -153
  870. package/src/x_ite/Components/EventUtilities/X3DTriggerNode.js +0 -74
  871. package/src/x_ite/Components/Followers/ColorChaser.js +0 -147
  872. package/src/x_ite/Components/Followers/ColorDamper.js +0 -145
  873. package/src/x_ite/Components/Followers/CoordinateChaser.js +0 -113
  874. package/src/x_ite/Components/Followers/CoordinateDamper.js +0 -115
  875. package/src/x_ite/Components/Followers/OrientationChaser.js +0 -134
  876. package/src/x_ite/Components/Followers/OrientationDamper.js +0 -130
  877. package/src/x_ite/Components/Followers/PositionChaser.js +0 -108
  878. package/src/x_ite/Components/Followers/PositionChaser2D.js +0 -108
  879. package/src/x_ite/Components/Followers/PositionDamper.js +0 -110
  880. package/src/x_ite/Components/Followers/PositionDamper2D.js +0 -110
  881. package/src/x_ite/Components/Followers/ScalarChaser.js +0 -136
  882. package/src/x_ite/Components/Followers/ScalarDamper.js +0 -126
  883. package/src/x_ite/Components/Followers/TexCoordChaser2D.js +0 -113
  884. package/src/x_ite/Components/Followers/TexCoordDamper2D.js +0 -115
  885. package/src/x_ite/Components/Followers/X3DChaserNode.js +0 -241
  886. package/src/x_ite/Components/Followers/X3DDamperNode.js +0 -176
  887. package/src/x_ite/Components/Followers/X3DFollowerNode.js +0 -151
  888. package/src/x_ite/Components/Followers.js +0 -91
  889. package/src/x_ite/Components/Geometry2D/Arc2D.js +0 -162
  890. package/src/x_ite/Components/Geometry2D/ArcClose2D.js +0 -227
  891. package/src/x_ite/Components/Geometry2D/Circle2D.js +0 -130
  892. package/src/x_ite/Components/Geometry2D/Disk2D.js +0 -257
  893. package/src/x_ite/Components/Geometry2D/Polyline2D.js +0 -111
  894. package/src/x_ite/Components/Geometry2D/Polypoint2D.js +0 -110
  895. package/src/x_ite/Components/Geometry2D/Rectangle2D.js +0 -148
  896. package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +0 -142
  897. package/src/x_ite/Components/Geometry3D/Box.js +0 -146
  898. package/src/x_ite/Components/Geometry3D/Cone.js +0 -248
  899. package/src/x_ite/Components/Geometry3D/Cylinder.js +0 -309
  900. package/src/x_ite/Components/Geometry3D/ElevationGrid.js +0 -439
  901. package/src/x_ite/Components/Geometry3D/Extrusion.js +0 -729
  902. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +0 -473
  903. package/src/x_ite/Components/Geometry3D/Sphere.js +0 -146
  904. package/src/x_ite/Components/Geometry3D.js +0 -71
  905. package/src/x_ite/Components/Geospatial/GeoCoordinate.js +0 -238
  906. package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +0 -433
  907. package/src/x_ite/Components/Geospatial/GeoLOD.js +0 -466
  908. package/src/x_ite/Components/Geospatial/GeoLocation.js +0 -130
  909. package/src/x_ite/Components/Geospatial/GeoMetadata.js +0 -117
  910. package/src/x_ite/Components/Geospatial/GeoOrigin.js +0 -118
  911. package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +0 -156
  912. package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +0 -163
  913. package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +0 -135
  914. package/src/x_ite/Components/Geospatial/GeoTransform.js +0 -145
  915. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +0 -290
  916. package/src/x_ite/Components/Geospatial/X3DGeospatialObject.js +0 -272
  917. package/src/x_ite/Components/Grouping/Group.js +0 -101
  918. package/src/x_ite/Components/Grouping/StaticGroup.js +0 -244
  919. package/src/x_ite/Components/Grouping/Switch.js +0 -257
  920. package/src/x_ite/Components/Grouping/Transform.js +0 -106
  921. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -150
  922. package/src/x_ite/Components/Grouping/X3DGroupingNode.js +0 -722
  923. package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +0 -135
  924. package/src/x_ite/Components/Grouping/X3DTransformNode.js +0 -95
  925. package/src/x_ite/Components/Grouping.js +0 -73
  926. package/src/x_ite/Components/HAnim/HAnimDisplacer.js +0 -101
  927. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +0 -640
  928. package/src/x_ite/Components/HAnim/HAnimJoint.js +0 -198
  929. package/src/x_ite/Components/HAnim/HAnimMotion.js +0 -434
  930. package/src/x_ite/Components/HAnim/HAnimSegment.js +0 -110
  931. package/src/x_ite/Components/HAnim/HAnimSite.js +0 -108
  932. package/src/x_ite/Components/Interpolation/ColorInterpolator.js +0 -132
  933. package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +0 -132
  934. package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +0 -129
  935. package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +0 -149
  936. package/src/x_ite/Components/Interpolation/NormalInterpolator.js +0 -158
  937. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +0 -134
  938. package/src/x_ite/Components/Interpolation/PositionInterpolator.js +0 -125
  939. package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +0 -125
  940. package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +0 -120
  941. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +0 -147
  942. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +0 -147
  943. package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +0 -147
  944. package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +0 -137
  945. package/src/x_ite/Components/Interpolation/X3DInterpolatorNode.js +0 -137
  946. package/src/x_ite/Components/Interpolation.js +0 -85
  947. package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +0 -379
  948. package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +0 -164
  949. package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +0 -120
  950. package/src/x_ite/Components/Layering/Layer.js +0 -120
  951. package/src/x_ite/Components/Layering/LayerSet.js +0 -208
  952. package/src/x_ite/Components/Layering/Viewport.js +0 -180
  953. package/src/x_ite/Components/Layering/X3DLayerNode.js +0 -407
  954. package/src/x_ite/Components/Layering/X3DViewportNode.js +0 -74
  955. package/src/x_ite/Components/Layering.js +0 -67
  956. package/src/x_ite/Components/Layout/Layout.js +0 -642
  957. package/src/x_ite/Components/Layout/LayoutGroup.js +0 -188
  958. package/src/x_ite/Components/Layout/LayoutLayer.js +0 -124
  959. package/src/x_ite/Components/Layout/ScreenFontStyle.js +0 -120
  960. package/src/x_ite/Components/Layout/ScreenGroup.js +0 -138
  961. package/src/x_ite/Components/Layout/X3DLayoutNode.js +0 -74
  962. package/src/x_ite/Components/Lighting/DirectionalLight.js +0 -291
  963. package/src/x_ite/Components/Lighting/EnvironmentLight.js +0 -157
  964. package/src/x_ite/Components/Lighting/PointLight.js +0 -341
  965. package/src/x_ite/Components/Lighting/SpotLight.js +0 -360
  966. package/src/x_ite/Components/Lighting/X3DLightNode.js +0 -222
  967. package/src/x_ite/Components/Lighting.js +0 -67
  968. package/src/x_ite/Components/NURBS/Contour2D.js +0 -170
  969. package/src/x_ite/Components/NURBS/ContourPolyline2D.js +0 -165
  970. package/src/x_ite/Components/NURBS/CoordinateDouble.js +0 -95
  971. package/src/x_ite/Components/NURBS/NurbsCurve.js +0 -234
  972. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +0 -212
  973. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +0 -229
  974. package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +0 -108
  975. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +0 -217
  976. package/src/x_ite/Components/NURBS/NurbsSet.js +0 -186
  977. package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +0 -189
  978. package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +0 -181
  979. package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +0 -181
  980. package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +0 -156
  981. package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +0 -177
  982. package/src/x_ite/Components/NURBS/X3DNurbsControlCurveNode.js +0 -74
  983. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +0 -393
  984. package/src/x_ite/Components/NURBS/X3DParametricGeometryNode.js +0 -81
  985. package/src/x_ite/Components/Navigation/Billboard.js +0 -188
  986. package/src/x_ite/Components/Navigation/Collision.js +0 -184
  987. package/src/x_ite/Components/Navigation/LOD.js +0 -335
  988. package/src/x_ite/Components/Navigation/NavigationInfo.js +0 -344
  989. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +0 -356
  990. package/src/x_ite/Components/Navigation/Viewpoint.js +0 -200
  991. package/src/x_ite/Components/Navigation/ViewpointGroup.js +0 -257
  992. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +0 -594
  993. package/src/x_ite/Components/Navigation.js +0 -73
  994. package/src/x_ite/Components/Networking/Anchor.js +0 -220
  995. package/src/x_ite/Components/Networking/Inline.js +0 -314
  996. package/src/x_ite/Components/Networking/LoadSensor.js +0 -265
  997. package/src/x_ite/Components/Networking/X3DNetworkSensorNode.js +0 -74
  998. package/src/x_ite/Components/Networking/X3DUrlObject.js +0 -296
  999. package/src/x_ite/Components/Networking.js +0 -67
  1000. package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +0 -132
  1001. package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +0 -162
  1002. package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +0 -137
  1003. package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +0 -120
  1004. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +0 -1081
  1005. package/src/x_ite/Components/ParticleSystems/PointEmitter.js +0 -153
  1006. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +0 -244
  1007. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +0 -252
  1008. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +0 -289
  1009. package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +0 -142
  1010. package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +0 -1004
  1011. package/src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js +0 -78
  1012. package/src/x_ite/Components/Picking/LinePickSensor.js +0 -339
  1013. package/src/x_ite/Components/Picking/PickableGroup.js +0 -223
  1014. package/src/x_ite/Components/Picking/PointPickSensor.js +0 -350
  1015. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +0 -270
  1016. package/src/x_ite/Components/Picking/VolumePickSensor.js +0 -245
  1017. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +0 -441
  1018. package/src/x_ite/Components/Picking/X3DPickableObject.js +0 -95
  1019. package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +0 -303
  1020. package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +0 -300
  1021. package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +0 -220
  1022. package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +0 -104
  1023. package/src/x_ite/Components/PointingDeviceSensor/X3DDragSensorNode.js +0 -76
  1024. package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +0 -132
  1025. package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +0 -106
  1026. package/src/x_ite/Components/PointingDeviceSensor.js +0 -71
  1027. package/src/x_ite/Components/Rendering/ClipPlane.js +0 -180
  1028. package/src/x_ite/Components/Rendering/Color.js +0 -163
  1029. package/src/x_ite/Components/Rendering/ColorRGBA.js +0 -166
  1030. package/src/x_ite/Components/Rendering/Coordinate.js +0 -97
  1031. package/src/x_ite/Components/Rendering/IndexedLineSet.js +0 -307
  1032. package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +0 -165
  1033. package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +0 -122
  1034. package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +0 -173
  1035. package/src/x_ite/Components/Rendering/LineSet.js +0 -240
  1036. package/src/x_ite/Components/Rendering/Normal.js +0 -193
  1037. package/src/x_ite/Components/Rendering/PointSet.js +0 -222
  1038. package/src/x_ite/Components/Rendering/TriangleFanSet.js +0 -147
  1039. package/src/x_ite/Components/Rendering/TriangleSet.js +0 -117
  1040. package/src/x_ite/Components/Rendering/TriangleStripSet.js +0 -151
  1041. package/src/x_ite/Components/Rendering/X3DColorNode.js +0 -88
  1042. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +0 -363
  1043. package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +0 -193
  1044. package/src/x_ite/Components/Rendering/X3DGeometricPropertyNode.js +0 -74
  1045. package/src/x_ite/Components/Rendering/X3DGeometryNode.js +0 -1189
  1046. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +0 -489
  1047. package/src/x_ite/Components/Rendering/X3DNormalNode.js +0 -74
  1048. package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +0 -182
  1049. package/src/x_ite/Components/Rendering.js +0 -99
  1050. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +0 -210
  1051. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +0 -261
  1052. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +0 -497
  1053. package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +0 -214
  1054. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +0 -281
  1055. package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +0 -180
  1056. package/src/x_ite/Components/RigidBodyPhysics/Contact.js +0 -118
  1057. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +0 -292
  1058. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +0 -132
  1059. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +0 -518
  1060. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +0 -389
  1061. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +0 -251
  1062. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +0 -230
  1063. package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +0 -114
  1064. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +0 -167
  1065. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +0 -89
  1066. package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +0 -221
  1067. package/src/x_ite/Components/Scripting/Script.js +0 -510
  1068. package/src/x_ite/Components/Scripting/X3DScriptNode.js +0 -89
  1069. package/src/x_ite/Components/Shaders/ComposedShader.js +0 -228
  1070. package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +0 -151
  1071. package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +0 -142
  1072. package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +0 -141
  1073. package/src/x_ite/Components/Shaders/PackagedShader.js +0 -129
  1074. package/src/x_ite/Components/Shaders/ProgramShader.js +0 -99
  1075. package/src/x_ite/Components/Shaders/ShaderPart.js +0 -238
  1076. package/src/x_ite/Components/Shaders/ShaderProgram.js +0 -126
  1077. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +0 -1357
  1078. package/src/x_ite/Components/Shaders/X3DShaderNode.js +0 -105
  1079. package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +0 -89
  1080. package/src/x_ite/Components/Shaders.js +0 -79
  1081. package/src/x_ite/Components/Shape/AcousticProperties.js +0 -100
  1082. package/src/x_ite/Components/Shape/Appearance.js +0 -458
  1083. package/src/x_ite/Components/Shape/FillProperties.js +0 -181
  1084. package/src/x_ite/Components/Shape/LineProperties.js +0 -184
  1085. package/src/x_ite/Components/Shape/Material.js +0 -412
  1086. package/src/x_ite/Components/Shape/PhysicalMaterial.js +0 -308
  1087. package/src/x_ite/Components/Shape/PointProperties.js +0 -169
  1088. package/src/x_ite/Components/Shape/Shape.js +0 -205
  1089. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +0 -292
  1090. package/src/x_ite/Components/Shape/UnlitMaterial.js +0 -142
  1091. package/src/x_ite/Components/Shape/X3DAppearanceChildNode.js +0 -74
  1092. package/src/x_ite/Components/Shape/X3DAppearanceNode.js +0 -88
  1093. package/src/x_ite/Components/Shape/X3DMaterialNode.js +0 -350
  1094. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +0 -212
  1095. package/src/x_ite/Components/Shape/X3DShapeNode.js +0 -211
  1096. package/src/x_ite/Components/Shape.js +0 -87
  1097. package/src/x_ite/Components/Sound/Analyser.js +0 -118
  1098. package/src/x_ite/Components/Sound/AudioClip.js +0 -212
  1099. package/src/x_ite/Components/Sound/AudioDestination.js +0 -107
  1100. package/src/x_ite/Components/Sound/BiquadFilter.js +0 -117
  1101. package/src/x_ite/Components/Sound/BufferAudioSource.js +0 -142
  1102. package/src/x_ite/Components/Sound/ChannelMerger.js +0 -104
  1103. package/src/x_ite/Components/Sound/ChannelSelector.js +0 -105
  1104. package/src/x_ite/Components/Sound/ChannelSplitter.js +0 -105
  1105. package/src/x_ite/Components/Sound/Convolver.js +0 -115
  1106. package/src/x_ite/Components/Sound/Delay.js +0 -115
  1107. package/src/x_ite/Components/Sound/DynamicsCompressor.js +0 -119
  1108. package/src/x_ite/Components/Sound/Gain.js +0 -113
  1109. package/src/x_ite/Components/Sound/ListenerPointSource.js +0 -116
  1110. package/src/x_ite/Components/Sound/MicrophoneSource.js +0 -110
  1111. package/src/x_ite/Components/Sound/OscillatorSource.js +0 -112
  1112. package/src/x_ite/Components/Sound/PeriodicWave.js +0 -99
  1113. package/src/x_ite/Components/Sound/Sound.js +0 -302
  1114. package/src/x_ite/Components/Sound/SpatialSound.js +0 -116
  1115. package/src/x_ite/Components/Sound/StreamAudioDestination.js +0 -107
  1116. package/src/x_ite/Components/Sound/StreamAudioSource.js +0 -110
  1117. package/src/x_ite/Components/Sound/WaveShaper.js +0 -115
  1118. package/src/x_ite/Components/Sound/X3DSoundChannelNode.js +0 -74
  1119. package/src/x_ite/Components/Sound/X3DSoundDestinationNode.js +0 -74
  1120. package/src/x_ite/Components/Sound/X3DSoundNode.js +0 -74
  1121. package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +0 -92
  1122. package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +0 -227
  1123. package/src/x_ite/Components/Sound.js +0 -109
  1124. package/src/x_ite/Components/Text/FontStyle.js +0 -116
  1125. package/src/x_ite/Components/Text/Text.js +0 -185
  1126. package/src/x_ite/Components/Text/X3DFontStyleNode.js +0 -261
  1127. package/src/x_ite/Components/TextureProjector/TextureProjector.js +0 -213
  1128. package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +0 -268
  1129. package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +0 -224
  1130. package/src/x_ite/Components/Texturing/ImageTexture.js +0 -294
  1131. package/src/x_ite/Components/Texturing/MovieTexture.js +0 -287
  1132. package/src/x_ite/Components/Texturing/MultiTexture.js +0 -345
  1133. package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +0 -200
  1134. package/src/x_ite/Components/Texturing/MultiTextureTransform.js +0 -154
  1135. package/src/x_ite/Components/Texturing/PixelTexture.js +0 -284
  1136. package/src/x_ite/Components/Texturing/TextureCoordinate.js +0 -179
  1137. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +0 -163
  1138. package/src/x_ite/Components/Texturing/TextureProperties.js +0 -226
  1139. package/src/x_ite/Components/Texturing/TextureTransform.js +0 -162
  1140. package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +0 -101
  1141. package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +0 -195
  1142. package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +0 -99
  1143. package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +0 -172
  1144. package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +0 -74
  1145. package/src/x_ite/Components/Texturing/X3DTextureNode.js +0 -88
  1146. package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +0 -74
  1147. package/src/x_ite/Components/Texturing.js +0 -91
  1148. package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +0 -201
  1149. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +0 -183
  1150. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +0 -245
  1151. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +0 -221
  1152. package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +0 -179
  1153. package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +0 -179
  1154. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +0 -151
  1155. package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +0 -114
  1156. package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +0 -173
  1157. package/src/x_ite/Components/Time/TimeSensor.js +0 -223
  1158. package/src/x_ite/Components/Time/X3DTimeDependentNode.js +0 -369
  1159. package/src/x_ite/Components/Time.js +0 -61
  1160. package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +0 -355
  1161. package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +0 -154
  1162. package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +0 -311
  1163. package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +0 -204
  1164. package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +0 -180
  1165. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +0 -367
  1166. package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +0 -179
  1167. package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +0 -230
  1168. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +0 -280
  1169. package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +0 -280
  1170. package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +0 -179
  1171. package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +0 -186
  1172. package/src/x_ite/Components/VolumeRendering/VolumeData.js +0 -214
  1173. package/src/x_ite/Components/VolumeRendering/X3DComposableVolumeRenderStyleNode.js +0 -74
  1174. package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +0 -241
  1175. package/src/x_ite/Components/VolumeRendering/X3DVolumeRenderStyleNode.js +0 -138
  1176. package/src/x_ite/Components/X_ITE/BlendMode.js +0 -206
  1177. package/src/x_ite/Components.js +0 -99
  1178. package/src/x_ite/Configuration/AbstractNodes.js +0 -50
  1179. package/src/x_ite/Configuration/AbstractNodesArray.js +0 -78
  1180. package/src/x_ite/Configuration/ComponentInfo.js +0 -137
  1181. package/src/x_ite/Configuration/ComponentInfoArray.js +0 -76
  1182. package/src/x_ite/Configuration/ConcreteNodes.js +0 -50
  1183. package/src/x_ite/Configuration/ConcreteNodesArray.js +0 -87
  1184. package/src/x_ite/Configuration/ProfileInfo.js +0 -92
  1185. package/src/x_ite/Configuration/ProfileInfoArray.js +0 -77
  1186. package/src/x_ite/Configuration/SupportedComponents.js +0 -307
  1187. package/src/x_ite/Configuration/SupportedProfiles.js +0 -245
  1188. package/src/x_ite/Configuration/UnitInfo.js +0 -158
  1189. package/src/x_ite/Configuration/UnitInfoArray.js +0 -70
  1190. package/src/x_ite/DEVELOPMENT.js +0 -50
  1191. package/src/x_ite/Execution/BindableList.js +0 -203
  1192. package/src/x_ite/Execution/BindableStack.js +0 -163
  1193. package/src/x_ite/Execution/ExportedNodesArray.js +0 -70
  1194. package/src/x_ite/Execution/ImportedNodesArray.js +0 -70
  1195. package/src/x_ite/Execution/NamedNodesArray.js +0 -70
  1196. package/src/x_ite/Execution/NamedNodesHandling.js +0 -84
  1197. package/src/x_ite/Execution/X3DExecutionContext.js +0 -1022
  1198. package/src/x_ite/Execution/X3DExportedNode.js +0 -201
  1199. package/src/x_ite/Execution/X3DImportedNode.js +0 -565
  1200. package/src/x_ite/Execution/X3DScene.js +0 -1112
  1201. package/src/x_ite/Execution/X3DWorld.js +0 -160
  1202. package/src/x_ite/Features.js +0 -59
  1203. package/src/x_ite/Fields/ArrayFields.js +0 -492
  1204. package/src/x_ite/Fields/SFBool.js +0 -104
  1205. package/src/x_ite/Fields/SFColor.js +0 -231
  1206. package/src/x_ite/Fields/SFColorRGBA.js +0 -198
  1207. package/src/x_ite/Fields/SFDouble.js +0 -108
  1208. package/src/x_ite/Fields/SFFloat.js +0 -108
  1209. package/src/x_ite/Fields/SFImage.js +0 -370
  1210. package/src/x_ite/Fields/SFInt32.js +0 -104
  1211. package/src/x_ite/Fields/SFMatrix3.js +0 -140
  1212. package/src/x_ite/Fields/SFMatrix4.js +0 -133
  1213. package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +0 -191
  1214. package/src/x_ite/Fields/SFNode.js +0 -435
  1215. package/src/x_ite/Fields/SFNodeCache.js +0 -108
  1216. package/src/x_ite/Fields/SFRotation.js +0 -275
  1217. package/src/x_ite/Fields/SFString.js +0 -134
  1218. package/src/x_ite/Fields/SFTime.js +0 -104
  1219. package/src/x_ite/Fields/SFVec2.js +0 -120
  1220. package/src/x_ite/Fields/SFVec3.js +0 -140
  1221. package/src/x_ite/Fields/SFVec4.js +0 -148
  1222. package/src/x_ite/Fields/SFVecPrototypeTemplate.js +0 -201
  1223. package/src/x_ite/Fields.js +0 -87
  1224. package/src/x_ite/InputOutput/FileLoader.js +0 -340
  1225. package/src/x_ite/InputOutput/Generator.js +0 -592
  1226. package/src/x_ite/Namespace.js +0 -52
  1227. package/src/x_ite/Parser/Expressions.js +0 -85
  1228. package/src/x_ite/Parser/GLB2Parser.js +0 -146
  1229. package/src/x_ite/Parser/GLTF2Parser.js +0 -2800
  1230. package/src/x_ite/Parser/GoldenGate.js +0 -163
  1231. package/src/x_ite/Parser/HTMLSupport.js +0 -74
  1232. package/src/x_ite/Parser/JSONParser.js +0 -414
  1233. package/src/x_ite/Parser/OBJParser.js +0 -1091
  1234. package/src/x_ite/Parser/PLYAParser.js +0 -615
  1235. package/src/x_ite/Parser/PLYBParser.js +0 -222
  1236. package/src/x_ite/Parser/STLAParser.js +0 -377
  1237. package/src/x_ite/Parser/STLBParser.js +0 -155
  1238. package/src/x_ite/Parser/SVGParser.js +0 -2762
  1239. package/src/x_ite/Parser/VRMLParser.js +0 -2548
  1240. package/src/x_ite/Parser/X3DOptimizer.js +0 -220
  1241. package/src/x_ite/Parser/X3DParser.js +0 -152
  1242. package/src/x_ite/Parser/XMLParser.js +0 -1189
  1243. package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +0 -70
  1244. package/src/x_ite/Prototype/ProtoDeclarationArray.js +0 -70
  1245. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +0 -446
  1246. package/src/x_ite/Prototype/X3DProtoDeclaration.js +0 -571
  1247. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +0 -112
  1248. package/src/x_ite/Rendering/DependentRenderer.js +0 -132
  1249. package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +0 -394
  1250. package/src/x_ite/Rendering/PointingBuffer.js +0 -189
  1251. package/src/x_ite/Rendering/TextureBuffer.js +0 -231
  1252. package/src/x_ite/Rendering/TraverseType.js +0 -60
  1253. package/src/x_ite/Rendering/VertexArray.js +0 -95
  1254. package/src/x_ite/Rendering/X3DRenderObject.js +0 -1144
  1255. package/src/x_ite/Routing/RouteArray.js +0 -70
  1256. package/src/x_ite/Routing/X3DRoute.js +0 -316
  1257. package/src/x_ite/Routing/X3DRoutingContext.js +0 -116
  1258. package/src/x_ite/X3D.js +0 -250
  1259. package/src/x_ite/X3DCanvasElement.js +0 -126
  1260. package/src/x_ite.css +0 -587
  1261. package/src/x_ite.html +0 -470
  1262. package/src/x_ite.js +0 -60
  1263. package/webpack.config.js +0 -341
  1264. package/x_ite.min.html +0 -451
@@ -1,1004 +0,0 @@
1
- /*
2
- SuperGif
3
-
4
- Example usage:
5
-
6
- <img src="./example1_preview.gif" rel:animated_src="./example1.gif" width="360" height="360" rel:auto_play="1" />
7
-
8
- <script type="text/javascript">
9
- $$('img').each(function (img_tag) {
10
- if (/.*\.gif/.test(img_tag.src)) {
11
- var rub = new SuperGif({ gif: img_tag } );
12
- rub.load();
13
- }
14
- });
15
- </script>
16
-
17
- Image tag attributes:
18
-
19
- rel:animated_src - If this url is specified, it's loaded into the player instead of src.
20
- This allows a preview frame to be shown until animated gif data is streamed into the canvas
21
-
22
- rel:auto_play - Defaults to 1 if not specified. If set to zero, a call to the play() method is needed
23
-
24
- Constructor options args
25
-
26
- gif Required. The DOM element of an img tag.
27
- loop_mode Optional. Setting this to false will force disable looping of the gif.
28
- auto_play Optional. Same as the rel:auto_play attribute above, this arg overrides the img tag info.
29
- max_width Optional. Scale images over max_width down to max_width. Helpful with mobile.
30
- on_end Optional. Add a callback for when the gif reaches the end of a single loop (one iteration). The first argument passed will be the gif HTMLElement.
31
- loop_delay Optional. The amount of time to pause (in ms) after each single loop (iteration).
32
- draw_while_loading Optional. Determines whether the gif will be drawn to the canvas whilst it is loaded.
33
- show_progress_bar Optional. Only applies when draw_while_loading is set to true.
34
-
35
- Instance methods
36
-
37
- // loading
38
- load( callback ) Loads the gif specified by the src or rel:animated_src sttributie of the img tag into a canvas element and then calls callback if one is passed
39
- load_url( src, callback ) Loads the gif file specified in the src argument into a canvas element and then calls callback if one is passed
40
-
41
- // play controls
42
- play - Start playing the gif
43
- pause - Stop playing the gif
44
- move_to(i) - Move to frame i of the gif
45
- move_relative(i) - Move i frames ahead (or behind if i < 0)
46
-
47
- // getters
48
- get_canvas The canvas element that the gif is playing in. Handy for assigning event handlers to.
49
- get_playing Whether or not the gif is currently playing
50
- get_loading Whether or not the gif has finished loading/parsing
51
- get_auto_play Whether or not the gif is set to play automatically
52
- get_length The number of frames in the gif
53
- get_current_frame The index of the currently displayed frame of the gif
54
- get_frames An array containing the data for all parsed frames
55
- get_duration Returns the duration of the gif in hundredths of a second (standard for GIF spec)
56
- get_duration_ms Returns the duration of the gif in milliseconds
57
-
58
- For additional customization (viewport inside iframe) these params may be passed:
59
- c_w, c_h - width and height of canvas
60
- vp_t, vp_l, vp_ w, vp_h - top, left, width and height of the viewport
61
-
62
- A bonus: few articles to understand what is going on
63
- http://enthusiasms.org/post/16976438906
64
- http://www.matthewflickinger.com/lab/whatsinagif/bits_and_bytes.asp
65
- http://humpy77.deviantart.com/journal/Frame-Delay-Times-for-Animated-GIFs-214150546
66
-
67
- */
68
- (function (root, factory) {
69
- if (typeof define === 'function' && define.amd) {
70
- define([], factory);
71
- } else if (typeof exports === 'object') {
72
- module.exports = factory();
73
- } else {
74
- root.SuperGif = factory();
75
- }
76
- }(this, function () {
77
- // Generic functions
78
- var bitsToNum = function (ba) {
79
- return ba.reduce(function (s, n) {
80
- return s * 2 + n;
81
- }, 0);
82
- };
83
-
84
- var byteToBitArr = function (bite) {
85
- var a = [];
86
- for (var i = 7; i >= 0; i--) {
87
- a.push( !! (bite & (1 << i)));
88
- }
89
- return a;
90
- };
91
-
92
- // Stream
93
- /**
94
- * @constructor
95
- */
96
- // Make compiler happy.
97
- var Stream = function (data) {
98
- this.data = data;
99
- this.len = this.data.length;
100
- this.pos = 0;
101
-
102
- this.readByte = function () {
103
- if (this.pos >= this.data.length) {
104
- throw new Error('Attempted to read past end of stream.');
105
- }
106
- if (data instanceof Uint8Array)
107
- return data[this.pos++];
108
- else
109
- return data.charCodeAt(this.pos++) & 0xFF;
110
- };
111
-
112
- this.readBytes = function (n) {
113
- var bytes = [];
114
- for (var i = 0; i < n; i++) {
115
- bytes.push(this.readByte());
116
- }
117
- return bytes;
118
- };
119
-
120
- this.read = function (n) {
121
- var s = '';
122
- for (var i = 0; i < n; i++) {
123
- s += String.fromCharCode(this.readByte());
124
- }
125
- return s;
126
- };
127
-
128
- this.readUnsigned = function () { // Little-endian.
129
- var a = this.readBytes(2);
130
- return (a[1] << 8) + a[0];
131
- };
132
- };
133
-
134
- var lzwDecode = function (minCodeSize, data) {
135
- // TODO: Now that the GIF parser is a bit different, maybe this should get an array of bytes instead of a String?
136
- var pos = 0; // Maybe this streaming thing should be merged with the Stream?
137
- var readCode = function (size) {
138
- var code = 0;
139
- for (var i = 0; i < size; i++) {
140
- if (data.charCodeAt(pos >> 3) & (1 << (pos & 7))) {
141
- code |= 1 << i;
142
- }
143
- pos++;
144
- }
145
- return code;
146
- };
147
-
148
- var output = [];
149
-
150
- var clearCode = 1 << minCodeSize;
151
- var eoiCode = clearCode + 1;
152
-
153
- var codeSize = minCodeSize + 1;
154
-
155
- var dict = [];
156
-
157
- var clear = function () {
158
- dict = [];
159
- codeSize = minCodeSize + 1;
160
- for (var i = 0; i < clearCode; i++) {
161
- dict[i] = [i];
162
- }
163
- dict[clearCode] = [];
164
- dict[eoiCode] = null;
165
-
166
- };
167
-
168
- var code;
169
- var last;
170
-
171
- while (true) {
172
- last = code;
173
- code = readCode(codeSize);
174
-
175
- if (code === clearCode) {
176
- clear();
177
- continue;
178
- }
179
- if (code === eoiCode) break;
180
-
181
- if (code < dict.length) {
182
- if (last !== clearCode) {
183
- dict.push(dict[last].concat(dict[code][0]));
184
- }
185
- }
186
- else {
187
- if (code !== dict.length) throw new Error('Invalid LZW code.');
188
- dict.push(dict[last].concat(dict[last][0]));
189
- }
190
- output.push.apply(output, dict[code]);
191
-
192
- if (dict.length === (1 << codeSize) && codeSize < 12) {
193
- // If we're at the last code and codeSize is 12, the next code will be a clearCode, and it'll be 12 bits long.
194
- codeSize++;
195
- }
196
- }
197
-
198
- // I don't know if this is technically an error, but some GIFs do it.
199
- //if (Math.ceil(pos / 8) !== data.length) throw new Error('Extraneous LZW bytes.');
200
- return output;
201
- };
202
-
203
-
204
- // The actual parsing; returns an object with properties.
205
- var parseGIF = function (st, handler) {
206
- handler || (handler = {});
207
-
208
- // LZW (GIF-specific)
209
- var parseCT = function (entries) { // Each entry is 3 bytes, for RGB.
210
- var ct = [];
211
- for (var i = 0; i < entries; i++) {
212
- ct.push(st.readBytes(3));
213
- }
214
- return ct;
215
- };
216
-
217
- var readSubBlocks = function () {
218
- var size, data;
219
- data = '';
220
- do {
221
- size = st.readByte();
222
- data += st.read(size);
223
- } while (size !== 0);
224
- return data;
225
- };
226
-
227
- var parseHeader = function () {
228
- var hdr = {};
229
- hdr.sig = st.read(3);
230
- hdr.ver = st.read(3);
231
- if (hdr.sig !== 'GIF') throw new Error('Not a GIF file.'); // XXX: This should probably be handled more nicely.
232
- hdr.width = st.readUnsigned();
233
- hdr.height = st.readUnsigned();
234
-
235
- var bits = byteToBitArr(st.readByte());
236
- hdr.gctFlag = bits.shift();
237
- hdr.colorRes = bitsToNum(bits.splice(0, 3));
238
- hdr.sorted = bits.shift();
239
- hdr.gctSize = bitsToNum(bits.splice(0, 3));
240
-
241
- hdr.bgColor = st.readByte();
242
- hdr.pixelAspectRatio = st.readByte(); // if not 0, aspectRatio = (pixelAspectRatio + 15) / 64
243
- if (hdr.gctFlag) {
244
- hdr.gct = parseCT(1 << (hdr.gctSize + 1));
245
- }
246
- handler.hdr && handler.hdr(hdr);
247
- };
248
-
249
- var parseExt = function (block) {
250
- var parseGCExt = function (block) {
251
- var blockSize = st.readByte(); // Always 4
252
- var bits = byteToBitArr(st.readByte());
253
- block.reserved = bits.splice(0, 3); // Reserved; should be 000.
254
- block.disposalMethod = bitsToNum(bits.splice(0, 3));
255
- block.userInput = bits.shift();
256
- block.transparencyGiven = bits.shift();
257
-
258
- block.delayTime = st.readUnsigned();
259
-
260
- block.transparencyIndex = st.readByte();
261
-
262
- block.terminator = st.readByte();
263
-
264
- handler.gce && handler.gce(block);
265
- };
266
-
267
- var parseComExt = function (block) {
268
- block.comment = readSubBlocks();
269
- handler.com && handler.com(block);
270
- };
271
-
272
- var parsePTExt = function (block) {
273
- // No one *ever* uses this. If you use it, deal with parsing it yourself.
274
- var blockSize = st.readByte(); // Always 12
275
- block.ptHeader = st.readBytes(12);
276
- block.ptData = readSubBlocks();
277
- handler.pte && handler.pte(block);
278
- };
279
-
280
- var parseAppExt = function (block) {
281
- var parseNetscapeExt = function (block) {
282
- var blockSize = st.readByte(); // Always 3
283
- block.unknown = st.readByte(); // ??? Always 1? What is this?
284
- block.iterations = st.readUnsigned();
285
- block.terminator = st.readByte();
286
- handler.app && handler.app.NETSCAPE && handler.app.NETSCAPE(block);
287
- };
288
-
289
- var parseUnknownAppExt = function (block) {
290
- block.appData = readSubBlocks();
291
- // FIXME: This won't work if a handler wants to match on any identifier.
292
- handler.app && handler.app[block.identifier] && handler.app[block.identifier](block);
293
- };
294
-
295
- var blockSize = st.readByte(); // Always 11
296
- block.identifier = st.read(8);
297
- block.authCode = st.read(3);
298
- switch (block.identifier) {
299
- case 'NETSCAPE':
300
- parseNetscapeExt(block);
301
- break;
302
- default:
303
- parseUnknownAppExt(block);
304
- break;
305
- }
306
- };
307
-
308
- var parseUnknownExt = function (block) {
309
- block.data = readSubBlocks();
310
- handler.unknown && handler.unknown(block);
311
- };
312
-
313
- block.label = st.readByte();
314
- switch (block.label) {
315
- case 0xF9:
316
- block.extType = 'gce';
317
- parseGCExt(block);
318
- break;
319
- case 0xFE:
320
- block.extType = 'com';
321
- parseComExt(block);
322
- break;
323
- case 0x01:
324
- block.extType = 'pte';
325
- parsePTExt(block);
326
- break;
327
- case 0xFF:
328
- block.extType = 'app';
329
- parseAppExt(block);
330
- break;
331
- default:
332
- block.extType = 'unknown';
333
- parseUnknownExt(block);
334
- break;
335
- }
336
- };
337
-
338
- var parseImg = function (img) {
339
- var deinterlace = function (pixels, width) {
340
- // Of course this defeats the purpose of interlacing. And it's *probably*
341
- // the least efficient way it's ever been implemented. But nevertheless...
342
- var newPixels = new Array(pixels.length);
343
- var rows = pixels.length / width;
344
- var cpRow = function (toRow, fromRow) {
345
- var fromPixels = pixels.slice(fromRow * width, (fromRow + 1) * width);
346
- newPixels.splice.apply(newPixels, [toRow * width, width].concat(fromPixels));
347
- };
348
-
349
- // See appendix E.
350
- var offsets = [0, 4, 2, 1];
351
- var steps = [8, 8, 4, 2];
352
-
353
- var fromRow = 0;
354
- for (var pass = 0; pass < 4; pass++) {
355
- for (var toRow = offsets[pass]; toRow < rows; toRow += steps[pass]) {
356
- cpRow(toRow, fromRow)
357
- fromRow++;
358
- }
359
- }
360
-
361
- return newPixels;
362
- };
363
-
364
- img.leftPos = st.readUnsigned();
365
- img.topPos = st.readUnsigned();
366
- img.width = st.readUnsigned();
367
- img.height = st.readUnsigned();
368
-
369
- var bits = byteToBitArr(st.readByte());
370
- img.lctFlag = bits.shift();
371
- img.interlaced = bits.shift();
372
- img.sorted = bits.shift();
373
- img.reserved = bits.splice(0, 2);
374
- img.lctSize = bitsToNum(bits.splice(0, 3));
375
-
376
- if (img.lctFlag) {
377
- img.lct = parseCT(1 << (img.lctSize + 1));
378
- }
379
-
380
- img.lzwMinCodeSize = st.readByte();
381
-
382
- var lzwData = readSubBlocks();
383
-
384
- img.pixels = lzwDecode(img.lzwMinCodeSize, lzwData);
385
-
386
- if (img.interlaced) { // Move
387
- img.pixels = deinterlace(img.pixels, img.width);
388
- }
389
-
390
- handler.img && handler.img(img);
391
- };
392
-
393
- var parseBlock = function () {
394
- var block = {};
395
- block.sentinel = st.readByte();
396
-
397
- switch (String.fromCharCode(block.sentinel)) { // For ease of matching
398
- case '!':
399
- block.type = 'ext';
400
- parseExt(block);
401
- break;
402
- case ',':
403
- block.type = 'img';
404
- parseImg(block);
405
- break;
406
- case ';':
407
- block.type = 'eof';
408
- handler.eof && handler.eof(block);
409
- break;
410
- default:
411
- throw new Error('Unknown block: 0x' + block.sentinel.toString(16)); // TODO: Pad this with a 0.
412
- }
413
-
414
- if (block.type !== 'eof') setTimeout(parseBlock, 0);
415
- };
416
-
417
- var parse = function () {
418
- parseHeader();
419
- setTimeout(parseBlock, 0);
420
- };
421
-
422
- parse();
423
- };
424
-
425
- var SuperGif = function ( opts ) {
426
- var options = {
427
- //viewport position
428
- vp_l: 0,
429
- vp_t: 0,
430
- vp_w: null,
431
- vp_h: null,
432
- //canvas sizes
433
- c_w: null,
434
- c_h: null
435
- };
436
- for (var i in opts ) { options[i] = opts[i] }
437
- if (options.vp_w && options.vp_h) options.is_vp = true;
438
-
439
- var stream;
440
- var hdr;
441
-
442
- var loadError = null;
443
- var loading = false;
444
-
445
- var transparency = null;
446
- var delay = null;
447
- var disposalMethod = null;
448
- var disposalRestoreFromIdx = null;
449
- var lastDisposalMethod = null;
450
- var frame = null;
451
- var lastImg = null;
452
-
453
- var playing = true;
454
- var forward = true;
455
-
456
- var ctx_scaled = false;
457
-
458
- var frames = [];
459
- var frameOffsets = []; // elements have .x and .y properties
460
-
461
- var gif = options.gif;
462
- if (typeof options.auto_play == 'undefined')
463
- options.auto_play = (!gif.getAttribute('rel:auto_play') || gif.getAttribute('rel:auto_play') == '1');
464
-
465
- var onEndListener = (options.hasOwnProperty('on_end') ? options.on_end : null);
466
- var onErrorListener = (options.hasOwnProperty('on_error') ? options.on_error : null);
467
- var loopDelay = (options.hasOwnProperty('loop_delay') ? options.loop_delay : 0);
468
- var overrideLoopMode = (options.hasOwnProperty('loop_mode') ? options.loop_mode : 'auto');
469
- var drawWhileLoading = (options.hasOwnProperty('draw_while_loading') ? options.draw_while_loading : true);
470
- var showProgressBar = drawWhileLoading ? (options.hasOwnProperty('show_progress_bar') ? options.show_progress_bar : true) : false;
471
- var progressBarHeight = (options.hasOwnProperty('progressbar_height') ? options.progressbar_height : 25);
472
- var progressBarBackgroundColor = (options.hasOwnProperty('progressbar_background_color') ? options.progressbar_background_color : 'rgba(255,255,255,0.4)');
473
- var progressBarForegroundColor = (options.hasOwnProperty('progressbar_foreground_color') ? options.progressbar_foreground_color : 'rgba(255,0,22,.8)');
474
-
475
- var clear = function () {
476
- transparency = null;
477
- delay = null;
478
- lastDisposalMethod = disposalMethod;
479
- disposalMethod = null;
480
- frame = null;
481
- };
482
-
483
- // XXX: There's probably a better way to handle catching exceptions when
484
- // callbacks are involved.
485
- var doParse = function () {
486
- try {
487
- parseGIF(stream, handler);
488
- }
489
- catch (err) {
490
- doLoadError('parse');
491
- }
492
- };
493
-
494
- var doText = function (text) {
495
- toolbar.innerHTML = text; // innerText? Escaping? Whatever.
496
- toolbar.style.visibility = 'visible';
497
- };
498
-
499
- var setSizes = function(w, h) {
500
- canvas.width = w * get_canvas_scale();
501
- canvas.height = h * get_canvas_scale();
502
- toolbar.style.minWidth = ( w * get_canvas_scale() ) + 'px';
503
-
504
- tmpCanvas.width = w;
505
- tmpCanvas.height = h;
506
- tmpCanvas.style.width = w + 'px';
507
- tmpCanvas.style.height = h + 'px';
508
- tmpCanvas.getContext('2d').setTransform(1, 0, 0, 1, 0, 0);
509
- };
510
-
511
- var setFrameOffset = function(frame, offset) {
512
- if (!frameOffsets[frame]) {
513
- frameOffsets[frame] = offset;
514
- return;
515
- }
516
- if (typeof offset.x !== 'undefined') {
517
- frameOffsets[frame].x = offset.x;
518
- }
519
- if (typeof offset.y !== 'undefined') {
520
- frameOffsets[frame].y = offset.y;
521
- }
522
- };
523
-
524
- var doShowProgress = function (pos, length, draw) {
525
- if (draw && showProgressBar) {
526
- var height = progressBarHeight;
527
- var left, mid, top, width;
528
- if (options.is_vp) {
529
- if (!ctx_scaled) {
530
- top = (options.vp_t + options.vp_h - height);
531
- height = height;
532
- left = options.vp_l;
533
- mid = left + (pos / length) * options.vp_w;
534
- width = canvas.width;
535
- } else {
536
- top = (options.vp_t + options.vp_h - height) / get_canvas_scale();
537
- height = height / get_canvas_scale();
538
- left = (options.vp_l / get_canvas_scale() );
539
- mid = left + (pos / length) * (options.vp_w / get_canvas_scale());
540
- width = canvas.width / get_canvas_scale();
541
- }
542
- //some debugging, draw rect around viewport
543
- if (false) {
544
- if (!ctx_scaled) {
545
- var l = options.vp_l, t = options.vp_t;
546
- var w = options.vp_w, h = options.vp_h;
547
- } else {
548
- var l = options.vp_l/get_canvas_scale(), t = options.vp_t/get_canvas_scale();
549
- var w = options.vp_w/get_canvas_scale(), h = options.vp_h/get_canvas_scale();
550
- }
551
- ctx.rect(l,t,w,h);
552
- ctx.stroke();
553
- }
554
- }
555
- else {
556
- top = (canvas.height - height) / (ctx_scaled ? get_canvas_scale() : 1);
557
- mid = ((pos / length) * canvas.width) / (ctx_scaled ? get_canvas_scale() : 1);
558
- width = canvas.width / (ctx_scaled ? get_canvas_scale() : 1 );
559
- height /= ctx_scaled ? get_canvas_scale() : 1;
560
- }
561
-
562
- ctx.fillStyle = progressBarBackgroundColor;
563
- ctx.fillRect(mid, top, width - mid, height);
564
-
565
- ctx.fillStyle = progressBarForegroundColor;
566
- ctx.fillRect(0, top, mid, height);
567
- }
568
- };
569
-
570
- var doLoadError = function (originOfError) {
571
- var drawError = function () {
572
- ctx.fillStyle = 'black';
573
- ctx.fillRect(0, 0, options.c_w ? options.c_w : hdr.width, options.c_h ? options.c_h : hdr.height);
574
- ctx.strokeStyle = 'red';
575
- ctx.lineWidth = 3;
576
- ctx.moveTo(0, 0);
577
- ctx.lineTo(options.c_w ? options.c_w : hdr.width, options.c_h ? options.c_h : hdr.height);
578
- ctx.moveTo(0, options.c_h ? options.c_h : hdr.height);
579
- ctx.lineTo(options.c_w ? options.c_w : hdr.width, 0);
580
- ctx.stroke();
581
- };
582
-
583
- loadError = originOfError;
584
- hdr = {
585
- width: gif.width,
586
- height: gif.height
587
- }; // Fake header.
588
- frames = [];
589
- drawError();
590
-
591
- if (originOfError)
592
- onErrorListener (originOfError);
593
- };
594
-
595
- var doHdr = function (_hdr) {
596
- hdr = _hdr;
597
- setSizes(hdr.width, hdr.height)
598
- };
599
-
600
- var doGCE = function (gce) {
601
- pushFrame();
602
- clear();
603
- transparency = gce.transparencyGiven ? gce.transparencyIndex : null;
604
- delay = gce.delayTime;
605
- disposalMethod = gce.disposalMethod;
606
- // We don't have much to do with the rest of GCE.
607
- };
608
-
609
- var pushFrame = function () {
610
- if (!frame) return;
611
- frames.push({
612
- data: frame.getImageData(0, 0, hdr.width, hdr.height),
613
- delay: delay
614
- });
615
- frameOffsets.push({ x: 0, y: 0 });
616
- };
617
-
618
- var doImg = function (img) {
619
- if (!frame) frame = tmpCanvas.getContext('2d');
620
-
621
- var currIdx = frames.length;
622
-
623
- //ct = color table, gct = global color table
624
- var ct = img.lctFlag ? img.lct : hdr.gct; // TODO: What if neither exists?
625
-
626
- /*
627
- Disposal method indicates the way in which the graphic is to
628
- be treated after being displayed.
629
-
630
- Values : 0 - No disposal specified. The decoder is
631
- not required to take any action.
632
- 1 - Do not dispose. The graphic is to be left
633
- in place.
634
- 2 - Restore to background color. The area used by the
635
- graphic must be restored to the background color.
636
- 3 - Restore to previous. The decoder is required to
637
- restore the area overwritten by the graphic with
638
- what was there prior to rendering the graphic.
639
-
640
- Importantly, "previous" means the frame state
641
- after the last disposal of method 0, 1, or 2.
642
- */
643
- if (currIdx > 0) {
644
- if (lastDisposalMethod === 3) {
645
- // Restore to previous
646
- // If we disposed every frame including first frame up to this point, then we have
647
- // no composited frame to restore to. In this case, restore to background instead.
648
- if (disposalRestoreFromIdx !== null) {
649
- frame.putImageData(frames[disposalRestoreFromIdx].data, 0, 0);
650
- } else {
651
- frame.clearRect(lastImg.leftPos, lastImg.topPos, lastImg.width, lastImg.height);
652
- }
653
- } else {
654
- disposalRestoreFromIdx = currIdx - 1;
655
- }
656
-
657
- if (lastDisposalMethod === 2) {
658
- // Restore to background color
659
- // Browser implementations historically restore to transparent; we do the same.
660
- // http://www.wizards-toolkit.org/discourse-server/viewtopic.php?f=1&t=21172#p86079
661
- frame.clearRect(lastImg.leftPos, lastImg.topPos, lastImg.width, lastImg.height);
662
- }
663
- }
664
- // else, Undefined/Do not dispose.
665
- // frame contains final pixel data from the last frame; do nothing
666
-
667
- //Get existing pixels for img region after applying disposal method
668
- var imgData = frame.getImageData(img.leftPos, img.topPos, img.width, img.height);
669
-
670
- //apply color table colors
671
- img.pixels.forEach(function (pixel, i) {
672
- // imgData.data === [R,G,B,A,R,G,B,A,...]
673
- if (pixel !== transparency) {
674
- imgData.data[i * 4 + 0] = ct[pixel][0];
675
- imgData.data[i * 4 + 1] = ct[pixel][1];
676
- imgData.data[i * 4 + 2] = ct[pixel][2];
677
- imgData.data[i * 4 + 3] = 255; // Opaque.
678
- }
679
- });
680
-
681
- frame.putImageData(imgData, img.leftPos, img.topPos);
682
-
683
- if (!ctx_scaled) {
684
- ctx.scale(get_canvas_scale(),get_canvas_scale());
685
- ctx_scaled = true;
686
- }
687
-
688
- // We could use the on-page canvas directly, except that we draw a progress
689
- // bar for each image chunk (not just the final image).
690
- if (drawWhileLoading) {
691
- ctx.drawImage(tmpCanvas, 0, 0);
692
- drawWhileLoading = options.auto_play;
693
- }
694
-
695
- lastImg = img;
696
- };
697
-
698
- var player = (function () {
699
- var i = -1;
700
- var iterationCount = 0;
701
-
702
- var showingInfo = false;
703
- var pinned = false;
704
-
705
- /**
706
- * Gets the index of the frame "up next".
707
- * @returns {number}
708
- */
709
- var getNextFrameNo = function () {
710
- var delta = (forward ? 1 : -1);
711
- return (i + delta + frames.length) % frames.length;
712
- };
713
-
714
- var stepFrame = function (amount) { // XXX: Name is confusing.
715
- i = i + amount;
716
-
717
- putFrame();
718
- };
719
-
720
- var step = (function () {
721
- var stepping = false;
722
-
723
- var completeLoop = function () {
724
- if (onEndListener !== null)
725
- onEndListener(gif);
726
- iterationCount++;
727
-
728
- if (overrideLoopMode !== false || iterationCount < 0) {
729
- doStep();
730
- } else {
731
- stepping = false;
732
- playing = false;
733
- }
734
- };
735
-
736
- var doStep = function () {
737
- stepping = playing;
738
- if (!stepping) return;
739
-
740
- stepFrame(1);
741
- var delay = frames[i].delay * 10;
742
- if (!delay) delay = 100; // FIXME: Should this even default at all? What should it be?
743
-
744
- var nextFrameNo = getNextFrameNo();
745
- if (nextFrameNo === 0) {
746
- delay += loopDelay;
747
- setTimeout(completeLoop, delay);
748
- } else {
749
- setTimeout(doStep, delay);
750
- }
751
- };
752
-
753
- return function () {
754
- if (!stepping) setTimeout(doStep, 0);
755
- };
756
- }());
757
-
758
- var putFrame = function () {
759
- var offset;
760
- i = parseInt(i, 10);
761
-
762
- if (i > frames.length - 1){
763
- i = 0;
764
- }
765
-
766
- if (i < 0){
767
- i = 0;
768
- }
769
-
770
- offset = frameOffsets[i];
771
-
772
- tmpCanvas.getContext("2d").putImageData(frames[i].data, offset.x, offset.y);
773
- ctx.globalCompositeOperation = "copy";
774
- ctx.drawImage(tmpCanvas, 0, 0);
775
- };
776
-
777
- var play = function () {
778
- playing = true;
779
- step();
780
- };
781
-
782
- var pause = function () {
783
- playing = false;
784
- };
785
-
786
-
787
- return {
788
- init: function () {
789
- if (loadError) return;
790
-
791
- if ( ! (options.c_w && options.c_h) ) {
792
- ctx.scale(get_canvas_scale(),get_canvas_scale());
793
- }
794
-
795
- if (options.auto_play) {
796
- step();
797
- }
798
- else {
799
- i = 0;
800
- putFrame();
801
- }
802
- },
803
- step: step,
804
- play: play,
805
- pause: pause,
806
- playing: playing,
807
- move_relative: stepFrame,
808
- current_frame: function() { return i; },
809
- length: function() { return frames.length },
810
- move_to: function ( frame_idx ) {
811
- i = frame_idx;
812
- putFrame();
813
- }
814
- }
815
- }());
816
-
817
- var doDecodeProgress = function (draw) {
818
- doShowProgress(stream.pos, stream.data.length, draw);
819
- };
820
-
821
- var doNothing = function () {};
822
- /**
823
- * @param{boolean=} draw Whether to draw progress bar or not; this is not idempotent because of translucency.
824
- * Note that this means that the text will be unsynchronized with the progress bar on non-frames;
825
- * but those are typically so small (GCE etc.) that it doesn't really matter. TODO: Do this properly.
826
- */
827
- var withProgress = function (fn, draw) {
828
- return function (block) {
829
- fn(block);
830
- doDecodeProgress(draw);
831
- };
832
- };
833
-
834
-
835
- var handler = {
836
- hdr: withProgress(doHdr),
837
- gce: withProgress(doGCE),
838
- com: withProgress(doNothing),
839
- // I guess that's all for now.
840
- app: {
841
- // TODO: Is there much point in actually supporting iterations?
842
- NETSCAPE: withProgress(doNothing)
843
- },
844
- img: withProgress(doImg, true),
845
- eof: function (block) {
846
- //toolbar.style.display = '';
847
- pushFrame();
848
- doDecodeProgress(false);
849
- if ( ! (options.c_w && options.c_h) ) {
850
- canvas.width = hdr.width * get_canvas_scale();
851
- canvas.height = hdr.height * get_canvas_scale();
852
- }
853
- player.init();
854
- loading = false;
855
- if (load_callback) {
856
- load_callback(gif);
857
- }
858
-
859
- }
860
- };
861
-
862
- var init = function () {
863
- var parent = gif.parentNode;
864
-
865
- var div = document.createElement('div');
866
- canvas = document.createElement('canvas');
867
- ctx = canvas.getContext('2d');
868
- toolbar = document.createElement('div');
869
-
870
- tmpCanvas = document.createElement('canvas');
871
-
872
- div.width = canvas.width = gif.width;
873
- div.height = canvas.height = gif.height;
874
- toolbar.style.minWidth = gif.width + 'px';
875
-
876
- div.className = 'jsgif';
877
- toolbar.className = 'jsgif_toolbar';
878
- div.appendChild(canvas);
879
- div.appendChild(toolbar);
880
-
881
- parent.insertBefore(div, gif);
882
- parent.removeChild(gif);
883
-
884
- if (options.c_w && options.c_h) setSizes(options.c_w, options.c_h);
885
- initialized=true;
886
- };
887
-
888
- var get_canvas_scale = function() {
889
- var scale;
890
- if (options.max_width && hdr && hdr.width > options.max_width) {
891
- scale = options.max_width / hdr.width;
892
- }
893
- else {
894
- scale = 1;
895
- }
896
- return scale;
897
- }
898
-
899
- var canvas, ctx, toolbar, tmpCanvas;
900
- var initialized = false;
901
- var load_callback = false;
902
-
903
- var load_setup = function(callback) {
904
- if (loading) return false;
905
- if (callback) load_callback = callback;
906
- else load_callback = false;
907
-
908
- loading = true;
909
- frames = [];
910
- clear();
911
- disposalRestoreFromIdx = null;
912
- lastDisposalMethod = null;
913
- frame = null;
914
- lastImg = null;
915
-
916
- return true;
917
- }
918
-
919
- var calculateDuration = function() {
920
- return frames.reduce(function(duration, frame) {
921
- return duration + frame.delay;
922
- }, 0);
923
- }
924
-
925
- return {
926
- // play controls
927
- play: player.play,
928
- pause: player.pause,
929
- move_relative: player.move_relative,
930
- move_to: player.move_to,
931
-
932
- // getters for instance vars
933
- get_playing : function() { return playing },
934
- get_canvas : function() { return canvas },
935
- get_canvas_scale : function() { return get_canvas_scale() },
936
- get_loading : function() { return loading },
937
- get_auto_play : function() { return options.auto_play },
938
- get_length : function() { return player.length() },
939
- get_frames : function() { return frames },
940
- get_duration : function() { return calculateDuration() },
941
- get_duration_ms : function() { return calculateDuration() * 10 },
942
- get_current_frame: function() { return player.current_frame() },
943
- load_url: function(src,callback){
944
- if (!load_setup(callback)) return;
945
-
946
- var h = new XMLHttpRequest();
947
- // new browsers (XMLHttpRequest2-compliant)
948
- h.open('GET', src, true);
949
-
950
- if ('overrideMimeType' in h) {
951
- h.overrideMimeType('text/plain; charset=x-user-defined');
952
- }
953
-
954
- // old browsers (XMLHttpRequest-compliant)
955
- else if ('responseType' in h) {
956
- h.responseType = 'arraybuffer';
957
- }
958
-
959
- // IE9 (Microsoft.XMLHTTP-compliant)
960
- else {
961
- h.setRequestHeader('Accept-Charset', 'x-user-defined');
962
- }
963
-
964
- h.onloadstart = function() {
965
- // Wait until connection is opened to replace the gif element with a canvas to avoid a blank img
966
- if (!initialized) init();
967
- };
968
- h.onload = function(e) {
969
- if (this.status != 200) {
970
- doLoadError('xhr - response');
971
- }
972
- // emulating response field for IE9
973
- if (!('response' in this)) {
974
- this.response = new VBArray(this.responseText).toArray().map(String.fromCharCode).join('');
975
- }
976
- var data = this.response;
977
- if (data.toString().indexOf("ArrayBuffer") > 0) {
978
- data = new Uint8Array(data);
979
- }
980
-
981
- stream = new Stream(data);
982
- setTimeout(doParse, 0);
983
- };
984
- h.onprogress = function (e) {
985
- if (e.lengthComputable) doShowProgress(e.loaded, e.total, true);
986
- };
987
- h.onerror = function() { doLoadError('xhr'); };
988
- h.send();
989
- },
990
- load: function (callback) {
991
- this.load_url(gif.getAttribute('rel:animated_src') || gif.src,callback);
992
- },
993
- load_raw: function(arr, callback) {
994
- if (!load_setup(callback)) return;
995
- if (!initialized) init();
996
- stream = new Stream(arr);
997
- setTimeout(doParse, 0);
998
- },
999
- set_frame_offset: setFrameOffset
1000
- };
1001
- };
1002
-
1003
- return SuperGif;
1004
- }));