x_ite 10.1.0 → 10.2.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/README.md +18 -18
- package/dist/X3DUOM.xml +69 -11
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +16 -16
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +39 -27
- 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 +51 -35
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +34 -34
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- 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 +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +25 -25
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -26
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +40 -42
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +28 -28
- 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 +1254 -1053
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/fonts/PT_Sans/OFL.txt +94 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Bold.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-BoldItalic.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Regular.ttf +0 -0
- package/dist/assets/lib/mikktspace_bg.wasm +0 -0
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +60 -11
- package/dist/x_ite.js +851 -600
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +851 -600
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
- /package/dist/assets/fonts/{DroidSerif Apache License.txt → Droid/DroidSerif Apache License.txt} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Bold.ttf → Droid/DroidSerif-Bold.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-BoldItalic.ttf → Droid/DroidSerif-BoldItalic.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Italic.ttf → Droid/DroidSerif-Italic.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Regular.ttf → Droid/DroidSerif-Regular.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu LICENCE.txt → Ubuntu/Ubuntu LICENCE.txt} +0 -0
- /package/dist/assets/fonts/{Ubuntu-B.ttf → Ubuntu/Ubuntu-B.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-BI.ttf → Ubuntu/Ubuntu-BI.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-R.ttf → Ubuntu/Ubuntu-R.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-RI.ttf → Ubuntu/Ubuntu-RI.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-B.ttf → Ubuntu/UbuntuMono-B.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-BI.ttf → Ubuntu/UbuntuMono-BI.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-R.ttf → Ubuntu/UbuntuMono-R.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-RI.ttf → Ubuntu/UbuntuMono-RI.ttf} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.
|
|
1
|
+
/* X_ITE v10.2.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
// UNUSED EXPORTS: default
|
|
39
39
|
|
|
40
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
41
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components");
|
|
42
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
43
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
|
44
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
44
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DBaseNode");
|
|
45
45
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
46
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
47
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
47
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DConstants");
|
|
48
48
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
49
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
50
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
50
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Fields");
|
|
51
51
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
52
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
53
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
53
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Namespace");
|
|
54
54
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
55
55
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
|
|
56
56
|
/*******************************************************************************
|
|
@@ -203,10 +203,10 @@ const ArcClose2DOptions_default_ = ArcClose2DOptions;
|
|
|
203
203
|
Namespace_default().add ("ArcClose2DOptions", "x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
|
|
204
204
|
/* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
|
|
205
205
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
206
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
206
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
207
207
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
208
208
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
|
|
209
|
-
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
209
|
+
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Complex");
|
|
210
210
|
var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
|
|
211
211
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
|
|
212
212
|
/*******************************************************************************
|
|
@@ -275,12 +275,15 @@ Object .assign (Object .setPrototypeOf (Circle2DOptions .prototype, (X3DBaseNode
|
|
|
275
275
|
{
|
|
276
276
|
initialize ()
|
|
277
277
|
{
|
|
278
|
-
|
|
278
|
+
X3DBaseNode_default().prototype .initialize .call (this);
|
|
279
279
|
|
|
280
|
-
this .
|
|
280
|
+
this .addInterest ("eventsProcessed", this);
|
|
281
281
|
},
|
|
282
282
|
getVertices ()
|
|
283
283
|
{
|
|
284
|
+
if (!this .vertices .length)
|
|
285
|
+
this .build ();
|
|
286
|
+
|
|
284
287
|
return this .vertices;
|
|
285
288
|
},
|
|
286
289
|
build ()
|
|
@@ -290,8 +293,6 @@ Object .assign (Object .setPrototypeOf (Circle2DOptions .prototype, (X3DBaseNode
|
|
|
290
293
|
angle = Math .PI * 2 / dimension,
|
|
291
294
|
vertices = this .vertices;
|
|
292
295
|
|
|
293
|
-
vertices .length = 0;
|
|
294
|
-
|
|
295
296
|
for (let n = 0; n < dimension; ++ n)
|
|
296
297
|
{
|
|
297
298
|
const
|
|
@@ -304,6 +305,10 @@ Object .assign (Object .setPrototypeOf (Circle2DOptions .prototype, (X3DBaseNode
|
|
|
304
305
|
|
|
305
306
|
vertices .shrinkToFit ();
|
|
306
307
|
},
|
|
308
|
+
eventsProcessed ()
|
|
309
|
+
{
|
|
310
|
+
this .vertices .length = 0;
|
|
311
|
+
},
|
|
307
312
|
});
|
|
308
313
|
|
|
309
314
|
Object .defineProperties (Circle2DOptions,
|
|
@@ -390,24 +395,36 @@ Object .assign (Object .setPrototypeOf (Disk2DOptions .prototype, (X3DBaseNode_d
|
|
|
390
395
|
{
|
|
391
396
|
initialize ()
|
|
392
397
|
{
|
|
393
|
-
|
|
398
|
+
X3DBaseNode_default().prototype .initialize .call (this);
|
|
394
399
|
|
|
395
|
-
this .
|
|
400
|
+
this .addInterest ("eventsProcessed", this);
|
|
396
401
|
},
|
|
397
402
|
getCircleVertices ()
|
|
398
403
|
{
|
|
404
|
+
if (!this .circleVertices .length)
|
|
405
|
+
this .build ();
|
|
406
|
+
|
|
399
407
|
return this .circleVertices;
|
|
400
408
|
},
|
|
401
409
|
getDiskTexCoords ()
|
|
402
410
|
{
|
|
411
|
+
if (!this .diskTexCoords .length)
|
|
412
|
+
this .build ();
|
|
413
|
+
|
|
403
414
|
return this .diskTexCoords;
|
|
404
415
|
},
|
|
405
416
|
getDiskNormals ()
|
|
406
417
|
{
|
|
418
|
+
if (!this .diskNormals .length)
|
|
419
|
+
this .build ();
|
|
420
|
+
|
|
407
421
|
return this .diskNormals;
|
|
408
422
|
},
|
|
409
423
|
getDiskVertices ()
|
|
410
424
|
{
|
|
425
|
+
if (!this .diskVertices .length)
|
|
426
|
+
this .build ();
|
|
427
|
+
|
|
411
428
|
return this .diskVertices;
|
|
412
429
|
},
|
|
413
430
|
build: (() =>
|
|
@@ -429,11 +446,6 @@ Object .assign (Object .setPrototypeOf (Disk2DOptions .prototype, (X3DBaseNode_d
|
|
|
429
446
|
diskNormals = this .diskNormals,
|
|
430
447
|
diskVertices = this .diskVertices;
|
|
431
448
|
|
|
432
|
-
circleVertices .length = 0;
|
|
433
|
-
diskTexCoords .length = 0;
|
|
434
|
-
diskNormals .length = 0;
|
|
435
|
-
diskVertices .length = 0;
|
|
436
|
-
|
|
437
449
|
for (let n = 0; n < dimension; ++ n)
|
|
438
450
|
{
|
|
439
451
|
const
|
|
@@ -469,6 +481,13 @@ Object .assign (Object .setPrototypeOf (Disk2DOptions .prototype, (X3DBaseNode_d
|
|
|
469
481
|
diskVertices .shrinkToFit ();
|
|
470
482
|
};
|
|
471
483
|
})(),
|
|
484
|
+
eventsProcessed ()
|
|
485
|
+
{
|
|
486
|
+
this .circleVertices .length = 0;
|
|
487
|
+
this .diskTexCoords .length = 0;
|
|
488
|
+
this .diskNormals .length = 0;
|
|
489
|
+
this .diskVertices .length = 0;
|
|
490
|
+
},
|
|
472
491
|
});
|
|
473
492
|
|
|
474
493
|
Object .defineProperties (Disk2DOptions,
|
|
@@ -486,13 +505,13 @@ const Disk2DOptions_default_ = Disk2DOptions;
|
|
|
486
505
|
Namespace_default().add ("Disk2DOptions", "x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
|
|
487
506
|
/* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
|
|
488
507
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
489
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
508
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
490
509
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
491
510
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
|
|
492
|
-
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
511
|
+
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/Coordinate");
|
|
493
512
|
var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
|
|
494
513
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
|
|
495
|
-
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
514
|
+
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
|
496
515
|
var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
|
|
497
516
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
|
|
498
517
|
/*******************************************************************************
|
|
@@ -554,10 +573,6 @@ function Rectangle2DOptions (executionContext)
|
|
|
554
573
|
|
|
555
574
|
Object .assign (Object .setPrototypeOf (Rectangle2DOptions .prototype, (X3DBaseNode_default()).prototype),
|
|
556
575
|
{
|
|
557
|
-
initialize ()
|
|
558
|
-
{
|
|
559
|
-
X3DBaseNode_default().prototype .initialize .call (this);
|
|
560
|
-
},
|
|
561
576
|
getGeometry ()
|
|
562
577
|
{
|
|
563
578
|
if (this .geometry)
|
|
@@ -600,7 +615,7 @@ const Rectangle2DOptions_default_ = Rectangle2DOptions;
|
|
|
600
615
|
Namespace_default().add ("Rectangle2DOptions", "x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
|
|
601
616
|
/* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
|
|
602
617
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
603
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
618
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
604
619
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
605
620
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
|
|
606
621
|
/*******************************************************************************
|
|
@@ -742,16 +757,16 @@ const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
|
|
|
742
757
|
Namespace_default().add ("X3DGeometry2DContext", "x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
|
|
743
758
|
/* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
|
|
744
759
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
745
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
760
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
746
761
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
747
762
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
748
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
763
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
749
764
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
750
765
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
751
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
766
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
752
767
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
753
768
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
754
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
769
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Algorithm");
|
|
755
770
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
756
771
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
|
|
757
772
|
/*******************************************************************************
|
|
@@ -1294,7 +1309,7 @@ const Circle2D_default_ = Circle2D;
|
|
|
1294
1309
|
Namespace_default().add ("Circle2D", "x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
|
|
1295
1310
|
/* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
|
|
1296
1311
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
|
|
1297
|
-
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1312
|
+
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
|
1298
1313
|
var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
|
|
1299
1314
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
|
|
1300
1315
|
/*******************************************************************************
|
|
@@ -1512,7 +1527,7 @@ Object .assign (Object .setPrototypeOf (Disk2D .prototype, (X3DGeometryNode_defa
|
|
|
1512
1527
|
{
|
|
1513
1528
|
this .intersectsLine = base .prototype .intersectsLine;
|
|
1514
1529
|
this .intersectsBox = base .prototype .intersectsBox;
|
|
1515
|
-
this .
|
|
1530
|
+
this .generateTexCoords = base .prototype .generateTexCoords;
|
|
1516
1531
|
this .displaySimple = base .prototype .displaySimple;
|
|
1517
1532
|
this .display = base .prototype .display;
|
|
1518
1533
|
this .displaySimpleInstanced = base .prototype .displaySimpleInstanced;
|
|
@@ -1793,7 +1808,7 @@ const Polypoint2D_default_ = Polypoint2D;
|
|
|
1793
1808
|
Namespace_default().add ("Polypoint2D", "x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
|
|
1794
1809
|
/* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
|
|
1795
1810
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1796
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1811
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Vector2");
|
|
1797
1812
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1798
1813
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
|
|
1799
1814
|
/*******************************************************************************
|
|
@@ -1875,6 +1890,7 @@ Object .assign (Object .setPrototypeOf (Rectangle2D .prototype, (X3DGeometryNode
|
|
|
1875
1890
|
size = this ._size .getValue ();
|
|
1876
1891
|
|
|
1877
1892
|
this .setMultiTexCoords (geometry .getMultiTexCoords ());
|
|
1893
|
+
this .setTangents (geometry .getTangents ());
|
|
1878
1894
|
this .setNormals (geometry .getNormals ());
|
|
1879
1895
|
|
|
1880
1896
|
if (size .equals (defaultSize))
|
|
@@ -2029,7 +2045,7 @@ Object .assign (Object .setPrototypeOf (TriangleSet2D .prototype, (X3DGeometryNo
|
|
|
2029
2045
|
|
|
2030
2046
|
this .setSolid (this ._solid .getValue ());
|
|
2031
2047
|
},
|
|
2032
|
-
|
|
2048
|
+
generateTexCoords ()
|
|
2033
2049
|
{
|
|
2034
2050
|
const texCoordArray = this .getTexCoords ();
|
|
2035
2051
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.1.0 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var l=e.n(a);const c=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var u=e.n(c);function h(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(h.prototype,n().prototype),Object.defineProperties(h,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=h;u().add("Arc2DOptions","x_ite/Browser/Geometry2D/Arc2DOptions",p);const d=p;function g(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(g.prototype,n().prototype),Object.defineProperties(g,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=g;u().add("ArcClose2DOptions","x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Rendering/X3DGeometryNode");var f=e.n(b);const D=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Complex");var O=e.n(D);function w(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=f().createArray()}Object.assign(Object.setPrototypeOf(w.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getVertices(){return this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let s=0;s<e;++s){const e=O().Polar(1,t*s),n=O().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()}}),Object.defineProperties(w,{typeName:{value:"Circle2DOptions",enumerable:!0}});const _=w;u().add("Circle2DOptions","x_ite/Browser/Geometry2D/Circle2DOptions",_);const v=_;function C(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=f().createArray(),this.diskTexCoords=f().createArray(),this.diskNormals=f().createArray(),this.diskVertices=f().createArray()}Object.assign(Object.setPrototypeOf(C.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getCircleVertices(){return this.circleVertices},getDiskTexCoords(){return this.diskTexCoords},getDiskNormals(){return this.diskNormals},getDiskVertices(){return this.diskVertices},build:(()=>{const e=new(O())(.5,.5),t=new(O()),i=new(O()),s=new(O()),n=new(O());return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,u=this.diskVertices;a.length=0,l.length=0,c.length=0,u.length=0;for(let h=0;h<o;++h){const o=r*h,p=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}})()}),Object.defineProperties(C,{typeName:{value:"Disk2DOptions",enumerable:!0}});const x=C;u().add("Disk2DOptions","x_ite/Browser/Geometry2D/Disk2DOptions",x);const V=x,S=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var I=e.n(S);const P=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Rendering/Coordinate");var T=e.n(P);const M=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Texturing/TextureCoordinate");var j=e.n(M);function F(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(F.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(I())(this.getExecutionContext()),this.geometry._texCoord=new(j())(this.getExecutionContext()),this.geometry._coord=new(T())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return t._point=[1,1,0,1,0,0,1,0],i._point=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],e._coordIndex=[0,1,2,3,-1],t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(F,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const A=F;u().add("Rectangle2DOptions","x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const N=A,G=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Browser/Core/PrimitiveQuality");var B=e.n(G);function z(){}function R(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(z.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return R.call(this,"getArc2DOptions",d)},getArcClose2DOptions(){return R.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return R.call(this,"getCircle2DOptions",v)},getDisk2DOptions(){return R.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return R.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case B().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case B().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case B().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const X=z;u().add("X3DGeometry2DContext","x_ite/Browser/Geometry2D/X3DGeometry2DContext",X);const k=X,q=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Algorithm");var J=e.n(W);function K(e){H().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(K.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=O().Polar(i,r),l=t+s*((e+1)/n),c=O().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(K,{typeName:{value:"Arc2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const Y=K;u().add("Arc2D","x_ite/Components/Geometry2D/Arc2D",Y);const Z=Y;function $(e){f().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,f().prototype),{set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(O())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=n+r*(t/d);h.push(O().Polar(.5,i).add(e)),p.push(O().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<d;++i){const s=h[i],n=h[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<d;++e){const t=h[e],i=h[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;u().add("ArcClose2D","x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){H().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;u().add("Circle2D","x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){H().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,f().prototype),{initialize(){f().prototype.initialize.call(this)},set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(f())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),u=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),u.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(f())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.buildTexCoords=e.prototype.buildTexCoords,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleInstanced=e.prototype.displaySimpleInstanced,this.displayInstanced=e.prototype.displayInstanced},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(E())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;u().add("Disk2D","x_ite/Components/Geometry2D/Disk2D",le);const ce=le;function ue(e){H().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ue.prototype,H().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(ue,{typeName:{value:"Polyline2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ue;u().add("Polyline2D","x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function de(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(de.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(de,{typeName:{value:"Polypoint2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const ge=de;u().add("Polypoint2D","x_ite/Components/Geometry2D/Polypoint2D",ge);const me=ge,ye=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);function fe(e){f().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(fe.prototype,f().prototype),{build:(()=>{const e=new(be())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(fe,{typeName:{value:"Rectangle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const De=fe;u().add("Rectangle2D","x_ite/Components/Geometry2D/Rectangle2D",De);const Oe=De;function we(e){f().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,f().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(we,{typeName:{value:"TriangleSet2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"vertices",new(l().MFVec2f)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=we;u().add("TriangleSet2D","x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[Z,te,ne,ce,pe,me,Oe,ve],abstractNodes:[],browserContext:k});const Ce=void 0;u().add("Geometry2D","assets/components/Geometry2D",Ce)})();
|
|
1
|
+
/* X_ITE v10.2.0 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Fields");var l=e.n(a);const c=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Namespace");var h=e.n(c);function u(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(u.prototype,n().prototype),Object.defineProperties(u,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=u;h().add("Arc2DOptions","x_ite/Browser/Geometry2D/Arc2DOptions",p);const d=p;function g(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(g.prototype,n().prototype),Object.defineProperties(g,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=g;h().add("ArcClose2DOptions","x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,f=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Rendering/X3DGeometryNode");var b=e.n(f);const D=window[Symbol.for("X_ITE.X3D-10.2.0")].require("standard/Math/Numbers/Complex");var O=e.n(D);function w(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=b().createArray()}Object.assign(Object.setPrototypeOf(w.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this),this.addInterest("eventsProcessed",this)},getVertices(){return this.vertices.length||this.build(),this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;for(let s=0;s<e;++s){const e=O().Polar(1,t*s),n=O().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()},eventsProcessed(){this.vertices.length=0}}),Object.defineProperties(w,{typeName:{value:"Circle2DOptions",enumerable:!0}});const _=w;h().add("Circle2DOptions","x_ite/Browser/Geometry2D/Circle2DOptions",_);const v=_;function C(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=b().createArray(),this.diskTexCoords=b().createArray(),this.diskNormals=b().createArray(),this.diskVertices=b().createArray()}Object.assign(Object.setPrototypeOf(C.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this),this.addInterest("eventsProcessed",this)},getCircleVertices(){return this.circleVertices.length||this.build(),this.circleVertices},getDiskTexCoords(){return this.diskTexCoords.length||this.build(),this.diskTexCoords},getDiskNormals(){return this.diskNormals.length||this.build(),this.diskNormals},getDiskVertices(){return this.diskVertices.length||this.build(),this.diskVertices},build:(()=>{const e=new(O())(.5,.5),t=new(O()),i=new(O()),s=new(O()),n=new(O());return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,h=this.diskVertices;for(let u=0;u<o;++u){const o=r*u,p=r*(u+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),h.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),h.shrinkToFit()}})(),eventsProcessed(){this.circleVertices.length=0,this.diskTexCoords.length=0,this.diskNormals.length=0,this.diskVertices.length=0}}),Object.defineProperties(C,{typeName:{value:"Disk2DOptions",enumerable:!0}});const x=C;h().add("Disk2DOptions","x_ite/Browser/Geometry2D/Disk2DOptions",x);const V=x,P=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var T=e.n(P);const S=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Rendering/Coordinate");var I=e.n(S);const M=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Texturing/TextureCoordinate");var j=e.n(M);function F(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(F.prototype,n().prototype),{getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(T())(this.getExecutionContext()),this.geometry._texCoord=new(j())(this.getExecutionContext()),this.geometry._coord=new(I())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return t._point=[1,1,0,1,0,0,1,0],i._point=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],e._coordIndex=[0,1,2,3,-1],t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(F,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const A=F;h().add("Rectangle2DOptions","x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const N=A,G=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Browser/Core/PrimitiveQuality");var k=e.n(G);function B(){}function z(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(B.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return z.call(this,"getArc2DOptions",d)},getArcClose2DOptions(){return z.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return z.call(this,"getCircle2DOptions",v)},getDisk2DOptions(){return z.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return z.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case k().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case k().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case k().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const R=B;h().add("X3DGeometry2DContext","x_ite/Browser/Geometry2D/X3DGeometry2DContext",R);const X=R,q=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DFieldDefinition");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-10.2.0")].require("standard/Math/Algorithm");var J=e.n(W);function K(e){H().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(K.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=O().Polar(i,r),l=t+s*((e+1)/n),c=O().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(K,{typeName:{value:"Arc2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const Y=K;h().add("Arc2D","x_ite/Components/Geometry2D/Arc2D",Y);const Z=Y;function $(e){b().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,b().prototype),{set_live__(){b().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(O())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),h=this.getVertices(),u=[],p=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=n+r*(t/d);u.push(O().Polar(.5,i).add(e)),p.push(O().Polar(o,i))}if(i){const e=u[0],t=p[0];for(let i=1;i<d;++i){const s=u[i],n=u[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),h.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<d;++e){const t=u[e],i=u[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),h.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;h().add("ArcClose2D","x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){H().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;h().add("Circle2D","x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){H().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,b().prototype),{initialize(){b().prototype.initialize.call(this)},set_live__(){b().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(b())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),h=this.getNormals(),u=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),h.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),u.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(b())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.generateTexCoords=e.prototype.generateTexCoords,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleInstanced=e.prototype.displaySimpleInstanced,this.displayInstanced=e.prototype.displayInstanced},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(E())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;h().add("Disk2D","x_ite/Components/Geometry2D/Disk2D",le);const ce=le;function he(e){H().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(he.prototype,H().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(he,{typeName:{value:"Polyline2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const ue=he;h().add("Polyline2D","x_ite/Components/Geometry2D/Polyline2D",ue);const pe=ue;function de(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(de.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(de,{typeName:{value:"Polypoint2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const ge=de;h().add("Polypoint2D","x_ite/Components/Geometry2D/Polypoint2D",ge);const me=ge,ye=window[Symbol.for("X_ITE.X3D-10.2.0")].require("standard/Math/Numbers/Vector2");var fe=e.n(ye);function be(e){b().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(be.prototype,b().prototype),{build:(()=>{const e=new(fe())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setTangents(t.getTangents()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(be,{typeName:{value:"Rectangle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const De=be;h().add("Rectangle2D","x_ite/Components/Geometry2D/Rectangle2D",De);const Oe=De;function we(e){b().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,b().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},generateTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(we,{typeName:{value:"TriangleSet2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"vertices",new(l().MFVec2f)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=we;h().add("TriangleSet2D","x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[Z,te,ne,ce,pe,me,Oe,ve],abstractNodes:[],browserContext:X});const Ce=void 0;h().add("Geometry2D","assets/components/Geometry2D",Ce)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.
|
|
1
|
+
/* X_ITE v10.2.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -38,25 +38,25 @@
|
|
|
38
38
|
// UNUSED EXPORTS: default
|
|
39
39
|
|
|
40
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
41
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components");
|
|
42
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
43
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
44
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
44
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Fields");
|
|
45
45
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
46
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
47
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
47
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
48
48
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
49
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
50
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
50
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
51
51
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
52
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
|
|
53
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
53
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
54
54
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
|
|
55
55
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
56
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
56
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DConstants");
|
|
57
57
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
58
58
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
59
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
59
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Namespace");
|
|
60
60
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
61
61
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Spheroid3.js
|
|
62
62
|
/*******************************************************************************
|
|
@@ -436,7 +436,7 @@ const Geodetic_default_ = Geodetic;
|
|
|
436
436
|
Namespace_default().add ("Geodetic", "standard/Geospatial/Geodetic", Geodetic_default_);
|
|
437
437
|
/* harmony default export */ const Geospatial_Geodetic = (Geodetic_default_);
|
|
438
438
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
439
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
439
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Algorithm");
|
|
440
440
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
441
441
|
;// CONCATENATED MODULE: ./src/standard/Geospatial/UniversalTransverseMercator.js
|
|
442
442
|
/*******************************************************************************
|
|
@@ -938,13 +938,13 @@ const GeospatialObject_default_ = GeospatialObject;
|
|
|
938
938
|
Namespace_default().add ("GeospatialObject", "x_ite/Browser/Geospatial/GeospatialObject", GeospatialObject_default_);
|
|
939
939
|
/* harmony default export */ const Geospatial_GeospatialObject = (GeospatialObject_default_);
|
|
940
940
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
941
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
941
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DCast");
|
|
942
942
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
943
943
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
944
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
944
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Vector3");
|
|
945
945
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
946
946
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
947
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
947
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
948
948
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
949
949
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
|
|
950
950
|
/*******************************************************************************
|
|
@@ -1224,7 +1224,7 @@ const X3DGeospatialObject_default_ = X3DGeospatialObject;
|
|
|
1224
1224
|
Namespace_default().add ("X3DGeospatialObject", "x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
|
|
1225
1225
|
/* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
|
|
1226
1226
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
1227
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1227
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Geometry/Triangle3");
|
|
1228
1228
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
1229
1229
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
|
|
1230
1230
|
/*******************************************************************************
|
|
@@ -1471,10 +1471,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
|
|
|
1471
1471
|
Namespace_default().add ("GeoCoordinate", "x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
|
|
1472
1472
|
/* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
|
|
1473
1473
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1474
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1474
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1475
1475
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1476
1476
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1477
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1477
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Vector2");
|
|
1478
1478
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1479
1479
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
|
|
1480
1480
|
/*******************************************************************************
|
|
@@ -1895,8 +1895,8 @@ Object .defineProperties (GeoElevationGrid,
|
|
|
1895
1895
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "normalPerVertex", new (Fields_default()).SFBool (true)),
|
|
1896
1896
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "color", new (Fields_default()).SFNode ()),
|
|
1897
1897
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
|
|
1898
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1899
1898
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tangent", new (Fields_default()).SFNode ()), // experimental
|
|
1899
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1900
1900
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "height", new (Fields_default()).MFDouble (0, 0)),
|
|
1901
1901
|
]),
|
|
1902
1902
|
enumerable: true,
|
|
@@ -1909,22 +1909,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
|
|
|
1909
1909
|
Namespace_default().add ("GeoElevationGrid", "x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
|
|
1910
1910
|
/* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
|
|
1911
1911
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
1912
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1912
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
1913
1913
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
1914
1914
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
1915
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1915
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
1916
1916
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
1917
1917
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1918
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1918
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Rendering/TraverseType");
|
|
1919
1919
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
1920
1920
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
1921
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1921
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/Group");
|
|
1922
1922
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
1923
1923
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
|
|
1924
|
-
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1924
|
+
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Networking/Inline");
|
|
1925
1925
|
var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
|
|
1926
1926
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1927
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
1927
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Geometry/Box3");
|
|
1928
1928
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1929
1929
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
|
|
1930
1930
|
/*******************************************************************************
|
|
@@ -2398,7 +2398,7 @@ const GeoLOD_default_ = GeoLOD;
|
|
|
2398
2398
|
Namespace_default().add ("GeoLOD", "x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
|
|
2399
2399
|
/* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
|
|
2400
2400
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
|
|
2401
|
-
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2401
|
+
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
|
|
2402
2402
|
var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
|
|
2403
2403
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
|
|
2404
2404
|
/*******************************************************************************
|
|
@@ -2536,10 +2536,10 @@ const GeoLocation_default_ = GeoLocation;
|
|
|
2536
2536
|
Namespace_default().add ("GeoLocation", "x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
|
|
2537
2537
|
/* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
|
|
2538
2538
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
2539
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2539
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
2540
2540
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
2541
2541
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
2542
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2542
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
2543
2543
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
2544
2544
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
|
|
2545
2545
|
/*******************************************************************************
|
|
@@ -2665,7 +2665,7 @@ const GeoMetadata_default_ = GeoMetadata;
|
|
|
2665
2665
|
Namespace_default().add ("GeoMetadata", "x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
|
|
2666
2666
|
/* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
|
|
2667
2667
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
2668
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2668
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DNode");
|
|
2669
2669
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
2670
2670
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
|
|
2671
2671
|
/*******************************************************************************
|
|
@@ -2791,7 +2791,7 @@ const GeoOrigin_default_ = GeoOrigin;
|
|
|
2791
2791
|
Namespace_default().add ("GeoOrigin", "x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
|
|
2792
2792
|
/* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
|
|
2793
2793
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
|
|
2794
|
-
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2794
|
+
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
|
|
2795
2795
|
var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
|
|
2796
2796
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
|
|
2797
2797
|
/*******************************************************************************
|
|
@@ -2955,10 +2955,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
|
|
|
2955
2955
|
Namespace_default().add ("GeoPositionInterpolator", "x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
|
|
2956
2956
|
/* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
|
|
2957
2957
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
|
|
2958
|
-
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2958
|
+
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
|
|
2959
2959
|
var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
|
|
2960
2960
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
|
|
2961
|
-
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
2961
|
+
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
|
|
2962
2962
|
var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
|
|
2963
2963
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
|
|
2964
2964
|
/*******************************************************************************
|
|
@@ -3133,7 +3133,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
|
|
|
3133
3133
|
Namespace_default().add ("GeoProximitySensor", "x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
|
|
3134
3134
|
/* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
|
|
3135
3135
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
|
|
3136
|
-
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
3136
|
+
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
|
|
3137
3137
|
var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
|
|
3138
3138
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
|
|
3139
3139
|
/*******************************************************************************
|
|
@@ -3426,16 +3426,16 @@ const GeoTransform_default_ = GeoTransform;
|
|
|
3426
3426
|
Namespace_default().add ("GeoTransform", "x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
|
|
3427
3427
|
/* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
|
|
3428
3428
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
|
|
3429
|
-
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
3429
|
+
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
|
|
3430
3430
|
var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
|
|
3431
3431
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
3432
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
3432
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
3433
3433
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
3434
3434
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
|
|
3435
|
-
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
3435
|
+
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Navigation/NavigationInfo");
|
|
3436
3436
|
var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
|
|
3437
3437
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3438
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
3438
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
3439
3439
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3440
3440
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
|
|
3441
3441
|
/*******************************************************************************
|