feat: Implement 3D Joyce Applets via JSXGraph
This is a stub/very preliminary implementation of calling JSXGraph for 3D Joyce applets. The only element/construction method implemented so far is a free point. NOTE: This implementation is so far extremely buggy. Loading a page with a 3D applet such as http://aleph0.clarku.edu/~djoyce/java/elements/bookXI/defXI9.html appears to enter a loop in which the div containing the JSXGraph Board progressively grows larger and larger, while using a tremendous amount of cpu.
This commit is contained in:
parent
e742ef3460
commit
4e2375b709
45 changed files with 23637 additions and 20477 deletions
|
@ -1,4 +1,4 @@
|
|||
/* X_ITE v9.2.4 */(() => { // webpackBootstrap
|
||||
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ // The require scope
|
||||
/******/ var __webpack_require__ = {};
|
||||
|
@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|||
// UNUSED EXPORTS: default
|
||||
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components");
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
||||
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields");
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
||||
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Core/X3DChildNode");
|
||||
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
||||
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DConstants");
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
||||
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Namespace");
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
||||
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanFilter.js
|
||||
/*******************************************************************************
|
||||
|
@ -183,7 +183,7 @@ const __default__ = BooleanFilter;
|
|||
Namespace_default().add ("BooleanFilter", "x_ite/Components/EventUtilities/BooleanFilter", __default__);
|
||||
/* harmony default export */ const EventUtilities_BooleanFilter = (__default__);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
||||
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Algorithm");
|
||||
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Algorithm");
|
||||
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DSequencerNode.js
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* X_ITE v9.2.4 */(() => { // webpackBootstrap
|
||||
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ // The require scope
|
||||
/******/ var __webpack_require__ = {};
|
||||
|
@ -39,19 +39,19 @@ var __webpack_exports__ = {};
|
|||
// UNUSED EXPORTS: default
|
||||
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components");
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
||||
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
||||
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DBaseNode");
|
||||
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DBaseNode");
|
||||
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DConstants");
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
||||
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields");
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Namespace");
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
||||
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
|
||||
/*******************************************************************************
|
||||
|
@ -204,10 +204,10 @@ const ArcClose2DOptions_default_ = ArcClose2DOptions;
|
|||
Namespace_default().add ("ArcClose2DOptions", "x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
|
||||
/* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
||||
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
||||
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
||||
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
|
||||
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Complex");
|
||||
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Numbers/Complex");
|
||||
var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
|
||||
/*******************************************************************************
|
||||
|
@ -415,10 +415,10 @@ Object .assign (Object .setPrototypeOf (Disk2DOptions .prototype, (X3DBaseNode_d
|
|||
{
|
||||
const
|
||||
half = new (Complex_default()) (0.5, 0.5),
|
||||
texCoord1 = new (Complex_default()) (0, 0),
|
||||
texCoord2 = new (Complex_default()) (0, 0),
|
||||
point1 = new (Complex_default()) (0, 0),
|
||||
point2 = new (Complex_default()) (0, 0);
|
||||
texCoord1 = new (Complex_default()) (),
|
||||
texCoord2 = new (Complex_default()) (),
|
||||
point1 = new (Complex_default()) (),
|
||||
point2 = new (Complex_default()) ();
|
||||
|
||||
return function ()
|
||||
{
|
||||
|
@ -487,13 +487,13 @@ const Disk2DOptions_default_ = Disk2DOptions;
|
|||
Namespace_default().add ("Disk2DOptions", "x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
|
||||
/* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
||||
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
||||
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
||||
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
|
||||
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Rendering/Coordinate");
|
||||
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Rendering/Coordinate");
|
||||
var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
|
||||
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
||||
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
||||
var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
|
||||
/*******************************************************************************
|
||||
|
@ -548,7 +548,6 @@ var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordi
|
|||
|
||||
|
||||
|
||||
|
||||
function Rectangle2DOptions (executionContext)
|
||||
{
|
||||
X3DBaseNode_default().call (this, executionContext);
|
||||
|
@ -602,7 +601,7 @@ const Rectangle2DOptions_default_ = Rectangle2DOptions;
|
|||
Namespace_default().add ("Rectangle2DOptions", "x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
|
||||
/* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
||||
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
||||
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
||||
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
|
||||
/*******************************************************************************
|
||||
|
@ -744,16 +743,16 @@ const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
|
|||
Namespace_default().add ("X3DGeometry2DContext", "x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
|
||||
/* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
||||
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
||||
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
||||
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
||||
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Algorithm");
|
||||
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Algorithm");
|
||||
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
|
||||
/*******************************************************************************
|
||||
|
@ -828,7 +827,9 @@ Object .assign (Object .setPrototypeOf (Arc2D .prototype, (X3DLineGeometryNode_d
|
|||
{
|
||||
X3DLineGeometryNode_default().prototype .set_live__ .call (this);
|
||||
|
||||
if (this .getLive () .getValue ())
|
||||
const alwaysUpdate = this .isLive () && this .getBrowser () .getBrowserOption ("AlwaysUpdateGeometries");
|
||||
|
||||
if (this .getLive () .getValue () || alwaysUpdate)
|
||||
this .getBrowser () .getArc2DOptions () .addInterest ("requestRebuild", this);
|
||||
else
|
||||
this .getBrowser () .getArc2DOptions () .removeInterest ("requestRebuild", this);
|
||||
|
@ -997,7 +998,9 @@ Object .assign (Object .setPrototypeOf (ArcClose2D .prototype, (X3DGeometryNode_
|
|||
{
|
||||
X3DGeometryNode_default().prototype .set_live__ .call (this);
|
||||
|
||||
if (this .getLive () .getValue ())
|
||||
const alwaysUpdate = this .isLive () && this .getBrowser () .getBrowserOption ("AlwaysUpdateGeometries");
|
||||
|
||||
if (this .getLive () .getValue () || alwaysUpdate)
|
||||
this .getBrowser () .getArcClose2DOptions () .addInterest ("requestRebuild", this);
|
||||
else
|
||||
this .getBrowser () .getArcClose2DOptions () .removeInterest ("requestRebuild", this);
|
||||
|
@ -1223,7 +1226,9 @@ Object .assign (Object .setPrototypeOf (Circle2D .prototype, (X3DLineGeometryNod
|
|||
{
|
||||
X3DLineGeometryNode_default().prototype .set_live__ .call (this);
|
||||
|
||||
if (this .getLive () .getValue ())
|
||||
const alwaysUpdate = this .isLive () && this .getBrowser () .getBrowserOption ("AlwaysUpdateGeometries");
|
||||
|
||||
if (this .getLive () .getValue () || alwaysUpdate)
|
||||
this .getBrowser () .getCircle2DOptions () .addInterest ("requestRebuild", this);
|
||||
else
|
||||
this .getBrowser () .getCircle2DOptions () .removeInterest ("requestRebuild", this);
|
||||
|
@ -1290,7 +1295,7 @@ const Circle2D_default_ = Circle2D;
|
|||
Namespace_default().add ("Circle2D", "x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
|
||||
/* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
|
||||
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
||||
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
||||
var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
|
||||
/*******************************************************************************
|
||||
|
@ -1368,7 +1373,9 @@ Object .assign (Object .setPrototypeOf (Disk2D .prototype, (X3DGeometryNode_defa
|
|||
{
|
||||
X3DGeometryNode_default().prototype .set_live__ .call (this);
|
||||
|
||||
if (this .getLive () .getValue ())
|
||||
const alwaysUpdate = this .isLive () && this .getBrowser () .getBrowserOption ("AlwaysUpdateGeometries");
|
||||
|
||||
if (this .getLive () .getValue () || alwaysUpdate)
|
||||
this .getBrowser () .getDisk2DOptions () .addInterest ("requestRebuild", this);
|
||||
else
|
||||
this .getBrowser () .getDisk2DOptions () .removeInterest ("requestRebuild", this);
|
||||
|
@ -1509,8 +1516,8 @@ Object .assign (Object .setPrototypeOf (Disk2D .prototype, (X3DGeometryNode_defa
|
|||
this .buildTexCoords = base .prototype .buildTexCoords;
|
||||
this .displaySimple = base .prototype .displaySimple;
|
||||
this .display = base .prototype .display;
|
||||
this .displaySimpleParticles = base .prototype .displaySimpleParticles;
|
||||
this .displayParticles = base .prototype .displayParticles;
|
||||
this .displaySimpleInstanced = base .prototype .displaySimpleInstanced;
|
||||
this .displayInstanced = base .prototype .displayInstanced;
|
||||
},
|
||||
updateRenderFunctions ()
|
||||
{ },
|
||||
|
@ -1787,10 +1794,8 @@ const Polypoint2D_default_ = Polypoint2D;
|
|||
Namespace_default().add ("Polypoint2D", "x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
|
||||
/* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
||||
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Vector2");
|
||||
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Numbers/Vector2");
|
||||
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
||||
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Vector3");
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
|
||||
/*******************************************************************************
|
||||
*
|
||||
|
@ -1846,7 +1851,6 @@ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .requir
|
|||
|
||||
|
||||
|
||||
|
||||
function Rectangle2D (executionContext)
|
||||
{
|
||||
X3DGeometryNode_default().call (this, executionContext);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* X_ITE v9.2.4 */(() => { // webpackBootstrap
|
||||
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ // The require scope
|
||||
/******/ var __webpack_require__ = {};
|
||||
|
@ -39,13 +39,10 @@ var __webpack_exports__ = {};
|
|||
// UNUSED EXPORTS: default
|
||||
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components");
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
||||
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Namespace");
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
||||
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js
|
||||
/*******************************************************************************
|
||||
|
@ -95,8 +92,6 @@ var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceOb
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
|
||||
const
|
||||
_keyDeviceSensorNodes = Symbol (),
|
||||
_keydown = Symbol (),
|
||||
|
@ -149,17 +144,20 @@ const __default__ = X3DKeyDeviceSensorContext;
|
|||
|
||||
Namespace_default().add ("X3DKeyDeviceSensorContext", "x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext", __default__);
|
||||
/* harmony default export */ const KeyDeviceSensor_X3DKeyDeviceSensorContext = (__default__);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
|
||||
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Core/X3DSensorNode");
|
||||
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Core/X3DSensorNode");
|
||||
var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DConstants");
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
||||
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js
|
||||
/*******************************************************************************
|
||||
|
@ -747,7 +745,7 @@ Object .assign (Object .setPrototypeOf (StringSensor .prototype, KeyDeviceSensor
|
|||
if (this ._deletionAllowed .getValue ())
|
||||
{
|
||||
if (this ._enteredText .length)
|
||||
this ._enteredText = this ._enteredText .getValue () .substr (0, this ._enteredText .length - 1);
|
||||
this ._enteredText = this ._enteredText .getValue () .substring (0, this ._enteredText .length - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* X_ITE v9.2.4 */(() => { // webpackBootstrap
|
||||
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ 72:
|
||||
/***/ 823:
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("lib/jquery");
|
||||
module.exports = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("lib/jquery");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
@ -73,97 +73,97 @@ var __webpack_exports__ = {};
|
|||
// UNUSED EXPORTS: default
|
||||
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components");
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
||||
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
||||
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DBaseNode");
|
||||
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DBaseNode");
|
||||
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DField\")"
|
||||
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DField");
|
||||
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DField");
|
||||
var X3DField_default = /*#__PURE__*/__webpack_require__.n(X3DField_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DArrayField\")"
|
||||
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DArrayField");
|
||||
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DArrayField");
|
||||
var X3DArrayField_default = /*#__PURE__*/__webpack_require__.n(X3DArrayField_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields");
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/X3DBrowser\")"
|
||||
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Browser/X3DBrowser");
|
||||
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Browser/X3DBrowser");
|
||||
var X3DBrowser_default = /*#__PURE__*/__webpack_require__.n(X3DBrowser_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfo\")"
|
||||
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/ComponentInfo");
|
||||
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/ComponentInfo");
|
||||
var ComponentInfo_default = /*#__PURE__*/__webpack_require__.n(ComponentInfo_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfoArray\")"
|
||||
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/ComponentInfoArray");
|
||||
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/ComponentInfoArray");
|
||||
var ComponentInfoArray_default = /*#__PURE__*/__webpack_require__.n(ComponentInfoArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfo\")"
|
||||
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/ProfileInfo");
|
||||
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/ProfileInfo");
|
||||
var ProfileInfo_default = /*#__PURE__*/__webpack_require__.n(ProfileInfo_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfoArray\")"
|
||||
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/ProfileInfoArray");
|
||||
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/ProfileInfoArray");
|
||||
var ProfileInfoArray_default = /*#__PURE__*/__webpack_require__.n(ProfileInfoArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ConcreteNodesArray\")"
|
||||
const ConcreteNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/ConcreteNodesArray");
|
||||
const ConcreteNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/ConcreteNodesArray");
|
||||
var ConcreteNodesArray_default = /*#__PURE__*/__webpack_require__.n(ConcreteNodesArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/AbstractNodesArray\")"
|
||||
const AbstractNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/AbstractNodesArray");
|
||||
const AbstractNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/AbstractNodesArray");
|
||||
var AbstractNodesArray_default = /*#__PURE__*/__webpack_require__.n(AbstractNodesArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfo\")"
|
||||
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/UnitInfo");
|
||||
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/UnitInfo");
|
||||
var UnitInfo_default = /*#__PURE__*/__webpack_require__.n(UnitInfo_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfoArray\")"
|
||||
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Configuration/UnitInfoArray");
|
||||
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Configuration/UnitInfoArray");
|
||||
var UnitInfoArray_default = /*#__PURE__*/__webpack_require__.n(UnitInfoArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/NamedNodesArray\")"
|
||||
const NamedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/NamedNodesArray");
|
||||
const NamedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/NamedNodesArray");
|
||||
var NamedNodesArray_default = /*#__PURE__*/__webpack_require__.n(NamedNodesArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/ImportedNodesArray\")"
|
||||
const ImportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/ImportedNodesArray");
|
||||
const ImportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/ImportedNodesArray");
|
||||
var ImportedNodesArray_default = /*#__PURE__*/__webpack_require__.n(ImportedNodesArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DImportedNode\")"
|
||||
const X3DImportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/X3DImportedNode");
|
||||
const X3DImportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/X3DImportedNode");
|
||||
var X3DImportedNode_default = /*#__PURE__*/__webpack_require__.n(X3DImportedNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/ExportedNodesArray\")"
|
||||
const ExportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/ExportedNodesArray");
|
||||
const ExportedNodesArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/ExportedNodesArray");
|
||||
var ExportedNodesArray_default = /*#__PURE__*/__webpack_require__.n(ExportedNodesArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExportedNode\")"
|
||||
const X3DExportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/X3DExportedNode");
|
||||
const X3DExportedNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/X3DExportedNode");
|
||||
var X3DExportedNode_default = /*#__PURE__*/__webpack_require__.n(X3DExportedNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExecutionContext\")"
|
||||
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/X3DExecutionContext");
|
||||
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/X3DExecutionContext");
|
||||
var X3DExecutionContext_default = /*#__PURE__*/__webpack_require__.n(X3DExecutionContext_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DScene\")"
|
||||
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Execution/X3DScene");
|
||||
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Execution/X3DScene");
|
||||
var X3DScene_default = /*#__PURE__*/__webpack_require__.n(X3DScene_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ExternProtoDeclarationArray\")"
|
||||
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Prototype/ExternProtoDeclarationArray");
|
||||
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Prototype/ExternProtoDeclarationArray");
|
||||
var ExternProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ExternProtoDeclarationArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ProtoDeclarationArray\")"
|
||||
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Prototype/ProtoDeclarationArray");
|
||||
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Prototype/ProtoDeclarationArray");
|
||||
var ProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ProtoDeclarationArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DExternProtoDeclaration\")"
|
||||
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Prototype/X3DExternProtoDeclaration");
|
||||
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Prototype/X3DExternProtoDeclaration");
|
||||
var X3DExternProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DExternProtoDeclaration_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
|
||||
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
||||
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
||||
var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclarationNode\")"
|
||||
const X3DProtoDeclarationNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Prototype/X3DProtoDeclarationNode");
|
||||
const X3DProtoDeclarationNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Prototype/X3DProtoDeclarationNode");
|
||||
var X3DProtoDeclarationNode_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclarationNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/RouteArray\")"
|
||||
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Routing/RouteArray");
|
||||
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Routing/RouteArray");
|
||||
var RouteArray_default = /*#__PURE__*/__webpack_require__.n(RouteArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/X3DRoute\")"
|
||||
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Routing/X3DRoute");
|
||||
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Routing/X3DRoute");
|
||||
var X3DRoute_default = /*#__PURE__*/__webpack_require__.n(X3DRoute_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Namespace");
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
||||
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Scripting/evaluate.js
|
||||
/*******************************************************************************
|
||||
|
@ -239,13 +239,13 @@ const __default__ = evaluate;
|
|||
Namespace_default().add ("evaluate", "x_ite/Browser/Scripting/evaluate", __default__);
|
||||
/* harmony default export */ const Scripting_evaluate = (__default__);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
||||
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Core/X3DChildNode");
|
||||
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
||||
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
||||
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
||||
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
||||
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DConstants");
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
||||
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/X3DScriptNode.js
|
||||
/*******************************************************************************
|
||||
|
@ -342,13 +342,13 @@ const X3DScriptNode_default_ = X3DScriptNode;
|
|||
Namespace_default().add ("X3DScriptNode", "x_ite/Components/Scripting/X3DScriptNode", X3DScriptNode_default_);
|
||||
/* harmony default export */ const Scripting_X3DScriptNode = (X3DScriptNode_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
||||
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/InputOutput/FileLoader");
|
||||
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/InputOutput/FileLoader");
|
||||
var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields/SFNodeCache\")"
|
||||
const SFNodeCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields/SFNodeCache");
|
||||
const SFNodeCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields/SFNodeCache");
|
||||
var SFNodeCache_default = /*#__PURE__*/__webpack_require__.n(SFNodeCache_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/Script.js
|
||||
/* provided dependency */ var $ = __webpack_require__(72);
|
||||
/* provided dependency */ var $ = __webpack_require__(823);
|
||||
/*******************************************************************************
|
||||
*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
@ -482,11 +482,36 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
},
|
||||
unloadData ()
|
||||
{
|
||||
this .initialize__ ("");
|
||||
// Call shutdown.
|
||||
|
||||
const shutdown = this .context ?.get ("shutdown");
|
||||
|
||||
if (typeof shutdown === "function")
|
||||
this .call__ (shutdown, "shutdown");
|
||||
|
||||
// Disconnect shutdown.
|
||||
|
||||
$(window) .off (`.Script${this .getId ()}`);
|
||||
|
||||
// Disconnect prepareEvents.
|
||||
|
||||
this .getBrowser () .prepareEvents () .removeInterest ("call__", this);
|
||||
|
||||
// Disconnect eventsProcessed.
|
||||
|
||||
this .removeInterest ("call__", this);
|
||||
|
||||
// Disconnect fields.
|
||||
|
||||
for (const field of this .getUserDefinedFields ())
|
||||
field .removeInterest ("set_field__", this);
|
||||
},
|
||||
loadData ()
|
||||
async loadData ()
|
||||
{
|
||||
new (FileLoader_default()) (this) .loadDocument (this ._url, (data) =>
|
||||
// See: 29.2.2 Script execution
|
||||
await this .unloadData ();
|
||||
|
||||
new (FileLoader_default()) (this) .loadDocument (this ._url, data =>
|
||||
{
|
||||
if (data === null)
|
||||
{
|
||||
|
@ -502,7 +527,25 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
},
|
||||
createGlobalObject ()
|
||||
{
|
||||
const browser = this .getBrowser ();
|
||||
const getScriptNode = () => this;
|
||||
|
||||
const handler =
|
||||
{
|
||||
get (target, key)
|
||||
{
|
||||
switch (key)
|
||||
{
|
||||
case "getScriptNode":
|
||||
return getScriptNode;
|
||||
case "currentScene":
|
||||
return getScriptNode () .getExecutionContext ();
|
||||
default:
|
||||
return target [key];
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
const browser = new Proxy (this .getBrowser (), handler);
|
||||
|
||||
function SFNode (vrmlSyntax)
|
||||
{
|
||||
|
@ -602,28 +645,25 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
|
||||
for (const field of this .getUserDefinedFields ())
|
||||
{
|
||||
const name = field .getName ();
|
||||
|
||||
if (field .getAccessType () === (X3DConstants_default()).inputOnly)
|
||||
continue;
|
||||
|
||||
if (!(name in globalObject))
|
||||
const names = [field .getName ()];
|
||||
|
||||
if (field .getAccessType () === (X3DConstants_default()).inputOutput)
|
||||
names .push (field .getName () + "_changed");
|
||||
|
||||
for (const name of names)
|
||||
{
|
||||
if (name in globalObject)
|
||||
continue;
|
||||
|
||||
globalObject [name] =
|
||||
{
|
||||
get: field .valueOf .bind (field),
|
||||
set: field .setValue .bind (field),
|
||||
};
|
||||
}
|
||||
|
||||
if (field .getAccessType () === (X3DConstants_default()).inputOutput)
|
||||
{
|
||||
globalObject [name + "_changed"] =
|
||||
{
|
||||
get: field .valueOf .bind (field),
|
||||
set: field .setValue .bind (field),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
return Object .create (Object .prototype, globalObject);
|
||||
|
@ -658,26 +698,13 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
},
|
||||
evaluate (sourceText)
|
||||
{
|
||||
const browser = this .getBrowser ();
|
||||
if (!this .globalObject)
|
||||
this .globalObject = this .createGlobalObject ();
|
||||
|
||||
try
|
||||
{
|
||||
browser .getScriptStack () .push (this);
|
||||
|
||||
if (!this .globalObject)
|
||||
this .globalObject = this .createGlobalObject ();
|
||||
|
||||
return Scripting_evaluate (SFNodeCache_default().get (this), this .globalObject, sourceText);
|
||||
}
|
||||
finally
|
||||
{
|
||||
browser .getScriptStack () .pop ();
|
||||
}
|
||||
return Scripting_evaluate (SFNodeCache_default().get (this), this .globalObject, sourceText);
|
||||
},
|
||||
initialize__ (sourceText)
|
||||
async initialize__ (sourceText)
|
||||
{
|
||||
this .disconnect ();
|
||||
|
||||
const browser = this .getBrowser ();
|
||||
|
||||
// Create context.
|
||||
|
@ -690,7 +717,7 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
const shutdown = this .context .get ("shutdown");
|
||||
|
||||
if (typeof shutdown === "function")
|
||||
$(window) .on ("unload.Script" + this .getId (), this .call__ .bind (this, shutdown, "shutdown"));
|
||||
$(window) .on (`unload.Script${this .getId ()}`, () => this .call__ (shutdown, "shutdown"));
|
||||
|
||||
// Connect prepareEvents.
|
||||
|
||||
|
@ -717,7 +744,7 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
const callback = this .context .get (field .getName ());
|
||||
|
||||
if (typeof callback === "function")
|
||||
field .addInterest ("set_field__", this, callback);
|
||||
field .addInterest ("set_field__", this, callback, [ ]);
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -726,7 +753,7 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
const callback = this .context .get ("set_" + field .getName ());
|
||||
|
||||
if (typeof callback === "function")
|
||||
field .addInterest ("set_field__", this, callback);
|
||||
field .addInterest ("set_field__", this, callback, [ ]);
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -738,43 +765,37 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
const initialize = this .context .get ("initialize");
|
||||
|
||||
if (typeof initialize === "function")
|
||||
this .call__ (initialize, "initialize");
|
||||
await this .call__ (initialize, "initialize");
|
||||
},
|
||||
call__ (callback, name)
|
||||
async call__ (callback, name)
|
||||
{
|
||||
const browser = this .getBrowser ();
|
||||
|
||||
browser .getScriptStack () .push (this);
|
||||
|
||||
try
|
||||
{
|
||||
callback .call (SFNodeCache_default().get (this), browser .getCurrentTime ());
|
||||
await callback .call (SFNodeCache_default().get (this), this .getBrowser () .getCurrentTime ());
|
||||
}
|
||||
catch (error)
|
||||
{
|
||||
this .setError (`in function '${name}'`, error);
|
||||
}
|
||||
|
||||
browser .getScriptStack () .pop ();
|
||||
},
|
||||
set_field__ (callback, field)
|
||||
async set_field__ (callback, cache, field)
|
||||
{
|
||||
const browser = this .getBrowser ();
|
||||
|
||||
field .setTainted (true);
|
||||
browser .getScriptStack () .push (this);
|
||||
const copy = cache .pop () ?? field .create ();
|
||||
|
||||
try
|
||||
{
|
||||
callback .call (SFNodeCache_default().get (this), field .valueOf (), browser .getCurrentTime ());
|
||||
copy .assign (field);
|
||||
|
||||
await callback .call (SFNodeCache_default().get (this), copy .valueOf (), this .getBrowser () .getCurrentTime ());
|
||||
}
|
||||
catch (error)
|
||||
{
|
||||
this .setError (`in function '${field .getName()}'`, error);
|
||||
this .setError (`in function '${field .getName ()}'`, error);
|
||||
}
|
||||
finally
|
||||
{
|
||||
cache .push (copy);
|
||||
}
|
||||
|
||||
browser .getScriptStack () .pop ();
|
||||
field .setTainted (false);
|
||||
},
|
||||
setError (reason, error)
|
||||
{
|
||||
|
@ -785,35 +806,9 @@ Object .assign (Object .setPrototypeOf (Script .prototype, Scripting_X3DScriptNo
|
|||
console .error (`JavaScript Error in Script '${this .getName ()}', ${reason}\nworld url is '${worldURL}':`);
|
||||
console .error (error);
|
||||
},
|
||||
disconnect ()
|
||||
{
|
||||
// Call shutdown.
|
||||
|
||||
const shutdown = this .context ?.get ("shutdown");
|
||||
|
||||
if (typeof shutdown === "function")
|
||||
this .call__ (shutdown, "shutdown");
|
||||
|
||||
// Disconnect shutdown.
|
||||
|
||||
$(window) .off (".Script" + this .getId ());
|
||||
|
||||
// Disconnect prepareEvents.
|
||||
|
||||
this .getBrowser () .prepareEvents () .removeInterest ("call__", this);
|
||||
|
||||
// Disconnect eventsProcessed.
|
||||
|
||||
this .removeInterest ("call__", this);
|
||||
|
||||
// Disconnect fields.
|
||||
|
||||
for (const field of this .getUserDefinedFields ())
|
||||
field .removeInterest ("set_field__", this);
|
||||
},
|
||||
dispose ()
|
||||
{
|
||||
this .disconnect ();
|
||||
this .unloadData ();
|
||||
|
||||
Scripting_X3DScriptNode .prototype .dispose .call (this);
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* X_ITE v9.2.4 */(() => { // webpackBootstrap
|
||||
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ 636:
|
||||
/***/ 134:
|
||||
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
||||
|
||||
/**
|
||||
|
@ -13599,7 +13599,7 @@
|
|||
console.warn('Font file could not be downloaded. Try using a different browser.');
|
||||
}
|
||||
} else {
|
||||
var fs = __webpack_require__(432);
|
||||
var fs = __webpack_require__(256);
|
||||
var buffer = arrayBufferToNodeBuffer(arrayBuffer);
|
||||
fs.writeFileSync(fileName, buffer);
|
||||
}
|
||||
|
@ -14072,7 +14072,7 @@
|
|||
* @param {Function} callback - The function to call when the font load completes
|
||||
*/
|
||||
function loadFromFile(path, callback) {
|
||||
var fs = __webpack_require__(432);
|
||||
var fs = __webpack_require__(256);
|
||||
fs.readFile(path, function(err, buffer) {
|
||||
if (err) {
|
||||
return callback(err.message);
|
||||
|
@ -14449,7 +14449,7 @@
|
|||
* @return {opentype.Font}
|
||||
*/
|
||||
function loadSync(url, opt) {
|
||||
var fs = __webpack_require__(432);
|
||||
var fs = __webpack_require__(256);
|
||||
var buffer = fs.readFileSync(url);
|
||||
return parseBuffer(nodeBufferToArrayBuffer(buffer), opt);
|
||||
}
|
||||
|
@ -14484,15 +14484,15 @@
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ 823:
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("lib/jquery");
|
||||
module.exports = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("lib/jquery");
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 432:
|
||||
/***/ 256:
|
||||
/***/ (() => {
|
||||
|
||||
/* (ignored) */
|
||||
|
@ -14564,25 +14564,25 @@ var __webpack_exports__ = {};
|
|||
// UNUSED EXPORTS: default
|
||||
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components");
|
||||
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
||||
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Fields");
|
||||
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
||||
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
||||
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
||||
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
||||
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Core/X3DNode");
|
||||
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Core/X3DNode");
|
||||
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
||||
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
||||
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
||||
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Namespace");
|
||||
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
||||
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/TextAlignment.js
|
||||
/*******************************************************************************
|
||||
|
@ -14648,12 +14648,12 @@ const __default__ = TextAlignment;
|
|||
Namespace_default().add ("TextAlignment", "x_ite/Browser/Text/TextAlignment", __default__);
|
||||
/* harmony default export */ const Text_TextAlignment = (__default__);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
||||
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/InputOutput/FileLoader");
|
||||
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/InputOutput/FileLoader");
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DConstants");
|
||||
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
||||
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Networking/URLs\")"
|
||||
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Browser/Networking/URLs");
|
||||
const URLs_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Browser/Networking/URLs");
|
||||
var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/X3DFontStyleNode.js
|
||||
/*******************************************************************************
|
||||
|
@ -14712,30 +14712,29 @@ var URLs_default = /*#__PURE__*/__webpack_require__.n(URLs_namespaceObject);
|
|||
|
||||
|
||||
/*
|
||||
* Font paths for default SERIF, SANS and TYPWRITER families.
|
||||
* Font paths for default SERIF, SANS and TYPEWRITER families.
|
||||
*/
|
||||
|
||||
const Fonts =
|
||||
{
|
||||
SERIF: {
|
||||
PLAIN: URLs_default().getFontsURL ("DroidSerif-Regular.ttf"),
|
||||
ITALIC: URLs_default().getFontsURL ("DroidSerif-Italic.ttf"),
|
||||
BOLD: URLs_default().getFontsURL ("DroidSerif-Bold.ttf"),
|
||||
BOLDITALIC: URLs_default().getFontsURL ("DroidSerif-BoldItalic.ttf"),
|
||||
},
|
||||
SANS: {
|
||||
PLAIN: URLs_default().getFontsURL ("Ubuntu-R.ttf"),
|
||||
ITALIC: URLs_default().getFontsURL ("Ubuntu-RI.ttf"),
|
||||
BOLD: URLs_default().getFontsURL ("Ubuntu-B.ttf"),
|
||||
BOLDITALIC: URLs_default().getFontsURL ("Ubuntu-BI.ttf"),
|
||||
},
|
||||
TYPEWRITER: {
|
||||
PLAIN: URLs_default().getFontsURL ("UbuntuMono-R.ttf"),
|
||||
ITALIC: URLs_default().getFontsURL ("UbuntuMono-RI.ttf"),
|
||||
BOLD: URLs_default().getFontsURL ("UbuntuMono-B.ttf"),
|
||||
BOLDITALIC: URLs_default().getFontsURL ("UbuntuMono-BI.ttf"),
|
||||
},
|
||||
};
|
||||
const Fonts = new Map ([
|
||||
["SERIF", new Map ([
|
||||
["PLAIN", URLs_default().getFontsURL ("DroidSerif-Regular.ttf")],
|
||||
["ITALIC", URLs_default().getFontsURL ("DroidSerif-Italic.ttf")],
|
||||
["BOLD", URLs_default().getFontsURL ("DroidSerif-Bold.ttf")],
|
||||
["BOLDITALIC", URLs_default().getFontsURL ("DroidSerif-BoldItalic.ttf")],
|
||||
])],
|
||||
["SANS", new Map ([
|
||||
["PLAIN", URLs_default().getFontsURL ("Ubuntu-R.ttf")],
|
||||
["ITALIC", URLs_default().getFontsURL ("Ubuntu-RI.ttf")],
|
||||
["BOLD", URLs_default().getFontsURL ("Ubuntu-B.ttf")],
|
||||
["BOLDITALIC", URLs_default().getFontsURL ("Ubuntu-BI.ttf")],
|
||||
])],
|
||||
["TYPEWRITER", new Map ([
|
||||
["PLAIN", URLs_default().getFontsURL ("UbuntuMono-R.ttf")],
|
||||
["ITALIC", URLs_default().getFontsURL ("UbuntuMono-RI.ttf")],
|
||||
["BOLD", URLs_default().getFontsURL ("UbuntuMono-B.ttf")],
|
||||
["BOLDITALIC", URLs_default().getFontsURL ("UbuntuMono-BI.ttf")],
|
||||
])],
|
||||
]);
|
||||
|
||||
function X3DFontStyleNode (executionContext)
|
||||
{
|
||||
|
@ -14837,10 +14836,10 @@ Object .assign (Object .setPrototypeOf (X3DFontStyleNode .prototype, (X3DNode_de
|
|||
},
|
||||
getDefaultFont (familyName)
|
||||
{
|
||||
const family = Fonts [familyName];
|
||||
const family = Fonts .get (familyName);
|
||||
|
||||
if (family)
|
||||
return family [this ._style .getValue ()] || family .PLAIN;
|
||||
return family .get (this ._style .getValue ()) ?? family .get ("PLAIN");
|
||||
|
||||
return;
|
||||
},
|
||||
|
@ -14857,7 +14856,7 @@ Object .assign (Object .setPrototypeOf (X3DFontStyleNode .prototype, (X3DNode_de
|
|||
this .familyStack .length = 0;
|
||||
|
||||
for (const familyName of family)
|
||||
this .familyStack .push (this .getDefaultFont (familyName) || familyName);
|
||||
this .familyStack .push (this .getDefaultFont (familyName) ?? familyName);
|
||||
|
||||
this .loadNext ();
|
||||
},
|
||||
|
@ -14922,19 +14921,19 @@ const X3DFontStyleNode_default_ = X3DFontStyleNode;
|
|||
Namespace_default().add ("X3DFontStyleNode", "x_ite/Components/Text/X3DFontStyleNode", X3DFontStyleNode_default_);
|
||||
/* harmony default export */ const Text_X3DFontStyleNode = (X3DFontStyleNode_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
||||
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
||||
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
||||
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box2\")"
|
||||
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Geometry/Box2");
|
||||
const Box2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Geometry/Box2");
|
||||
var Box2_default = /*#__PURE__*/__webpack_require__.n(Box2_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
||||
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Geometry/Box3");
|
||||
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Geometry/Box3");
|
||||
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
||||
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Vector2");
|
||||
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Numbers/Vector2");
|
||||
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
||||
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Vector3");
|
||||
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Numbers/Vector3");
|
||||
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextGeometry.js
|
||||
/*******************************************************************************
|
||||
|
@ -14993,22 +14992,22 @@ var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject
|
|||
var
|
||||
bbox = new (Box2_default()) (),
|
||||
lineBBox = new (Box2_default()) (),
|
||||
min = new (Vector2_default()) (0, 0),
|
||||
max = new (Vector2_default()) (0, 0),
|
||||
glyphMin = new (Vector2_default()) (0, 0),
|
||||
glyphMax = new (Vector2_default()) (0, 0),
|
||||
min3 = new (Vector3_default()) (0, 0, 0),
|
||||
max3 = new (Vector3_default()) (0, 0, 0),
|
||||
size = new (Vector2_default()) (0, 0),
|
||||
center = new (Vector2_default()) (0, 0),
|
||||
size1_2 = new (Vector2_default()) (0, 0),
|
||||
translation = new (Vector2_default()) (0, 0),
|
||||
lineBound = new (Vector2_default()) (0, 0),
|
||||
origin = new (Vector3_default()) (0, 0, 0),
|
||||
vector = new (Vector2_default()) (0, 0),
|
||||
min = new (Vector2_default()) (),
|
||||
max = new (Vector2_default()) (),
|
||||
glyphMin = new (Vector2_default()) (),
|
||||
glyphMax = new (Vector2_default()) (),
|
||||
min3 = new (Vector3_default()) (),
|
||||
max3 = new (Vector3_default()) (),
|
||||
size = new (Vector2_default()) (),
|
||||
center = new (Vector2_default()) (),
|
||||
size1_2 = new (Vector2_default()) (),
|
||||
translation = new (Vector2_default()) (),
|
||||
lineBound = new (Vector2_default()) (),
|
||||
origin = new (Vector3_default()) (),
|
||||
vector = new (Vector2_default()) (),
|
||||
box2 = new (Box2_default()) (),
|
||||
zero2 = new (Vector2_default()) (0, 0),
|
||||
zero3 = new (Vector3_default()) (0, 0, 0);
|
||||
zero2 = new (Vector2_default()) (),
|
||||
zero3 = new (Vector3_default()) ();
|
||||
|
||||
function X3DTextGeometry (text, fontStyle)
|
||||
{
|
||||
|
@ -15016,10 +15015,10 @@ function X3DTextGeometry (text, fontStyle)
|
|||
this .text = text;
|
||||
this .fontStyle = fontStyle;
|
||||
this .glyphs = [ ];
|
||||
this .minorAlignment = new (Vector2_default()) (0, 0);
|
||||
this .minorAlignment = new (Vector2_default()) ();
|
||||
this .translations = [ ];
|
||||
this .charSpacings = [ ];
|
||||
this .bearing = new (Vector2_default()) (0, 0);
|
||||
this .bearing = new (Vector2_default()) ();
|
||||
this .yPad = [ ];
|
||||
this .bbox = new (Box3_default()) ();
|
||||
}
|
||||
|
@ -15108,7 +15107,7 @@ Object .assign (X3DTextGeometry .prototype,
|
|||
// Resize array in grow only fashion.
|
||||
|
||||
for (var i = array .length; i < size; ++ i)
|
||||
array .push (new (Vector2_default()) (0, 0));
|
||||
array .push (new (Vector2_default()) ());
|
||||
|
||||
array .length = size;
|
||||
},
|
||||
|
@ -15556,13 +15555,13 @@ const X3DTextGeometry_default_ = X3DTextGeometry;
|
|||
Namespace_default().add ("X3DTextGeometry", "x_ite/Browser/Text/X3DTextGeometry", X3DTextGeometry_default_);
|
||||
/* harmony default export */ const Text_X3DTextGeometry = (X3DTextGeometry_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
||||
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Numbers/Matrix4");
|
||||
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Numbers/Matrix4");
|
||||
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithms/Bezier\")"
|
||||
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("standard/Math/Algorithms/Bezier");
|
||||
const Bezier_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Algorithms/Bezier");
|
||||
var Bezier_default = /*#__PURE__*/__webpack_require__.n(Bezier_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/libtess\")"
|
||||
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("lib/libtess");
|
||||
const libtess_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("lib/libtess");
|
||||
var libtess_default = /*#__PURE__*/__webpack_require__.n(libtess_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/PolygonText.js
|
||||
/*******************************************************************************
|
||||
|
@ -15639,8 +15638,8 @@ Object .assign (Object .setPrototypeOf (PolygonText .prototype, Text_X3DTextGeom
|
|||
build: (() =>
|
||||
{
|
||||
const
|
||||
min = new (Vector3_default()) (0, 0, 0),
|
||||
max = new (Vector3_default()) (0, 0, 0);
|
||||
min = new (Vector3_default()) (),
|
||||
max = new (Vector3_default()) ();
|
||||
|
||||
return function ()
|
||||
{
|
||||
|
@ -15891,7 +15890,7 @@ Object .assign (Object .setPrototypeOf (PolygonText .prototype, Text_X3DTextGeom
|
|||
|
||||
tessy .gluTessCallback ((libtess_default()).gluEnum .GLU_TESS_VERTEX_DATA, vertexCallback);
|
||||
tessy .gluTessCallback ((libtess_default()).gluEnum .GLU_TESS_COMBINE, combineCallback);
|
||||
tessy .gluTessProperty ((libtess_default()).gluEnum .GLU_TESS_WINDING_RULE, (libtess_default()).windingRule .GLU_TESS_WINDING_ODD);
|
||||
tessy .gluTessProperty ((libtess_default()).gluEnum .GLU_TESS_WINDING_RULE, (libtess_default()).windingRule .GLU_TESS_WINDING_NONZERO);
|
||||
tessy .gluTessNormal (0, 0, 1);
|
||||
|
||||
return function (contours, triangles)
|
||||
|
@ -16048,8 +16047,8 @@ const FontStyle_default_ = FontStyle;
|
|||
Namespace_default().add ("FontStyle", "x_ite/Components/Text/FontStyle", FontStyle_default_);
|
||||
/* harmony default export */ const Text_FontStyle = (FontStyle_default_);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Browser/Text/X3DTextContext.js
|
||||
/* provided dependency */ var $ = __webpack_require__(72);
|
||||
/* provided dependency */ var opentype = __webpack_require__(636);
|
||||
/* provided dependency */ var $ = __webpack_require__(823);
|
||||
/* provided dependency */ var opentype = __webpack_require__(134);
|
||||
/*******************************************************************************
|
||||
*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
|
@ -16189,10 +16188,10 @@ const X3DTextContext_default_ = X3DTextContext;
|
|||
Namespace_default().add ("X3DTextContext", "x_ite/Browser/Text/X3DTextContext", X3DTextContext_default_);
|
||||
/* harmony default export */ const Text_X3DTextContext = (X3DTextContext_default_);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
||||
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
||||
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
||||
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
||||
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
||||
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.2.4")] .require ("x_ite/Base/X3DCast");
|
||||
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DCast");
|
||||
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
||||
;// CONCATENATED MODULE: ./src/x_ite/Components/Text/Text.js
|
||||
/*******************************************************************************
|
||||
|
@ -16287,8 +16286,10 @@ Object .assign (Object .setPrototypeOf (Text .prototype, (X3DGeometryNode_defaul
|
|||
{
|
||||
X3DGeometryNode_default().prototype .set_live__ .call (this);
|
||||
|
||||
if (this .getLive () .getValue ())
|
||||
this .getBrowser () .getBrowserOptions () ._PrimitiveQuality .addInterest ("requestRebuild", this);
|
||||
const alwaysUpdate = this .isLive () && this .getBrowser () .getBrowserOption ("AlwaysUpdateGeometries");
|
||||
|
||||
if (this .getLive () .getValue () || alwaysUpdate)
|
||||
this .getBrowser () .getBrowserOptions () ._PrimitiveQuality .addInterest ("requestRebuild", this);
|
||||
else
|
||||
this .getBrowser () .getBrowserOptions () ._PrimitiveQuality .removeInterest ("requestRebuild", this);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue