x_ite 10.0.4 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +5 -5
- package/README.md +12 -9
- package/dist/LICENSE.md +5 -5
- package/dist/X3DUOM.xml +1 -0
- package/dist/assets/components/Annotation.js +13 -14
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -15
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -10
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +18 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -34
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -24
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -9
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +61 -47
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -27
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -19
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -39
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +275 -201
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -16
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +27 -28
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +23 -23
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +19 -20
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/lib/draco_decoder_gltf.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +252 -207
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +252 -207
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.0.4 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-10.0.4")].require("lib/jquery")}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const i=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components");var a=r.n(i);const n=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Namespace");var s=r.n(n);const o="\nprecision highp float;precision highp int;precision highp sampler2D;const float M_PI=3.1415926535897932384626433832795;varying vec2 texCoord;uniform sampler2D x3d_PanoramaTexture;uniform int x3d_CurrentFace;vec3 uvToXYZ(const in int face,const in vec2 uv){vec3 xyz;if(face==0)xyz=vec3(1.0,uv.y,uv.x);else if(face==1)xyz=vec3(-1.0,uv.y,-uv.x);else if(face==2)xyz=vec3(uv.x,uv.y,-1.0);else if(face==3)xyz=vec3(-uv.x,uv.y,1.0);else if(face==4)xyz=vec3(uv.y,-1.0,uv.x);else xyz=vec3(-uv.y,1.0,uv.x);return xyz;}vec2 dirToUV(const in vec3 dir){return vec2(0.5+0.5*atan(dir.z,dir.x)/M_PI,1.0-acos(dir.y)/M_PI);}vec3 panoramaToCubeMap(const in int face,const in vec2 texCoord){vec3 scan=uvToXYZ(face,texCoord);vec3 direction=normalize(scan);vec2 src=dirToUV(direction);return texture2D(x3d_PanoramaTexture,src).rgb;}void main(){gl_FragColor=vec4(panoramaToCubeMap(x3d_CurrentFace,texCoord),1.0);}";s().add("Panorama1.fs","x_ite/Browser/CubeMapTexturing/Panorama1.fs",o);const u=o,d="#version 300 es\nprecision highp float;precision highp int;precision highp sampler2D;const float M_PI=3.1415926535897932384626433832795;in vec2 texCoord;out vec4 x3d_FragColor;uniform sampler2D x3d_PanoramaTexture;uniform int x3d_CurrentFace;vec3 uvToXYZ(const in int face,const in vec2 uv){switch(face){case 0:return vec3(1.0,uv.y,uv.x);case 1:return vec3(-1.0,uv.y,-uv.x);case 2:return vec3(uv.x,uv.y,-1.0);case 3:return vec3(-uv.x,uv.y,1.0);case 4:return vec3(uv.y,-1.0,uv.x);default:return vec3(-uv.y,1.0,uv.x);}}vec2 dirToUV(const in vec3 dir){return vec2(0.5+0.5*atan(dir.z,dir.x)/M_PI,1.0-acos(dir.y)/M_PI);}vec3 panoramaToCubeMap(const in int face,const in vec2 texCoord){vec3 scan=uvToXYZ(face,texCoord);vec3 direction=normalize(scan);vec2 src=dirToUV(direction);return texture(x3d_PanoramaTexture,src).rgb;}void main(){x3d_FragColor=vec4(panoramaToCubeMap(x3d_CurrentFace,texCoord),1.0);}";s().add("Panorama2.fs","x_ite/Browser/CubeMapTexturing/Panorama2.fs",d);const h=d,T=Symbol();function c(){}Object.assign(c.prototype,{getPanoramaShader(){return this[T]?this[T]:this[T]=this.createShader("Panorama","FullScreen","data:x-shader/x-fragment,"+["",u,h][this.getContext().getVersion()],[],["x3d_PanoramaTexture","x3d_CurrentFace"])}});const p=c;s().add("X3DCubeMapTexturingContext","x_ite/Browser/CubeMapTexturing/X3DCubeMapTexturingContext",p);const x=p,l=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Fields");var g=r.n(l);const _=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DFieldDefinition");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/FieldDefinitionArray");var E=r.n(f);const b=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var w=r.n(b);const v=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DConstants");var y=r.n(v);function M(e){w().call(this,e),this.addType(y().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y],this.size=1}Object.assign(Object.setPrototypeOf(M.prototype,w().prototype),{getTarget(){return this.target},getTextureType:()=>4,getTargets(){return this.targets},getSize(){return this.size},setSize(e){this.size=e},clearTexture:(()=>{const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setSize(1),this.setTransparent(!1),this.updateTextureParameters()}})(),updateTextureParameters(){w().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,this.size,this.size,!1,!1,!1)},setShaderUniforms(e,t,r,i=t.x3d_Texture[0]){const a=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+a),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,a)}}),Object.defineProperties(M,{typeName:{value:"X3DEnvironmentTextureNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:1}),enumerable:!0}});const C=M;s().add("X3DEnvironmentTextureNode","x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",C);const R=C,S=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DCast");var I=r.n(S);const X=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Utility/BitSet");var D=r.n(X);function U(e){R.call(this,e),this.addType(y().ComposedCubeMapTexture),this.addChildObjects(y().inputOutput,"update",new(g().SFTime)),e.getSpecificationVersion()<=3.3&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("top",this._topTexture),this.addAlias("bottom",this._bottomTexture)),this.textureNodes=[null,null,null,null,null,null],this.textureBits=new(D())}Object.assign(Object.setPrototypeOf(U.prototype,R.prototype),{initialize(){R.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(0,this._frontTexture),this.set_texture__(1,this._backTexture),this.set_texture__(2,this._leftTexture),this.set_texture__(3,this._rightTexture),this.set_texture__(4,this._topTexture),this.set_texture__(5,this._bottomTexture)},set_texture__(e,t){let r=this.textureNodes[e];r?.removeInterest(`set_loadState${e}__`,this),r=this.textureNodes[e]=I()(y().X3DTexture2DNode,t),r?.addInterest(`set_loadState${e}__`,this,e,r),this.set_loadState__(e,r)},set_loadState__(e,t){this.setTextureBit(e,t?.checkLoadState()),this._update.addEvent()},setTextureBit(e,t){this.textureBits.set(e,t===y().COMPLETE_STATE)},isComplete(){if(63!=+this.textureBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=t[0].getWidth();if(r!==this.getSize()){const t=new Uint8Array(r*r*4);e.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)e.texImage2D(this.getTargets()[i],0,e.RGBA,r,r,0,e.RGBA,e.UNSIGNED_BYTE,t);this.setSize(r),this.updateTextureParameters()}e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let i=0;i<6;++i){const a=t[i];if(e.bindTexture(e.TEXTURE_2D,a.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,a.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),1===a.getTextureType())e.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,r,r);else for(let t=0;t<r;++t)e.copyTexSubImage2D(this.getTargets()[i],0,0,r-t-1,0,t,r,1)}this.setTransparent(t.some((e=>e.isTransparent()))),this.setLinear(t.some((e=>e.isLinear()))),this.setMipMaps(t.every((e=>e.getMipMaps()))),this.updateTextureParameters()}else this.clearTexture()}}),Object.defineProperties(U,{typeName:{value:"ComposedCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:1}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"frontTexture",new(g().SFNode)),new(m())(y().inputOutput,"backTexture",new(g().SFNode)),new(m())(y().inputOutput,"leftTexture",new(g().SFNode)),new(m())(y().inputOutput,"rightTexture",new(g().SFNode)),new(m())(y().inputOutput,"topTexture",new(g().SFNode)),new(m())(y().inputOutput,"bottomTexture",new(g().SFNode)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});for(let e=0;e<6;++e)U.prototype[`set_loadState${e}__`]=function(e,t){this.set_loadState__(e,t)};const O=U;s().add("ComposedCubeMapTexture","x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",O);const A=O,P=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DBaseNode");var B=r.n(P);const N=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Rendering/X3DRenderObject");var F=r.n(N);const z=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Rendering/TraverseType");var L=r.n(z);function V(e,t,r){B().call(this,e),F().call(this,e),this.node=r,this.renderObject=t}Object.assign(Object.setPrototypeOf(V.prototype,B().prototype),F().prototype,{initialize(){B().prototype.initialize.call(this),F().prototype.initialize.call(this)},isIndependent:()=>!1,getNode(){return this.node},getLayer(){return this.renderObject.getLayer()},getBackground(){return this.renderObject.getBackground()},getFog(){return this.renderObject.getFog()},getNavigationInfo(){return this.renderObject.getNavigationInfo()},getViewpoint(){return this.renderObject.getViewpoint()},getViewpointStack(){return this.renderObject.getViewpointStack()},getLightContainer(){return this.renderObject.getLights()[this.lightIndex++]},render(e,t,r){switch(e){case L().COLLISION:case L().SHADOW:F().prototype.render.call(this,e,t,r);break;case L().DISPLAY:this.lightIndex=0,F().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Object.keys(V.prototype))Object.defineProperty(V.prototype,e,{enumerable:!1});const j=V;s().add("DependentRenderer","x_ite/Rendering/DependentRenderer",j);const G=j,q=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Rendering/TextureBuffer");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Geometry/Camera");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Geometry/ViewVolume");var $=r.n(H);const Z=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Rotation4");var K=r.n(Z);const J=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Vector3");var Q=r.n(J);const ee=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Vector4");var te=r.n(ee);const re=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Matrix4");var ie=r.n(re);const ae=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Algorithm");var ne=r.n(ae);function se(e){R.call(this,e),this.addType(y().GeneratedCubeMapTexture),this.dependentRenderers=new WeakMap,this.projectionMatrix=new(ie()),this.modelMatrix=new(ie()),this.viewVolume=new($())}Object.assign(Object.setPrototypeOf(se.prototype,R.prototype),{initialize(){R.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.set_size__()},set_size__(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():ne().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(te())(0,0,t,t),this.frameBuffer=new(k())(this.getBrowser(),t,t),this.setSize(t)}else this.frameBuffer=null,this.setSize(0)},traverse(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:(()=>{const e=[new(K())(Q().zAxis,new(Q())(0,0,-1)),new(K())(Q().zAxis,new(Q())(0,0,1)),new(K())(Q().zAxis,new(Q())(1,0,0)),new(K())(Q().zAxis,new(Q())(-1,0,0)),new(K())(Q().zAxis,new(Q())(0,-1,0)),new(K())(Q().zAxis,new(Q())(0,1,0))],t=[new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(1,1,1),new(Q())(1,1,1)],r=new(ie());return function(i){if(!this.dependentRenderers.has(i)){const e=new G(this.getExecutionContext(),i,this);e.setup(),this.dependentRenderers.set(i,e)}const a=this.dependentRenderers.get(i),n=this.getBrowser(),s=i.getLayer(),o=n.getContext(),u=a.getBackground(),d=a.getNavigationInfo(),h=a.getViewpoint(),T=n.getHeadlight(),c=d._headlight.getValue(),p=d.getNearValue(),x=d.getFarValue(h),l=W().perspective(ne().radians(90),p,x,1,1,this.projectionMatrix),g=this.frameBuffer.getWidth(),_=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),a.getViewVolumes().push(this.viewVolume.set(l,this.viewport,this.viewport)),a.getProjectionMatrix().pushMatrix(l),o.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)o.clear(o.COLOR_BUFFER_BIT),a.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),a.getCameraSpaceMatrix().rotate(e[i]),a.getCameraSpaceMatrix().scale(t[i]),a.getViewMatrix().pushMatrix(r.assign(a.getCameraSpaceMatrix().get()).inverse()),a.getModelViewMatrix().pushMatrix(r),c&&(T.modelViewMatrix.pushMatrix(r),T.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(L().DISPLAY,a),c&&T.modelViewMatrix.pop(),a.getModelViewMatrix().pop(),a.getCameraSpaceMatrix().pop(),a.getViewMatrix().pop(),o.bindTexture(this.getTarget(),this.getTexture()),o.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,g,_);this.updateTextureParameters(),a.getProjectionMatrix().pop(),a.getViewVolumes().pop(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}})(),setShaderUniforms:(()=>{const e=new Float32Array(16);return function(t,r,i,a){R.prototype.setShaderUniforms.call(this,t,r,i,a),i.getNode()===this&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}})()}),Object.defineProperties(se,{typeName:{value:"GeneratedCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:3}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"update",new(g().SFString)("NONE")),new(m())(y().initializeOnly,"size",new(g().SFInt32)(128)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});const oe=se;s().add("GeneratedCubeMapTexture","x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",oe);const ue=oe,de=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Networking/X3DUrlObject");var he=r.n(de);const Te=window[Symbol.for("X_ITE.X3D-10.0.4")].require("standard/Math/Numbers/Vector2");var ce=r.n(Te);const pe=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/DEVELOPMENT");var xe=r.n(pe),le=r(823);const ge=new Uint8Array([255,255,255,255]);function _e(e){R.call(this,e),he().call(this,e),this.addType(y().ImageCubeMapTexture),this.image=le("<img></img>"),this.urlStack=new(g().MFString)}Object.assign(Object.setPrototypeOf(_e.prototype,R.prototype),he().prototype,{initialize(){R.prototype.initialize.call(this),he().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,ge);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData(){this.clearTexture()},loadData(){this.urlStack.setValue(this._url),this.loadNext()},loadNext(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(y().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getBaseURL()),this.URL.pathname.match(/\.ktx2?(?:\.gz)?$/)||this.URL.href.match(/^data:image\/ktx2[;,]/)?(this.setLinear(!0),this.setMipMaps(!1),this.getBrowser().getKTXDecoder().then((e=>e.loadKTXFromURL(this.URL,this.getCache()))).then((e=>this.setKTXTexture(e))).catch((e=>this.setError({type:e.message})))):(this.setLinear(!1),this.setMipMaps(!0),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href))},setError(e){"data:"!==this.URL.protocol&&console.warn(`Error loading image '${decodeURI(this.URL.href)}'`,e.type),this.loadNext()},setKTXTexture(e){if(e.target!==this.getTarget())return this.setError({type:"Invalid KTX texture target, must be 'TEXTURE_CUBE_MAP'."});xe()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'.`);try{this.setTexture(e),this.setTransparent(!1),this.setSize(e.baseWidth),this.updateTextureParameters(),this.setLoadState(y().COMPLETE_STATE)}catch(e){this.setError({type:e.message})}},setImage(){xe()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'.`);try{const e=this.getBrowser().getContext(),t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,this.image[0]),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),this.imageToCubeMap(t,this.image.prop("width"),this.image.prop("height"),!1),this.setLoadState(y().COMPLETE_STATE)}catch(e){this.setError({type:e.message})}},imageToCubeMap(e,t,r){const i=t/r;Math.abs(i-4/3)<.01&&this.skyBoxToCubeMap(e,t,r),Math.abs(i-2)<.01&&this.panoramaToCubeMap(e,t,r),this.updateTextureParameters()},skyBoxToCubeMap:function(){const e=[new(ce())(1,1),new(ce())(3,1),new(ce())(0,1),new(ce())(2,1),new(ce())(1,0),new(ce())(1,2)];return function(t,r,i){const a=this.getBrowser().getContext(),n=a.createFramebuffer(),s=Math.floor(r/4),o=Math.floor(i/3),u=new Uint8Array(s*o*4);a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e)a.texImage2D(this.getTargets()[e],0,a.RGBA,s,o,0,a.RGBA,a.UNSIGNED_BYTE,null);a.bindFramebuffer(a.FRAMEBUFFER,n),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,t,0);let d=!1;a.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)a.copyTexSubImage2D(this.getTargets()[t],0,0,0,e[t].x*s,e[t].y*o,s,o),d||(a.readPixels(e[t].x*s,e[t].y*o,s,o,a.RGBA,a.UNSIGNED_BYTE,u),d=this.isImageTransparent(u));a.deleteFramebuffer(n),a.deleteTexture(t),this.setTransparent(d),this.setSize(s)}}(),panoramaToCubeMap(e,t,r){const i=this.getBrowser(),a=i.getContext(),n=i.getPanoramaShader(),s=a.createFramebuffer(),o=i.getTextureCubeUnit(),u=Math.floor(r/2),d=new Uint8Array(u*u*4);a.bindTexture(a.TEXTURE_2D,e),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.MIRRORED_REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.MIRRORED_REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e)a.texImage2D(this.getTargets()[e],0,a.RGBA,u,u,0,a.RGBA,a.UNSIGNED_BYTE,null);a.useProgram(n.getProgram()),a.activeTexture(a.TEXTURE0+o),a.bindTexture(a.TEXTURE_2D,e),a.uniform1i(n.x3d_PanoramaTexture,o),a.bindFramebuffer(a.FRAMEBUFFER,s),a.viewport(0,0,u,u),a.scissor(0,0,u,u),a.disable(a.DEPTH_TEST),a.enable(a.CULL_FACE),a.frontFace(a.CCW),a.clearColor(0,0,0,0),a.bindVertexArray(i.getFullscreenVertexArrayObject());let h=!1;for(let e=0;e<6;++e)a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,this.getTargets()[e],this.getTexture(),0),a.clear(a.COLOR_BUFFER_BIT),a.uniform1i(n.x3d_CurrentFace,e),a.drawArrays(a.TRIANGLES,0,6),h||(a.readPixels(0,0,u,u,a.RGBA,a.UNSIGNED_BYTE,d),h=this.isImageTransparent(d));a.enable(a.DEPTH_TEST),a.deleteFramebuffer(s),a.deleteTexture(e),i.resetTextureUnits(),this.setTransparent(h),this.setSize(u)},dispose(){he().prototype.dispose.call(this),R.prototype.dispose.call(this)}}),Object.defineProperties(_e,{typeName:{value:"ImageCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:2}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"load",new(g().SFBool)(!0)),new(m())(y().inputOutput,"url",new(g().MFString)),new(m())(y().inputOutput,"autoRefresh",new(g().SFTime)),new(m())(y().inputOutput,"autoRefreshTimeLimit",new(g().SFTime)(3600)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});const me=_e;s().add("ImageCubeMapTexture","x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",me);const fe=me;a().add({name:"CubeMapTexturing",concreteNodes:[A,ue,fe],abstractNodes:[R],browserContext:x});const Ee=void 0;s().add("CubeMapTexturing","assets/components/CubeMapTexturing",Ee)})();
|
|
1
|
+
/* X_ITE v10.1.0 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-10.1.0")].require("lib/jquery")}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const i=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components");var a=r.n(i);const n=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var s=r.n(n);const o="\nprecision highp float;precision highp int;precision highp sampler2D;const float M_PI=3.1415926535897932384626433832795;varying vec2 texCoord;uniform sampler2D x3d_PanoramaTexture;uniform int x3d_CurrentFace;vec3 uvToXYZ(const in int face,const in vec2 uv){vec3 xyz;if(face==0)xyz=vec3(1.0,uv.y,uv.x);else if(face==1)xyz=vec3(-1.0,uv.y,-uv.x);else if(face==2)xyz=vec3(uv.x,uv.y,-1.0);else if(face==3)xyz=vec3(-uv.x,uv.y,1.0);else if(face==4)xyz=vec3(uv.y,-1.0,uv.x);else xyz=vec3(-uv.y,1.0,uv.x);return xyz;}vec2 dirToUV(const in vec3 dir){return vec2(0.5+0.5*atan(dir.z,dir.x)/M_PI,1.0-acos(dir.y)/M_PI);}vec3 panoramaToCubeMap(const in int face,const in vec2 texCoord){vec3 scan=uvToXYZ(face,texCoord);vec3 direction=normalize(scan);vec2 src=dirToUV(direction);return texture2D(x3d_PanoramaTexture,src).rgb;}void main(){gl_FragColor=vec4(panoramaToCubeMap(x3d_CurrentFace,texCoord),1.0);}";s().add("Panorama1.fs","x_ite/Browser/CubeMapTexturing/Panorama1.fs",o);const u=o,d="#version 300 es\nprecision highp float;precision highp int;precision highp sampler2D;const float M_PI=3.1415926535897932384626433832795;in vec2 texCoord;out vec4 x3d_FragColor;uniform sampler2D x3d_PanoramaTexture;uniform int x3d_CurrentFace;vec3 uvToXYZ(const in int face,const in vec2 uv){switch(face){case 0:return vec3(1.0,uv.y,uv.x);case 1:return vec3(-1.0,uv.y,-uv.x);case 2:return vec3(uv.x,uv.y,-1.0);case 3:return vec3(-uv.x,uv.y,1.0);case 4:return vec3(uv.y,-1.0,uv.x);default:return vec3(-uv.y,1.0,uv.x);}}vec2 dirToUV(const in vec3 dir){return vec2(0.5+0.5*atan(dir.z,dir.x)/M_PI,1.0-acos(dir.y)/M_PI);}vec3 panoramaToCubeMap(const in int face,const in vec2 texCoord){vec3 scan=uvToXYZ(face,texCoord);vec3 direction=normalize(scan);vec2 src=dirToUV(direction);return texture(x3d_PanoramaTexture,src).rgb;}void main(){x3d_FragColor=vec4(panoramaToCubeMap(x3d_CurrentFace,texCoord),1.0);}";s().add("Panorama2.fs","x_ite/Browser/CubeMapTexturing/Panorama2.fs",d);const h=d,T=Symbol();function c(){}Object.assign(c.prototype,{getPanoramaShader(){return this[T]?this[T]:this[T]=this.createShader("Panorama","FullScreen","data:x-shader/x-fragment,"+["",u,h][this.getContext().getVersion()],[],["x3d_PanoramaTexture","x3d_CurrentFace"])}});const p=c;s().add("X3DCubeMapTexturingContext","x_ite/Browser/CubeMapTexturing/X3DCubeMapTexturingContext",p);const x=p,l=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var g=r.n(l);const _=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var E=r.n(f);const b=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var w=r.n(b);const v=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var y=r.n(v);function M(e){w().call(this,e),this.addType(y().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y],this.size=1}Object.assign(Object.setPrototypeOf(M.prototype,w().prototype),{getTarget(){return this.target},getTextureType:()=>4,getTargets(){return this.targets},getSize(){return this.size},setSize(e){this.size=e},clearTexture:(()=>{const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setSize(1),this.setTransparent(!1),this.updateTextureParameters()}})(),updateTextureParameters(){w().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,this.size,this.size,!1,!1,!1)},setShaderUniforms(e,t,r,i=t.x3d_Texture[0]){const a=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+a),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,a)}}),Object.defineProperties(M,{typeName:{value:"X3DEnvironmentTextureNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:1}),enumerable:!0}});const C=M;s().add("X3DEnvironmentTextureNode","x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",C);const R=C,S=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DCast");var I=r.n(S);const X=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Utility/BitSet");var D=r.n(X);function U(e){R.call(this,e),this.addType(y().ComposedCubeMapTexture),this.addChildObjects(y().inputOutput,"update",new(g().SFTime)),e.getSpecificationVersion()<=3.3&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("top",this._topTexture),this.addAlias("bottom",this._bottomTexture)),this.textureNodes=[null,null,null,null,null,null],this.textureBits=new(D())}Object.assign(Object.setPrototypeOf(U.prototype,R.prototype),{initialize(){R.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(0,this._frontTexture),this.set_texture__(1,this._backTexture),this.set_texture__(2,this._leftTexture),this.set_texture__(3,this._rightTexture),this.set_texture__(4,this._topTexture),this.set_texture__(5,this._bottomTexture)},set_texture__(e,t){let r=this.textureNodes[e];r?.removeInterest(`set_loadState${e}__`,this),r=this.textureNodes[e]=I()(y().X3DTexture2DNode,t),r?.addInterest(`set_loadState${e}__`,this,e,r),this.set_loadState__(e,r)},set_loadState__(e,t){this.setTextureBit(e,t?.checkLoadState()),this._update.addEvent()},setTextureBit(e,t){this.textureBits.set(e,t===y().COMPLETE_STATE)},isComplete(){if(63!=+this.textureBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=t[0].getWidth();if(r!==this.getSize()){const t=new Uint8Array(r*r*4);e.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)e.texImage2D(this.getTargets()[i],0,e.RGBA,r,r,0,e.RGBA,e.UNSIGNED_BYTE,t);this.setSize(r),this.updateTextureParameters()}e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let i=0;i<6;++i){const a=t[i];if(e.bindTexture(e.TEXTURE_2D,a.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,a.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),1===a.getTextureType())e.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,r,r);else for(let t=0;t<r;++t)e.copyTexSubImage2D(this.getTargets()[i],0,0,r-t-1,0,t,r,1)}this.setTransparent(t.some((e=>e.isTransparent()))),this.setLinear(t.some((e=>e.isLinear()))),this.setMipMaps(t.every((e=>e.getMipMaps()))),this.updateTextureParameters()}else this.clearTexture()}}),Object.defineProperties(U,{typeName:{value:"ComposedCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:1}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"frontTexture",new(g().SFNode)),new(m())(y().inputOutput,"backTexture",new(g().SFNode)),new(m())(y().inputOutput,"leftTexture",new(g().SFNode)),new(m())(y().inputOutput,"rightTexture",new(g().SFNode)),new(m())(y().inputOutput,"topTexture",new(g().SFNode)),new(m())(y().inputOutput,"bottomTexture",new(g().SFNode)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});for(let e=0;e<6;++e)U.prototype[`set_loadState${e}__`]=function(e,t){this.set_loadState__(e,t)};const O=U;s().add("ComposedCubeMapTexture","x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",O);const A=O,P=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DBaseNode");var B=r.n(P);const N=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Rendering/X3DRenderObject");var F=r.n(N);const z=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Rendering/TraverseType");var L=r.n(z);function V(e,t,r){B().call(this,e),F().call(this,e),this.node=r,this.renderObject=t}Object.assign(Object.setPrototypeOf(V.prototype,B().prototype),F().prototype,{initialize(){B().prototype.initialize.call(this),F().prototype.initialize.call(this)},isIndependent:()=>!1,getNode(){return this.node},getLayer(){return this.renderObject.getLayer()},getBackground(){return this.renderObject.getBackground()},getFog(){return this.renderObject.getFog()},getNavigationInfo(){return this.renderObject.getNavigationInfo()},getViewpoint(){return this.renderObject.getViewpoint()},getViewpointStack(){return this.renderObject.getViewpointStack()},getLightContainer(){return this.renderObject.getLights()[this.lightIndex++]},render(e,t,r){switch(e){case L().COLLISION:case L().SHADOW:F().prototype.render.call(this,e,t,r);break;case L().DISPLAY:this.lightIndex=0,F().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Object.keys(V.prototype))Object.defineProperty(V.prototype,e,{enumerable:!1});const j=V;s().add("DependentRenderer","x_ite/Rendering/DependentRenderer",j);const G=j,q=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Rendering/TextureBuffer");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Geometry/Camera");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Geometry/ViewVolume");var $=r.n(H);const Z=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Rotation4");var K=r.n(Z);const J=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector3");var Q=r.n(J);const ee=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector4");var te=r.n(ee);const re=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Matrix4");var ie=r.n(re);const ae=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Algorithm");var ne=r.n(ae);function se(e){R.call(this,e),this.addType(y().GeneratedCubeMapTexture),this.dependentRenderers=new WeakMap,this.projectionMatrix=new(ie()),this.modelMatrix=new(ie()),this.viewVolume=new($())}Object.assign(Object.setPrototypeOf(se.prototype,R.prototype),{initialize(){R.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.set_size__()},set_size__(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():ne().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(te())(0,0,t,t),this.frameBuffer=new(k())(this.getBrowser(),t,t),this.setSize(t)}else this.frameBuffer=null,this.setSize(0)},traverse(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:(()=>{const e=[new(K())(Q().zAxis,new(Q())(0,0,-1)),new(K())(Q().zAxis,new(Q())(0,0,1)),new(K())(Q().zAxis,new(Q())(1,0,0)),new(K())(Q().zAxis,new(Q())(-1,0,0)),new(K())(Q().zAxis,new(Q())(0,-1,0)),new(K())(Q().zAxis,new(Q())(0,1,0))],t=[new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(-1,-1,1),new(Q())(1,1,1),new(Q())(1,1,1)],r=new(ie());return function(i){if(!this.dependentRenderers.has(i)){const e=new G(this.getExecutionContext(),i,this);e.setup(),this.dependentRenderers.set(i,e)}const a=this.dependentRenderers.get(i),n=this.getBrowser(),s=i.getLayer(),o=n.getContext(),u=a.getBackground(),d=a.getNavigationInfo(),h=a.getViewpoint(),T=n.getHeadlight(),c=d._headlight.getValue(),p=d.getNearValue(),x=d.getFarValue(h),l=W().perspective(ne().radians(90),p,x,1,1,this.projectionMatrix),g=this.frameBuffer.getWidth(),_=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),a.getViewVolumes().push(this.viewVolume.set(l,this.viewport,this.viewport)),a.getProjectionMatrix().pushMatrix(l),o.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)o.clear(o.COLOR_BUFFER_BIT),a.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),a.getCameraSpaceMatrix().rotate(e[i]),a.getCameraSpaceMatrix().scale(t[i]),a.getViewMatrix().pushMatrix(r.assign(a.getCameraSpaceMatrix().get()).inverse()),a.getModelViewMatrix().pushMatrix(r),c&&(T.modelViewMatrix.pushMatrix(r),T.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(L().DISPLAY,a),c&&T.modelViewMatrix.pop(),a.getModelViewMatrix().pop(),a.getCameraSpaceMatrix().pop(),a.getViewMatrix().pop(),o.bindTexture(this.getTarget(),this.getTexture()),o.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,g,_);this.updateTextureParameters(),a.getProjectionMatrix().pop(),a.getViewVolumes().pop(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}})(),setShaderUniforms:(()=>{const e=new Float32Array(16);return function(t,r,i,a){R.prototype.setShaderUniforms.call(this,t,r,i,a),i.getNode()===this&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}})()}),Object.defineProperties(se,{typeName:{value:"GeneratedCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:3}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"update",new(g().SFString)("NONE")),new(m())(y().initializeOnly,"size",new(g().SFInt32)(128)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});const oe=se;s().add("GeneratedCubeMapTexture","x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",oe);const ue=oe,de=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Networking/X3DUrlObject");var he=r.n(de);const Te=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Numbers/Vector2");var ce=r.n(Te);const pe=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/DEVELOPMENT");var xe=r.n(pe),le=r(823);const ge=new Uint8Array([255,255,255,255]);function _e(e){R.call(this,e),he().call(this,e),this.addType(y().ImageCubeMapTexture),this.image=le("<img></img>"),this.urlStack=new(g().MFString)}Object.assign(Object.setPrototypeOf(_e.prototype,R.prototype),he().prototype,{initialize(){R.prototype.initialize.call(this),he().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,ge);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData(){this.clearTexture()},loadData(){this.urlStack.setValue(this._url),this.loadNext()},loadNext(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(y().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getBaseURL()),this.URL.pathname.match(/\.ktx2?(?:\.gz)?$/)||this.URL.href.match(/^data:image\/ktx2[;,]/)?(this.setLinear(!0),this.setMipMaps(!1),this.getBrowser().getKTXDecoder().then((e=>e.loadKTXFromURL(this.URL,this.getCache()))).then((e=>this.setKTXTexture(e))).catch((e=>this.setError({type:e.message})))):(this.setLinear(!1),this.setMipMaps(!0),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href))},setError(e){"data:"!==this.URL.protocol&&console.warn(`Error loading image '${decodeURI(this.URL.href)}'`,e.type),this.loadNext()},setKTXTexture(e){if(e.target!==this.getTarget())return this.setError({type:"Invalid KTX texture target, must be 'TEXTURE_CUBE_MAP'."});xe()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'.`);try{this.setTexture(e),this.setTransparent(!1),this.setSize(e.baseWidth),this.updateTextureParameters(),this.setLoadState(y().COMPLETE_STATE)}catch(e){this.setError({type:e.message})}},setImage(){xe()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'.`);try{const e=this.getBrowser().getContext(),t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,this.image[0]),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),this.imageToCubeMap(t,this.image.prop("width"),this.image.prop("height"),!1),this.setLoadState(y().COMPLETE_STATE)}catch(e){this.setError({type:e.message})}},imageToCubeMap(e,t,r){const i=t/r;Math.abs(i-4/3)<.01&&this.skyBoxToCubeMap(e,t,r),Math.abs(i-2)<.01&&this.panoramaToCubeMap(e,t,r),this.updateTextureParameters()},skyBoxToCubeMap:function(){const e=[new(ce())(1,1),new(ce())(3,1),new(ce())(0,1),new(ce())(2,1),new(ce())(1,0),new(ce())(1,2)];return function(t,r,i){const a=this.getBrowser().getContext(),n=a.createFramebuffer(),s=Math.floor(r/4),o=Math.floor(i/3),u=new Uint8Array(s*o*4);a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e)a.texImage2D(this.getTargets()[e],0,a.RGBA,s,o,0,a.RGBA,a.UNSIGNED_BYTE,null);a.bindFramebuffer(a.FRAMEBUFFER,n),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,t,0);let d=!1;a.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)a.copyTexSubImage2D(this.getTargets()[t],0,0,0,e[t].x*s,e[t].y*o,s,o),d||(a.readPixels(e[t].x*s,e[t].y*o,s,o,a.RGBA,a.UNSIGNED_BYTE,u),d=this.isImageTransparent(u));a.deleteFramebuffer(n),a.deleteTexture(t),this.setTransparent(d),this.setSize(s)}}(),panoramaToCubeMap(e,t,r){const i=this.getBrowser(),a=i.getContext(),n=i.getPanoramaShader(),s=a.createFramebuffer(),o=i.getTextureCubeUnit(),u=Math.floor(r/2),d=new Uint8Array(u*u*4);a.bindTexture(a.TEXTURE_2D,e),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.MIRRORED_REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.MIRRORED_REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e)a.texImage2D(this.getTargets()[e],0,a.RGBA,u,u,0,a.RGBA,a.UNSIGNED_BYTE,null);a.useProgram(n.getProgram()),a.activeTexture(a.TEXTURE0+o),a.bindTexture(a.TEXTURE_2D,e),a.uniform1i(n.x3d_PanoramaTexture,o),a.bindFramebuffer(a.FRAMEBUFFER,s),a.viewport(0,0,u,u),a.scissor(0,0,u,u),a.disable(a.DEPTH_TEST),a.enable(a.CULL_FACE),a.frontFace(a.CCW),a.clearColor(0,0,0,0),a.bindVertexArray(i.getFullscreenVertexArrayObject());let h=!1;for(let e=0;e<6;++e)a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,this.getTargets()[e],this.getTexture(),0),a.clear(a.COLOR_BUFFER_BIT),a.uniform1i(n.x3d_CurrentFace,e),a.drawArrays(a.TRIANGLES,0,6),h||(a.readPixels(0,0,u,u,a.RGBA,a.UNSIGNED_BYTE,d),h=this.isImageTransparent(d));a.enable(a.DEPTH_TEST),a.deleteFramebuffer(s),a.deleteTexture(e),i.resetTextureUnits(),this.setTransparent(h),this.setSize(u)},dispose(){he().prototype.dispose.call(this),R.prototype.dispose.call(this)}}),Object.defineProperties(_e,{typeName:{value:"ImageCubeMapTexture",enumerable:!0},componentInfo:{value:Object.freeze({name:"CubeMapTexturing",level:2}),enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(E())([new(m())(y().inputOutput,"metadata",new(g().SFNode)),new(m())(y().inputOutput,"description",new(g().SFString)),new(m())(y().inputOutput,"load",new(g().SFBool)(!0)),new(m())(y().inputOutput,"url",new(g().MFString)),new(m())(y().inputOutput,"autoRefresh",new(g().SFTime)),new(m())(y().inputOutput,"autoRefreshTimeLimit",new(g().SFTime)(3600)),new(m())(y().initializeOnly,"textureProperties",new(g().SFNode))]),enumerable:!0}});const me=_e;s().add("ImageCubeMapTexture","x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",me);const fe=me;a().add({name:"CubeMapTexturing",concreteNodes:[A,ue,fe],abstractNodes:[R],browserContext:x});const Ee=void 0;s().add("CubeMapTexturing","assets/components/CubeMapTexturing",Ee)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.0
|
|
1
|
+
/* X_ITE v10.1.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -34,30 +34,29 @@
|
|
|
34
34
|
/******/ })();
|
|
35
35
|
/******/
|
|
36
36
|
/************************************************************************/
|
|
37
|
-
var __webpack_exports__ = {};
|
|
38
37
|
|
|
39
38
|
// UNUSED EXPORTS: default
|
|
40
39
|
|
|
41
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components");
|
|
43
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
44
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Fields");
|
|
46
45
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
47
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
48
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
50
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
51
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
54
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
53
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
55
54
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
56
55
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
56
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
57
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
58
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
59
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Namespace");
|
|
61
60
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
61
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityManager.js
|
|
63
62
|
/*******************************************************************************
|
|
@@ -175,10 +174,10 @@ const __default__ = DISEntityManager;
|
|
|
175
174
|
Namespace_default().add ("DISEntityManager", "x_ite/Components/DIS/DISEntityManager", __default__);
|
|
176
175
|
/* harmony default export */ const DIS_DISEntityManager = (__default__);
|
|
177
176
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
178
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
177
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
179
178
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
180
179
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
181
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
180
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
182
181
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
183
182
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityTypeMapping.js
|
|
184
183
|
/*******************************************************************************
|
|
@@ -311,10 +310,10 @@ const DISEntityTypeMapping_default_ = DISEntityTypeMapping;
|
|
|
311
310
|
Namespace_default().add ("DISEntityTypeMapping", "x_ite/Components/DIS/DISEntityTypeMapping", DISEntityTypeMapping_default_);
|
|
312
311
|
/* harmony default export */ const DIS_DISEntityTypeMapping = (DISEntityTypeMapping_default_);
|
|
313
312
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
314
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
313
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
315
314
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
316
315
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
|
|
317
|
-
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
316
|
+
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DSensorNode");
|
|
318
317
|
var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
|
|
319
318
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/EspduTransform.js
|
|
320
319
|
/*******************************************************************************
|
|
@@ -531,7 +530,7 @@ const EspduTransform_default_ = EspduTransform;
|
|
|
531
530
|
Namespace_default().add ("EspduTransform", "x_ite/Components/DIS/EspduTransform", EspduTransform_default_);
|
|
532
531
|
/* harmony default export */ const DIS_EspduTransform = (EspduTransform_default_);
|
|
533
532
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
534
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
533
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
535
534
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
536
535
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/ReceiverPdu.js
|
|
537
536
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.0.4 */(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components");var n=t.n(e);const i=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const r=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(r);const S=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Base/X3DConstants");var s=t.n(S);const c=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Namespace");var O=t.n(c);function F(t){l().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<=3.3&&this.addAlias("mapping",this._children)}Object.setPrototypeOf(F.prototype,l().prototype),Object.defineProperties(F,{typeName:{value:"DISEntityManager",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),enumerable:!0}});const d=F;O().add("DISEntityManager","x_ite/Components/DIS/DISEntityManager",d);const y=d,m=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Core/X3DInfoNode");var I=t.n(m);const f=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Networking/X3DUrlObject");var b=t.n(f);function D(t){I().call(this,t),b().call(this,t),this.addType(s().DISEntityTypeMapping)}Object.assign(Object.setPrototypeOf(D.prototype,I().prototype),b().prototype,{initialize(){I().prototype.initialize.call(this),b().prototype.initialize.call(this)},dispose(){b().prototype.dispose.call(this),I().prototype.dispose.call(this)}}),Object.defineProperties(D,{typeName:{value:"DISEntityTypeMapping",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),enumerable:!0}});const g=D;O().add("DISEntityTypeMapping","x_ite/Components/DIS/DISEntityTypeMapping",g);const h=g,v=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Grouping/X3DGroupingNode");var T=t.n(v);const P=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Core/X3DSensorNode");var _=t.n(P);function z(t){T().call(this,t),_().call(this,t),this.addType(s().EspduTransform),t.getSpecificationVersion()<=3.3&&(this._applicationID=1,this._munitionApplicationID=1)}Object.assign(Object.setPrototypeOf(z.prototype,T().prototype),_().prototype,{initialize(){T().prototype.initialize.call(this),_().prototype.initialize.call(this)}}),Object.defineProperties(z,{typeName:{value:"EspduTransform",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubcategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const B=z;O().add("EspduTransform","x_ite/Components/DIS/EspduTransform",B);const V=B,E=window[Symbol.for("X_ITE.X3D-10.0.4")].require("x_ite/Components/Grouping/X3DBoundedObject");var x=t.n(E);function N(t){_().call(this,t),x().call(this,t),this.addType(s().ReceiverPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1,this._transmitterApplicationID=1)}Object.assign(Object.setPrototypeOf(N.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(N,{typeName:{value:"ReceiverPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const R=N;O().add("ReceiverPdu","x_ite/Components/DIS/ReceiverPdu",R);const C=R;function j(t){_().call(this,t),x().call(this,t),this.addType(s().SignalPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1)}Object.assign(Object.setPrototypeOf(j.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(j,{typeName:{value:"SignalPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const M=j;O().add("SignalPdu","x_ite/Components/DIS/SignalPdu",M);const X=M;function A(t){_().call(this,t),x().call(this,t),this.addType(s().TransmitterPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1)}Object.assign(Object.setPrototypeOf(A.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(A,{typeName:{value:"TransmitterPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const k=A;O().add("TransmitterPdu","x_ite/Components/DIS/TransmitterPdu",k);const H=k;n().add({name:"DIS",concreteNodes:[y,h,V,C,X,H],abstractNodes:[]});const q=void 0;O().add("DIS","assets/components/DIS",q)})();
|
|
1
|
+
/* X_ITE v10.1.0 */(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components");var n=t.n(e);const i=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const r=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(r);const S=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var s=t.n(S);const c=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var O=t.n(c);function F(t){l().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<=3.3&&this.addAlias("mapping",this._children)}Object.setPrototypeOf(F.prototype,l().prototype),Object.defineProperties(F,{typeName:{value:"DISEntityManager",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),enumerable:!0}});const d=F;O().add("DISEntityManager","x_ite/Components/DIS/DISEntityManager",d);const y=d,m=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DInfoNode");var I=t.n(m);const f=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Networking/X3DUrlObject");var b=t.n(f);function D(t){I().call(this,t),b().call(this,t),this.addType(s().DISEntityTypeMapping)}Object.assign(Object.setPrototypeOf(D.prototype,I().prototype),b().prototype,{initialize(){I().prototype.initialize.call(this),b().prototype.initialize.call(this)},dispose(){b().prototype.dispose.call(this),I().prototype.dispose.call(this)}}),Object.defineProperties(D,{typeName:{value:"DISEntityTypeMapping",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),enumerable:!0}});const g=D;O().add("DISEntityTypeMapping","x_ite/Components/DIS/DISEntityTypeMapping",g);const h=g,v=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var T=t.n(v);const P=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DSensorNode");var _=t.n(P);function z(t){T().call(this,t),_().call(this,t),this.addType(s().EspduTransform),t.getSpecificationVersion()<=3.3&&(this._applicationID=1,this._munitionApplicationID=1)}Object.assign(Object.setPrototypeOf(z.prototype,T().prototype),_().prototype,{initialize(){T().prototype.initialize.call(this),_().prototype.initialize.call(this)}}),Object.defineProperties(z,{typeName:{value:"EspduTransform",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubcategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const B=z;O().add("EspduTransform","x_ite/Components/DIS/EspduTransform",B);const V=B,E=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var x=t.n(E);function N(t){_().call(this,t),x().call(this,t),this.addType(s().ReceiverPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1,this._transmitterApplicationID=1)}Object.assign(Object.setPrototypeOf(N.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(N,{typeName:{value:"ReceiverPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const R=N;O().add("ReceiverPdu","x_ite/Components/DIS/ReceiverPdu",R);const C=R;function j(t){_().call(this,t),x().call(this,t),this.addType(s().SignalPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1)}Object.assign(Object.setPrototypeOf(j.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(j,{typeName:{value:"SignalPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const M=j;O().add("SignalPdu","x_ite/Components/DIS/SignalPdu",M);const X=M;function A(t){_().call(this,t),x().call(this,t),this.addType(s().TransmitterPdu),t.getSpecificationVersion()<=3.3&&(this._applicationID=1)}Object.assign(Object.setPrototypeOf(A.prototype,_().prototype),x().prototype,{initialize(){_().prototype.initialize.call(this),x().prototype.initialize.call(this)},dispose(){x().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(A,{typeName:{value:"TransmitterPdu",enumerable:!0},componentInfo:{value:Object.freeze({name:"DIS",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"description",new(u().SFString)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().inputOutput,"geoCoords",new(u().SFVec3d)),new(p())(s().initializeOnly,"geoSystem",new(u().MFString)("GD","WE"))]),enumerable:!0}});const k=A;O().add("TransmitterPdu","x_ite/Components/DIS/TransmitterPdu",k);const H=k;n().add({name:"DIS",concreteNodes:[y,h,V,C,X,H],abstractNodes:[]});const q=void 0;O().add("DIS","assets/components/DIS",q)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.0
|
|
1
|
+
/* X_ITE v10.1.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -34,30 +34,29 @@
|
|
|
34
34
|
/******/ })();
|
|
35
35
|
/******/
|
|
36
36
|
/************************************************************************/
|
|
37
|
-
var __webpack_exports__ = {};
|
|
38
37
|
|
|
39
38
|
// UNUSED EXPORTS: default
|
|
40
39
|
|
|
41
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components");
|
|
43
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
44
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Fields");
|
|
46
45
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
47
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
48
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
50
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
51
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
54
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
53
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
55
54
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
56
55
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
56
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
57
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
58
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
59
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Namespace");
|
|
61
60
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
61
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanFilter.js
|
|
63
62
|
/*******************************************************************************
|
|
@@ -183,7 +182,7 @@ const __default__ = BooleanFilter;
|
|
|
183
182
|
Namespace_default().add ("BooleanFilter", "x_ite/Components/EventUtilities/BooleanFilter", __default__);
|
|
184
183
|
/* harmony default export */ const EventUtilities_BooleanFilter = (__default__);
|
|
185
184
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
186
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
185
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Algorithm");
|
|
187
186
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
188
187
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DSequencerNode.js
|
|
189
188
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.0
|
|
1
|
+
/* X_ITE v10.1.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},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 n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var o=e.n(i);const l=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(l);const r=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(u);const c=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var d=e.n(c);const _=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var g=e.n(_);function m(e){p().call(this,e),this.addType(d().BooleanFilter)}Object.assign(Object.setPrototypeOf(m.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){const e=this._set_boolean.getValue();e?this._inputTrue=!0:this._inputFalse=!1,this._inputNegate=!e}}),Object.defineProperties(m,{typeName:{value:"BooleanFilter",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_boolean",new(o().SFBool)),new(a())(d().outputOnly,"inputTrue",new(o().SFBool)),new(a())(d().outputOnly,"inputFalse",new(o().SFBool)),new(a())(d().outputOnly,"inputNegate",new(o().SFBool))]),enumerable:!0}});const b=m;g().add("BooleanFilter","x_ite/Components/EventUtilities/BooleanFilter",b);const h=b,f=window[Symbol.for("X_ITE.X3D-10.1.0")].require("standard/Math/Algorithm");var y=e.n(f);function v(e){p().call(this,e),this.addType(d().X3DSequencerNode),this.index=-1}Object.assign(Object.setPrototypeOf(v.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_fraction.addInterest("set_fraction__",this),this._previous.addInterest("set_previous__",this),this._next.addInterest("set_next__",this),this._key.addInterest("set_index__",this)},set_fraction__(){const e=this._set_fraction.getValue(),t=this._key,n=t.length;if(0===n)return;let i=0;if(1===n||e<=t[0])i=0;else if(e>=t[n-1])i=this.getSize()-1;else{i=y().upperBound(t,0,n,e)-1}i!==this.index&&i<this.getSize()&&this.sequence(this.index=i)},set_previous__(){this._previous.getValue()&&(this.index<=0?this.index=this.getSize()-1:--this.index,this.index<this.getSize()&&this.sequence(this.index))},set_next__(){this._next.getValue()&&(this.index>=this.getSize()-1?this.index=0:++this.index,this.index<this.getSize()&&this.sequence(this.index))},set_index__(){this.index=-1}}),Object.defineProperties(v,{typeName:{value:"X3DSequencerNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0}});const w=v;g().add("X3DSequencerNode","x_ite/Components/EventUtilities/X3DSequencerNode",w);const O=w;function S(e){O.call(this,e),this.addType(d().BooleanSequencer)}Object.assign(Object.setPrototypeOf(S.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(S,{typeName:{value:"BooleanSequencer",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(a())(d().inputOnly,"previous",new(o().SFBool)),new(a())(d().inputOnly,"next",new(o().SFBool)),new(a())(d().inputOutput,"key",new(o().MFFloat)),new(a())(d().inputOutput,"keyValue",new(o().MFBool)),new(a())(d().outputOnly,"value_changed",new(o().SFBool))]),enumerable:!0}});const T=S;g().add("BooleanSequencer","x_ite/Components/EventUtilities/BooleanSequencer",T);const F=T;function I(e){p().call(this,e),this.addType(d().BooleanToggle)}Object.assign(Object.setPrototypeOf(I.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._set_boolean.getValue()&&(this._toggle=!this._toggle.getValue())}}),Object.defineProperties(I,{typeName:{value:"BooleanToggle",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_boolean",new(o().SFBool)),new(a())(d().inputOutput,"toggle",new(o().SFBool))]),enumerable:!0}});const j=I;g().add("BooleanToggle","x_ite/Components/EventUtilities/BooleanToggle",j);const x=j;function z(e){p().call(this,e),this.addType(d().X3DTriggerNode)}Object.setPrototypeOf(z.prototype,p().prototype),Object.defineProperties(z,{typeName:{value:"X3DTriggerNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0}});const B=z;g().add("X3DTriggerNode","x_ite/Components/EventUtilities/X3DTriggerNode",B);const N=B;function E(e){N.call(this,e),this.addType(d().BooleanTrigger)}Object.assign(Object.setPrototypeOf(E.prototype,N.prototype),{initialize(){N.prototype.initialize.call(this),this._set_triggerTime.addInterest("set_triggerTime__",this)},set_triggerTime__(){this._triggerTrue=!0}}),Object.defineProperties(E,{typeName:{value:"BooleanTrigger",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_triggerTime",new(o().SFTime)),new(a())(d().outputOnly,"triggerTrue",new(o().SFBool))]),enumerable:!0}});const D=E;g().add("BooleanTrigger","x_ite/Components/EventUtilities/BooleanTrigger",D);const X=D;function q(e){O.call(this,e),this.addType(d().IntegerSequencer)}Object.assign(Object.setPrototypeOf(q.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(q,{typeName:{value:"IntegerSequencer",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(a())(d().inputOnly,"previous",new(o().SFBool)),new(a())(d().inputOnly,"next",new(o().SFBool)),new(a())(d().inputOutput,"key",new(o().MFFloat)),new(a())(d().inputOutput,"keyValue",new(o().MFInt32)),new(a())(d().outputOnly,"value_changed",new(o().SFInt32))]),enumerable:!0}});const U=q;g().add("IntegerSequencer","x_ite/Components/EventUtilities/IntegerSequencer",U);const P=U;function V(e){N.call(this,e),this.addType(d().IntegerTrigger)}Object.assign(Object.setPrototypeOf(V.prototype,N.prototype),{initialize(){N.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerValue=this._integerKey}}),Object.defineProperties(V,{typeName:{value:"IntegerTrigger",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_boolean",new(o().SFBool)),new(a())(d().inputOutput,"integerKey",new(o().SFInt32)(-1)),new(a())(d().outputOnly,"triggerValue",new(o().SFInt32))]),enumerable:!0}});const C=V;g().add("IntegerTrigger","x_ite/Components/EventUtilities/IntegerTrigger",C);const k=C;function R(e){N.call(this,e),this.addType(d().TimeTrigger)}Object.assign(Object.setPrototypeOf(R.prototype,N.prototype),{initialize(){N.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerTime=this.getBrowser().getCurrentTime()}}),Object.defineProperties(R,{typeName:{value:"TimeTrigger",enumerable:!0},componentInfo:{value:Object.freeze({name:"EventUtilities",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(d().inputOutput,"metadata",new(o().SFNode)),new(a())(d().inputOnly,"set_boolean",new(o().SFBool)),new(a())(d().outputOnly,"triggerTime",new(o().SFTime))]),enumerable:!0}});const M=R;g().add("TimeTrigger","x_ite/Components/EventUtilities/TimeTrigger",M);const A=M;n().add({name:"EventUtilities",concreteNodes:[h,F,x,X,P,k,A],abstractNodes:[O,N]});const K=void 0;g().add("EventUtilities","assets/components/EventUtilities",K)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.0
|
|
1
|
+
/* X_ITE v10.1.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -34,24 +34,23 @@
|
|
|
34
34
|
/******/ })();
|
|
35
35
|
/******/
|
|
36
36
|
/************************************************************************/
|
|
37
|
-
var __webpack_exports__ = {};
|
|
38
37
|
|
|
39
38
|
// UNUSED EXPORTS: default
|
|
40
39
|
|
|
41
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components");
|
|
43
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
|
45
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
44
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DBaseNode");
|
|
46
45
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
47
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
48
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
47
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DConstants");
|
|
49
48
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
50
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
51
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
50
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Fields");
|
|
52
51
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
53
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
54
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
53
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Namespace");
|
|
55
54
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
56
55
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
|
|
57
56
|
/*******************************************************************************
|
|
@@ -204,10 +203,10 @@ const ArcClose2DOptions_default_ = ArcClose2DOptions;
|
|
|
204
203
|
Namespace_default().add ("ArcClose2DOptions", "x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
|
|
205
204
|
/* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
|
|
206
205
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
207
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
206
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
208
207
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
209
208
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
|
|
210
|
-
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
209
|
+
const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Complex");
|
|
211
210
|
var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
|
|
212
211
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
|
|
213
212
|
/*******************************************************************************
|
|
@@ -487,13 +486,13 @@ const Disk2DOptions_default_ = Disk2DOptions;
|
|
|
487
486
|
Namespace_default().add ("Disk2DOptions", "x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
|
|
488
487
|
/* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
|
|
489
488
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
|
|
490
|
-
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
489
|
+
const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
|
|
491
490
|
var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
|
|
492
491
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
|
|
493
|
-
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
492
|
+
const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/Coordinate");
|
|
494
493
|
var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
|
|
495
494
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
|
|
496
|
-
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
495
|
+
const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Texturing/TextureCoordinate");
|
|
497
496
|
var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
|
|
498
497
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
|
|
499
498
|
/*******************************************************************************
|
|
@@ -601,7 +600,7 @@ const Rectangle2DOptions_default_ = Rectangle2DOptions;
|
|
|
601
600
|
Namespace_default().add ("Rectangle2DOptions", "x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
|
|
602
601
|
/* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
|
|
603
602
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
|
|
604
|
-
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
603
|
+
const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
|
|
605
604
|
var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
|
|
606
605
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
|
|
607
606
|
/*******************************************************************************
|
|
@@ -743,16 +742,16 @@ const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
|
|
|
743
742
|
Namespace_default().add ("X3DGeometry2DContext", "x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
|
|
744
743
|
/* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
|
|
745
744
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
746
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
745
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
747
746
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
748
747
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
749
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
748
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
750
749
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
751
750
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
752
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
751
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
753
752
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
754
753
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
755
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
754
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Algorithm");
|
|
756
755
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
757
756
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
|
|
758
757
|
/*******************************************************************************
|
|
@@ -1295,7 +1294,7 @@ const Circle2D_default_ = Circle2D;
|
|
|
1295
1294
|
Namespace_default().add ("Circle2D", "x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
|
|
1296
1295
|
/* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
|
|
1297
1296
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
|
|
1298
|
-
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
1297
|
+
const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
|
|
1299
1298
|
var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
|
|
1300
1299
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
|
|
1301
1300
|
/*******************************************************************************
|
|
@@ -1794,7 +1793,7 @@ const Polypoint2D_default_ = Polypoint2D;
|
|
|
1794
1793
|
Namespace_default().add ("Polypoint2D", "x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
|
|
1795
1794
|
/* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
|
|
1796
1795
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1797
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0
|
|
1796
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.1.0")] .require ("standard/Math/Numbers/Vector2");
|
|
1798
1797
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1799
1798
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
|
|
1800
1799
|
/*******************************************************************************
|