x_ite 8.8.3 → 8.8.4

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 (246) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +13 -13
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +29 -29
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +22 -22
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +48 -48
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +19 -19
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +32 -32
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +35 -35
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +33 -33
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +32 -35
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +47 -56
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +38 -45
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +26 -26
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjector.js +16 -16
  34. package/dist/assets/components/TextureProjector.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +37 -37
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +18 -18
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +9 -9
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +1762 -1827
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.zip +0 -0
  45. package/docs/_config.yml +1 -1
  46. package/package.json +2 -2
  47. package/src/bookmarks.js +1 -1
  48. package/src/lib/jquery.js +8 -0
  49. package/src/lib/nurbs/src/utils/create-accessors.js +4 -4
  50. package/src/lib/nurbs/src/utils/variable.js +1 -1
  51. package/src/shim.js +1 -1
  52. package/src/standard/Math/Algorithms/Bezier.js +2 -2
  53. package/src/standard/Math/Geometry/Box2.js +4 -4
  54. package/src/standard/Math/Geometry/Box3.js +8 -8
  55. package/src/standard/Math/Geometry/Camera.js +1 -1
  56. package/src/standard/Math/Geometry/Line2.js +2 -2
  57. package/src/standard/Math/Geometry/Line3.js +4 -4
  58. package/src/standard/Math/Geometry/Sphere3.js +1 -1
  59. package/src/standard/Math/Geometry/Triangle3.js +2 -2
  60. package/src/standard/Math/Geometry/ViewVolume.js +10 -10
  61. package/src/standard/Math/Numbers/Matrix2.js +2 -2
  62. package/src/standard/Math/Numbers/Matrix3.js +10 -10
  63. package/src/standard/Math/Numbers/Matrix4.js +12 -12
  64. package/src/standard/Math/Numbers/Quaternion.js +2 -2
  65. package/src/standard/Math/Numbers/Rotation4.js +2 -2
  66. package/src/standard/Math/Numbers/Vector3.js +1 -1
  67. package/src/standard/Utility/MapUtilities.js +2 -2
  68. package/src/x_ite/Base/Events.js +6 -33
  69. package/src/x_ite/Base/FieldArray.js +1 -1
  70. package/src/x_ite/Base/FieldDefinitionArray.js +1 -1
  71. package/src/x_ite/Base/X3DArrayField.js +1 -1
  72. package/src/x_ite/Base/X3DBaseNode.js +58 -69
  73. package/src/x_ite/Base/X3DChildObject.js +46 -14
  74. package/src/x_ite/Base/X3DConstants.js +1 -1
  75. package/src/x_ite/Base/X3DField.js +4 -6
  76. package/src/x_ite/Base/X3DFieldDefinition.js +1 -1
  77. package/src/x_ite/Base/X3DInfoArray.js +1 -1
  78. package/src/x_ite/Base/X3DObject.js +5 -5
  79. package/src/x_ite/Base/X3DObjectArrayField.js +1 -1
  80. package/src/x_ite/Base/X3DTypedArrayField.js +1 -1
  81. package/src/x_ite/Browser/Core/BrowserOptions.js +7 -3
  82. package/src/x_ite/Browser/Core/BrowserTimings.js +1 -1
  83. package/src/x_ite/Browser/Core/ContextMenu.js +1 -12
  84. package/src/x_ite/Browser/Core/X3DCoreContext.js +1 -2
  85. package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +1 -1
  86. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +2 -2
  87. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +1 -1
  88. package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +1 -1
  89. package/src/x_ite/Browser/Layout/ScreenText.js +4 -4
  90. package/src/x_ite/Browser/Layout/X3DLayoutContext.js +1 -1
  91. package/src/x_ite/Browser/NURBS/NURBS.js +3 -3
  92. package/src/x_ite/Browser/Navigation/ExamineViewer.js +9 -13
  93. package/src/x_ite/Browser/Navigation/LookAtViewer.js +4 -7
  94. package/src/x_ite/Browser/Navigation/WalkViewer.js +1 -1
  95. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +5 -6
  96. package/src/x_ite/Browser/Navigation/X3DViewer.js +2 -2
  97. package/src/x_ite/Browser/Networking/URLs.js +17 -9
  98. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +0 -2
  99. package/src/x_ite/Browser/Picking/VolumePicker.js +2 -2
  100. package/src/x_ite/Browser/Text/PolygonText.js +2 -2
  101. package/src/x_ite/Browser/Texturing3D/DICOMParser.js +3 -3
  102. package/src/x_ite/Browser/Texturing3D/NRRDParser.js +2 -2
  103. package/src/x_ite/Browser/Time/X3DTimeContext.js +1 -1
  104. package/src/x_ite/Browser/VERSION.js +1 -1
  105. package/src/x_ite/Browser/X3DBrowser.js +148 -67
  106. package/src/x_ite/Browser/X3DBrowserContext.js +52 -16
  107. package/src/x_ite/Components/Core/X3DNode.js +21 -2
  108. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +38 -42
  109. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +2 -2
  110. package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +1 -1
  111. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +4 -4
  112. package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +1 -1
  113. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +2 -2
  114. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +2 -2
  115. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +1 -1
  116. package/src/x_ite/Components/Followers/X3DFollowerNode.js +1 -1
  117. package/src/x_ite/Components/Geometry2D/ArcClose2D.js +1 -1
  118. package/src/x_ite/Components/Geometry2D/Rectangle2D.js +1 -1
  119. package/src/x_ite/Components/Geometry3D/Box.js +1 -1
  120. package/src/x_ite/Components/Geometry3D/Extrusion.js +3 -3
  121. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +3 -3
  122. package/src/x_ite/Components/Geospatial/GeoCoordinate.js +6 -6
  123. package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +1 -1
  124. package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +1 -1
  125. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +7 -7
  126. package/src/x_ite/Components/Grouping/StaticGroup.js +1 -1
  127. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +2 -2
  128. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +1 -1
  129. package/src/x_ite/Components/Interpolation/ColorInterpolator.js +1 -1
  130. package/src/x_ite/Components/Interpolation/NormalInterpolator.js +1 -1
  131. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +1 -1
  132. package/src/x_ite/Components/Interpolation/PositionInterpolator.js +1 -1
  133. package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +1 -1
  134. package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
  135. package/src/x_ite/Components/Lighting/X3DLightNode.js +1 -1
  136. package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +1 -1
  137. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +2 -2
  138. package/src/x_ite/Components/Navigation/Billboard.js +1 -1
  139. package/src/x_ite/Components/Navigation/LOD.js +2 -2
  140. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +1 -1
  141. package/src/x_ite/Components/Navigation/Viewpoint.js +1 -1
  142. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +3 -3
  143. package/src/x_ite/Components/Networking/Inline.js +0 -4
  144. package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +1 -1
  145. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +2 -2
  146. package/src/x_ite/Components/ParticleSystems/PointEmitter.js +1 -1
  147. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +2 -2
  148. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +1 -1
  149. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +2 -2
  150. package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +1 -1
  151. package/src/x_ite/Components/Picking/LinePickSensor.js +1 -1
  152. package/src/x_ite/Components/Picking/PickableGroup.js +1 -1
  153. package/src/x_ite/Components/Picking/PointPickSensor.js +2 -2
  154. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +1 -1
  155. package/src/x_ite/Components/Picking/VolumePickSensor.js +1 -1
  156. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +6 -9
  157. package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +1 -1
  158. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
  159. package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +2 -2
  160. package/src/x_ite/Components/Rendering/X3DGeometryNode.js +8 -11
  161. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +2 -2
  162. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +2 -2
  163. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +3 -3
  164. package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +1 -1
  165. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +5 -14
  166. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +3 -3
  167. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +9 -9
  168. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +1 -1
  169. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +3 -3
  170. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +1 -1
  171. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +1 -1
  172. package/src/x_ite/Components/Scripting/Script.js +1 -8
  173. package/src/x_ite/Components/Shaders/ShaderPart.js +2 -2
  174. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +385 -382
  175. package/src/x_ite/Components/Shape/Appearance.js +1 -1
  176. package/src/x_ite/Components/Shape/Material.js +1 -1
  177. package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -1
  178. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +1 -1
  179. package/src/x_ite/Components/Sound/Sound.js +2 -2
  180. package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +2 -2
  181. package/src/x_ite/Components/Texturing/MultiTexture.js +3 -3
  182. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +1 -1
  183. package/src/x_ite/Components/Texturing/TextureProperties.js +4 -4
  184. package/src/x_ite/Components/Texturing/TextureTransform.js +1 -1
  185. package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +2 -2
  186. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +1 -1
  187. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +1 -1
  188. package/src/x_ite/Components.js +1 -20
  189. package/src/x_ite/Configuration/AbstractNodesArray.js +1 -1
  190. package/src/x_ite/Configuration/ComponentInfo.js +1 -1
  191. package/src/x_ite/Configuration/ComponentInfoArray.js +1 -1
  192. package/src/x_ite/Configuration/ConcreteNodesArray.js +1 -1
  193. package/src/x_ite/Configuration/ProfileInfo.js +1 -1
  194. package/src/x_ite/Configuration/ProfileInfoArray.js +1 -1
  195. package/src/x_ite/Configuration/UnitInfo.js +1 -1
  196. package/src/x_ite/Configuration/UnitInfoArray.js +1 -1
  197. package/src/x_ite/Execution/BindableList.js +1 -1
  198. package/src/x_ite/Execution/BindableStack.js +1 -1
  199. package/src/x_ite/Execution/ExportedNodesArray.js +1 -1
  200. package/src/x_ite/Execution/ImportedNodesArray.js +1 -1
  201. package/src/x_ite/Execution/NamedNodesArray.js +1 -1
  202. package/src/x_ite/Execution/X3DExecutionContext.js +9 -11
  203. package/src/x_ite/Execution/X3DExportedNode.js +1 -1
  204. package/src/x_ite/Execution/X3DImportedNode.js +1 -1
  205. package/src/x_ite/Execution/X3DScene.js +2 -6
  206. package/src/x_ite/Execution/X3DWorld.js +1 -2
  207. package/src/x_ite/{Browser/Networking/Features.js → Features.js} +9 -2
  208. package/src/x_ite/Fields/ArrayFields.js +9 -51
  209. package/src/x_ite/Fields/SFBool.js +1 -1
  210. package/src/x_ite/Fields/SFColor.js +2 -2
  211. package/src/x_ite/Fields/SFColorRGBA.js +2 -2
  212. package/src/x_ite/Fields/SFDouble.js +1 -1
  213. package/src/x_ite/Fields/SFFloat.js +1 -1
  214. package/src/x_ite/Fields/SFImage.js +2 -2
  215. package/src/x_ite/Fields/SFInt32.js +1 -1
  216. package/src/x_ite/Fields/SFMatrix3.js +1 -1
  217. package/src/x_ite/Fields/SFMatrix4.js +1 -1
  218. package/src/x_ite/Fields/SFNode.js +3 -25
  219. package/src/x_ite/Fields/SFNodeCache.js +24 -3
  220. package/src/x_ite/Fields/SFRotation.js +1 -1
  221. package/src/x_ite/Fields/SFString.js +1 -1
  222. package/src/x_ite/Fields/SFTime.js +1 -1
  223. package/src/x_ite/Fields/SFVec2.js +1 -1
  224. package/src/x_ite/Fields/SFVec3.js +1 -1
  225. package/src/x_ite/Fields/SFVec4.js +1 -1
  226. package/src/x_ite/InputOutput/FileLoader.js +1 -1
  227. package/src/x_ite/InputOutput/Generator.js +8 -8
  228. package/src/x_ite/Parser/GLTF2Parser.js +5 -5
  229. package/src/x_ite/Parser/HTMLSupport.js +3 -0
  230. package/src/x_ite/Parser/SVGParser.js +2 -2
  231. package/src/x_ite/Parser/VRMLParser.js +1 -1
  232. package/src/x_ite/Parser/XMLParser.js +1 -1
  233. package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +1 -1
  234. package/src/x_ite/Prototype/ProtoDeclarationArray.js +1 -1
  235. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +1 -3
  236. package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -2
  237. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -2
  238. package/src/x_ite/Rendering/DependentRenderer.js +1 -1
  239. package/src/x_ite/Rendering/TextureBuffer.js +2 -2
  240. package/src/x_ite/Rendering/X3DRenderObject.js +11 -11
  241. package/src/x_ite/Routing/RouteArray.js +1 -1
  242. package/src/x_ite/Routing/X3DRoute.js +1 -1
  243. package/src/x_ite/X3D.js +2 -2
  244. package/src/x_ite.html +3 -3
  245. package/x_ite.min.html +3 -3
  246. package/src/x_ite/Base/X3DEventObject.js +0 -115
@@ -231,7 +231,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, X3DBindabl
231
231
 
232
232
  this .transferSphere ();
233
233
  },
234
- buildSphere: (function ()
234
+ buildSphere: (() =>
235
235
  {
236
236
  const U_DIMENSION = 20;
237
237
 
@@ -325,7 +325,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, X3DBindabl
325
325
 
326
326
  this .sphereCount = this .sphere .length / 4;
327
327
  },
328
- transferRectangle: (function ()
328
+ transferRectangle: (() =>
329
329
  {
330
330
  const s = SIZE;
331
331
 
@@ -452,7 +452,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, X3DBindabl
452
452
  }
453
453
  }
454
454
  },
455
- display: (function ()
455
+ display: (() =>
456
456
  {
457
457
  const
458
458
  modelViewMatrix = new Matrix4 (),
@@ -534,7 +534,7 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, X3DBindabl
534
534
 
535
535
  gl .drawArrays (gl .TRIANGLES, 0, this .sphereCount);
536
536
  },
537
- drawCube: (function ()
537
+ drawCube: (() =>
538
538
  {
539
539
  const textureMatrixArray = new Float32Array (Matrix4 .Identity);
540
540
 
@@ -125,7 +125,7 @@ Object .assign (X3DFogObject .prototype,
125
125
  {
126
126
  return Fogs;
127
127
  },
128
- set_fogType__: (function ()
128
+ set_fogType__: (() =>
129
129
  {
130
130
  const fogTypes = new Map ([
131
131
  ["LINEAR", 1],
@@ -114,7 +114,7 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, X3DEnvironme
114
114
  this .min .set (cx - sx, cy - sy, cz - sz);
115
115
  this .max .set (cx + sx, cy + sy, cz + sz);
116
116
  },
117
- update: (function ()
117
+ update: (() =>
118
118
  {
119
119
  const
120
120
  invModelMatrix = new Matrix4 (),
@@ -183,7 +183,7 @@ Object .assign (Object .setPrototypeOf (ProximitySensor .prototype, X3DEnvironme
183
183
  this .setTraversed (false);
184
184
  };
185
185
  })(),
186
- traverse: (function ()
186
+ traverse: (() =>
187
187
  {
188
188
  const
189
189
  invModelViewMatrix = new Matrix4 (),
@@ -180,7 +180,7 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, X3DEnvironme
180
180
  {
181
181
  this .targetMatrices .push (TargetMatrixCache .pop () .assign (targetMatrix));
182
182
  },
183
- process: (function ()
183
+ process: (() =>
184
184
  {
185
185
  const
186
186
  position = new Vector3 (0, 0, 0),
@@ -232,7 +232,7 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, X3DEnvironme
232
232
  targetMatrices .length = 0;
233
233
  };
234
234
  })(),
235
- intersects: (function ()
235
+ intersects: (() =>
236
236
  {
237
237
  const infinity = new Vector3 (-1, -1, -1);
238
238
 
@@ -105,7 +105,7 @@ Object .assign (Object .setPrototypeOf (VisibilitySensor .prototype, X3DEnvironm
105
105
 
106
106
  this .setTraversed (false);
107
107
  },
108
- traverse: (function ()
108
+ traverse: (() =>
109
109
  {
110
110
  const
111
111
  bbox = new Box3 (),
@@ -115,7 +115,7 @@ Object .assign (Object .setPrototypeOf (X3DFollowerNode .prototype, X3DChildNode
115
115
  },
116
116
  set_live__ ()
117
117
  {
118
- if ((this .getLive () .getValue () || this .isPrivate ()) && this ._isActive .getValue ())
118
+ if (this .getLive () .getValue () && this ._isActive .getValue ())
119
119
  {
120
120
  this .getBrowser () .prepareEvents () .addInterest ("prepareEvents", this);
121
121
  this .getBrowser () .addBrowserEvent ();
@@ -97,7 +97,7 @@ Object .assign (Object .setPrototypeOf (ArcClose2D .prototype, X3DGeometryNode .
97
97
  // We must test for NAN, as NAN to int is undefined.
98
98
  return 0;
99
99
  },
100
- build: (function ()
100
+ build: (() =>
101
101
  {
102
102
  const half = new Complex (0.5, 0.5);
103
103
 
@@ -66,7 +66,7 @@ function Rectangle2D (executionContext)
66
66
 
67
67
  Object .assign (Object .setPrototypeOf (Rectangle2D .prototype, X3DGeometryNode .prototype),
68
68
  {
69
- build: (function ()
69
+ build: (() =>
70
70
  {
71
71
  const defaultSize = new Vector2 (2, 2);
72
72
 
@@ -63,7 +63,7 @@ function Box (executionContext)
63
63
 
64
64
  Object .assign (Object .setPrototypeOf (Box .prototype, X3DGeometryNode .prototype),
65
65
  {
66
- build: (function ()
66
+ build: (() =>
67
67
  {
68
68
  const defaultSize = new Vector3 (2, 2, 2);
69
69
 
@@ -93,7 +93,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, X3DGeometryNode .p
93
93
 
94
94
  return true;
95
95
  },
96
- createPoints: (function ()
96
+ createPoints: (() =>
97
97
  {
98
98
  const scale3 = new Vector3 (1, 1, 1);
99
99
 
@@ -135,7 +135,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, X3DGeometryNode .p
135
135
  return points;
136
136
  };
137
137
  })(),
138
- createRotations: (function ()
138
+ createRotations: (() =>
139
139
  {
140
140
  const rotations = [ ];
141
141
 
@@ -327,7 +327,7 @@ Object .assign (Object .setPrototypeOf (Extrusion .prototype, X3DGeometryNode .p
327
327
  return rotations;
328
328
  };
329
329
  })(),
330
- build: (function ()
330
+ build: (() =>
331
331
  {
332
332
  const
333
333
  min = new Vector2 (0, 0, 0),
@@ -273,7 +273,7 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, X3DComposedGe
273
273
 
274
274
  return polygons;
275
275
  },
276
- triangulatePolygon: (function ()
276
+ triangulatePolygon: (() =>
277
277
  {
278
278
  const polygon = [ ];
279
279
 
@@ -319,7 +319,7 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, X3DComposedGe
319
319
  }
320
320
  }
321
321
  },
322
- createNormals: (function ()
322
+ createNormals: (() =>
323
323
  {
324
324
  const
325
325
  normals = [ ],
@@ -393,7 +393,7 @@ Object .assign (Object .setPrototypeOf (IndexedFaceSet .prototype, X3DComposedGe
393
393
  return this .refineNormals (normalIndex, normals, this ._creaseAngle .getValue ());
394
394
  };
395
395
  })(),
396
- getPolygonNormal: (function ()
396
+ getPolygonNormal: (() =>
397
397
  {
398
398
  let
399
399
  current = new Vector3 (0, 0, 0),
@@ -70,7 +70,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
70
70
  X3DCoordinateNode .prototype .initialize .call (this);
71
71
  X3DGeospatialObject .prototype .initialize .call (this);
72
72
  },
73
- set1Point: (function ()
73
+ set1Point: (() =>
74
74
  {
75
75
  const result = new Vector3 (0, 0, 0);
76
76
 
@@ -79,7 +79,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
79
79
  this ._point [index] = this .getGeoCoord (point, result);
80
80
  };
81
81
  })(),
82
- get1Point: (function ()
82
+ get1Point: (() =>
83
83
  {
84
84
  const p = new Vector3 (0, 0, 0);
85
85
 
@@ -99,7 +99,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
99
99
  }
100
100
  };
101
101
  })(),
102
- addPoint: (function ()
102
+ addPoint: (() =>
103
103
  {
104
104
  const
105
105
  p = new Vector3 (0, 0, 0),
@@ -123,7 +123,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
123
123
  }
124
124
  };
125
125
  })(),
126
- addPoints: (function ()
126
+ addPoints: (() =>
127
127
  {
128
128
  const
129
129
  p = new Vector3 (0, 0, 0),
@@ -144,7 +144,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
144
144
  array .push (0, 0, 0, 1);
145
145
  };
146
146
  })(),
147
- getNormal: (function ()
147
+ getNormal: (() =>
148
148
  {
149
149
  const
150
150
  point1 = new Vector3 (0, 0, 0),
@@ -168,7 +168,7 @@ Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, X3DCoordinateN
168
168
  return new Vector3 (0, 0, 0);
169
169
  };
170
170
  })(),
171
- getQuadNormal: (function ()
171
+ getQuadNormal: (() =>
172
172
  {
173
173
  const
174
174
  point1 = new Vector3 (0, 0, 0),
@@ -90,7 +90,7 @@ Object .assign (Object .setPrototypeOf (GeoPositionInterpolator .prototype, X3DI
90
90
  if (keyValue .length < key .length)
91
91
  keyValue .resize (key .length, keyValue .length ? keyValue [keyValue .length - 1] : new Fields .SFVec3f ());
92
92
  },
93
- interpolate: (function ()
93
+ interpolate: (() =>
94
94
  {
95
95
  const
96
96
  keyValue0 = new Vector3 (0, 0, 0),
@@ -71,7 +71,7 @@ Object .assign (Object .setPrototypeOf (GeoTouchSensor .prototype, X3DTouchSenso
71
71
  X3DTouchSensorNode .prototype .initialize .call (this);
72
72
  X3DGeospatialObject .prototype .initialize .call (this);
73
73
  },
74
- set_over__: (function ()
74
+ set_over__: (() =>
75
75
  {
76
76
  const geoCoords = new Vector3 (0, 0, 0);
77
77
 
@@ -111,7 +111,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
111
111
  {
112
112
  return this .logarithmicDepthBuffer;
113
113
  },
114
- setPosition: (function ()
114
+ setPosition: (() =>
115
115
  {
116
116
  const geoPosition = new Vector3 (0, 0, 0);
117
117
 
@@ -120,7 +120,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
120
120
  this ._position .setValue (this .getGeoCoord (value, geoPosition));
121
121
  };
122
122
  })(),
123
- getPosition: (function ()
123
+ getPosition: (() =>
124
124
  {
125
125
  const position = new Vector3 (0, 0, 0);
126
126
 
@@ -129,7 +129,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
129
129
  return this .getCoord (this ._position .getValue (), position);
130
130
  };
131
131
  })(),
132
- set_position__: (function ()
132
+ set_position__: (() =>
133
133
  {
134
134
  const position = new Vector3 (0, 0, 0);
135
135
 
@@ -140,7 +140,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
140
140
  this .elevation = this .getGeoElevation (position .add (this ._positionOffset .getValue ()));
141
141
  };
142
142
  })(),
143
- setOrientation: (function ()
143
+ setOrientation: (() =>
144
144
  {
145
145
  const
146
146
  locationMatrix = new Matrix4 (),
@@ -157,7 +157,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
157
157
  this ._orientation .setValue (geoOrientation .inverse () .multLeft (value));
158
158
  };
159
159
  })(),
160
- getOrientation: (function ()
160
+ getOrientation: (() =>
161
161
  {
162
162
  const
163
163
  locationMatrix = new Matrix4 (),
@@ -174,7 +174,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
174
174
  return orientation .multLeft (this ._orientation .getValue ());
175
175
  };
176
176
  })(),
177
- getCenterOfRotation: (function ()
177
+ getCenterOfRotation: (() =>
178
178
  {
179
179
  const centerOfRotation = new Vector3 (0, 0, 0);
180
180
 
@@ -187,7 +187,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
187
187
  {
188
188
  return 1e9;
189
189
  },
190
- getUpVector: (function ()
190
+ getUpVector: (() =>
191
191
  {
192
192
  const
193
193
  position = new Vector3 (0, 0, 0),
@@ -151,7 +151,7 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, X3DChildNode .pr
151
151
  }
152
152
  }
153
153
  },
154
- traverseObjects: (function ()
154
+ traverseObjects: (() =>
155
155
  {
156
156
  const viewVolume = new ViewVolume ();
157
157
 
@@ -68,7 +68,7 @@ function X3DBoundedObject (executionContext)
68
68
  Object .assign (X3DBoundedObject .prototype,
69
69
  {
70
70
  initialize () { },
71
- getDefaultBBoxSize: (function ()
71
+ getDefaultBBoxSize: (() =>
72
72
  {
73
73
  const defaultBBoxSize = new Vector3 (-1, -1, -1);
74
74
 
@@ -94,7 +94,7 @@ Object .assign (X3DBoundedObject .prototype,
94
94
 
95
95
  return bbox;
96
96
  },
97
- displayBBox: (function ()
97
+ displayBBox: (() =>
98
98
  {
99
99
  const
100
100
  bbox = new Box3 (),
@@ -219,7 +219,7 @@ Object .assign (Object .setPrototypeOf (HAnimHumanoid .prototype, X3DChildNode .
219
219
 
220
220
  this .skinning (type, renderObject);
221
221
  },
222
- skinning: (function ()
222
+ skinning: (() =>
223
223
  {
224
224
  const
225
225
  invModelMatrix = new Matrix4 (),
@@ -81,7 +81,7 @@ Object .assign (Object .setPrototypeOf (ColorInterpolator .prototype, X3DInterpo
81
81
  for (const value of keyValue)
82
82
  this .hsv .push (value .getHSV ());
83
83
  },
84
- interpolate: (function ()
84
+ interpolate: (() =>
85
85
  {
86
86
  const value = [ ];
87
87
 
@@ -69,7 +69,7 @@ Object .assign (Object .setPrototypeOf (NormalInterpolator .prototype, X3DInterp
69
69
  this ._keyValue .addInterest ("set_keyValue__", this);
70
70
  },
71
71
  set_keyValue__ () { },
72
- interpolate: (function ()
72
+ interpolate: (() =>
73
73
  {
74
74
  const
75
75
  keyValue0 = new Vector3 (0, 0, 0),
@@ -79,7 +79,7 @@ Object .assign (Object .setPrototypeOf (OrientationInterpolator .prototype, X3DI
79
79
  if (keyValue .length < key .length)
80
80
  keyValue .resize (key .length, keyValue .length ? keyValue [keyValue .length - 1] : new Fields .SFRotation ());
81
81
  },
82
- interpolate: (function ()
82
+ interpolate: (() =>
83
83
  {
84
84
  const
85
85
  keyValue0 = new Rotation4 (),
@@ -76,7 +76,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator .prototype, X3DInte
76
76
  if (keyValue .length < key .length)
77
77
  keyValue .resize (key .length, keyValue .length ? keyValue [keyValue .length - 1] : new Fields .SFVec3f ());
78
78
  },
79
- interpolate: (function ()
79
+ interpolate: (() =>
80
80
  {
81
81
  const keyValue = new Vector3 (0, 0, 0);
82
82
 
@@ -76,7 +76,7 @@ Object .assign (Object .setPrototypeOf (PositionInterpolator2D .prototype, X3DIn
76
76
  if (keyValue .length < key .length)
77
77
  keyValue .resize (key .length, keyValue .length ? keyValue [keyValue .length - 1] : new Fields .SFVec2f ());
78
78
  },
79
- interpolate: (function ()
79
+ interpolate: (() =>
80
80
  {
81
81
  const keyValue = new Vector2 (0, 0);
82
82
 
@@ -341,7 +341,7 @@ Object .assign (Object .setPrototypeOf (X3DLayerNode .prototype, X3DNode .protot
341
341
  this .getModelViewMatrix () .pop ();
342
342
  }
343
343
  },
344
- collision: (function ()
344
+ collision: (() =>
345
345
  {
346
346
  const projectionMatrix = new Matrix4 ();
347
347
 
@@ -121,7 +121,7 @@ Object .assign (Object .setPrototypeOf (X3DLightNode .prototype, X3DChildNode .p
121
121
  {
122
122
  return Math .min (this ._shadowMapSize .getValue (), this .getBrowser () .getMaxTextureSize ());
123
123
  },
124
- getBiasMatrix: (function ()
124
+ getBiasMatrix: (() =>
125
125
  {
126
126
  // Transforms normalized coords from range (-1, 1) to (0, 1).
127
127
  const biasMatrix = new Matrix4 (0.5, 0.0, 0.0, 0.0,
@@ -92,7 +92,7 @@ Object .assign (Object .setPrototypeOf (NurbsSurfaceInterpolator .prototype, X3D
92
92
 
93
93
  this .geometry .setup ();
94
94
  },
95
- set_fraction__: (function ()
95
+ set_fraction__: (() =>
96
96
  {
97
97
  const
98
98
  a = new Vector3 (0, 0, 0),
@@ -231,7 +231,7 @@ Object .assign (Object .setPrototypeOf (X3DNurbsSurfaceGeometryNode .prototype,
231
231
  this .setSolid (this ._solid .getValue ());
232
232
  this .setCCW (true);
233
233
  },
234
- buildNurbsTexCoords: (function ()
234
+ buildNurbsTexCoords: (() =>
235
235
  {
236
236
  const
237
237
  defaultTexUKnots = [ ],
@@ -337,7 +337,7 @@ Object .assign (Object .setPrototypeOf (X3DNurbsSurfaceGeometryNode .prototype,
337
337
 
338
338
  return this .refineNormals (normalIndex, normals, Algorithm .radians (85));
339
339
  },
340
- createFaceNormals: (function ()
340
+ createFaceNormals: (() =>
341
341
  {
342
342
  const
343
343
  v1 = new Vector3 (0, 0, 0),
@@ -74,7 +74,7 @@ Object .assign (Object .setPrototypeOf (Billboard .prototype, X3DGroupingNode .p
74
74
  {
75
75
  return this .matrix;
76
76
  },
77
- rotate: (function ()
77
+ rotate: (() =>
78
78
  {
79
79
  const
80
80
  inverseModelViewMatrix = new Matrix4 (),
@@ -171,7 +171,7 @@ Object .assign (Object .setPrototypeOf (LOD .prototype, X3DGroupingNode .prototy
171
171
  this .boundedObject = null;
172
172
  }
173
173
  },
174
- getLevel: (function ()
174
+ getLevel: (() =>
175
175
  {
176
176
  const
177
177
  FRAMES = 180, // Number of frames after wich a level change takes in affect.
@@ -208,7 +208,7 @@ Object .assign (Object .setPrototypeOf (LOD .prototype, X3DGroupingNode .prototy
208
208
  return Algorithm .upperBound (this ._range, 0, this ._range .length, distance);
209
209
  };
210
210
  })(),
211
- traverse: (function ()
211
+ traverse: (() =>
212
212
  {
213
213
  const modelViewMatrix = new Matrix4 ();
214
214
 
@@ -242,7 +242,7 @@ Object .assign (Object .setPrototypeOf (OrthoViewpoint .prototype, X3DViewpointN
242
242
  return screenScale .set (s, s, s);
243
243
  }
244
244
  },
245
- getViewportSize: (function ()
245
+ getViewportSize: (() =>
246
246
  {
247
247
  const viewportSize = new Vector2 (0, 0);
248
248
 
@@ -122,7 +122,7 @@ Object .assign (Object .setPrototypeOf (Viewpoint .prototype, X3DViewpointNode .
122
122
 
123
123
  return screenScale .set (size, size, size);
124
124
  },
125
- getViewportSize: (function ()
125
+ getViewportSize: (() =>
126
126
  {
127
127
  const viewportSize = new Vector2 (0, 0);
128
128
 
@@ -379,7 +379,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, X3DBindable
379
379
  this .set_nearDistance__ ();
380
380
  this .set_farDistance__ ();
381
381
  },
382
- getRelativeTransformation: (function ()
382
+ getRelativeTransformation: (() =>
383
383
  {
384
384
  const
385
385
  position = new Vector3 (0, 0, 0),
@@ -404,7 +404,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, X3DBindable
404
404
  };
405
405
  };
406
406
  })(),
407
- getLookAtRotation: (function ()
407
+ getLookAtRotation: (() =>
408
408
  {
409
409
  const
410
410
  x = new Vector3 (0, 0, 0),
@@ -509,7 +509,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, X3DBindable
509
509
 
510
510
  this .setInterpolators (this, relative);
511
511
  },
512
- straightenHorizon: (function ()
512
+ straightenHorizon: (() =>
513
513
  {
514
514
  const
515
515
  localXAxis = new Vector3 (0, 0, 0),
@@ -102,9 +102,6 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, X3DChildNode .prototy
102
102
  {
103
103
  X3DUrlObject .prototype .set_live__ .call (this);
104
104
 
105
- if (this .isPrivate ())
106
- return;
107
-
108
105
  this .scene .setLive (this .getLive () .getValue ());
109
106
  },
110
107
  unloadData ()
@@ -156,7 +153,6 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, X3DChildNode .prototy
156
153
 
157
154
  this .scene = scene;
158
155
  this .scene .setExecutionContext (this .getExecutionContext ());
159
- this .scene .setPrivate (this .getExecutionContext () .isPrivate ());
160
156
 
161
157
  this .scene .rootNodes .addFieldInterest (this .groupNode ._children);
162
158
  this .groupNode ._children = this .scene .rootNodes;
@@ -63,7 +63,7 @@ function ForcePhysicsModel (executionContext)
63
63
 
64
64
  Object .assign (Object .setPrototypeOf (ForcePhysicsModel .prototype, X3DParticlePhysicsModelNode .prototype),
65
65
  {
66
- addForce: (function ()
66
+ addForce: (() =>
67
67
  {
68
68
  const force = new Vector3 (0, 0, 0);
69
69
 
@@ -774,7 +774,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, X3DShapeNode
774
774
 
775
775
  browser .addBrowserEvent ();
776
776
  },
777
- updateSprite: (function ()
777
+ updateSprite: (() =>
778
778
  {
779
779
  const data = new Float32Array (QuadGeometry);
780
780
 
@@ -997,7 +997,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, X3DShapeNode
997
997
  }
998
998
  }
999
999
  },
1000
- getScreenAlignedRotation: (function ()
1000
+ getScreenAlignedRotation: (() =>
1001
1001
  {
1002
1002
  const
1003
1003
  invModelViewMatrix = new Matrix4 (),
@@ -99,7 +99,7 @@ Object .assign (Object .setPrototypeOf (PointEmitter .prototype, X3DParticleEmit
99
99
 
100
100
  this .setUniform ("uniform3f", "position", position .x, position .y, position .z);
101
101
  },
102
- set_direction__: (function ()
102
+ set_direction__: (() =>
103
103
  {
104
104
  const direction = new Vector3 (0, 0, 0);
105
105
 
@@ -141,7 +141,7 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, X3DParticleE
141
141
  this .set_direction__ ();
142
142
  this .set_polyline ();
143
143
  },
144
- set_direction__: (function ()
144
+ set_direction__: (() =>
145
145
  {
146
146
  const direction = new Vector3 (0, 0, 0);
147
147
 
@@ -152,7 +152,7 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, X3DParticleE
152
152
  this .setUniform ("uniform3f", "direction", direction .x, direction .y, direction .z);
153
153
  };
154
154
  })(),
155
- set_polyline: (function ()
155
+ set_polyline: (() =>
156
156
  {
157
157
  const
158
158
  vertex1 = new Vector3 (0, 0, 0),
@@ -140,7 +140,7 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, X3DParticleEm
140
140
  if (this .surfaceNode)
141
141
  this .setUniform ("uniform1i", "solid", this .surfaceNode ._solid .getValue ());
142
142
  },
143
- set_geometry__: (function ()
143
+ set_geometry__: (() =>
144
144
  {
145
145
  const
146
146
  vertex1 = new Vector3 (0, 0, 0),
@@ -162,7 +162,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, X3DParticleEmi
162
162
  this .set_direction__ ();
163
163
  this .set_geometry__ ();
164
164
  },
165
- set_direction__: (function ()
165
+ set_direction__: (() =>
166
166
  {
167
167
  const direction = new Vector3 (0, 0, 0);
168
168
 
@@ -173,7 +173,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, X3DParticleEmi
173
173
  this .setUniform ("uniform3f", "direction", direction .x, direction .y, direction .z);
174
174
  };
175
175
  })(),
176
- set_geometry__: (function ()
176
+ set_geometry__: (() =>
177
177
  {
178
178
  const
179
179
  vertex1 = new Vector3 (0, 0, 0),
@@ -72,7 +72,7 @@ Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, X3DParticle
72
72
 
73
73
  return emitterNode .getRandomValue (Math .max (0, speed - variation), speed + variation);
74
74
  },
75
- addForce: (function ()
75
+ addForce: (() =>
76
76
  {
77
77
  const force = new Vector3 (0, 0, 0);
78
78