x_ite 8.6.10 → 8.6.12
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/Makefile +12 -12
- package/build/bin/version.pl +6 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +21 -45
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +40 -58
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +48 -42
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +28 -34
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +140 -29
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +132 -22
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +33 -77
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +28 -28
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +645 -786
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
- package/docs/_posts/components/Lighting/DirectionalLight.md +4 -4
- package/docs/_posts/components/Lighting/EnvironmentLight.md +4 -4
- package/docs/_posts/components/Lighting/PointLight.md +4 -4
- package/docs/_posts/components/Lighting/SpotLight.md +4 -4
- package/docs/_posts/components/Rendering/IndexedLineSet.md +1 -1
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +3 -3
- package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
- package/docs/_posts/getting-started.md +8 -3
- package/docs/_posts/reference/browser-services.md +1 -1
- package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +16 -99
- package/docs/_posts/what's-new.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +4 -2
- package/package.json +3 -3
- package/src/assets/shaders/webgl1/include/Fragment.glsl.js +11 -4
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +11 -4
- package/src/lib/jquery.js +6 -1
- package/src/standard/Math/Algorithm.js +8 -1
- package/src/standard/Math/Geometry/Box3.js +2 -5
- package/src/standard/Utility/BitSet.js +33 -0
- package/src/x_ite/Base/X3DBaseNode.js +8 -0
- package/src/x_ite/Base/X3DObject.js +14 -1
- package/src/x_ite/Browser/Core/BrowserOptions.js +27 -29
- package/src/x_ite/Browser/Core/BrowserTimings.js +4 -12
- package/src/x_ite/Browser/Core/Context.js +1 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +5 -0
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +20 -15
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +3 -3
- package/src/x_ite/Browser/Rendering/GeometryContext.js +2 -0
- package/src/x_ite/Browser/Shape/AlphaMode.js +1 -1
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +4 -4
- package/src/x_ite/Browser/X3DBrowserContext.js +21 -12
- package/src/x_ite/Components/CADGeometry/CADFace.js +8 -32
- package/src/x_ite/Components/Core/X3DNode.js +1 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +115 -139
- package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +1 -1
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +10 -31
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +3 -6
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +7 -25
- package/src/x_ite/Components/Grouping/StaticGroup.js +19 -0
- package/src/x_ite/Components/Grouping/Switch.js +7 -25
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +1 -1
- package/src/x_ite/Components/Layout/Layout.js +12 -10
- package/src/x_ite/Components/Layout/LayoutGroup.js +9 -5
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +4 -10
- package/src/x_ite/Components/Navigation/LOD.js +7 -25
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -11
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +4 -3
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +11 -33
- package/src/x_ite/Components/Rendering/LineSet.js +12 -37
- package/src/x_ite/Components/Rendering/PointSet.js +11 -24
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +14 -39
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +15 -8
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +7 -29
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +8 -30
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -10
- package/src/x_ite/Components/Shape/Appearance.js +9 -5
- package/src/x_ite/Components/Shape/Material.js +1 -2
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -2
- package/src/x_ite/Components/Shape/Shape.js +0 -5
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Shape/UnlitMaterial.js +1 -1
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +24 -9
- package/src/x_ite/Components/Shape/X3DShapeNode.js +21 -18
- package/src/x_ite/Components/Texturing/ImageTexture.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +2 -0
- package/src/x_ite/Fields/SFImage.js +9 -9
- package/src/x_ite/Fields/SFInt32.js +2 -2
- package/src/x_ite/Fields/SFNode.js +8 -0
- package/src/x_ite/Rendering/X3DRenderObject.js +0 -1
- package/src/x_ite/{X3DCanvas.js → X3DCanvasElement.js} +23 -4
- package/src/x_ite.js +4 -4
- package/x_ite.min.html +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.12 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,22 +39,22 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
54
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
54
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DNode");
|
|
55
55
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
57
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
57
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Namespace");
|
|
58
58
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/GeometryTypes.js
|
|
60
60
|
/*******************************************************************************
|
|
@@ -121,7 +121,7 @@ const __default__ = GeometryTypes;
|
|
|
121
121
|
Namespace_default().set ("x_ite/Browser/ParticleSystems/GeometryTypes", __default__);
|
|
122
122
|
/* harmony default export */ const ParticleSystems_GeometryTypes = (__default__);
|
|
123
123
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
124
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
124
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DConstants");
|
|
125
125
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
126
126
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/ParticleSystems/Line3.glsl.js
|
|
127
127
|
const Line3_glsl_default_ = /* glsl*/ `
|
|
@@ -1587,7 +1587,7 @@ const X3DParticleEmitterNode_default_ = X3DParticleEmitterNode;
|
|
|
1587
1587
|
Namespace_default().set ("x_ite/Components/ParticleSystems/X3DParticleEmitterNode", X3DParticleEmitterNode_default_);
|
|
1588
1588
|
/* harmony default export */ const ParticleSystems_X3DParticleEmitterNode = (X3DParticleEmitterNode_default_);
|
|
1589
1589
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
1590
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1590
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector3");
|
|
1591
1591
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
1592
1592
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PointEmitter.js
|
|
1593
1593
|
/*******************************************************************************
|
|
@@ -1880,7 +1880,7 @@ const X3DParticlePhysicsModelNode_default_ = X3DParticlePhysicsModelNode;
|
|
|
1880
1880
|
Namespace_default().set ("x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode", X3DParticlePhysicsModelNode_default_);
|
|
1881
1881
|
/* harmony default export */ const ParticleSystems_X3DParticlePhysicsModelNode = (X3DParticlePhysicsModelNode_default_);
|
|
1882
1882
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
1883
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1883
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DCast");
|
|
1884
1884
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
1885
1885
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js
|
|
1886
1886
|
/*******************************************************************************
|
|
@@ -2394,32 +2394,142 @@ const ForcePhysicsModel_default_ = ForcePhysicsModel;
|
|
|
2394
2394
|
Namespace_default().set ("x_ite/Components/ParticleSystems/ForcePhysicsModel", ForcePhysicsModel_default_);
|
|
2395
2395
|
/* harmony default export */ const ParticleSystems_ForcePhysicsModel = (ForcePhysicsModel_default_);
|
|
2396
2396
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DShapeNode\")"
|
|
2397
|
-
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2397
|
+
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Shape/X3DShapeNode");
|
|
2398
2398
|
var X3DShapeNode_default = /*#__PURE__*/__webpack_require__.n(X3DShapeNode_namespaceObject);
|
|
2399
2399
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Rendering/GeometryContext\")"
|
|
2400
|
-
const GeometryContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2400
|
+
const GeometryContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Browser/Rendering/GeometryContext");
|
|
2401
2401
|
var GeometryContext_default = /*#__PURE__*/__webpack_require__.n(GeometryContext_namespaceObject);
|
|
2402
2402
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/VertexArray\")"
|
|
2403
|
-
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2403
|
+
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/VertexArray");
|
|
2404
2404
|
var VertexArray_default = /*#__PURE__*/__webpack_require__.n(VertexArray_namespaceObject);
|
|
2405
2405
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
2406
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2406
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TraverseType");
|
|
2407
2407
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
2408
2408
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Shape/AlphaMode\")"
|
|
2409
|
-
const AlphaMode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2409
|
+
const AlphaMode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Browser/Shape/AlphaMode");
|
|
2410
2410
|
var AlphaMode_default = /*#__PURE__*/__webpack_require__.n(AlphaMode_namespaceObject);
|
|
2411
2411
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
2412
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2412
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Matrix4");
|
|
2413
2413
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
2414
2414
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix3\")"
|
|
2415
|
-
const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2415
|
+
const Matrix3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Matrix3");
|
|
2416
2416
|
var Matrix3_default = /*#__PURE__*/__webpack_require__.n(Matrix3_namespaceObject);
|
|
2417
2417
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Plane3\")"
|
|
2418
|
-
const Plane3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2418
|
+
const Plane3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/Plane3");
|
|
2419
2419
|
var Plane3_default = /*#__PURE__*/__webpack_require__.n(Plane3_namespaceObject);
|
|
2420
|
-
;// CONCATENATED MODULE:
|
|
2421
|
-
|
|
2422
|
-
|
|
2420
|
+
;// CONCATENATED MODULE: ./src/standard/Math/Algorithms/QuickSort.js
|
|
2421
|
+
/*******************************************************************************
|
|
2422
|
+
*
|
|
2423
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
2424
|
+
*
|
|
2425
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
2426
|
+
*
|
|
2427
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
2428
|
+
*
|
|
2429
|
+
* The copyright notice above does not evidence any actual of intended
|
|
2430
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
2431
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
2432
|
+
* create3000.
|
|
2433
|
+
*
|
|
2434
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
2435
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
2436
|
+
* permission of create3000.
|
|
2437
|
+
*
|
|
2438
|
+
* NON-MILITARY USE ONLY
|
|
2439
|
+
*
|
|
2440
|
+
* All create3000 software are effectively free software with a non-military use
|
|
2441
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
2442
|
+
* source in any way you please with the exception anything that uses it must be
|
|
2443
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
2444
|
+
*
|
|
2445
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
2446
|
+
*
|
|
2447
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
2448
|
+
*
|
|
2449
|
+
* This file is part of the X_ITE Project.
|
|
2450
|
+
*
|
|
2451
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
2452
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
2453
|
+
* Free Software Foundation.
|
|
2454
|
+
*
|
|
2455
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
2456
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
2457
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
2458
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
2459
|
+
*
|
|
2460
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
2461
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
2462
|
+
* copy of the GPLv3 License.
|
|
2463
|
+
*
|
|
2464
|
+
* For Silvio, Joy and Adi.
|
|
2465
|
+
*
|
|
2466
|
+
******************************************************************************/
|
|
2467
|
+
|
|
2468
|
+
function QuickSort (array, compare)
|
|
2469
|
+
{
|
|
2470
|
+
this .array = array;
|
|
2471
|
+
|
|
2472
|
+
if (compare)
|
|
2473
|
+
this .compare = compare;
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
QuickSort .prototype =
|
|
2477
|
+
{
|
|
2478
|
+
compare: function (lhs, rhs)
|
|
2479
|
+
{
|
|
2480
|
+
return lhs < rhs;
|
|
2481
|
+
},
|
|
2482
|
+
sort: function (first, last)
|
|
2483
|
+
{
|
|
2484
|
+
if (last - first > 1)
|
|
2485
|
+
this .quicksort (first, last - 1);
|
|
2486
|
+
},
|
|
2487
|
+
quicksort: function (lo, hi)
|
|
2488
|
+
{
|
|
2489
|
+
let
|
|
2490
|
+
i = lo,
|
|
2491
|
+
j = hi;
|
|
2492
|
+
|
|
2493
|
+
const
|
|
2494
|
+
array = this .array,
|
|
2495
|
+
compare = this .compare;
|
|
2496
|
+
|
|
2497
|
+
// Vergleichselement x
|
|
2498
|
+
const x = array [(lo + hi) >>> 1];
|
|
2499
|
+
|
|
2500
|
+
for (;;)
|
|
2501
|
+
{
|
|
2502
|
+
while (compare (array [i], x)) ++ i;
|
|
2503
|
+
while (compare (x, array [j])) -- j;
|
|
2504
|
+
|
|
2505
|
+
if (i < j)
|
|
2506
|
+
{
|
|
2507
|
+
// Exchange
|
|
2508
|
+
|
|
2509
|
+
const t = array [i];
|
|
2510
|
+
array [i] = array [j];
|
|
2511
|
+
array [j] = t;
|
|
2512
|
+
|
|
2513
|
+
i ++; j --;
|
|
2514
|
+
}
|
|
2515
|
+
else
|
|
2516
|
+
{
|
|
2517
|
+
if (i === j) ++ i, -- j;
|
|
2518
|
+
break;
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
// Rekursion
|
|
2523
|
+
if (lo < j) this .quicksort (lo, j);
|
|
2524
|
+
if (i < hi) this .quicksort (i, hi);
|
|
2525
|
+
},
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
const QuickSort_default_ = QuickSort;
|
|
2529
|
+
;
|
|
2530
|
+
|
|
2531
|
+
Namespace_default().set ("standard/Math/Algorithms/QuickSort", QuickSort_default_);
|
|
2532
|
+
/* harmony default export */ const Algorithms_QuickSort = (QuickSort_default_);
|
|
2423
2533
|
;// CONCATENATED MODULE: ./src/standard/Math/Utility/BVH.js
|
|
2424
2534
|
/*******************************************************************************
|
|
2425
2535
|
*
|
|
@@ -2764,7 +2874,7 @@ function BVH (vertices, normals)
|
|
|
2764
2874
|
for (let i = 0; i < numTriangles; ++ i)
|
|
2765
2875
|
triangles .push (i);
|
|
2766
2876
|
|
|
2767
|
-
this .sorter = new
|
|
2877
|
+
this .sorter = new Algorithms_QuickSort (triangles, SortComparator (vertices, 0));
|
|
2768
2878
|
this .root = new Node (this, triangles, 0, numTriangles);
|
|
2769
2879
|
break;
|
|
2770
2880
|
}
|
|
@@ -3082,9 +3192,10 @@ ParticleSystem .prototype = Object .assign (Object .create ((X3DShapeNode_defaul
|
|
|
3082
3192
|
}
|
|
3083
3193
|
default:
|
|
3084
3194
|
{
|
|
3085
|
-
this .setTransparent (this .getAppearance () .isTransparent () ||
|
|
3086
|
-
|
|
3087
|
-
|
|
3195
|
+
this .setTransparent (!!(this .getAppearance () .isTransparent () ||
|
|
3196
|
+
this .colorRampNode?.isTransparent () ||
|
|
3197
|
+
(this .geometryType === ParticleSystems_GeometryTypes.GEOMETRY &&
|
|
3198
|
+
this .geometryNode?.isTransparent ())));
|
|
3088
3199
|
break;
|
|
3089
3200
|
}
|
|
3090
3201
|
}
|
|
@@ -3880,7 +3991,7 @@ const ParticleSystem_default_ = ParticleSystem;
|
|
|
3880
3991
|
Namespace_default().set ("x_ite/Components/ParticleSystems/ParticleSystem", ParticleSystem_default_);
|
|
3881
3992
|
/* harmony default export */ const ParticleSystems_ParticleSystem = (ParticleSystem_default_);
|
|
3882
3993
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/IndexedLineSet\")"
|
|
3883
|
-
const IndexedLineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3994
|
+
const IndexedLineSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Rendering/IndexedLineSet");
|
|
3884
3995
|
var IndexedLineSet_default = /*#__PURE__*/__webpack_require__.n(IndexedLineSet_namespaceObject);
|
|
3885
3996
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/PolylineEmitter.js
|
|
3886
3997
|
/*******************************************************************************
|
|
@@ -4117,7 +4228,7 @@ const PolylineEmitter_default_ = PolylineEmitter;
|
|
|
4117
4228
|
Namespace_default().set ("x_ite/Components/ParticleSystems/PolylineEmitter", PolylineEmitter_default_);
|
|
4118
4229
|
/* harmony default export */ const ParticleSystems_PolylineEmitter = (PolylineEmitter_default_);
|
|
4119
4230
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
4120
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4231
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/Triangle3");
|
|
4121
4232
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
4122
4233
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/SurfaceEmitter.js
|
|
4123
4234
|
/*******************************************************************************
|
|
@@ -4362,7 +4473,7 @@ const SurfaceEmitter_default_ = SurfaceEmitter;
|
|
|
4362
4473
|
Namespace_default().set ("x_ite/Components/ParticleSystems/SurfaceEmitter", SurfaceEmitter_default_);
|
|
4363
4474
|
/* harmony default export */ const ParticleSystems_SurfaceEmitter = (SurfaceEmitter_default_);
|
|
4364
4475
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
4365
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4476
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
4366
4477
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
4367
4478
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/VolumeEmitter.js
|
|
4368
4479
|
/*******************************************************************************
|
|
@@ -4642,7 +4753,7 @@ const VolumeEmitter_default_ = VolumeEmitter;
|
|
|
4642
4753
|
Namespace_default().set ("x_ite/Components/ParticleSystems/VolumeEmitter", VolumeEmitter_default_);
|
|
4643
4754
|
/* harmony default export */ const ParticleSystems_VolumeEmitter = (VolumeEmitter_default_);
|
|
4644
4755
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
4645
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
4756
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Algorithm");
|
|
4646
4757
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
4647
4758
|
;// CONCATENATED MODULE: ./src/x_ite/Components/ParticleSystems/WindPhysicsModel.js
|
|
4648
4759
|
/*******************************************************************************
|