x_ite 10.2.0 → 10.3.1

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 (74) hide show
  1. package/README.md +4 -4
  2. package/dist/LICENSE.md +4 -0
  3. package/dist/assets/components/{Annotation.js → AnnotationComponent.js} +138 -260
  4. package/dist/assets/components/AnnotationComponent.min.js +2 -0
  5. package/dist/assets/components/{CADGeometry.js → CADGeometryComponent.js} +177 -299
  6. package/dist/assets/components/CADGeometryComponent.min.js +2 -0
  7. package/dist/assets/components/{CubeMapTexturing.js → CubeMapTexturingComponent.js} +204 -255
  8. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -0
  9. package/dist/assets/components/DISComponent.js +994 -0
  10. package/dist/assets/components/DISComponent.min.js +2 -0
  11. package/dist/assets/components/{EventUtilities.js → EventUtilitiesComponent.js} +121 -274
  12. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -0
  13. package/dist/assets/components/{Geometry2D.js → Geometry2DComponent.js} +202 -356
  14. package/dist/assets/components/Geometry2DComponent.min.js +2 -0
  15. package/dist/assets/components/{Geospatial.js → GeospatialComponent.js} +449 -676
  16. package/dist/assets/components/GeospatialComponent.min.js +2 -0
  17. package/dist/assets/components/{HAnim.js → HAnimComponent.js} +277 -387
  18. package/dist/assets/components/HAnimComponent.min.js +2 -0
  19. package/dist/assets/components/{KeyDeviceSensor.js → KeyDeviceSensorComponent.js} +71 -114
  20. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -0
  21. package/dist/assets/components/{Layout.js → LayoutComponent.js} +234 -339
  22. package/dist/assets/components/LayoutComponent.min.js +2 -0
  23. package/dist/assets/components/{NURBS.js → NURBSComponent.js} +349 -652
  24. package/dist/assets/components/NURBSComponent.min.js +2 -0
  25. package/dist/assets/components/{ParticleSystems.js → ParticleSystemsComponent.js} +345 -674
  26. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -0
  27. package/dist/assets/components/{Picking.js → PickingComponent.js} +245 -472
  28. package/dist/assets/components/PickingComponent.min.js +2 -0
  29. package/dist/assets/components/{RigidBodyPhysics.js → RigidBodyPhysicsComponent.js} +496 -804
  30. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -0
  31. package/dist/assets/components/ScriptingComponent.js +899 -0
  32. package/dist/assets/components/ScriptingComponent.min.js +2 -0
  33. package/dist/assets/components/{Text.js → TextComponent.js} +200 -250
  34. package/dist/assets/components/TextComponent.min.js +2 -0
  35. package/dist/assets/components/{TextureProjection.js → TextureProjectionComponent.js} +144 -190
  36. package/dist/assets/components/TextureProjectionComponent.min.js +2 -0
  37. package/dist/assets/components/{Texturing3D.js → Texturing3DComponent.js} +225 -387
  38. package/dist/assets/components/Texturing3DComponent.min.js +2 -0
  39. package/dist/assets/components/{VolumeRendering.js → VolumeRenderingComponent.js} +316 -603
  40. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -0
  41. package/dist/assets/components/{X_ITE.js → X_ITEComponent.js} +301 -599
  42. package/dist/assets/components/X_ITEComponent.min.js +2 -0
  43. package/dist/assets/images/XR.svg +74 -0
  44. package/dist/example.html +1 -1
  45. package/dist/x_ite.css +1 -1
  46. package/dist/x_ite.d.ts +68 -11
  47. package/dist/x_ite.js +2905 -5804
  48. package/dist/x_ite.min.js +2 -1
  49. package/dist/x_ite.min.mjs +2 -1
  50. package/dist/x_ite.mjs +2905 -5804
  51. package/dist/x_ite.zip +0 -0
  52. package/package.json +8 -6
  53. package/dist/assets/components/Annotation.min.js +0 -1
  54. package/dist/assets/components/CADGeometry.min.js +0 -1
  55. package/dist/assets/components/CubeMapTexturing.min.js +0 -1
  56. package/dist/assets/components/DIS.js +0 -1104
  57. package/dist/assets/components/DIS.min.js +0 -1
  58. package/dist/assets/components/EventUtilities.min.js +0 -1
  59. package/dist/assets/components/Geometry2D.min.js +0 -1
  60. package/dist/assets/components/Geospatial.min.js +0 -1
  61. package/dist/assets/components/HAnim.min.js +0 -1
  62. package/dist/assets/components/KeyDeviceSensor.min.js +0 -1
  63. package/dist/assets/components/Layout.min.js +0 -1
  64. package/dist/assets/components/NURBS.min.js +0 -1
  65. package/dist/assets/components/ParticleSystems.min.js +0 -1
  66. package/dist/assets/components/Picking.min.js +0 -1
  67. package/dist/assets/components/RigidBodyPhysics.min.js +0 -1
  68. package/dist/assets/components/Scripting.js +0 -927
  69. package/dist/assets/components/Scripting.min.js +0 -1
  70. package/dist/assets/components/Text.min.js +0 -1
  71. package/dist/assets/components/TextureProjection.min.js +0 -1
  72. package/dist/assets/components/Texturing3D.min.js +0 -1
  73. package/dist/assets/components/VolumeRendering.min.js +0 -1
  74. package/dist/assets/components/X_ITE.min.js +0 -1
@@ -1,11 +1,13 @@
1
- /* X_ITE v10.2.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v10.3.1 */
2
+ const __X_ITE_X3D__ = window [Symbol .for ("X_ITE.X3D-10.3.1")];
3
+ /******/ (() => { // webpackBootstrap
2
4
  /******/ "use strict";
3
5
  /******/ var __webpack_modules__ = ({
4
6
 
5
- /***/ 823:
7
+ /***/ 254:
6
8
  /***/ ((module) => {
7
9
 
8
- module.exports = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("lib/jquery");
10
+ module.exports = __X_ITE_X3D__ .jquery;
9
11
 
10
12
  /***/ })
11
13
 
@@ -69,30 +71,30 @@ module.exports = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("lib/jquery
69
71
 
70
72
  // UNUSED EXPORTS: default
71
73
 
72
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
73
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components");
74
- var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
75
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
76
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Fields");
77
- var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
78
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
79
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DFieldDefinition");
80
- var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
81
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
82
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/FieldDefinitionArray");
83
- var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
84
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
85
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DNode");
86
- var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
87
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/ParticleSystems/GeometryTypes\")"
88
- const GeometryTypes_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Browser/ParticleSystems/GeometryTypes");
89
- var GeometryTypes_default = /*#__PURE__*/__webpack_require__.n(GeometryTypes_namespaceObject);
90
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
91
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DConstants");
92
- var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
93
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
94
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Namespace");
95
- var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
74
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Components"
75
+ const external_X_ITE_X3D_Components_namespaceObject = __X_ITE_X3D__ .Components;
76
+ var external_X_ITE_X3D_Components_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Components_namespaceObject);
77
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Fields"
78
+ const external_X_ITE_X3D_Fields_namespaceObject = __X_ITE_X3D__ .Fields;
79
+ var external_X_ITE_X3D_Fields_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Fields_namespaceObject);
80
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .X3DFieldDefinition"
81
+ const external_X_ITE_X3D_X3DFieldDefinition_namespaceObject = __X_ITE_X3D__ .X3DFieldDefinition;
82
+ var external_X_ITE_X3D_X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_X3DFieldDefinition_namespaceObject);
83
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .FieldDefinitionArray"
84
+ const external_X_ITE_X3D_FieldDefinitionArray_namespaceObject = __X_ITE_X3D__ .FieldDefinitionArray;
85
+ var external_X_ITE_X3D_FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_FieldDefinitionArray_namespaceObject);
86
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .X3DNode"
87
+ const external_X_ITE_X3D_X3DNode_namespaceObject = __X_ITE_X3D__ .X3DNode;
88
+ var external_X_ITE_X3D_X3DNode_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_X3DNode_namespaceObject);
89
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .GeometryTypes"
90
+ const external_X_ITE_X3D_GeometryTypes_namespaceObject = __X_ITE_X3D__ .GeometryTypes;
91
+ var external_X_ITE_X3D_GeometryTypes_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_GeometryTypes_namespaceObject);
92
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .X3DConstants"
93
+ const external_X_ITE_X3D_X3DConstants_namespaceObject = __X_ITE_X3D__ .X3DConstants;
94
+ var external_X_ITE_X3D_X3DConstants_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_X3DConstants_namespaceObject);
95
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Namespace"
96
+ const external_X_ITE_X3D_Namespace_namespaceObject = __X_ITE_X3D__ .Namespace;
97
+ var external_X_ITE_X3D_Namespace_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Namespace_namespaceObject);
96
98
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/Line3.glsl.js
97
99
  const __default__ = /* glsl */ `
98
100
  #if defined(X3D_BOUNDED_VOLUME)||defined(X3D_VOLUME_EMITTER)
@@ -101,8 +103,7 @@ struct Line3{vec3 point;vec3 direction;};bool intersects(const in Line3 line,con
101
103
  `
102
104
  ;
103
105
 
104
- Namespace_default().add ("Line3.glsl", "x_ite/Browser/ParticleSystems/Line3.glsl", __default__);
105
- /* harmony default export */ const Line3_glsl = (__default__);
106
+ /* harmony default export */ const Line3_glsl = (external_X_ITE_X3D_Namespace_default().add ("Line3.glsl", __default__));
106
107
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/Plane3.glsl.js
107
108
  const Plane3_glsl_default_ = /* glsl */ `
108
109
  #if defined(X3D_BOUNDED_VOLUME)||defined(X3D_VOLUME_EMITTER)
@@ -111,8 +112,7 @@ struct Plane3{vec3 normal;float distanceFromOrigin;};Plane3 plane3(const in vec3
111
112
  `
112
113
  ;
113
114
 
114
- Namespace_default().add ("Plane3.glsl", "x_ite/Browser/ParticleSystems/Plane3.glsl", Plane3_glsl_default_);
115
- /* harmony default export */ const Plane3_glsl = (Plane3_glsl_default_);
115
+ /* harmony default export */ const Plane3_glsl = (external_X_ITE_X3D_Namespace_default().add ("Plane3.glsl", Plane3_glsl_default_));
116
116
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/Box3.glsl.js
117
117
  const Box3_glsl_default_ = /* glsl */ `
118
118
  #if defined(X3D_VOLUME_EMITTER)||defined(X3D_BOUNDED_VOLUME)
@@ -121,8 +121,7 @@ bool intersects(const in vec3 min,const in vec3 max,const in Line3 line){vec3 in
121
121
  `
122
122
  ;
123
123
 
124
- Namespace_default().add ("Box3.glsl", "x_ite/Browser/ParticleSystems/Box3.glsl", Box3_glsl_default_);
125
- /* harmony default export */ const Box3_glsl = (Box3_glsl_default_);
124
+ /* harmony default export */ const Box3_glsl = (external_X_ITE_X3D_Namespace_default().add ("Box3.glsl", Box3_glsl_default_));
126
125
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/BVH.glsl.js
127
126
  const BVH_glsl_default_ = /* glsl */ `
128
127
  #if defined(X3D_VOLUME_EMITTER)||defined(X3D_BOUNDED_VOLUME)
@@ -140,8 +139,7 @@ int getIntersections(const in sampler2D volume,const in int verticesIndex,const
140
139
  `
141
140
  ;
142
141
 
143
- Namespace_default().add ("BVH.glsl", "x_ite/Browser/ParticleSystems/BVH.glsl", BVH_glsl_default_);
144
- /* harmony default export */ const BVH_glsl = (BVH_glsl_default_);
142
+ /* harmony default export */ const BVH_glsl = (external_X_ITE_X3D_Namespace_default().add ("BVH.glsl", BVH_glsl_default_));
145
143
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js
146
144
  /*******************************************************************************
147
145
  *
@@ -201,11 +199,11 @@ Namespace_default().add ("BVH.glsl", "x_ite/Browser/ParticleSystems/BVH.glsl", B
201
199
 
202
200
  function X3DParticleEmitterNode (executionContext)
203
201
  {
204
- X3DNode_default().call (this, executionContext);
202
+ external_X_ITE_X3D_X3DNode_default().call (this, executionContext);
205
203
 
206
- this .addType ((X3DConstants_default()).X3DParticleEmitterNode);
204
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).X3DParticleEmitterNode);
207
205
 
208
- this .addChildObjects ((X3DConstants_default()).outputOnly, "bbox_changed", new (Fields_default()).SFTime ());
206
+ this .addChildObjects ((external_X_ITE_X3D_X3DConstants_default()).outputOnly, "bbox_changed", new (external_X_ITE_X3D_Fields_default()).SFTime ());
209
207
 
210
208
  this ._speed .setUnit ("speed");
211
209
  this ._mass .setUnit ("mass");
@@ -219,11 +217,11 @@ function X3DParticleEmitterNode (executionContext)
219
217
  this .programs = new Map ();
220
218
  }
221
219
 
222
- Object .assign (Object .setPrototypeOf (X3DParticleEmitterNode .prototype, (X3DNode_default()).prototype),
220
+ Object .assign (Object .setPrototypeOf (X3DParticleEmitterNode .prototype, (external_X_ITE_X3D_X3DNode_default()).prototype),
223
221
  {
224
222
  initialize ()
225
223
  {
226
- X3DNode_default().prototype .initialize .call (this);
224
+ external_X_ITE_X3D_X3DNode_default().prototype .initialize .call (this);
227
225
 
228
226
  const gl = this .getBrowser () .getContext ();
229
227
 
@@ -389,7 +387,7 @@ Object .assign (Object .setPrototypeOf (X3DParticleEmitterNode .prototype, (X3DN
389
387
 
390
388
  // Transform particles.
391
389
 
392
- gl .bindFramebuffer (gl .FRAMEBUFFER, null); // Prevent texture feedback loop error, see NYC in Firefox.
390
+ gl .bindFramebuffer (gl .FRAMEBUFFER, browser .getDefaultFrameBuffer ()); // Prevent texture feedback loop error, see NYC in Firefox.
393
391
  gl .bindBuffer (gl .ARRAY_BUFFER, null);
394
392
  gl .bindTransformFeedback (gl .TRANSFORM_FEEDBACK, this .transformFeedback);
395
393
  gl .bindBufferBase (gl .TRANSFORM_FEEDBACK_BUFFER, 0, particleSystem .outputParticles);
@@ -489,7 +487,7 @@ uniform int texCoordCount;uniform sampler2D texCoordRamp;
489
487
  #endif
490
488
  ${Array .from (this .uniforms .values ()) .join ("\n")}
491
489
  in vec4 input0;in vec4 input2;in vec4 input6;out vec4 output0;out vec4 output1;out vec4 output2;out vec4 output3;out vec4 output4;out vec4 output5;out vec4 output6;
492
- ${Object .entries ((GeometryTypes_default())) .map (([k, v]) => `#define ${k} ${v}`) .join ("\n")}
490
+ ${Object .entries ((external_X_ITE_X3D_GeometryTypes_default())) .map (([k, v]) => `#define ${k} ${v}`) .join ("\n")}
493
491
  const int ARRAY_SIZE=32;const float M_PI=3.14159265359;uniform float NaN;vec4 texelFetch(const in sampler2D sampler,const in int index,const in int lod){int x=textureSize(sampler,lod).x;ivec2 p=ivec2(index % x,index/x);vec4 t=texelFetch(sampler,p,lod);return t;}vec3 save_normalize(const in vec3 vector){float l=length(vector);if(l==0.0)return vec3(0.0);return vector/l;}vec4 Quaternion(const in vec3 fromVector,const in vec3 toVector){vec3 from=save_normalize(fromVector);vec3 to=save_normalize(toVector);float cos_angle=dot(from,to);vec3 cross_vec=cross(from,to);float cross_len=length(cross_vec);if(cross_len==0.0){if(cos_angle>0.0){return vec4(0.0,0.0,0.0,1.0);}else{vec3 t=cross(from,vec3(1.0,0.0,0.0));if(dot(t,t)==0.0)t=cross(from,vec3(0.0,1.0,0.0));t=save_normalize(t);return vec4(t,0.0);}}else{float s=sqrt(abs(1.0-cos_angle)*0.5);cross_vec=save_normalize(cross_vec);return vec4(cross_vec*s,sqrt(abs(1.0+cos_angle)*0.5));}}vec3 multVecQuat(const in vec3 v,const in vec4 q){float a=q.w*q.w-q.x*q.x-q.y*q.y-q.z*q.z;float b=2.0*(v.x*q.x+v.y*q.y+v.z*q.z);float c=2.0*q.w;vec3 r=a*v.xyz+b*q.xyz+c*(q.yzx*v.zxy-q.zxy*v.yzx);return r;}mat3 Matrix3(const in vec4 quaternion){float x=quaternion.x;float y=quaternion.y;float z=quaternion.z;float w=quaternion.w;float A=y*y;float B=z*z;float C=x*y;float D=z*w;float E=z*x;float F=y*w;float G=x*x;float H=y*z;float I=x*w;return mat3(1.0-2.0*(A+B),2.0*(C+D),2.0*(E-F),2.0*(C-D),1.0-2.0*(B+G),2.0*(H+I),2.0*(E+F),2.0*(H-I),1.0-2.0*(A+G));}uint seed=1u;void srand(const in int value){seed=uint(value);}float random(){seed=seed*1103515245u+12345u;return float(seed)/4294967295.0;}float getRandomValue(const in float min,const in float max){return min+random()*(max-min);}float getRandomLifetime(){float v=particleLifetime*lifetimeVariation;float min_=max(0.0,particleLifetime-v);float max_=particleLifetime+v;return getRandomValue(min_,max_);}float getRandomSpeed(){float v=speed*variation;float min_=max(0.0,speed-v);float max_=speed+v;return getRandomValue(min_,max_);}vec3 getRandomNormal(){float theta=getRandomValue(-M_PI,M_PI);float cphi=getRandomValue(-1.0,1.0);float r=sqrt(1.0-cphi*cphi);return vec3(sin(theta)*r,cos(theta)*r,cphi);}vec3 getRandomNormalWithAngle(const in float angle){float theta=getRandomValue(-M_PI,M_PI);float cphi=getRandomValue(cos(angle),1.0);float r=sqrt(1.0-cphi*cphi);return vec3(sin(theta)*r,cos(theta)*r,cphi);}vec3 getRandomNormalWithDirectionAndAngle(const in vec3 direction,const in float angle){vec4 rotation=Quaternion(vec3(0.0,0.0,1.0),direction);vec3 normal=getRandomNormalWithAngle(angle);return multVecQuat(normal,rotation);}vec3 getRandomSurfaceNormal(const in vec3 direction){float theta=getRandomValue(-M_PI,M_PI);float cphi=pow(random(),1.0/3.0);float r=sqrt(1.0-cphi*cphi);vec3 normal=vec3(sin(theta)*r,cos(theta)*r,cphi);vec4 rotation=Quaternion(vec3(0.0,0.0,1.0),direction);return multVecQuat(normal,rotation);}vec3 getRandomSphericalVelocity(){vec3 normal=getRandomNormal();float speed=getRandomSpeed();return normal*speed;}int upperBound(const in sampler2D sampler,in int count,const in float value){int first=0;int step=0;while(count>0){int index=first;step=count>>1;index+=step;if(value<texelFetch(sampler,index,0).x){count=step;}else{first=++index;count-=step+1;}}return first;}
494
492
  #if X3D_NUM_COLORS>0||defined(X3D_POLYLINE_EMITTER)||defined(X3D_SURFACE_EMITTER)||defined(X3D_VOLUME_EMITTER)
495
493
  void interpolate(const in sampler2D sampler,const in int count,const in float fraction,out int index0,out int index1,out float weight){if(count==1||fraction<=texelFetch(sampler,0,0).x){index0=0;index1=0;weight=0.0;}else if(fraction>=texelFetch(sampler,count-1,0).x){index0=count-2;index1=count-1;weight=1.0;}else{int index=upperBound(sampler,count,fraction);if(index<count){index1=index;index0=index-1;float key0=texelFetch(sampler,index0,0).x;float key1=texelFetch(sampler,index1,0).x;weight=clamp((fraction-key0)/(key1-key0),0.0,1.0);}else{index0=0;index1=0;weight=0.0;}}}
@@ -664,28 +662,15 @@ precision highp float;void main(){}`
664
662
  },
665
663
  });
666
664
 
667
- Object .defineProperties (X3DParticleEmitterNode,
668
- {
669
- typeName:
670
- {
671
- value: "X3DParticleEmitterNode",
672
- enumerable: true,
673
- },
674
- componentInfo:
675
- {
676
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
677
- enumerable: true,
678
- },
679
- });
665
+ Object .defineProperties (X3DParticleEmitterNode, external_X_ITE_X3D_X3DNode_default().getStaticProperties ("X3DParticleEmitterNode", "ParticleSystems", 1));
680
666
 
681
667
  const X3DParticleEmitterNode_default_ = X3DParticleEmitterNode;
682
668
  ;
683
669
 
684
- Namespace_default().add ("X3DParticleEmitterNode", "x_ite/Components/ParticleSystems/X3DParticleEmitterNode", X3DParticleEmitterNode_default_);
685
- /* harmony default export */ const ParticleSystems_X3DParticleEmitterNode = (X3DParticleEmitterNode_default_);
686
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
687
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Vector3");
688
- var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
670
+ /* harmony default export */ const ParticleSystems_X3DParticleEmitterNode = (external_X_ITE_X3D_Namespace_default().add ("X3DParticleEmitterNode", X3DParticleEmitterNode_default_));
671
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Vector3"
672
+ const external_X_ITE_X3D_Vector3_namespaceObject = __X_ITE_X3D__ .Vector3;
673
+ var external_X_ITE_X3D_Vector3_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Vector3_namespaceObject);
689
674
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PointEmitter.js
690
675
  /*******************************************************************************
691
676
  *
@@ -741,11 +726,12 @@ var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject
741
726
 
742
727
 
743
728
 
729
+
744
730
  function PointEmitter (executionContext)
745
731
  {
746
732
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
747
733
 
748
- this .addType ((X3DConstants_default()).PointEmitter);
734
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).PointEmitter);
749
735
 
750
736
  this ._position .setUnit ("length");
751
737
  }
@@ -786,7 +772,7 @@ Object .assign (Object .setPrototypeOf (PointEmitter .prototype, ParticleSystems
786
772
  },
787
773
  getBBox: (function ()
788
774
  {
789
- const bboxSize = new (Vector3_default()) ();
775
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
790
776
 
791
777
  return function (bbox, { particleLifetime, lifetimeVariation })
792
778
  {
@@ -808,7 +794,7 @@ Object .assign (Object .setPrototypeOf (PointEmitter .prototype, ParticleSystems
808
794
  },
809
795
  set_direction__: (() =>
810
796
  {
811
- const direction = new (Vector3_default()) ();
797
+ const direction = new (external_X_ITE_X3D_Vector3_default()) ();
812
798
 
813
799
  return function ()
814
800
  {
@@ -821,37 +807,18 @@ Object .assign (Object .setPrototypeOf (PointEmitter .prototype, ParticleSystems
821
807
 
822
808
  Object .defineProperties (PointEmitter,
823
809
  {
824
- typeName:
825
- {
826
- value: "PointEmitter",
827
- enumerable: true,
828
- },
829
- componentInfo:
830
- {
831
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
832
- enumerable: true,
833
- },
834
- containerField:
835
- {
836
- value: "emitter",
837
- enumerable: true,
838
- },
839
- specificationRange:
840
- {
841
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
842
- enumerable: true,
843
- },
810
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("PointEmitter", "ParticleSystems", 1, "emitter", "3.2"),
844
811
  fieldDefinitions:
845
812
  {
846
- value: new (FieldDefinitionArray_default()) ([
847
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
848
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
849
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
850
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
851
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
852
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
853
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
854
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
813
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
814
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
815
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
816
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "position", new (external_X_ITE_X3D_Fields_default()).SFVec3f ()),
817
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "direction", new (external_X_ITE_X3D_Fields_default()).SFVec3f (0, 1, 0)),
818
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
819
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
820
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
821
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
855
822
  ]),
856
823
  enumerable: true,
857
824
  },
@@ -860,8 +827,7 @@ Object .defineProperties (PointEmitter,
860
827
  const PointEmitter_default_ = PointEmitter;
861
828
  ;
862
829
 
863
- Namespace_default().add ("PointEmitter", "x_ite/Components/ParticleSystems/PointEmitter", PointEmitter_default_);
864
- /* harmony default export */ const ParticleSystems_PointEmitter = (PointEmitter_default_);
830
+ /* harmony default export */ const ParticleSystems_PointEmitter = (external_X_ITE_X3D_Namespace_default().add ("PointEmitter", PointEmitter_default_));
865
831
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js
866
832
  /*******************************************************************************
867
833
  *
@@ -935,8 +901,7 @@ Object .assign (X3DParticleSystemsContext .prototype,
935
901
  const X3DParticleSystemsContext_default_ = X3DParticleSystemsContext;
936
902
  ;
937
903
 
938
- Namespace_default().add ("X3DParticleSystemsContext", "x_ite/Browser/ParticleSystems/X3DParticleSystemsContext", X3DParticleSystemsContext_default_);
939
- /* harmony default export */ const ParticleSystems_X3DParticleSystemsContext = (X3DParticleSystemsContext_default_);
904
+ /* harmony default export */ const ParticleSystems_X3DParticleSystemsContext = (external_X_ITE_X3D_Namespace_default().add ("X3DParticleSystemsContext", X3DParticleSystemsContext_default_));
940
905
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js
941
906
  /*******************************************************************************
942
907
  *
@@ -990,39 +955,26 @@ Namespace_default().add ("X3DParticleSystemsContext", "x_ite/Browser/ParticleSys
990
955
 
991
956
  function X3DParticlePhysicsModelNode (executionContext)
992
957
  {
993
- X3DNode_default().call (this, executionContext);
958
+ external_X_ITE_X3D_X3DNode_default().call (this, executionContext);
994
959
 
995
- this .addType ((X3DConstants_default()).X3DParticlePhysicsModelNode);
960
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).X3DParticlePhysicsModelNode);
996
961
  }
997
962
 
998
- Object .assign (Object .setPrototypeOf (X3DParticlePhysicsModelNode .prototype, (X3DNode_default()).prototype),
963
+ Object .assign (Object .setPrototypeOf (X3DParticlePhysicsModelNode .prototype, (external_X_ITE_X3D_X3DNode_default()).prototype),
999
964
  {
1000
965
  addForce ()
1001
966
  { },
1002
967
  });
1003
968
 
1004
- Object .defineProperties (X3DParticlePhysicsModelNode,
1005
- {
1006
- typeName:
1007
- {
1008
- value: "X3DParticlePhysicsModelNode",
1009
- enumerable: true,
1010
- },
1011
- componentInfo:
1012
- {
1013
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
1014
- enumerable: true,
1015
- },
1016
- });
969
+ Object .defineProperties (X3DParticlePhysicsModelNode, external_X_ITE_X3D_X3DNode_default().getStaticProperties ("X3DParticlePhysicsModelNode", "ParticleSystems", 1));
1017
970
 
1018
971
  const X3DParticlePhysicsModelNode_default_ = X3DParticlePhysicsModelNode;
1019
972
  ;
1020
973
 
1021
- Namespace_default().add ("X3DParticlePhysicsModelNode", "x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode", X3DParticlePhysicsModelNode_default_);
1022
- /* harmony default export */ const ParticleSystems_X3DParticlePhysicsModelNode = (X3DParticlePhysicsModelNode_default_);
1023
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
1024
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DCast");
1025
- var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
974
+ /* harmony default export */ const ParticleSystems_X3DParticlePhysicsModelNode = (external_X_ITE_X3D_Namespace_default().add ("X3DParticlePhysicsModelNode", X3DParticlePhysicsModelNode_default_));
975
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .X3DCast"
976
+ const external_X_ITE_X3D_X3DCast_namespaceObject = __X_ITE_X3D__ .X3DCast;
977
+ var external_X_ITE_X3D_X3DCast_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_X3DCast_namespaceObject);
1026
978
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js
1027
979
  /*******************************************************************************
1028
980
  *
@@ -1078,11 +1030,12 @@ var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject
1078
1030
 
1079
1031
 
1080
1032
 
1033
+
1081
1034
  function BoundedPhysicsModel (executionContext)
1082
1035
  {
1083
1036
  ParticleSystems_X3DParticlePhysicsModelNode .call (this, executionContext);
1084
1037
 
1085
- this .addType ((X3DConstants_default()).BoundedPhysicsModel);
1038
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).BoundedPhysicsModel);
1086
1039
  }
1087
1040
 
1088
1041
  Object .assign (Object .setPrototypeOf (BoundedPhysicsModel .prototype, ParticleSystems_X3DParticlePhysicsModelNode .prototype),
@@ -1103,7 +1056,7 @@ Object .assign (Object .setPrototypeOf (BoundedPhysicsModel .prototype, Particle
1103
1056
  {
1104
1057
  this .geometryNode ?._rebuild .removeInterest ("addNodeEvent", this);
1105
1058
 
1106
- this .geometryNode = X3DCast_default() ((X3DConstants_default()).X3DGeometryNode, this ._geometry);
1059
+ this .geometryNode = external_X_ITE_X3D_X3DCast_default() ((external_X_ITE_X3D_X3DConstants_default()).X3DGeometryNode, this ._geometry);
1107
1060
 
1108
1061
  this .geometryNode ?._rebuild .addInterest ("addNodeEvent", this);
1109
1062
  },
@@ -1130,33 +1083,14 @@ Object .assign (Object .setPrototypeOf (BoundedPhysicsModel .prototype, Particle
1130
1083
 
1131
1084
  Object .defineProperties (BoundedPhysicsModel,
1132
1085
  {
1133
- typeName:
1134
- {
1135
- value: "BoundedPhysicsModel",
1136
- enumerable: true,
1137
- },
1138
- componentInfo:
1139
- {
1140
- value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
1141
- enumerable: true,
1142
- },
1143
- containerField:
1144
- {
1145
- value: "physics",
1146
- enumerable: true,
1147
- },
1148
- specificationRange:
1149
- {
1150
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
1151
- enumerable: true,
1152
- },
1086
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("BoundedPhysicsModel", "ParticleSystems", 2, "physics", "3.2"),
1153
1087
  fieldDefinitions:
1154
1088
  {
1155
- value: new (FieldDefinitionArray_default()) ([
1156
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
1157
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
1158
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "damping", new (Fields_default()).SFFloat (1)), // skip test
1159
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geometry", new (Fields_default()).SFNode ()),
1089
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
1090
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
1091
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "enabled", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
1092
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "damping", new (external_X_ITE_X3D_Fields_default()).SFFloat (1)), // skip test
1093
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "geometry", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
1160
1094
  ]),
1161
1095
  enumerable: true,
1162
1096
  },
@@ -1165,8 +1099,7 @@ Object .defineProperties (BoundedPhysicsModel,
1165
1099
  const BoundedPhysicsModel_default_ = BoundedPhysicsModel;
1166
1100
  ;
1167
1101
 
1168
- Namespace_default().add ("BoundedPhysicsModel", "x_ite/Components/ParticleSystems/BoundedPhysicsModel", BoundedPhysicsModel_default_);
1169
- /* harmony default export */ const ParticleSystems_BoundedPhysicsModel = (BoundedPhysicsModel_default_);
1102
+ /* harmony default export */ const ParticleSystems_BoundedPhysicsModel = (external_X_ITE_X3D_Namespace_default().add ("BoundedPhysicsModel", BoundedPhysicsModel_default_));
1170
1103
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/ConeEmitter.js
1171
1104
  /*******************************************************************************
1172
1105
  *
@@ -1222,11 +1155,12 @@ Namespace_default().add ("BoundedPhysicsModel", "x_ite/Components/ParticleSystem
1222
1155
 
1223
1156
 
1224
1157
 
1158
+
1225
1159
  function ConeEmitter (executionContext)
1226
1160
  {
1227
1161
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
1228
1162
 
1229
- this .addType ((X3DConstants_default()).ConeEmitter);
1163
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).ConeEmitter);
1230
1164
 
1231
1165
  this ._position .setUnit ("length");
1232
1166
  this ._angle .setUnit ("angle");
@@ -1277,7 +1211,7 @@ Object .assign (Object .setPrototypeOf (ConeEmitter .prototype, ParticleSystems_
1277
1211
  },
1278
1212
  getBBox: (function ()
1279
1213
  {
1280
- const bboxSize = new (Vector3_default()) ();
1214
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
1281
1215
 
1282
1216
  return function (bbox, { particleLifetime, lifetimeVariation })
1283
1217
  {
@@ -1311,38 +1245,19 @@ Object .assign (Object .setPrototypeOf (ConeEmitter .prototype, ParticleSystems_
1311
1245
 
1312
1246
  Object .defineProperties (ConeEmitter,
1313
1247
  {
1314
- typeName:
1315
- {
1316
- value: "ConeEmitter",
1317
- enumerable: true,
1318
- },
1319
- componentInfo:
1320
- {
1321
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
1322
- enumerable: true,
1323
- },
1324
- containerField:
1325
- {
1326
- value: "emitter",
1327
- enumerable: true,
1328
- },
1329
- specificationRange:
1330
- {
1331
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
1332
- enumerable: true,
1333
- },
1248
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("ConeEmitter", "ParticleSystems", 1, "emitter", "3.2"),
1334
1249
  fieldDefinitions:
1335
1250
  {
1336
- value: new (FieldDefinitionArray_default()) ([
1337
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
1338
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
1339
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
1340
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
1341
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "angle", new (Fields_default()).SFFloat (0.785398)),
1342
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
1343
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
1344
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
1345
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
1251
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
1252
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
1253
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
1254
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "position", new (external_X_ITE_X3D_Fields_default()).SFVec3f ()),
1255
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "direction", new (external_X_ITE_X3D_Fields_default()).SFVec3f (0, 1, 0)),
1256
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "angle", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.785398)),
1257
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1258
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
1259
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1260
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1346
1261
  ]),
1347
1262
  enumerable: true,
1348
1263
  },
@@ -1351,8 +1266,7 @@ Object .defineProperties (ConeEmitter,
1351
1266
  const ConeEmitter_default_ = ConeEmitter;
1352
1267
  ;
1353
1268
 
1354
- Namespace_default().add ("ConeEmitter", "x_ite/Components/ParticleSystems/ConeEmitter", ConeEmitter_default_);
1355
- /* harmony default export */ const ParticleSystems_ConeEmitter = (ConeEmitter_default_);
1269
+ /* harmony default export */ const ParticleSystems_ConeEmitter = (external_X_ITE_X3D_Namespace_default().add ("ConeEmitter", ConeEmitter_default_));
1356
1270
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/ExplosionEmitter.js
1357
1271
  /*******************************************************************************
1358
1272
  *
@@ -1408,11 +1322,12 @@ Namespace_default().add ("ConeEmitter", "x_ite/Components/ParticleSystems/ConeEm
1408
1322
 
1409
1323
 
1410
1324
 
1325
+
1411
1326
  function ExplosionEmitter (executionContext)
1412
1327
  {
1413
1328
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
1414
1329
 
1415
- this .addType ((X3DConstants_default()).ExplosionEmitter);
1330
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).ExplosionEmitter);
1416
1331
 
1417
1332
  this ._position .setUnit ("length");
1418
1333
  }
@@ -1444,7 +1359,7 @@ Object .assign (Object .setPrototypeOf (ExplosionEmitter .prototype, ParticleSys
1444
1359
  },
1445
1360
  getBBox: (function ()
1446
1361
  {
1447
- const bboxSize = new (Vector3_default()) ();
1362
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
1448
1363
 
1449
1364
  return function (bbox, { particleLifetime, lifetimeVariation })
1450
1365
  {
@@ -1472,36 +1387,17 @@ Object .assign (Object .setPrototypeOf (ExplosionEmitter .prototype, ParticleSys
1472
1387
 
1473
1388
  Object .defineProperties (ExplosionEmitter,
1474
1389
  {
1475
- typeName:
1476
- {
1477
- value: "ExplosionEmitter",
1478
- enumerable: true,
1479
- },
1480
- componentInfo:
1481
- {
1482
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
1483
- enumerable: true,
1484
- },
1485
- containerField:
1486
- {
1487
- value: "emitter",
1488
- enumerable: true,
1489
- },
1490
- specificationRange:
1491
- {
1492
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
1493
- enumerable: true,
1494
- },
1390
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("ExplosionEmitter", "ParticleSystems", 1, "emitter", "3.2"),
1495
1391
  fieldDefinitions:
1496
1392
  {
1497
- value: new (FieldDefinitionArray_default()) ([
1498
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
1499
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
1500
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
1501
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
1502
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
1503
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
1504
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
1393
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
1394
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
1395
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
1396
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "position", new (external_X_ITE_X3D_Fields_default()).SFVec3f ()),
1397
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1398
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
1399
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1400
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
1505
1401
  ]),
1506
1402
  enumerable: true,
1507
1403
  },
@@ -1510,8 +1406,7 @@ Object .defineProperties (ExplosionEmitter,
1510
1406
  const ExplosionEmitter_default_ = ExplosionEmitter;
1511
1407
  ;
1512
1408
 
1513
- Namespace_default().add ("ExplosionEmitter", "x_ite/Components/ParticleSystems/ExplosionEmitter", ExplosionEmitter_default_);
1514
- /* harmony default export */ const ParticleSystems_ExplosionEmitter = (ExplosionEmitter_default_);
1409
+ /* harmony default export */ const ParticleSystems_ExplosionEmitter = (external_X_ITE_X3D_Namespace_default().add ("ExplosionEmitter", ExplosionEmitter_default_));
1515
1410
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js
1516
1411
  /*******************************************************************************
1517
1412
  *
@@ -1567,11 +1462,12 @@ Namespace_default().add ("ExplosionEmitter", "x_ite/Components/ParticleSystems/E
1567
1462
 
1568
1463
 
1569
1464
 
1465
+
1570
1466
  function ForcePhysicsModel (executionContext)
1571
1467
  {
1572
1468
  ParticleSystems_X3DParticlePhysicsModelNode .call (this, executionContext);
1573
1469
 
1574
- this .addType ((X3DConstants_default()).ForcePhysicsModel);
1470
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).ForcePhysicsModel);
1575
1471
 
1576
1472
  this ._force .setUnit ("force");
1577
1473
  }
@@ -1580,7 +1476,7 @@ Object .assign (Object .setPrototypeOf (ForcePhysicsModel .prototype, ParticleSy
1580
1476
  {
1581
1477
  addForce: (() =>
1582
1478
  {
1583
- const force = new (Vector3_default()) ();
1479
+ const force = new (external_X_ITE_X3D_Vector3_default()) ();
1584
1480
 
1585
1481
  return function (i, emitterNode, timeByMass, forces)
1586
1482
  {
@@ -1601,32 +1497,13 @@ Object .assign (Object .setPrototypeOf (ForcePhysicsModel .prototype, ParticleSy
1601
1497
 
1602
1498
  Object .defineProperties (ForcePhysicsModel,
1603
1499
  {
1604
- typeName:
1605
- {
1606
- value: "ForcePhysicsModel",
1607
- enumerable: true,
1608
- },
1609
- componentInfo:
1610
- {
1611
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
1612
- enumerable: true,
1613
- },
1614
- containerField:
1615
- {
1616
- value: "physics",
1617
- enumerable: true,
1618
- },
1619
- specificationRange:
1620
- {
1621
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
1622
- enumerable: true,
1623
- },
1500
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("ForcePhysicsModel", "ParticleSystems", 1, "physics", "3.2"),
1624
1501
  fieldDefinitions:
1625
1502
  {
1626
- value: new (FieldDefinitionArray_default()) ([
1627
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
1628
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
1629
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "force", new (Fields_default()).SFVec3f (0, -9.8, 0)),
1503
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
1504
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
1505
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "enabled", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
1506
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "force", new (external_X_ITE_X3D_Fields_default()).SFVec3f (0, -9.8, 0)),
1630
1507
  ]),
1631
1508
  enumerable: true,
1632
1509
  },
@@ -1635,149 +1512,40 @@ Object .defineProperties (ForcePhysicsModel,
1635
1512
  const ForcePhysicsModel_default_ = ForcePhysicsModel;
1636
1513
  ;
1637
1514
 
1638
- Namespace_default().add ("ForcePhysicsModel", "x_ite/Components/ParticleSystems/ForcePhysicsModel", ForcePhysicsModel_default_);
1639
- /* harmony default export */ const ParticleSystems_ForcePhysicsModel = (ForcePhysicsModel_default_);
1640
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DShapeNode\")"
1641
- const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Shape/X3DShapeNode");
1642
- var X3DShapeNode_default = /*#__PURE__*/__webpack_require__.n(X3DShapeNode_namespaceObject);
1643
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Rendering/GeometryContext\")"
1644
- const GeometryContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Browser/Rendering/GeometryContext");
1645
- var GeometryContext_default = /*#__PURE__*/__webpack_require__.n(GeometryContext_namespaceObject);
1646
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/VertexArray\")"
1647
- const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Rendering/VertexArray");
1648
- var VertexArray_default = /*#__PURE__*/__webpack_require__.n(VertexArray_namespaceObject);
1649
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
1650
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Rendering/TraverseType");
1651
- var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
1652
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Shape/AlphaMode\")"
1653
- const AlphaMode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Browser/Shape/AlphaMode");
1654
- var AlphaMode_default = /*#__PURE__*/__webpack_require__.n(AlphaMode_namespaceObject);
1655
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/LineSet\")"
1656
- const LineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/LineSet");
1657
- var LineSet_default = /*#__PURE__*/__webpack_require__.n(LineSet_namespaceObject);
1658
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
1659
- const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/Coordinate");
1660
- var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
1661
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
1662
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Matrix4");
1663
- var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
1664
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix3\")"
1665
- const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Matrix3");
1666
- var Matrix3_default = /*#__PURE__*/__webpack_require__.n(Matrix3_namespaceObject);
1667
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Plane3\")"
1668
- const Plane3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Geometry/Plane3");
1669
- var Plane3_default = /*#__PURE__*/__webpack_require__.n(Plane3_namespaceObject);
1670
- ;// CONCATENATED MODULE: ./src/standard/Math/Algorithms/QuickSort.js
1671
- /*******************************************************************************
1672
- *
1673
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1674
- *
1675
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
1676
- *
1677
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
1678
- *
1679
- * The copyright notice above does not evidence any actual of intended
1680
- * publication of such source code, and is an unpublished work by create3000.
1681
- * This material contains CONFIDENTIAL INFORMATION that is the property of
1682
- * create3000.
1683
- *
1684
- * No permission is granted to copy, distribute, or create derivative works from
1685
- * the contents of this software, in whole or in part, without the prior written
1686
- * permission of create3000.
1687
- *
1688
- * NON-MILITARY USE ONLY
1689
- *
1690
- * All create3000 software are effectively free software with a non-military use
1691
- * restriction. It is free. Well commented source is provided. You may reuse the
1692
- * source in any way you please with the exception anything that uses it must be
1693
- * marked to indicate is contains 'non-military use only' components.
1694
- *
1695
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1696
- *
1697
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
1698
- *
1699
- * This file is part of the X_ITE Project.
1700
- *
1701
- * X_ITE is free software: you can redistribute it and/or modify it under the
1702
- * terms of the GNU General Public License version 3 only, as published by the
1703
- * Free Software Foundation.
1704
- *
1705
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
1706
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1707
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
1708
- * details (a copy is included in the LICENSE file that accompanied this code).
1709
- *
1710
- * You should have received a copy of the GNU General Public License version 3
1711
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
1712
- * copy of the GPLv3 License.
1713
- *
1714
- * For Silvio, Joy and Adi.
1715
- *
1716
- ******************************************************************************/
1717
-
1718
- function QuickSort (array, compare)
1719
- {
1720
- this .array = array;
1721
-
1722
- if (compare)
1723
- this .compare = compare;
1724
- }
1725
-
1726
- Object .assign (QuickSort .prototype,
1727
- {
1728
- compare (lhs, rhs)
1729
- {
1730
- return lhs < rhs;
1731
- },
1732
- sort (first, last)
1733
- {
1734
- if (last - first > 1)
1735
- this .quicksort (first, last - 1);
1736
- },
1737
- quicksort (lo, hi)
1738
- {
1739
- let
1740
- i = lo,
1741
- j = hi;
1742
-
1743
- const { array, compare } = this;
1744
-
1745
- // Vergleichs­element x
1746
- const x = array [(lo + hi) >>> 1];
1747
-
1748
- for (;;)
1749
- {
1750
- while (compare (array [i], x)) ++ i;
1751
- while (compare (x, array [j])) -- j;
1752
-
1753
- if (i < j)
1754
- {
1755
- // Exchange
1756
-
1757
- const t = array [i];
1758
- array [i] = array [j];
1759
- array [j] = t;
1760
-
1761
- i ++; j --;
1762
- }
1763
- else
1764
- {
1765
- if (i === j) ++ i, -- j;
1766
- break;
1767
- }
1768
- }
1769
-
1770
- // Rekursion
1771
- if (lo < j) this .quicksort (lo, j);
1772
- if (i < hi) this .quicksort (i, hi);
1773
- },
1774
- });
1775
-
1776
- const QuickSort_default_ = QuickSort;
1777
- ;
1778
-
1779
- Namespace_default().add ("QuickSort", "standard/Math/Algorithms/QuickSort", QuickSort_default_);
1780
- /* harmony default export */ const Algorithms_QuickSort = (QuickSort_default_);
1515
+ /* harmony default export */ const ParticleSystems_ForcePhysicsModel = (external_X_ITE_X3D_Namespace_default().add ("ForcePhysicsModel", ForcePhysicsModel_default_));
1516
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .X3DShapeNode"
1517
+ const external_X_ITE_X3D_X3DShapeNode_namespaceObject = __X_ITE_X3D__ .X3DShapeNode;
1518
+ var external_X_ITE_X3D_X3DShapeNode_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_X3DShapeNode_namespaceObject);
1519
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .GeometryContext"
1520
+ const external_X_ITE_X3D_GeometryContext_namespaceObject = __X_ITE_X3D__ .GeometryContext;
1521
+ var external_X_ITE_X3D_GeometryContext_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_GeometryContext_namespaceObject);
1522
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .VertexArray"
1523
+ const external_X_ITE_X3D_VertexArray_namespaceObject = __X_ITE_X3D__ .VertexArray;
1524
+ var external_X_ITE_X3D_VertexArray_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_VertexArray_namespaceObject);
1525
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .TraverseType"
1526
+ const external_X_ITE_X3D_TraverseType_namespaceObject = __X_ITE_X3D__ .TraverseType;
1527
+ var external_X_ITE_X3D_TraverseType_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_TraverseType_namespaceObject);
1528
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .AlphaMode"
1529
+ const external_X_ITE_X3D_AlphaMode_namespaceObject = __X_ITE_X3D__ .AlphaMode;
1530
+ var external_X_ITE_X3D_AlphaMode_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_AlphaMode_namespaceObject);
1531
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .LineSet"
1532
+ const external_X_ITE_X3D_LineSet_namespaceObject = __X_ITE_X3D__ .LineSet;
1533
+ var external_X_ITE_X3D_LineSet_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_LineSet_namespaceObject);
1534
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Coordinate"
1535
+ const external_X_ITE_X3D_Coordinate_namespaceObject = __X_ITE_X3D__ .Coordinate;
1536
+ var external_X_ITE_X3D_Coordinate_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Coordinate_namespaceObject);
1537
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Matrix4"
1538
+ const external_X_ITE_X3D_Matrix4_namespaceObject = __X_ITE_X3D__ .Matrix4;
1539
+ var external_X_ITE_X3D_Matrix4_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Matrix4_namespaceObject);
1540
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Matrix3"
1541
+ const external_X_ITE_X3D_Matrix3_namespaceObject = __X_ITE_X3D__ .Matrix3;
1542
+ var external_X_ITE_X3D_Matrix3_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Matrix3_namespaceObject);
1543
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Plane3"
1544
+ const external_X_ITE_X3D_Plane3_namespaceObject = __X_ITE_X3D__ .Plane3;
1545
+ var external_X_ITE_X3D_Plane3_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Plane3_namespaceObject);
1546
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .QuickSort"
1547
+ const external_X_ITE_X3D_QuickSort_namespaceObject = __X_ITE_X3D__ .QuickSort;
1548
+ var external_X_ITE_X3D_QuickSort_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_QuickSort_namespaceObject);
1781
1549
  ;// CONCATENATED MODULE: ./src/standard/Math/Utility/BVH.js
1782
1550
  /*******************************************************************************
1783
1551
  *
@@ -1831,18 +1599,18 @@ Namespace_default().add ("QuickSort", "standard/Math/Algorithms/QuickSort", Quic
1831
1599
 
1832
1600
 
1833
1601
  const
1834
- v0 = new (Vector3_default()) (),
1835
- v1 = new (Vector3_default()) (),
1836
- v2 = new (Vector3_default()) (),
1602
+ v0 = new (external_X_ITE_X3D_Vector3_default()) (),
1603
+ v1 = new (external_X_ITE_X3D_Vector3_default()) (),
1604
+ v2 = new (external_X_ITE_X3D_Vector3_default()) (),
1837
1605
  uvt = { u: 0, v: 0, t: 0 };
1838
1606
 
1839
1607
  // Box normals for bbox / line intersection.
1840
1608
  const boxNormals = [
1841
- new (Vector3_default()) (0, 0, 1), // front
1842
- new (Vector3_default()) (0, 0, -1), // back
1843
- new (Vector3_default()) (0, 1, 0), // top
1844
- new (Vector3_default()) (0, -1, 0), // bottom
1845
- new (Vector3_default()) (1, 0, 0) // right
1609
+ new (external_X_ITE_X3D_Vector3_default()) (0, 0, 1), // front
1610
+ new (external_X_ITE_X3D_Vector3_default()) (0, 0, -1), // back
1611
+ new (external_X_ITE_X3D_Vector3_default()) (0, 1, 0), // top
1612
+ new (external_X_ITE_X3D_Vector3_default()) (0, -1, 0), // bottom
1613
+ new (external_X_ITE_X3D_Vector3_default()) (1, 0, 0) // right
1846
1614
  // left: We do not have to test for left.
1847
1615
  ];
1848
1616
 
@@ -1896,7 +1664,7 @@ Object .assign (Triangle .prototype,
1896
1664
  const i = intersections .size ++;
1897
1665
 
1898
1666
  if (i >= intersections .length)
1899
- intersections .push (new (Vector3_default()) ());
1667
+ intersections .push (new (external_X_ITE_X3D_Vector3_default()) ());
1900
1668
 
1901
1669
  intersections [i] .set (t * vertices [i4] + u * vertices [i4 + 4] + v * vertices [i4 + 8],
1902
1670
  t * vertices [i4 + 1] + u * vertices [i4 + 5] + v * vertices [i4 + 9],
@@ -1905,7 +1673,7 @@ Object .assign (Triangle .prototype,
1905
1673
  if (intersectionNormals)
1906
1674
  {
1907
1675
  if (i >= intersectionNormals .length)
1908
- intersectionNormals .push (new (Vector3_default()) ());
1676
+ intersectionNormals .push (new (external_X_ITE_X3D_Vector3_default()) ());
1909
1677
 
1910
1678
  intersectionNormals [i] .set (t * normals [i3] + u * normals [i3 + 3] + v * normals [i3 + 6],
1911
1679
  t * normals [i3 + 1] + u * normals [i3 + 4] + v * normals [i3 + 7],
@@ -1925,10 +1693,10 @@ Object .assign (Triangle .prototype,
1925
1693
 
1926
1694
  function Node (tree, triangles, first, size)
1927
1695
  {
1928
- this .min = new (Vector3_default()) ();
1929
- this .max = new (Vector3_default()) ();
1696
+ this .min = new (external_X_ITE_X3D_Vector3_default()) ();
1697
+ this .max = new (external_X_ITE_X3D_Vector3_default()) ();
1930
1698
  this .planes = [ ];
1931
- this .intersection = new (Vector3_default()) ();
1699
+ this .intersection = new (external_X_ITE_X3D_Vector3_default()) ();
1932
1700
 
1933
1701
  const
1934
1702
  vertices = tree .vertices,
@@ -1956,7 +1724,7 @@ function Node (tree, triangles, first, size)
1956
1724
  }
1957
1725
 
1958
1726
  for (let i = 0; i < 5; ++ i)
1959
- this .planes [i] = new (Plane3_default()) (i % 2 ? min : max, boxNormals [i]);
1727
+ this .planes [i] = new (external_X_ITE_X3D_Plane3_default()) (i % 2 ? min : max, boxNormals [i]);
1960
1728
 
1961
1729
  // Sort and split array
1962
1730
 
@@ -2122,7 +1890,7 @@ function BVH (vertices, normals)
2122
1890
  for (let i = 0; i < numTriangles; ++ i)
2123
1891
  triangles .push (i);
2124
1892
 
2125
- this .sorter = new Algorithms_QuickSort (triangles, SortComparator (vertices, 0));
1893
+ this .sorter = new (external_X_ITE_X3D_QuickSort_default()) (triangles, SortComparator (vertices, 0));
2126
1894
  this .root = new Node (this, triangles, 0, numTriangles);
2127
1895
  break;
2128
1896
  }
@@ -2159,10 +1927,9 @@ Object .assign (BVH .prototype,
2159
1927
  const BVH_default_ = BVH;
2160
1928
  ;
2161
1929
 
2162
- Namespace_default().add ("BVH", "standard/Math/Utility/BVH", BVH_default_);
2163
- /* harmony default export */ const Utility_BVH = (BVH_default_);
1930
+ /* harmony default export */ const Utility_BVH = (external_X_ITE_X3D_Namespace_default().add ("BVH", BVH_default_));
2164
1931
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/ParticleSystem.js
2165
- /* provided dependency */ var $ = __webpack_require__(823);
1932
+ /* provided dependency */ var $ = __webpack_require__(254);
2166
1933
  /*******************************************************************************
2167
1934
  *
2168
1935
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -2228,6 +1995,7 @@ Namespace_default().add ("BVH", "standard/Math/Utility/BVH", BVH_default_);
2228
1995
 
2229
1996
 
2230
1997
 
1998
+
2231
1999
  const PointGeometry = new Float32Array ([0, 0, 0, 1]);
2232
2000
 
2233
2001
  // p4 ------ p3
@@ -2258,9 +2026,9 @@ const QuadGeometry = new Float32Array ([
2258
2026
 
2259
2027
  function ParticleSystem (executionContext)
2260
2028
  {
2261
- X3DShapeNode_default().call (this, executionContext);
2029
+ external_X_ITE_X3D_X3DShapeNode_default().call (this, executionContext);
2262
2030
 
2263
- this .addType ((X3DConstants_default()).ParticleSystem);
2031
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).ParticleSystem);
2264
2032
 
2265
2033
  // Units
2266
2034
 
@@ -2287,7 +2055,7 @@ function ParticleSystem (executionContext)
2287
2055
  this .boundedVertices = [ ];
2288
2056
  this .colorRamp = new Float32Array ();
2289
2057
  this .texCoordRamp = new Float32Array ();
2290
- this .geometryContext = new (GeometryContext_default()) ({ textureCoordinateNode: browser .getDefaultTextureCoordinate () });
2058
+ this .geometryContext = new (external_X_ITE_X3D_GeometryContext_default()) ({ textureCoordinateNode: browser .getDefaultTextureCoordinate () });
2291
2059
  this .creationTime = 0;
2292
2060
  this .pauseTime = 0;
2293
2061
  this .deltaTime = 0;
@@ -2301,11 +2069,11 @@ function ParticleSystem (executionContext)
2301
2069
  this .instancesStride = this .particlesStride;
2302
2070
  }
2303
2071
 
2304
- Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode_default()).prototype),
2072
+ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (external_X_ITE_X3D_X3DShapeNode_default()).prototype),
2305
2073
  {
2306
2074
  initialize ()
2307
2075
  {
2308
- X3DShapeNode_default().prototype .initialize .call (this);
2076
+ external_X_ITE_X3D_X3DShapeNode_default().prototype .initialize .call (this);
2309
2077
 
2310
2078
  const
2311
2079
  browser = this .getBrowser (),
@@ -2341,16 +2109,16 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2341
2109
 
2342
2110
  this .inputParticles = Object .assign (gl .createBuffer (),
2343
2111
  {
2344
- vertexArrayObject: new (VertexArray_default()) (gl),
2345
- thickLinesVertexArrayObject: new (VertexArray_default()) (gl),
2112
+ vertexArrayObject: new (external_X_ITE_X3D_VertexArray_default()) (gl),
2113
+ thickLinesVertexArrayObject: new (external_X_ITE_X3D_VertexArray_default()) (gl),
2346
2114
  lineTrianglesBuffer: gl .createBuffer (),
2347
2115
  numLines: 0,
2348
2116
  });
2349
2117
 
2350
2118
  this .outputParticles = Object .assign (gl .createBuffer (),
2351
2119
  {
2352
- vertexArrayObject: new (VertexArray_default()) (gl),
2353
- thickLinesVertexArrayObject: new (VertexArray_default()) (gl),
2120
+ vertexArrayObject: new (external_X_ITE_X3D_VertexArray_default()) (gl),
2121
+ thickLinesVertexArrayObject: new (external_X_ITE_X3D_VertexArray_default()) (gl),
2354
2122
  lineTrianglesBuffer: gl .createBuffer (),
2355
2123
  numLines: 0,
2356
2124
  });
@@ -2369,8 +2137,8 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2369
2137
 
2370
2138
  // Create geometry for LINE geometryType.
2371
2139
 
2372
- this .lineGeometryNode = new (LineSet_default()) (this .getExecutionContext ());
2373
- this .lineCoordinateNode = new (Coordinate_default()) (this .getExecutionContext ());
2140
+ this .lineGeometryNode = new (external_X_ITE_X3D_LineSet_default()) (this .getExecutionContext ());
2141
+ this .lineCoordinateNode = new (external_X_ITE_X3D_Coordinate_default()) (this .getExecutionContext ());
2374
2142
 
2375
2143
  this .lineCoordinateNode ._point = [0, 0, -0.5, 0, 0, 0.5];
2376
2144
 
@@ -2402,7 +2170,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2402
2170
  {
2403
2171
  switch (this .geometryType)
2404
2172
  {
2405
- case (GeometryTypes_default()).GEOMETRY:
2173
+ case (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY:
2406
2174
  return this .getGeometry ();
2407
2175
  default:
2408
2176
  return this .geometryContext;
@@ -2453,11 +2221,11 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2453
2221
  {
2454
2222
  const alphaMode = this .appearanceNode .getAlphaMode ();
2455
2223
 
2456
- if (alphaMode === (AlphaMode_default()).AUTO)
2224
+ if (alphaMode === (external_X_ITE_X3D_AlphaMode_default()).AUTO)
2457
2225
  {
2458
2226
  switch (this .geometryType)
2459
2227
  {
2460
- case (GeometryTypes_default()).POINT:
2228
+ case (external_X_ITE_X3D_GeometryTypes_default()).POINT:
2461
2229
  {
2462
2230
  this .setTransparent (true);
2463
2231
  break;
@@ -2466,17 +2234,17 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2466
2234
  {
2467
2235
  this .setTransparent (this .getAppearance () .isTransparent () ||
2468
2236
  this .colorRampNode ?.isTransparent () ||
2469
- (this .geometryType === (GeometryTypes_default()).GEOMETRY &&
2237
+ (this .geometryType === (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY &&
2470
2238
  this .geometryNode ?.isTransparent ()));
2471
2239
  break;
2472
2240
  }
2473
2241
  }
2474
2242
 
2475
- this .setAlphaMode (this .isTransparent () ? (AlphaMode_default()).BLEND : (AlphaMode_default()).OPAQUE);
2243
+ this .setAlphaMode (this .isTransparent () ? (external_X_ITE_X3D_AlphaMode_default()).BLEND : (external_X_ITE_X3D_AlphaMode_default()).OPAQUE);
2476
2244
  }
2477
2245
  else
2478
2246
  {
2479
- this .setTransparent (alphaMode === (AlphaMode_default()).BLEND);
2247
+ this .setTransparent (alphaMode === (external_X_ITE_X3D_AlphaMode_default()).BLEND);
2480
2248
  this .setAlphaMode (alphaMode);
2481
2249
  }
2482
2250
  },
@@ -2552,13 +2320,13 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2552
2320
 
2553
2321
  // Get geometryType.
2554
2322
 
2555
- this .geometryType = $.enum ((GeometryTypes_default()), this ._geometryType .getValue (), (GeometryTypes_default()).QUAD);
2323
+ this .geometryType = $.enum ((external_X_ITE_X3D_GeometryTypes_default()), this ._geometryType .getValue (), (external_X_ITE_X3D_GeometryTypes_default()).QUAD);
2556
2324
 
2557
2325
  // Create buffers.
2558
2326
 
2559
2327
  switch (this .geometryType)
2560
2328
  {
2561
- case (GeometryTypes_default()).POINT:
2329
+ case (external_X_ITE_X3D_GeometryTypes_default()).POINT:
2562
2330
  {
2563
2331
  this .geometryContext .geometryType = 0;
2564
2332
  this .geometryContext .hasNormals = false;
@@ -2574,7 +2342,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2574
2342
 
2575
2343
  break;
2576
2344
  }
2577
- case (GeometryTypes_default()).LINE:
2345
+ case (external_X_ITE_X3D_GeometryTypes_default()).LINE:
2578
2346
  {
2579
2347
  this .geometryContext .geometryType = 1;
2580
2348
  this .geometryContext .hasNormals = false;
@@ -2582,9 +2350,9 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2582
2350
  this .texCoordCount = 0;
2583
2351
  break;
2584
2352
  }
2585
- case (GeometryTypes_default()).TRIANGLE:
2586
- case (GeometryTypes_default()).QUAD:
2587
- case (GeometryTypes_default()).SPRITE:
2353
+ case (external_X_ITE_X3D_GeometryTypes_default()).TRIANGLE:
2354
+ case (external_X_ITE_X3D_GeometryTypes_default()).QUAD:
2355
+ case (external_X_ITE_X3D_GeometryTypes_default()).SPRITE:
2588
2356
  {
2589
2357
  this .geometryContext .geometryType = 2;
2590
2358
  this .geometryContext .hasNormals = true;
@@ -2602,7 +2370,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2602
2370
 
2603
2371
  break;
2604
2372
  }
2605
- case (GeometryTypes_default()).GEOMETRY:
2373
+ case (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY:
2606
2374
  {
2607
2375
  this .texCoordCount = 0;
2608
2376
  break;
@@ -2646,7 +2414,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2646
2414
  {
2647
2415
  this .emitterNode ?._bbox_changed .removeInterest ("set_bbox__", this);
2648
2416
 
2649
- this .emitterNode = X3DCast_default() ((X3DConstants_default()).X3DParticleEmitterNode, this ._emitter)
2417
+ this .emitterNode = external_X_ITE_X3D_X3DCast_default() ((external_X_ITE_X3D_X3DConstants_default()).X3DParticleEmitterNode, this ._emitter)
2650
2418
  ?? this .getBrowser () .getDefaultEmitter ();
2651
2419
 
2652
2420
  this .emitterNode ._bbox_changed .addInterest ("set_bbox__", this);
@@ -2679,13 +2447,13 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2679
2447
  {
2680
2448
  switch (type [t])
2681
2449
  {
2682
- case (X3DConstants_default()).ForcePhysicsModel:
2683
- case (X3DConstants_default()).WindPhysicsModel:
2450
+ case (external_X_ITE_X3D_X3DConstants_default()).ForcePhysicsModel:
2451
+ case (external_X_ITE_X3D_X3DConstants_default()).WindPhysicsModel:
2684
2452
  {
2685
2453
  forcePhysicsModelNodes .push (innerNode);
2686
2454
  break;
2687
2455
  }
2688
- case (X3DConstants_default()).BoundedPhysicsModel:
2456
+ case (external_X_ITE_X3D_X3DConstants_default()).BoundedPhysicsModel:
2689
2457
  {
2690
2458
  boundedPhysicsModelNodes .push (innerNode);
2691
2459
  break;
@@ -2762,7 +2530,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2762
2530
  if (this .colorRampNode)
2763
2531
  this .colorRampNode .removeInterest ("set_color__", this);
2764
2532
 
2765
- this .colorRampNode = X3DCast_default() ((X3DConstants_default()).X3DColorNode, this ._color);
2533
+ this .colorRampNode = external_X_ITE_X3D_X3DCast_default() ((external_X_ITE_X3D_X3DConstants_default()).X3DColorNode, this ._color);
2766
2534
 
2767
2535
  if (this .colorRampNode)
2768
2536
  this .colorRampNode .addInterest ("set_color__", this);
@@ -2808,7 +2576,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
2808
2576
  if (this .texCoordRampNode)
2809
2577
  this .texCoordRampNode .removeInterest ("set_texCoord__", this);
2810
2578
 
2811
- this .texCoordRampNode = X3DCast_default() ((X3DConstants_default()).X3DTextureCoordinateNode, this ._texCoord);
2579
+ this .texCoordRampNode = external_X_ITE_X3D_X3DCast_default() ((external_X_ITE_X3D_X3DConstants_default()).X3DTextureCoordinateNode, this ._texCoord);
2812
2580
 
2813
2581
  if (this .texCoordRampNode)
2814
2582
  this .texCoordRampNode .addInterest ("set_texCoord__", this);
@@ -3013,17 +2781,17 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3013
2781
  const data = new Float32Array (QuadGeometry);
3014
2782
 
3015
2783
  const quad = [
3016
- new (Vector3_default()) (-0.5, -0.5, 0),
3017
- new (Vector3_default()) ( 0.5, -0.5, 0),
3018
- new (Vector3_default()) ( 0.5, 0.5, 0),
3019
- new (Vector3_default()) (-0.5, -0.5, 0),
3020
- new (Vector3_default()) ( 0.5, 0.5, 0),
3021
- new (Vector3_default()) (-0.5, 0.5, 0),
2784
+ new (external_X_ITE_X3D_Vector3_default()) (-0.5, -0.5, 0),
2785
+ new (external_X_ITE_X3D_Vector3_default()) ( 0.5, -0.5, 0),
2786
+ new (external_X_ITE_X3D_Vector3_default()) ( 0.5, 0.5, 0),
2787
+ new (external_X_ITE_X3D_Vector3_default()) (-0.5, -0.5, 0),
2788
+ new (external_X_ITE_X3D_Vector3_default()) ( 0.5, 0.5, 0),
2789
+ new (external_X_ITE_X3D_Vector3_default()) (-0.5, 0.5, 0),
3022
2790
  ];
3023
2791
 
3024
2792
  const
3025
- vertex = new (Vector3_default()) (),
3026
- size = new (Vector3_default()) ();
2793
+ vertex = new (external_X_ITE_X3D_Vector3_default()) (),
2794
+ size = new (external_X_ITE_X3D_Vector3_default()) ();
3027
2795
 
3028
2796
  return function (gl, rotation)
3029
2797
  {
@@ -3060,26 +2828,26 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3060
2828
 
3061
2829
  switch (type)
3062
2830
  {
3063
- case (TraverseType_default()).POINTER:
2831
+ case (external_X_ITE_X3D_TraverseType_default()).POINTER:
3064
2832
  {
3065
2833
  if (this ._pointerEvents .getValue ())
3066
2834
  renderObject .addPointingShape (this);
3067
2835
 
3068
2836
  break;
3069
2837
  }
3070
- case (TraverseType_default()).PICKING:
3071
- case (TraverseType_default()).COLLISION:
2838
+ case (external_X_ITE_X3D_TraverseType_default()).PICKING:
2839
+ case (external_X_ITE_X3D_TraverseType_default()).COLLISION:
3072
2840
  {
3073
2841
  break;
3074
2842
  }
3075
- case (TraverseType_default()).SHADOW:
2843
+ case (external_X_ITE_X3D_TraverseType_default()).SHADOW:
3076
2844
  {
3077
2845
  if (this ._castShadow .getValue ())
3078
2846
  renderObject .addShadowShape (this);
3079
2847
 
3080
2848
  break;
3081
2849
  }
3082
- case (TraverseType_default()).DISPLAY:
2850
+ case (external_X_ITE_X3D_TraverseType_default()).DISPLAY:
3083
2851
  {
3084
2852
  if (renderObject .addDisplayShape (this))
3085
2853
  {
@@ -3091,7 +2859,7 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3091
2859
  }
3092
2860
  }
3093
2861
 
3094
- if (this .geometryType === (GeometryTypes_default()).GEOMETRY)
2862
+ if (this .geometryType === (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY)
3095
2863
  {
3096
2864
  // Currently used for ScreenText and Tools.
3097
2865
  this .getGeometry () ?.traverse (type, renderObject);
@@ -3103,17 +2871,17 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3103
2871
 
3104
2872
  switch (this .geometryType)
3105
2873
  {
3106
- case (GeometryTypes_default()).LINE:
2874
+ case (external_X_ITE_X3D_GeometryTypes_default()).LINE:
3107
2875
  {
3108
2876
  this .lineGeometryNode .displaySimpleInstanced (gl, shaderNode, this);
3109
2877
  break;
3110
2878
  }
3111
- case (GeometryTypes_default()).GEOMETRY:
2879
+ case (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY:
3112
2880
  {
3113
2881
  this .getGeometry () ?.displaySimpleInstanced (gl, shaderNode, this);
3114
2882
  break;
3115
2883
  }
3116
- case (GeometryTypes_default()).SPRITE:
2884
+ case (external_X_ITE_X3D_GeometryTypes_default()).SPRITE:
3117
2885
  {
3118
2886
  this .updateSprite (gl, this .getScreenAlignedRotation (renderContext .modelViewMatrix));
3119
2887
  // [fall trough]
@@ -3142,25 +2910,25 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3142
2910
 
3143
2911
  switch (this .geometryType)
3144
2912
  {
3145
- case (GeometryTypes_default()).LINE:
2913
+ case (external_X_ITE_X3D_GeometryTypes_default()).LINE:
3146
2914
  {
3147
2915
  this .lineGeometryNode .displayInstanced (gl, renderContext, this);
3148
2916
  break;
3149
2917
  }
3150
- case (GeometryTypes_default()).GEOMETRY:
2918
+ case (external_X_ITE_X3D_GeometryTypes_default()).GEOMETRY:
3151
2919
  {
3152
2920
  this .getGeometry () ?.displayInstanced (gl, renderContext, this);
3153
2921
  break;
3154
2922
  }
3155
- case (GeometryTypes_default()).SPRITE:
2923
+ case (external_X_ITE_X3D_GeometryTypes_default()).SPRITE:
3156
2924
  {
3157
2925
  this .updateSprite (gl, this .getScreenAlignedRotation (renderContext .modelViewMatrix));
3158
2926
  // [fall trough]
3159
2927
  }
3160
- case (GeometryTypes_default()).QUAD:
3161
- case (GeometryTypes_default()).TRIANGLE:
2928
+ case (external_X_ITE_X3D_GeometryTypes_default()).QUAD:
2929
+ case (external_X_ITE_X3D_GeometryTypes_default()).TRIANGLE:
3162
2930
  {
3163
- const positiveScale = Matrix4_default().prototype .determinant3 .call (renderContext .modelViewMatrix) > 0;
2931
+ const positiveScale = external_X_ITE_X3D_Matrix4_default().prototype .determinant3 .call (renderContext .modelViewMatrix) > 0;
3164
2932
 
3165
2933
  gl .frontFace (positiveScale ? gl .CCW : gl .CW);
3166
2934
  gl .enable (gl .CULL_FACE);
@@ -3235,17 +3003,17 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3235
3003
  getScreenAlignedRotation: (() =>
3236
3004
  {
3237
3005
  const
3238
- invModelViewMatrix = new (Matrix4_default()) (),
3239
- billboardToScreen = new (Vector3_default()) (),
3240
- viewerYAxis = new (Vector3_default()) (),
3241
- y = new (Vector3_default()) (),
3242
- rotation = new (Matrix3_default()) (9);
3006
+ invModelViewMatrix = new (external_X_ITE_X3D_Matrix4_default()) (),
3007
+ billboardToScreen = new (external_X_ITE_X3D_Vector3_default()) (),
3008
+ viewerYAxis = new (external_X_ITE_X3D_Vector3_default()) (),
3009
+ y = new (external_X_ITE_X3D_Vector3_default()) (),
3010
+ rotation = new (external_X_ITE_X3D_Matrix3_default()) (9);
3243
3011
 
3244
3012
  return function (modelViewMatrix)
3245
3013
  {
3246
3014
  invModelViewMatrix .assign (modelViewMatrix) .inverse ();
3247
- invModelViewMatrix .multDirMatrix (billboardToScreen .assign ((Vector3_default()).zAxis));
3248
- invModelViewMatrix .multDirMatrix (viewerYAxis .assign ((Vector3_default()).yAxis));
3015
+ invModelViewMatrix .multDirMatrix (billboardToScreen .assign ((external_X_ITE_X3D_Vector3_default()).zAxis));
3016
+ invModelViewMatrix .multDirMatrix (viewerYAxis .assign ((external_X_ITE_X3D_Vector3_default()).yAxis));
3249
3017
 
3250
3018
  const x = viewerYAxis .cross (billboardToScreen);
3251
3019
  y .assign (billboardToScreen) .cross (x);
@@ -3268,52 +3036,33 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
3268
3036
 
3269
3037
  Object .defineProperties (ParticleSystem,
3270
3038
  {
3271
- typeName:
3272
- {
3273
- value: "ParticleSystem",
3274
- enumerable: true,
3275
- },
3276
- componentInfo:
3277
- {
3278
- value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
3279
- enumerable: true,
3280
- },
3281
- containerField:
3282
- {
3283
- value: "children",
3284
- enumerable: true,
3285
- },
3286
- specificationRange:
3287
- {
3288
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
3289
- enumerable: true,
3290
- },
3039
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("ParticleSystem", "ParticleSystems", 2, "children", "3.2"),
3291
3040
  fieldDefinitions:
3292
3041
  {
3293
- value: new (FieldDefinitionArray_default()) ([
3294
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3295
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
3296
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "createParticles", new (Fields_default()).SFBool (true)),
3297
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geometryType", new (Fields_default()).SFString ("QUAD")),
3298
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "maxParticles", new (Fields_default()).SFInt32 (200)),
3299
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "particleLifetime", new (Fields_default()).SFFloat (5)),
3300
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "lifetimeVariation", new (Fields_default()).SFFloat (0.25)),
3301
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "particleSize", new (Fields_default()).SFVec2f (0.02, 0.02)),
3302
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "emitter", new (Fields_default()).SFNode ()),
3303
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "physics", new (Fields_default()).MFNode ()),
3304
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "colorKey", new (Fields_default()).MFFloat ()),
3305
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "color", new (Fields_default()).SFNode ()),
3306
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "texCoordKey", new (Fields_default()).MFFloat ()),
3307
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "texCoord", new (Fields_default()).SFNode ()),
3308
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isActive", new (Fields_default()).SFBool ()),
3309
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "pointerEvents", new (Fields_default()).SFBool (true)), // skip test
3310
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "castShadow", new (Fields_default()).SFBool (true)),
3311
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
3312
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
3313
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
3314
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
3315
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "appearance", new (Fields_default()).SFNode ()),
3316
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geometry", new (Fields_default()).SFNode ()),
3042
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
3043
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3044
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "enabled", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3045
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "createParticles", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3046
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "geometryType", new (external_X_ITE_X3D_Fields_default()).SFString ("QUAD")),
3047
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "maxParticles", new (external_X_ITE_X3D_Fields_default()).SFInt32 (200)),
3048
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "particleLifetime", new (external_X_ITE_X3D_Fields_default()).SFFloat (5)),
3049
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "lifetimeVariation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
3050
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "particleSize", new (external_X_ITE_X3D_Fields_default()).SFVec2f (0.02, 0.02)),
3051
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "emitter", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3052
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "physics", new (external_X_ITE_X3D_Fields_default()).MFNode ()),
3053
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "colorKey", new (external_X_ITE_X3D_Fields_default()).MFFloat ()),
3054
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "color", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3055
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "texCoordKey", new (external_X_ITE_X3D_Fields_default()).MFFloat ()),
3056
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "texCoord", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3057
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).outputOnly, "isActive", new (external_X_ITE_X3D_Fields_default()).SFBool ()),
3058
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "pointerEvents", new (external_X_ITE_X3D_Fields_default()).SFBool (true)), // skip test
3059
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "castShadow", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3060
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "visible", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3061
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "bboxDisplay", new (external_X_ITE_X3D_Fields_default()).SFBool ()),
3062
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "bboxSize", new (external_X_ITE_X3D_Fields_default()).SFVec3f (-1, -1, -1)),
3063
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "bboxCenter", new (external_X_ITE_X3D_Fields_default()).SFVec3f ()),
3064
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "appearance", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3065
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "geometry", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3317
3066
  ]),
3318
3067
  enumerable: true,
3319
3068
  },
@@ -3322,11 +3071,10 @@ Object .defineProperties (ParticleSystem,
3322
3071
  const ParticleSystem_default_ = ParticleSystem;
3323
3072
  ;
3324
3073
 
3325
- Namespace_default().add ("ParticleSystem", "x_ite/Components/ParticleSystems/ParticleSystem", ParticleSystem_default_);
3326
- /* harmony default export */ const ParticleSystems_ParticleSystem = (ParticleSystem_default_);
3327
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/IndexedLineSet\")"
3328
- const IndexedLineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/IndexedLineSet");
3329
- var IndexedLineSet_default = /*#__PURE__*/__webpack_require__.n(IndexedLineSet_namespaceObject);
3074
+ /* harmony default export */ const ParticleSystems_ParticleSystem = (external_X_ITE_X3D_Namespace_default().add ("ParticleSystem", ParticleSystem_default_));
3075
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .IndexedLineSet"
3076
+ const external_X_ITE_X3D_IndexedLineSet_namespaceObject = __X_ITE_X3D__ .IndexedLineSet;
3077
+ var external_X_ITE_X3D_IndexedLineSet_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_IndexedLineSet_namespaceObject);
3330
3078
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PolylineEmitter.js
3331
3079
  /*******************************************************************************
3332
3080
  *
@@ -3383,14 +3131,15 @@ var IndexedLineSet_default = /*#__PURE__*/__webpack_require__.n(IndexedLineSet_n
3383
3131
 
3384
3132
 
3385
3133
 
3134
+
3386
3135
  function PolylineEmitter (executionContext)
3387
3136
  {
3388
3137
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
3389
3138
 
3390
- this .addType ((X3DConstants_default()).PolylineEmitter);
3139
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).PolylineEmitter);
3391
3140
 
3392
3141
  this .verticesIndex = -1;
3393
- this .polylinesNode = new (IndexedLineSet_default()) (executionContext);
3142
+ this .polylinesNode = new (external_X_ITE_X3D_IndexedLineSet_default()) (executionContext);
3394
3143
  this .polylinesArray = new Float32Array ();
3395
3144
  }
3396
3145
 
@@ -3478,7 +3227,7 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, ParticleSyst
3478
3227
  },
3479
3228
  getBBox: (function ()
3480
3229
  {
3481
- const bboxSize = new (Vector3_default()) ();
3230
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
3482
3231
 
3483
3232
  return function (bbox, { particleLifetime, lifetimeVariation })
3484
3233
  {
@@ -3493,7 +3242,7 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, ParticleSyst
3493
3242
  })(),
3494
3243
  set_direction__: (() =>
3495
3244
  {
3496
- const direction = new (Vector3_default()) ();
3245
+ const direction = new (external_X_ITE_X3D_Vector3_default()) ();
3497
3246
 
3498
3247
  return function ()
3499
3248
  {
@@ -3509,8 +3258,8 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, ParticleSyst
3509
3258
  set_polylines__: (() =>
3510
3259
  {
3511
3260
  const
3512
- vertex1 = new (Vector3_default()) (),
3513
- vertex2 = new (Vector3_default()) ();
3261
+ vertex1 = new (external_X_ITE_X3D_Vector3_default()) (),
3262
+ vertex2 = new (external_X_ITE_X3D_Vector3_default()) ();
3514
3263
 
3515
3264
  return function ()
3516
3265
  {
@@ -3562,39 +3311,20 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, ParticleSyst
3562
3311
 
3563
3312
  Object .defineProperties (PolylineEmitter,
3564
3313
  {
3565
- typeName:
3566
- {
3567
- value: "PolylineEmitter",
3568
- enumerable: true,
3569
- },
3570
- componentInfo:
3571
- {
3572
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
3573
- enumerable: true,
3574
- },
3575
- containerField:
3576
- {
3577
- value: "emitter",
3578
- enumerable: true,
3579
- },
3580
- specificationRange:
3581
- {
3582
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
3583
- enumerable: true,
3584
- },
3314
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("PolylineEmitter", "ParticleSystems", 1, "emitter", "3.2"),
3585
3315
  fieldDefinitions:
3586
3316
  {
3587
- value: new (FieldDefinitionArray_default()) ([
3588
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3589
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_coordIndex", new (Fields_default()).MFInt32 ()),
3590
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
3591
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
3592
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
3593
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
3594
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
3595
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
3596
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "coordIndex", new (Fields_default()).MFInt32 (-1)),
3597
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
3317
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
3318
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3319
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOnly, "set_coordIndex", new (external_X_ITE_X3D_Fields_default()).MFInt32 ()),
3320
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3321
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "direction", new (external_X_ITE_X3D_Fields_default()).SFVec3f (0, 1, 0)),
3322
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3323
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
3324
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3325
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3326
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "coordIndex", new (external_X_ITE_X3D_Fields_default()).MFInt32 (-1)),
3327
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "coord", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3598
3328
  ]),
3599
3329
  enumerable: true,
3600
3330
  },
@@ -3603,11 +3333,10 @@ Object .defineProperties (PolylineEmitter,
3603
3333
  const PolylineEmitter_default_ = PolylineEmitter;
3604
3334
  ;
3605
3335
 
3606
- Namespace_default().add ("PolylineEmitter", "x_ite/Components/ParticleSystems/PolylineEmitter", PolylineEmitter_default_);
3607
- /* harmony default export */ const ParticleSystems_PolylineEmitter = (PolylineEmitter_default_);
3608
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
3609
- const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Geometry/Triangle3");
3610
- var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
3336
+ /* harmony default export */ const ParticleSystems_PolylineEmitter = (external_X_ITE_X3D_Namespace_default().add ("PolylineEmitter", PolylineEmitter_default_));
3337
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Triangle3"
3338
+ const external_X_ITE_X3D_Triangle3_namespaceObject = __X_ITE_X3D__ .Triangle3;
3339
+ var external_X_ITE_X3D_Triangle3_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Triangle3_namespaceObject);
3611
3340
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/SurfaceEmitter.js
3612
3341
  /*******************************************************************************
3613
3342
  *
@@ -3665,11 +3394,12 @@ var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceOb
3665
3394
 
3666
3395
 
3667
3396
 
3397
+
3668
3398
  function SurfaceEmitter (executionContext)
3669
3399
  {
3670
3400
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
3671
3401
 
3672
- this .addType ((X3DConstants_default()).SurfaceEmitter);
3402
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).SurfaceEmitter);
3673
3403
 
3674
3404
  this .verticesIndex = -1;
3675
3405
  this .normalsIndex = -1;
@@ -3736,7 +3466,7 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, ParticleSyste
3736
3466
  },
3737
3467
  getBBox: (function ()
3738
3468
  {
3739
- const bboxSize = new (Vector3_default()) ();
3469
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
3740
3470
 
3741
3471
  return function (bbox, { particleLifetime, lifetimeVariation })
3742
3472
  {
@@ -3760,7 +3490,7 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, ParticleSyste
3760
3490
  this .surfaceNode ._rebuild .removeInterest ("set_geometry__", this);
3761
3491
  }
3762
3492
 
3763
- this .surfaceNode = X3DCast_default() ((X3DConstants_default()).X3DGeometryNode, this ._surface);
3493
+ this .surfaceNode = external_X_ITE_X3D_X3DCast_default() ((external_X_ITE_X3D_X3DConstants_default()).X3DGeometryNode, this ._surface);
3764
3494
 
3765
3495
  if (this .surfaceNode)
3766
3496
  {
@@ -3786,9 +3516,9 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, ParticleSyste
3786
3516
  set_geometry__: (() =>
3787
3517
  {
3788
3518
  const
3789
- vertex1 = new (Vector3_default()) (),
3790
- vertex2 = new (Vector3_default()) (),
3791
- vertex3 = new (Vector3_default()) ();
3519
+ vertex1 = new (external_X_ITE_X3D_Vector3_default()) (),
3520
+ vertex2 = new (external_X_ITE_X3D_Vector3_default()) (),
3521
+ vertex3 = new (external_X_ITE_X3D_Vector3_default()) ();
3792
3522
 
3793
3523
  return function ()
3794
3524
  {
@@ -3820,7 +3550,7 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, ParticleSyste
3820
3550
  vertex2 .set (vertices [i + 4], vertices [i + 5], vertices [i + 6]);
3821
3551
  vertex3 .set (vertices [i + 8], vertices [i + 9], vertices [i + 10]);
3822
3552
 
3823
- surfaceArray [i / 3 + 4] = areaSoFar += Triangle3_default().area (vertex1, vertex2, vertex3);
3553
+ surfaceArray [i / 3 + 4] = areaSoFar += external_X_ITE_X3D_Triangle3_default().area (vertex1, vertex2, vertex3);
3824
3554
  }
3825
3555
 
3826
3556
  surfaceArray .set (vertices, verticesIndex * 4);
@@ -3862,36 +3592,17 @@ Object .assign (Object .setPrototypeOf (SurfaceEmitter .prototype, ParticleSyste
3862
3592
 
3863
3593
  Object .defineProperties (SurfaceEmitter,
3864
3594
  {
3865
- typeName:
3866
- {
3867
- value: "SurfaceEmitter",
3868
- enumerable: true,
3869
- },
3870
- componentInfo:
3871
- {
3872
- value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
3873
- enumerable: true,
3874
- },
3875
- containerField:
3876
- {
3877
- value: "emitter",
3878
- enumerable: true,
3879
- },
3880
- specificationRange:
3881
- {
3882
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
3883
- enumerable: true,
3884
- },
3595
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("SurfaceEmitter", "ParticleSystems", 2, "emitter", "3.2"),
3885
3596
  fieldDefinitions:
3886
3597
  {
3887
- value: new (FieldDefinitionArray_default()) ([
3888
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3889
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
3890
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
3891
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
3892
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
3893
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
3894
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "surface", new (Fields_default()).SFNode ()),
3598
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
3599
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3600
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3601
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3602
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
3603
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3604
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3605
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "surface", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3895
3606
  ]),
3896
3607
  enumerable: true,
3897
3608
  },
@@ -3900,11 +3611,10 @@ Object .defineProperties (SurfaceEmitter,
3900
3611
  const SurfaceEmitter_default_ = SurfaceEmitter;
3901
3612
  ;
3902
3613
 
3903
- Namespace_default().add ("SurfaceEmitter", "x_ite/Components/ParticleSystems/SurfaceEmitter", SurfaceEmitter_default_);
3904
- /* harmony default export */ const ParticleSystems_SurfaceEmitter = (SurfaceEmitter_default_);
3905
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
3906
- const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
3907
- var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
3614
+ /* harmony default export */ const ParticleSystems_SurfaceEmitter = (external_X_ITE_X3D_Namespace_default().add ("SurfaceEmitter", SurfaceEmitter_default_));
3615
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .IndexedFaceSet"
3616
+ const external_X_ITE_X3D_IndexedFaceSet_namespaceObject = __X_ITE_X3D__ .IndexedFaceSet;
3617
+ var external_X_ITE_X3D_IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_IndexedFaceSet_namespaceObject);
3908
3618
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/VolumeEmitter.js
3909
3619
  /*******************************************************************************
3910
3620
  *
@@ -3963,17 +3673,18 @@ var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_n
3963
3673
 
3964
3674
 
3965
3675
 
3676
+
3966
3677
  function VolumeEmitter (executionContext)
3967
3678
  {
3968
3679
  ParticleSystems_X3DParticleEmitterNode .call (this, executionContext);
3969
3680
 
3970
- this .addType ((X3DConstants_default()).VolumeEmitter);
3681
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).VolumeEmitter);
3971
3682
 
3972
3683
  this .verticesIndex = -1;
3973
3684
  this .normalsIndex = -1;
3974
3685
  this .hierarchyIndex = -1;
3975
3686
  this .hierarchyRoot = -1;
3976
- this .volumeNode = new (IndexedFaceSet_default()) (executionContext);
3687
+ this .volumeNode = new (external_X_ITE_X3D_IndexedFaceSet_default()) (executionContext);
3977
3688
  this .volumeArray = new Float32Array ();
3978
3689
  }
3979
3690
 
@@ -4083,7 +3794,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, ParticleSystem
4083
3794
  },
4084
3795
  getBBox: (function ()
4085
3796
  {
4086
- const bboxSize = new (Vector3_default()) ();
3797
+ const bboxSize = new (external_X_ITE_X3D_Vector3_default()) ();
4087
3798
 
4088
3799
  return function (bbox, { particleLifetime, lifetimeVariation })
4089
3800
  {
@@ -4098,7 +3809,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, ParticleSystem
4098
3809
  })(),
4099
3810
  set_direction__: (() =>
4100
3811
  {
4101
- const direction = new (Vector3_default()) ();
3812
+ const direction = new (external_X_ITE_X3D_Vector3_default()) ();
4102
3813
 
4103
3814
  return function ()
4104
3815
  {
@@ -4126,9 +3837,9 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, ParticleSystem
4126
3837
  set_geometry__: (() =>
4127
3838
  {
4128
3839
  const
4129
- vertex1 = new (Vector3_default()) (),
4130
- vertex2 = new (Vector3_default()) (),
4131
- vertex3 = new (Vector3_default()) ();
3840
+ vertex1 = new (external_X_ITE_X3D_Vector3_default()) (),
3841
+ vertex2 = new (external_X_ITE_X3D_Vector3_default()) (),
3842
+ vertex3 = new (external_X_ITE_X3D_Vector3_default()) ();
4132
3843
 
4133
3844
  return function ()
4134
3845
  {
@@ -4161,7 +3872,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, ParticleSystem
4161
3872
  vertex2 .set (vertices [i + 4], vertices [i + 5], vertices [i + 6]);
4162
3873
  vertex3 .set (vertices [i + 8], vertices [i + 9], vertices [i + 10]);
4163
3874
 
4164
- volumeArray [i / 3 + 4] = areaSoFar += Triangle3_default().area (vertex1, vertex2, vertex3);
3875
+ volumeArray [i / 3 + 4] = areaSoFar += external_X_ITE_X3D_Triangle3_default().area (vertex1, vertex2, vertex3);
4165
3876
  }
4166
3877
 
4167
3878
  volumeArray .set (vertices, verticesIndex * 4);
@@ -4203,40 +3914,21 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, ParticleSystem
4203
3914
 
4204
3915
  Object .defineProperties (VolumeEmitter,
4205
3916
  {
4206
- typeName:
4207
- {
4208
- value: "VolumeEmitter",
4209
- enumerable: true,
4210
- },
4211
- componentInfo:
4212
- {
4213
- value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
4214
- enumerable: true,
4215
- },
4216
- containerField:
4217
- {
4218
- value: "emitter",
4219
- enumerable: true,
4220
- },
4221
- specificationRange:
4222
- {
4223
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
4224
- enumerable: true,
4225
- },
3917
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("VolumeEmitter", "ParticleSystems", 2, "emitter", "3.2"),
4226
3918
  fieldDefinitions:
4227
3919
  {
4228
- value: new (FieldDefinitionArray_default()) ([
4229
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4230
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_coordIndex", new (Fields_default()).MFInt32 ()),
4231
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
4232
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "internal", new (Fields_default()).SFBool (true)),
4233
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
4234
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
4235
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
4236
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
4237
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
4238
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "coordIndex", new (Fields_default()).MFInt32 (-1)),
4239
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
3920
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
3921
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
3922
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOnly, "set_coordIndex", new (external_X_ITE_X3D_Fields_default()).MFInt32 ()),
3923
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "on", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3924
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "internal", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
3925
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "direction", new (external_X_ITE_X3D_Fields_default()).SFVec3f (0, 1, 0)),
3926
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3927
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "variation", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.25)),
3928
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "mass", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3929
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "surfaceArea", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
3930
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).initializeOnly, "coordIndex", new (external_X_ITE_X3D_Fields_default()).MFInt32 (-1)),
3931
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "coord", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
4240
3932
  ]),
4241
3933
  enumerable: true,
4242
3934
  },
@@ -4245,11 +3937,10 @@ Object .defineProperties (VolumeEmitter,
4245
3937
  const VolumeEmitter_default_ = VolumeEmitter;
4246
3938
  ;
4247
3939
 
4248
- Namespace_default().add ("VolumeEmitter", "x_ite/Components/ParticleSystems/VolumeEmitter", VolumeEmitter_default_);
4249
- /* harmony default export */ const ParticleSystems_VolumeEmitter = (VolumeEmitter_default_);
4250
- ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
4251
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Algorithm");
4252
- var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
3940
+ /* harmony default export */ const ParticleSystems_VolumeEmitter = (external_X_ITE_X3D_Namespace_default().add ("VolumeEmitter", VolumeEmitter_default_));
3941
+ ;// CONCATENATED MODULE: external "__X_ITE_X3D__ .Algorithm"
3942
+ const external_X_ITE_X3D_Algorithm_namespaceObject = __X_ITE_X3D__ .Algorithm;
3943
+ var external_X_ITE_X3D_Algorithm_default = /*#__PURE__*/__webpack_require__.n(external_X_ITE_X3D_Algorithm_namespaceObject);
4253
3944
  ;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/WindPhysicsModel.js
4254
3945
  /*******************************************************************************
4255
3946
  *
@@ -4306,11 +3997,12 @@ var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceOb
4306
3997
 
4307
3998
 
4308
3999
 
4000
+
4309
4001
  function WindPhysicsModel (executionContext)
4310
4002
  {
4311
4003
  ParticleSystems_X3DParticlePhysicsModelNode .call (this, executionContext);
4312
4004
 
4313
- this .addType ((X3DConstants_default()).WindPhysicsModel);
4005
+ this .addType ((external_X_ITE_X3D_X3DConstants_default()).WindPhysicsModel);
4314
4006
 
4315
4007
  // Units
4316
4008
 
@@ -4319,7 +4011,7 @@ function WindPhysicsModel (executionContext)
4319
4011
  // Legacy
4320
4012
 
4321
4013
  if (executionContext .getSpecificationVersion () <= 3.3)
4322
- this ._direction = new (Vector3_default()) ();
4014
+ this ._direction = new (external_X_ITE_X3D_Vector3_default()) ();
4323
4015
  }
4324
4016
 
4325
4017
  Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, ParticleSystems_X3DParticlePhysicsModelNode .prototype),
@@ -4334,7 +4026,7 @@ Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, ParticleSys
4334
4026
  },
4335
4027
  addForce: (() =>
4336
4028
  {
4337
- const force = new (Vector3_default()) ();
4029
+ const force = new (external_X_ITE_X3D_Vector3_default()) ();
4338
4030
 
4339
4031
  return function (i, emitterNode, timeByMass, forces)
4340
4032
  {
@@ -4345,13 +4037,13 @@ Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, ParticleSys
4345
4037
  speed = this .getRandomSpeed (emitterNode),
4346
4038
  pressure = 10 ** (2 * Math .log (speed)) * 0.64615;
4347
4039
 
4348
- if (this ._direction .getValue () .equals ((Vector3_default()).Zero))
4040
+ if (this ._direction .getValue () .equals ((external_X_ITE_X3D_Vector3_default()).Zero))
4349
4041
  emitterNode .getRandomNormal (force);
4350
4042
  else
4351
4043
  force .assign (this ._direction .getValue ()) .normalize ();
4352
4044
 
4353
4045
  forces .set (force .multiply (surfaceArea * pressure * timeByMass), i * 4);
4354
- forces [i * 4 + 3] = Math .PI * Algorithm_default().clamp (this ._turbulence .getValue (), 0, 1);
4046
+ forces [i * 4 + 3] = Math .PI * external_X_ITE_X3D_Algorithm_default().clamp (this ._turbulence .getValue (), 0, 1);
4355
4047
 
4356
4048
  return true;
4357
4049
  }
@@ -4365,35 +4057,16 @@ Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, ParticleSys
4365
4057
 
4366
4058
  Object .defineProperties (WindPhysicsModel,
4367
4059
  {
4368
- typeName:
4369
- {
4370
- value: "WindPhysicsModel",
4371
- enumerable: true,
4372
- },
4373
- componentInfo:
4374
- {
4375
- value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
4376
- enumerable: true,
4377
- },
4378
- containerField:
4379
- {
4380
- value: "physics",
4381
- enumerable: true,
4382
- },
4383
- specificationRange:
4384
- {
4385
- value: Object .freeze ({ from: "3.2", to: "Infinity" }),
4386
- enumerable: true,
4387
- },
4060
+ ... external_X_ITE_X3D_X3DNode_default().getStaticProperties ("WindPhysicsModel", "ParticleSystems", 1, "physics", "3.2"),
4388
4061
  fieldDefinitions:
4389
4062
  {
4390
- value: new (FieldDefinitionArray_default()) ([
4391
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4392
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
4393
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (1, 0, 0)),
4394
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat (0.1)),
4395
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "gustiness", new (Fields_default()).SFFloat (0.1)),
4396
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "turbulence", new (Fields_default()).SFFloat ()),
4063
+ value: new (external_X_ITE_X3D_FieldDefinitionArray_default()) ([
4064
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "metadata", new (external_X_ITE_X3D_Fields_default()).SFNode ()),
4065
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "enabled", new (external_X_ITE_X3D_Fields_default()).SFBool (true)),
4066
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "direction", new (external_X_ITE_X3D_Fields_default()).SFVec3f (1, 0, 0)),
4067
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "speed", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.1)),
4068
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "gustiness", new (external_X_ITE_X3D_Fields_default()).SFFloat (0.1)),
4069
+ new (external_X_ITE_X3D_X3DFieldDefinition_default()) ((external_X_ITE_X3D_X3DConstants_default()).inputOutput, "turbulence", new (external_X_ITE_X3D_Fields_default()).SFFloat ()),
4397
4070
  ]),
4398
4071
  enumerable: true,
4399
4072
  },
@@ -4402,9 +4075,8 @@ Object .defineProperties (WindPhysicsModel,
4402
4075
  const WindPhysicsModel_default_ = WindPhysicsModel;
4403
4076
  ;
4404
4077
 
4405
- Namespace_default().add ("WindPhysicsModel", "x_ite/Components/ParticleSystems/WindPhysicsModel", WindPhysicsModel_default_);
4406
- /* harmony default export */ const ParticleSystems_WindPhysicsModel = (WindPhysicsModel_default_);
4407
- ;// CONCATENATED MODULE: ./src/assets/components/ParticleSystems.js
4078
+ /* harmony default export */ const ParticleSystems_WindPhysicsModel = (external_X_ITE_X3D_Namespace_default().add ("WindPhysicsModel", WindPhysicsModel_default_));
4079
+ ;// CONCATENATED MODULE: ./src/assets/components/ParticleSystemsComponent.js
4408
4080
  /*******************************************************************************
4409
4081
  *
4410
4082
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -4467,7 +4139,7 @@ Namespace_default().add ("WindPhysicsModel", "x_ite/Components/ParticleSystems/W
4467
4139
 
4468
4140
 
4469
4141
 
4470
- Components_default().add ({
4142
+ external_X_ITE_X3D_Components_default().add ({
4471
4143
  name: "ParticleSystems",
4472
4144
  concreteNodes:
4473
4145
  [
@@ -4490,10 +4162,9 @@ Components_default().add ({
4490
4162
  browserContext: ParticleSystems_X3DParticleSystemsContext,
4491
4163
  });
4492
4164
 
4493
- const ParticleSystems_default_ = undefined;
4165
+ const ParticleSystemsComponent_default_ = undefined;
4494
4166
  ;
4495
4167
 
4496
- Namespace_default().add ("ParticleSystems", "assets/components/ParticleSystems", ParticleSystems_default_);
4497
- /* harmony default export */ const ParticleSystems = ((/* unused pure expression or super */ null && (ParticleSystems_default_)));
4168
+ /* harmony default export */ const ParticleSystemsComponent = (external_X_ITE_X3D_Namespace_default().add ("ParticleSystemsComponent", ParticleSystemsComponent_default_));
4498
4169
  /******/ })()
4499
4170
  ;