x_ite 9.0.2 → 9.1.0
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.
- package/dist/assets/components/Annotation.js +33 -33
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +34 -34
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +99 -105
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +92 -47
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +34 -34
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +45 -45
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +90 -76
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +171 -149
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +18 -16
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +64 -54
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +68 -173
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +123 -106
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +106 -102
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +214 -125
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +43 -43
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +34 -33
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +48 -48
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +60 -64
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +66 -66
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +171 -14
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1401 -1000
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +1401 -1000
- package/dist/x_ite.zip +0 -0
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v9.0
|
|
1
|
+
/* X_ITE v9.1.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-9.0
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,22 +73,22 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
79
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
79
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Fields");
|
|
80
80
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
82
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
82
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
83
83
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
85
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
85
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
86
86
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
88
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
88
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Components/Core/X3DNode");
|
|
89
89
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
91
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
91
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Namespace");
|
|
92
92
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/GeometryTypes.js
|
|
94
94
|
/*******************************************************************************
|
|
@@ -155,7 +155,7 @@ const __default__ = GeometryTypes;
|
|
|
155
155
|
Namespace_default().add ("GeometryTypes", "x_ite/Browser/ParticleSystems/GeometryTypes", __default__);
|
|
156
156
|
/* harmony default export */ const ParticleSystems_GeometryTypes = (__default__);
|
|
157
157
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
158
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
158
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Base/X3DConstants");
|
|
159
159
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
160
160
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/Line3.glsl.js
|
|
161
161
|
const Line3_glsl_default_ = /* glsl */ `struct Line3{vec3 point;vec3 direction;};bool intersects(const in Line3 line,const in vec3 a,const in vec3 b,const in vec3 c,out vec3 r){vec3 edge1=b-a;vec3 edge2=c-a;vec3 pvec=cross(line.direction,edge2);float det=dot(edge1,pvec);if(det==0.0)return false;float inv_det=1.0/det;vec3 tvec=line.point-a;float u=dot(tvec,pvec)*inv_det;if(u<0.0||u>1.0)return false;vec3 qvec=cross(tvec,edge1);float v=dot(line.direction,qvec)*inv_det;if(v<0.0||u+v>1.0)return false;r=vec3(u,v,1.0-u-v);return true;}`
|
|
@@ -605,9 +605,9 @@ Object .defineProperties (X3DParticleEmitterNode,
|
|
|
605
605
|
value: "X3DParticleEmitterNode",
|
|
606
606
|
enumerable: true,
|
|
607
607
|
},
|
|
608
|
-
|
|
608
|
+
componentInfo:
|
|
609
609
|
{
|
|
610
|
-
value: "ParticleSystems",
|
|
610
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
611
611
|
enumerable: true,
|
|
612
612
|
},
|
|
613
613
|
});
|
|
@@ -618,7 +618,7 @@ const X3DParticleEmitterNode_default_ = X3DParticleEmitterNode;
|
|
|
618
618
|
Namespace_default().add ("X3DParticleEmitterNode", "x_ite/Components/ParticleSystems/X3DParticleEmitterNode", X3DParticleEmitterNode_default_);
|
|
619
619
|
/* harmony default export */ const ParticleSystems_X3DParticleEmitterNode = (X3DParticleEmitterNode_default_);
|
|
620
620
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
621
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
621
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Numbers/Vector3");
|
|
622
622
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
623
623
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PointEmitter.js
|
|
624
624
|
/*******************************************************************************
|
|
@@ -742,9 +742,9 @@ Object .defineProperties (PointEmitter,
|
|
|
742
742
|
value: "PointEmitter",
|
|
743
743
|
enumerable: true,
|
|
744
744
|
},
|
|
745
|
-
|
|
745
|
+
componentInfo:
|
|
746
746
|
{
|
|
747
|
-
value: "ParticleSystems",
|
|
747
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
748
748
|
enumerable: true,
|
|
749
749
|
},
|
|
750
750
|
containerField:
|
|
@@ -754,20 +754,20 @@ Object .defineProperties (PointEmitter,
|
|
|
754
754
|
},
|
|
755
755
|
specificationRange:
|
|
756
756
|
{
|
|
757
|
-
value: Object .freeze (
|
|
757
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
758
758
|
enumerable: true,
|
|
759
759
|
},
|
|
760
760
|
fieldDefinitions:
|
|
761
761
|
{
|
|
762
762
|
value: new (FieldDefinitionArray_default()) ([
|
|
763
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
764
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
765
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
766
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
767
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
768
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
769
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
770
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
763
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
764
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
|
|
765
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
|
|
766
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
|
|
767
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
768
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
769
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
770
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
771
771
|
]),
|
|
772
772
|
enumerable: true,
|
|
773
773
|
},
|
|
@@ -926,9 +926,9 @@ Object .defineProperties (X3DParticlePhysicsModelNode,
|
|
|
926
926
|
value: "X3DParticlePhysicsModelNode",
|
|
927
927
|
enumerable: true,
|
|
928
928
|
},
|
|
929
|
-
|
|
929
|
+
componentInfo:
|
|
930
930
|
{
|
|
931
|
-
value: "ParticleSystems",
|
|
931
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
932
932
|
enumerable: true,
|
|
933
933
|
},
|
|
934
934
|
});
|
|
@@ -939,7 +939,7 @@ const X3DParticlePhysicsModelNode_default_ = X3DParticlePhysicsModelNode;
|
|
|
939
939
|
Namespace_default().add ("X3DParticlePhysicsModelNode", "x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode", X3DParticlePhysicsModelNode_default_);
|
|
940
940
|
/* harmony default export */ const ParticleSystems_X3DParticlePhysicsModelNode = (X3DParticlePhysicsModelNode_default_);
|
|
941
941
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
942
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
942
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Base/X3DCast");
|
|
943
943
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
944
944
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js
|
|
945
945
|
/*******************************************************************************
|
|
@@ -1047,9 +1047,9 @@ Object .defineProperties (BoundedPhysicsModel,
|
|
|
1047
1047
|
value: "BoundedPhysicsModel",
|
|
1048
1048
|
enumerable: true,
|
|
1049
1049
|
},
|
|
1050
|
-
|
|
1050
|
+
componentInfo:
|
|
1051
1051
|
{
|
|
1052
|
-
value: "ParticleSystems",
|
|
1052
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
|
|
1053
1053
|
enumerable: true,
|
|
1054
1054
|
},
|
|
1055
1055
|
containerField:
|
|
@@ -1059,7 +1059,7 @@ Object .defineProperties (BoundedPhysicsModel,
|
|
|
1059
1059
|
},
|
|
1060
1060
|
specificationRange:
|
|
1061
1061
|
{
|
|
1062
|
-
value: Object .freeze (
|
|
1062
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
1063
1063
|
enumerable: true,
|
|
1064
1064
|
},
|
|
1065
1065
|
fieldDefinitions:
|
|
@@ -1208,9 +1208,9 @@ Object .defineProperties (ConeEmitter,
|
|
|
1208
1208
|
value: "ConeEmitter",
|
|
1209
1209
|
enumerable: true,
|
|
1210
1210
|
},
|
|
1211
|
-
|
|
1211
|
+
componentInfo:
|
|
1212
1212
|
{
|
|
1213
|
-
value: "ParticleSystems",
|
|
1213
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
1214
1214
|
enumerable: true,
|
|
1215
1215
|
},
|
|
1216
1216
|
containerField:
|
|
@@ -1220,21 +1220,21 @@ Object .defineProperties (ConeEmitter,
|
|
|
1220
1220
|
},
|
|
1221
1221
|
specificationRange:
|
|
1222
1222
|
{
|
|
1223
|
-
value: Object .freeze (
|
|
1223
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
1224
1224
|
enumerable: true,
|
|
1225
1225
|
},
|
|
1226
1226
|
fieldDefinitions:
|
|
1227
1227
|
{
|
|
1228
1228
|
value: new (FieldDefinitionArray_default()) ([
|
|
1229
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1230
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1231
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1232
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1233
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1234
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1235
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1236
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
1237
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
1229
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1230
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
|
|
1231
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
|
|
1232
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
|
|
1233
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "angle", new (Fields_default()).SFFloat (0.785398)),
|
|
1234
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
1235
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
1236
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
1237
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
1238
1238
|
]),
|
|
1239
1239
|
enumerable: true,
|
|
1240
1240
|
},
|
|
@@ -1352,9 +1352,9 @@ Object .defineProperties (ExplosionEmitter,
|
|
|
1352
1352
|
value: "ExplosionEmitter",
|
|
1353
1353
|
enumerable: true,
|
|
1354
1354
|
},
|
|
1355
|
-
|
|
1355
|
+
componentInfo:
|
|
1356
1356
|
{
|
|
1357
|
-
value: "ParticleSystems",
|
|
1357
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
1358
1358
|
enumerable: true,
|
|
1359
1359
|
},
|
|
1360
1360
|
containerField:
|
|
@@ -1364,19 +1364,19 @@ Object .defineProperties (ExplosionEmitter,
|
|
|
1364
1364
|
},
|
|
1365
1365
|
specificationRange:
|
|
1366
1366
|
{
|
|
1367
|
-
value: Object .freeze (
|
|
1367
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
1368
1368
|
enumerable: true,
|
|
1369
1369
|
},
|
|
1370
1370
|
fieldDefinitions:
|
|
1371
1371
|
{
|
|
1372
1372
|
value: new (FieldDefinitionArray_default()) ([
|
|
1373
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1374
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1375
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1376
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1377
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
1378
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
1379
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
1373
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1374
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
|
|
1375
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3f ()),
|
|
1376
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
1377
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
1378
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
1379
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
1380
1380
|
]),
|
|
1381
1381
|
enumerable: true,
|
|
1382
1382
|
},
|
|
@@ -1481,9 +1481,9 @@ Object .defineProperties (ForcePhysicsModel,
|
|
|
1481
1481
|
value: "ForcePhysicsModel",
|
|
1482
1482
|
enumerable: true,
|
|
1483
1483
|
},
|
|
1484
|
-
|
|
1484
|
+
componentInfo:
|
|
1485
1485
|
{
|
|
1486
|
-
value: "ParticleSystems",
|
|
1486
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
1487
1487
|
enumerable: true,
|
|
1488
1488
|
},
|
|
1489
1489
|
containerField:
|
|
@@ -1493,7 +1493,7 @@ Object .defineProperties (ForcePhysicsModel,
|
|
|
1493
1493
|
},
|
|
1494
1494
|
specificationRange:
|
|
1495
1495
|
{
|
|
1496
|
-
value: Object .freeze (
|
|
1496
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
1497
1497
|
enumerable: true,
|
|
1498
1498
|
},
|
|
1499
1499
|
fieldDefinitions:
|
|
@@ -1513,28 +1513,28 @@ const ForcePhysicsModel_default_ = ForcePhysicsModel;
|
|
|
1513
1513
|
Namespace_default().add ("ForcePhysicsModel", "x_ite/Components/ParticleSystems/ForcePhysicsModel", ForcePhysicsModel_default_);
|
|
1514
1514
|
/* harmony default export */ const ParticleSystems_ForcePhysicsModel = (ForcePhysicsModel_default_);
|
|
1515
1515
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DShapeNode\")"
|
|
1516
|
-
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1516
|
+
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Components/Shape/X3DShapeNode");
|
|
1517
1517
|
var X3DShapeNode_default = /*#__PURE__*/__webpack_require__.n(X3DShapeNode_namespaceObject);
|
|
1518
1518
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Rendering/GeometryContext\")"
|
|
1519
|
-
const GeometryContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1519
|
+
const GeometryContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Browser/Rendering/GeometryContext");
|
|
1520
1520
|
var GeometryContext_default = /*#__PURE__*/__webpack_require__.n(GeometryContext_namespaceObject);
|
|
1521
1521
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/VertexArray\")"
|
|
1522
|
-
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1522
|
+
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Rendering/VertexArray");
|
|
1523
1523
|
var VertexArray_default = /*#__PURE__*/__webpack_require__.n(VertexArray_namespaceObject);
|
|
1524
1524
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1525
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1525
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Rendering/TraverseType");
|
|
1526
1526
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
1527
1527
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Shape/AlphaMode\")"
|
|
1528
|
-
const AlphaMode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1528
|
+
const AlphaMode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Browser/Shape/AlphaMode");
|
|
1529
1529
|
var AlphaMode_default = /*#__PURE__*/__webpack_require__.n(AlphaMode_namespaceObject);
|
|
1530
1530
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
1531
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1531
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
1532
1532
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
1533
1533
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix3\")"
|
|
1534
|
-
const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1534
|
+
const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Numbers/Matrix3");
|
|
1535
1535
|
var Matrix3_default = /*#__PURE__*/__webpack_require__.n(Matrix3_namespaceObject);
|
|
1536
1536
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Plane3\")"
|
|
1537
|
-
const Plane3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
1537
|
+
const Plane3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Geometry/Plane3");
|
|
1538
1538
|
var Plane3_default = /*#__PURE__*/__webpack_require__.n(Plane3_namespaceObject);
|
|
1539
1539
|
;// CONCATENATED MODULE: ./src/standard/Math/Algorithms/QuickSort.js
|
|
1540
1540
|
/*******************************************************************************
|
|
@@ -2138,14 +2138,20 @@ function ParticleSystem (executionContext)
|
|
|
2138
2138
|
|
|
2139
2139
|
this .addType ((X3DConstants_default()).ParticleSystem);
|
|
2140
2140
|
|
|
2141
|
+
// Units
|
|
2142
|
+
|
|
2141
2143
|
this ._particleSize .setUnit ("length");
|
|
2142
2144
|
|
|
2145
|
+
// Legacy
|
|
2146
|
+
|
|
2143
2147
|
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
2144
2148
|
{
|
|
2145
2149
|
this .addAlias ("colorRamp", this ._color);
|
|
2146
2150
|
this .addAlias ("texCoordRamp", this ._texCoord);
|
|
2147
2151
|
}
|
|
2148
2152
|
|
|
2153
|
+
// Private properties
|
|
2154
|
+
|
|
2149
2155
|
const browser = this .getBrowser ();
|
|
2150
2156
|
|
|
2151
2157
|
this .maxParticles = 0;
|
|
@@ -2963,16 +2969,16 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
|
|
|
2963
2969
|
default:
|
|
2964
2970
|
{
|
|
2965
2971
|
const
|
|
2966
|
-
browser
|
|
2967
|
-
appearanceNode
|
|
2968
|
-
|
|
2969
|
-
|
|
2972
|
+
browser = this .getBrowser (),
|
|
2973
|
+
appearanceNode = this .getAppearance (),
|
|
2974
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
2975
|
+
shaderNode = appearanceNode .getShader (this .geometryContext, renderContext),
|
|
2976
|
+
primitiveMode = browser .getPrimitiveMode (this .primitiveMode);
|
|
2970
2977
|
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
const blendModeNode = appearanceNode .getBlendMode ();
|
|
2978
|
+
for (const node of renderModeNodes)
|
|
2979
|
+
node .enable (gl);
|
|
2974
2980
|
|
|
2975
|
-
|
|
2981
|
+
// Setup shader.
|
|
2976
2982
|
|
|
2977
2983
|
shaderNode .enable (gl);
|
|
2978
2984
|
shaderNode .setUniforms (gl, this .geometryContext, renderContext);
|
|
@@ -3017,7 +3023,9 @@ Object .assign (Object .setPrototypeOf (ParticleSystem .prototype, (X3DShapeNode
|
|
|
3017
3023
|
|
|
3018
3024
|
gl .drawArraysInstanced (primitiveMode, 0, this .vertexCount, this .numParticles);
|
|
3019
3025
|
|
|
3020
|
-
|
|
3026
|
+
for (const node of renderModeNodes)
|
|
3027
|
+
node .disable (gl);
|
|
3028
|
+
|
|
3021
3029
|
break;
|
|
3022
3030
|
}
|
|
3023
3031
|
}
|
|
@@ -3063,9 +3071,9 @@ Object .defineProperties (ParticleSystem,
|
|
|
3063
3071
|
value: "ParticleSystem",
|
|
3064
3072
|
enumerable: true,
|
|
3065
3073
|
},
|
|
3066
|
-
|
|
3074
|
+
componentInfo:
|
|
3067
3075
|
{
|
|
3068
|
-
value: "ParticleSystems",
|
|
3076
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
|
|
3069
3077
|
enumerable: true,
|
|
3070
3078
|
},
|
|
3071
3079
|
containerField:
|
|
@@ -3075,7 +3083,7 @@ Object .defineProperties (ParticleSystem,
|
|
|
3075
3083
|
},
|
|
3076
3084
|
specificationRange:
|
|
3077
3085
|
{
|
|
3078
|
-
value: Object .freeze (
|
|
3086
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
3079
3087
|
enumerable: true,
|
|
3080
3088
|
},
|
|
3081
3089
|
fieldDefinitions:
|
|
@@ -3114,7 +3122,7 @@ const ParticleSystem_default_ = ParticleSystem;
|
|
|
3114
3122
|
Namespace_default().add ("ParticleSystem", "x_ite/Components/ParticleSystems/ParticleSystem", ParticleSystem_default_);
|
|
3115
3123
|
/* harmony default export */ const ParticleSystems_ParticleSystem = (ParticleSystem_default_);
|
|
3116
3124
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/IndexedLineSet\")"
|
|
3117
|
-
const IndexedLineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
3125
|
+
const IndexedLineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Components/Rendering/IndexedLineSet");
|
|
3118
3126
|
var IndexedLineSet_default = /*#__PURE__*/__webpack_require__.n(IndexedLineSet_namespaceObject);
|
|
3119
3127
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PolylineEmitter.js
|
|
3120
3128
|
/*******************************************************************************
|
|
@@ -3247,8 +3255,9 @@ Object .assign (Object .setPrototypeOf (PolylineEmitter .prototype, ParticleSyst
|
|
|
3247
3255
|
|
|
3248
3256
|
this ._direction .addInterest ("set_direction__", this);
|
|
3249
3257
|
|
|
3250
|
-
this .
|
|
3251
|
-
this .
|
|
3258
|
+
this ._set_coordIndex .addFieldInterest (this ._coordIndex);
|
|
3259
|
+
this ._coordIndex .addFieldInterest (this .polylinesNode ._coordIndex);
|
|
3260
|
+
this ._coord .addFieldInterest (this .polylinesNode ._coord);
|
|
3252
3261
|
|
|
3253
3262
|
this .polylinesNode ._coordIndex = this ._coordIndex;
|
|
3254
3263
|
this .polylinesNode ._coord = this ._coord;
|
|
@@ -3328,9 +3337,9 @@ Object .defineProperties (PolylineEmitter,
|
|
|
3328
3337
|
value: "PolylineEmitter",
|
|
3329
3338
|
enumerable: true,
|
|
3330
3339
|
},
|
|
3331
|
-
|
|
3340
|
+
componentInfo:
|
|
3332
3341
|
{
|
|
3333
|
-
value: "ParticleSystems",
|
|
3342
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
3334
3343
|
enumerable: true,
|
|
3335
3344
|
},
|
|
3336
3345
|
containerField:
|
|
@@ -3340,21 +3349,22 @@ Object .defineProperties (PolylineEmitter,
|
|
|
3340
3349
|
},
|
|
3341
3350
|
specificationRange:
|
|
3342
3351
|
{
|
|
3343
|
-
value: Object .freeze (
|
|
3352
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
3344
3353
|
enumerable: true,
|
|
3345
3354
|
},
|
|
3346
3355
|
fieldDefinitions:
|
|
3347
3356
|
{
|
|
3348
3357
|
value: new (FieldDefinitionArray_default()) ([
|
|
3349
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
3350
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3351
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
3352
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
3353
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput,
|
|
3354
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3355
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3356
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "
|
|
3357
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3358
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3359
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_coordIndex", new (Fields_default()).MFInt32 ()),
|
|
3360
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
|
|
3361
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
|
|
3362
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
3363
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
3364
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
3365
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
3366
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "coordIndex", new (Fields_default()).MFInt32 (-1)),
|
|
3367
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
|
|
3358
3368
|
]),
|
|
3359
3369
|
enumerable: true,
|
|
3360
3370
|
},
|
|
@@ -3366,7 +3376,7 @@ const PolylineEmitter_default_ = PolylineEmitter;
|
|
|
3366
3376
|
Namespace_default().add ("PolylineEmitter", "x_ite/Components/ParticleSystems/PolylineEmitter", PolylineEmitter_default_);
|
|
3367
3377
|
/* harmony default export */ const ParticleSystems_PolylineEmitter = (PolylineEmitter_default_);
|
|
3368
3378
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
3369
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
3379
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Geometry/Triangle3");
|
|
3370
3380
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
3371
3381
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/SurfaceEmitter.js
|
|
3372
3382
|
/*******************************************************************************
|
|
@@ -3590,9 +3600,9 @@ Object .defineProperties (SurfaceEmitter,
|
|
|
3590
3600
|
value: "SurfaceEmitter",
|
|
3591
3601
|
enumerable: true,
|
|
3592
3602
|
},
|
|
3593
|
-
|
|
3603
|
+
componentInfo:
|
|
3594
3604
|
{
|
|
3595
|
-
value: "ParticleSystems",
|
|
3605
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
|
|
3596
3606
|
enumerable: true,
|
|
3597
3607
|
},
|
|
3598
3608
|
containerField:
|
|
@@ -3602,7 +3612,7 @@ Object .defineProperties (SurfaceEmitter,
|
|
|
3602
3612
|
},
|
|
3603
3613
|
specificationRange:
|
|
3604
3614
|
{
|
|
3605
|
-
value: Object .freeze (
|
|
3615
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
3606
3616
|
enumerable: true,
|
|
3607
3617
|
},
|
|
3608
3618
|
fieldDefinitions:
|
|
@@ -3612,8 +3622,8 @@ Object .defineProperties (SurfaceEmitter,
|
|
|
3612
3622
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "on", new (Fields_default()).SFBool (true)),
|
|
3613
3623
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
3614
3624
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
3615
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3616
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3625
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
3626
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
3617
3627
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "surface", new (Fields_default()).SFNode ()),
|
|
3618
3628
|
]),
|
|
3619
3629
|
enumerable: true,
|
|
@@ -3626,7 +3636,7 @@ const SurfaceEmitter_default_ = SurfaceEmitter;
|
|
|
3626
3636
|
Namespace_default().add ("SurfaceEmitter", "x_ite/Components/ParticleSystems/SurfaceEmitter", SurfaceEmitter_default_);
|
|
3627
3637
|
/* harmony default export */ const ParticleSystems_SurfaceEmitter = (SurfaceEmitter_default_);
|
|
3628
3638
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
3629
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
3639
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
3630
3640
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
3631
3641
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/VolumeEmitter.js
|
|
3632
3642
|
/*******************************************************************************
|
|
@@ -3883,9 +3893,9 @@ Object .defineProperties (VolumeEmitter,
|
|
|
3883
3893
|
value: "VolumeEmitter",
|
|
3884
3894
|
enumerable: true,
|
|
3885
3895
|
},
|
|
3886
|
-
|
|
3896
|
+
componentInfo:
|
|
3887
3897
|
{
|
|
3888
|
-
value: "ParticleSystems",
|
|
3898
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 2 }),
|
|
3889
3899
|
enumerable: true,
|
|
3890
3900
|
},
|
|
3891
3901
|
containerField:
|
|
@@ -3895,7 +3905,7 @@ Object .defineProperties (VolumeEmitter,
|
|
|
3895
3905
|
},
|
|
3896
3906
|
specificationRange:
|
|
3897
3907
|
{
|
|
3898
|
-
value: Object .freeze (
|
|
3908
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
3899
3909
|
enumerable: true,
|
|
3900
3910
|
},
|
|
3901
3911
|
fieldDefinitions:
|
|
@@ -3908,8 +3918,8 @@ Object .defineProperties (VolumeEmitter,
|
|
|
3908
3918
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (0, 1, 0)),
|
|
3909
3919
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat ()),
|
|
3910
3920
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "variation", new (Fields_default()).SFFloat (0.25)),
|
|
3911
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3912
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).
|
|
3921
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "mass", new (Fields_default()).SFFloat ()),
|
|
3922
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "surfaceArea", new (Fields_default()).SFFloat ()),
|
|
3913
3923
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "coordIndex", new (Fields_default()).MFInt32 (-1)),
|
|
3914
3924
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
|
|
3915
3925
|
]),
|
|
@@ -3923,7 +3933,7 @@ const VolumeEmitter_default_ = VolumeEmitter;
|
|
|
3923
3933
|
Namespace_default().add ("VolumeEmitter", "x_ite/Components/ParticleSystems/VolumeEmitter", VolumeEmitter_default_);
|
|
3924
3934
|
/* harmony default export */ const ParticleSystems_VolumeEmitter = (VolumeEmitter_default_);
|
|
3925
3935
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
3926
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.0
|
|
3936
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.1.0")] .require ("standard/Math/Algorithm");
|
|
3927
3937
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
3928
3938
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/WindPhysicsModel.js
|
|
3929
3939
|
/*******************************************************************************
|
|
@@ -3987,7 +3997,14 @@ function WindPhysicsModel (executionContext)
|
|
|
3987
3997
|
|
|
3988
3998
|
this .addType ((X3DConstants_default()).WindPhysicsModel);
|
|
3989
3999
|
|
|
4000
|
+
// Units
|
|
4001
|
+
|
|
3990
4002
|
this ._speed .setUnit ("speed");
|
|
4003
|
+
|
|
4004
|
+
// Legacy
|
|
4005
|
+
|
|
4006
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
4007
|
+
this ._direction = new (Vector3_default()) (0, 0, 0);
|
|
3991
4008
|
}
|
|
3992
4009
|
|
|
3993
4010
|
Object .assign (Object .setPrototypeOf (WindPhysicsModel .prototype, ParticleSystems_X3DParticlePhysicsModelNode .prototype),
|
|
@@ -4038,9 +4055,9 @@ Object .defineProperties (WindPhysicsModel,
|
|
|
4038
4055
|
value: "WindPhysicsModel",
|
|
4039
4056
|
enumerable: true,
|
|
4040
4057
|
},
|
|
4041
|
-
|
|
4058
|
+
componentInfo:
|
|
4042
4059
|
{
|
|
4043
|
-
value: "ParticleSystems",
|
|
4060
|
+
value: Object .freeze ({ name: "ParticleSystems", level: 1 }),
|
|
4044
4061
|
enumerable: true,
|
|
4045
4062
|
},
|
|
4046
4063
|
containerField:
|
|
@@ -4050,7 +4067,7 @@ Object .defineProperties (WindPhysicsModel,
|
|
|
4050
4067
|
},
|
|
4051
4068
|
specificationRange:
|
|
4052
4069
|
{
|
|
4053
|
-
value: Object .freeze (
|
|
4070
|
+
value: Object .freeze ({ from: "3.2", to: "Infinity" }),
|
|
4054
4071
|
enumerable: true,
|
|
4055
4072
|
},
|
|
4056
4073
|
fieldDefinitions:
|
|
@@ -4058,7 +4075,7 @@ Object .defineProperties (WindPhysicsModel,
|
|
|
4058
4075
|
value: new (FieldDefinitionArray_default()) ([
|
|
4059
4076
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
4060
4077
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
4061
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f ()),
|
|
4078
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "direction", new (Fields_default()).SFVec3f (1, 0, 0)),
|
|
4062
4079
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "speed", new (Fields_default()).SFFloat (0.1)),
|
|
4063
4080
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "gustiness", new (Fields_default()).SFFloat (0.1)),
|
|
4064
4081
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "turbulence", new (Fields_default()).SFFloat ()),
|