mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-05 07:37:31 +00:00
51 lines
1.5 MiB
JavaScript
51 lines
1.5 MiB
JavaScript
![]() |
function _0x5534(){const _0x237256=['CLAMP_TO_EDGE','_primitives','onComplete','_emscripten_bind_DracoUInt8Array_DracoUInt8Array_0','PolygonGeometry','startObject','getBarrierPoint','.water','NEGATIVE_INFINITY','parent','_orthographicIn3D','rawConstructor','Unsupported\x20compressed\x20format.','addCredential','offsetX','string','textureId','verticesCount','processFrame','POINT_CLOUD','_fileExtension','_billboardMode','ColorTableMinKey','greaterThanOrEquals','TextureName','RangeDataList','begin','onload','_view','_emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0','ViewShed3D','vertexShaderSource','buffer','_screenSpaceCameraController','emscripten_bind_Decoder_GetAttributeFloat_3','getUniformMapCallback','upsampleTerrainData','187803GJoGQz','invoker','minInstensity','Pause','subTexInfos','PhysicalIndex','_subTextureManager','quadKey','Authentication\x20error','_emscripten_enum_draco_DataType_DT_INT8','loading','near','fromCache','emscripten_bind_DracoUInt8Array_size_0','DT_UINT16','Tried\x20to\x20invoke\x20ctor\x20of\x20','WEBGL_compressed_texture_pvrtc','Space','GlobeSurfaceTileProviderExt','clipPlane','CommonNoLigthNoTextureVp','noise','mixColorTypeChange','updateObjsColor','FillForeColor','_emscripten_bind_Mesh_num_points_0','getCache','getImageData','application/vnd.quantized-mesh,application/octet-stream;q=0.9,*/*;q=0.01','comparedTo','needsStart','RGBA','MaterialManager','emscripten_bind_DracoUInt32Array___destroy___0','region','S3MTile','no\x20native\x20wasm\x20support\x20detected','decode_texCoord3_normConstant','Z_STREAM_END','peek','srcX','_tilesToRender','upWC','endFunc','computeArea','msg','modifyTerrainMesh','line\x20width','Unknown\x20float\x20type:\x20','createGeometry','resetVisibleChangedQueue','basis_transcoder.wasm','calculateResolution','distance','print','VK_FORMAT_R8G8B8A8_UNORM','clearCustomClipBox','GetAttributeInt16ForAllPoints','ProjectionImage.hue','parameter\x20stop\x20is\x20required!','generateBuffer','Module.instantiateWasm\x20callback\x20failed\x20with\x20error:\x20','\x20instance\x20already\x20deleted','texUnitIndex','distanceToTile','resolveFramebuffers','attributeLocations','QuadtreeTileExt','getLiveInheritedInstances','minus','isSameDocumentAs','attribute_type','CLIP_NOTHING','ClearCommand','3441465eBrUTS','_subdomainConfig','max\x20visible\x20altitude','contentState','_tweenjs','DEGREES_PER_RADIAN','_emscripten_bind_AttributeTransformData___destroy___0','aPosition0','scheme','TextureManager','setLineVisible','LineWidth','index\x20buffer\x20is\x20null','serverKey','layers','thisProgram','_tileversion','constructor','ModifyTerrain','uv9','FLATTEN','terrainz','rangeList','imageryProvider','instanceBuffer','floatToByte','\x0a#ifdef\x20EXCAVATION\x0a\x20\x20\x20\x20uniform\x20sampler2D\x20uExcavationTexture;\x0a\x20\x20\x20\x20uniform\x20float\x20uExcavationMode;\x0a\x20\x20\x20\x20uniform\x20vec4\x20uExcavationRect;\x0a\x20\x20\x20\x20varying\x20vec4\x20vExcavationVertexPos;\x0a\x20\x20\x20\x20vec2\x20calculatePolyTexCoord(vec4\x20vertexPos,\x20vec4\x20rectPos,\x20out\x20float\x20ptInRect){\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec4\x20realVertexPos\x20=\x20vertexPos;\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20vecRatio\x20=\x20vec2(rectPos.z\x20-\x20rectPos.x,\x20rectPos.w\x20-\x20rectPos.y);\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20texCoord\x20=\x20vec2(realVertexPos.x\x20-\x20rectPos.x,\x20realVertexPos.y\x20-\x20rectPos.y);\x0a\x20\x20\x20\x20\x20\x20\x20\x20texCoord.x\x20=\x20texCoord.x\x20/\x20vecRatio.x;\x0a\x20\x20\x20\x20\x20\x20\x20\x20texCoord.y\x20=\x20texCoord.y\x20/\x20vecRatio.y;\x0a\x20\x20\x20\x20\x20\x20\x20\x20ptInRect\x20=\x20step(0.0,\x20texCoord.x)\x20*\x20step(0.0,\x20texCoord.y)\x20*\x20step(0.0,\x201.0\x20-\x20texCoord.x)\x20*\x20step(0.0,\x201.0\x20-\x20texCoord.y);\x0a\x20\x20\x20\x20\x20\x20\x20\x20texCoord\x20=\x20clamp(texCoord,\x20vec2(0.0),\x20vec2(1.0));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20texCoord;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20bool\x20executeExcavation()\x0a\x20\x20\x20\x20{\x0a\x0a\x20\x20\x20\x20\x20\x20\
|
||
|
* @license
|
||
|
*
|
||
|
* Grauw URI utilities
|
||
|
*
|
||
|
* See: http://hg.grauw.nl/grauw-lib/file/tip/src/uri.js
|
||
|
*
|
||
|
* @author Laurens Holst (http://www.grauw.nl/)
|
||
|
*
|
||
|
* Copyright 2012 Laurens Holst
|
||
|
*
|
||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
* you may not use this file except in compliance with the License.
|
||
|
* You may obtain a copy of the License at
|
||
|
*
|
||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||
|
*
|
||
|
* Unless required by applicable law or agreed to in writing, software
|
||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
* See the License for the specific language governing permissions and
|
||
|
* limitations under the License.
|
||
|
*
|
||
|
*/
|
||
|
function _0x4582a6(_0x50accb){const _0xff99d7=_0x45961a;if(_0x50accb instanceof _0x4582a6)this[_0xff99d7(0x102f)]=_0x50accb[_0xff99d7(0x102f)],this[_0xff99d7(0x756)]=_0x50accb['authority'],this[_0xff99d7(0x2f5)]=_0x50accb[_0xff99d7(0x2f5)],this[_0xff99d7(0xb4e)]=_0x50accb[_0xff99d7(0xb4e)],this[_0xff99d7(0x784)]=_0x50accb['fragment'];else{if(_0x50accb){var _0x24a6ca=_0x2a7fbc['exec'](_0x50accb);this['scheme']=_0x24a6ca[0x1],this[_0xff99d7(0x756)]=_0x24a6ca[0x2],this[_0xff99d7(0x2f5)]=_0x24a6ca[0x3],this[_0xff99d7(0xb4e)]=_0x24a6ca[0x4],this[_0xff99d7(0x784)]=_0x24a6ca[0x5];}}}_0x4582a6[_0x45961a(0xc18)]['scheme']=null,_0x4582a6[_0x45961a(0xc18)]['authority']=null,_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x2f5)]='',_0x4582a6[_0x45961a(0xc18)]['query']=null,_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x784)]=null;var _0x2a7fbc=new RegExp(_0x45961a(0xbd9));_0x4582a6[_0x45961a(0xc18)]['getScheme']=function(){const _0x4bfea8=_0x45961a;return this[_0x4bfea8(0x102f)];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x1f4)]=function(){const _0x38705a=_0x45961a;return this[_0x38705a(0x756)];},_0x4582a6[_0x45961a(0xc18)]['getPath']=function(){const _0x38ce2c=_0x45961a;return this[_0x38ce2c(0x2f5)];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0xd35)]=function(){const _0x412dd5=_0x45961a;return this[_0x412dd5(0xb4e)];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x6d4)]=function(){return this['fragment'];},_0x4582a6['prototype'][_0x45961a(0xf6d)]=function(){const _0x26745f=_0x45961a;return!!this[_0x26745f(0x102f)]&&!this['fragment'];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x1023)]=function(_0x5ccd16){const _0x5ec685=_0x45961a;return _0x5ccd16[_0x5ec685(0x102f)]==this['scheme']&&_0x5ccd16['authority']==this['authority']&&_0x5ccd16[_0x5ec685(0x2f5)]==this['path']&&_0x5ccd16['query']==this[_0x5ec685(0xb4e)];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x1048)]=function(_0x2a3ff1){const _0x24844c=_0x45961a;return this[_0x24844c(0x1023)](_0x2a3ff1)&&_0x2a3ff1['fragment']==this[_0x24844c(0x784)];},_0x4582a6[_0x45961a(0xc18)][_0x45961a(0x632)]=function(){const _0x5444a4=_0x45961a;this['removeDotSegments'](),this['scheme']&&(this[_0x5444a4(0x102f)]=this[_0x5444a4(0x102f)]['toLowerCase']()),this[_0x5444a4(0x756)]&&(this[_0x5444a4(0x756)]=this[_0x5444a4(0x756)]['replace'](_0x32c94f,_0x1b0c2f)[_0x5444a4(0x3c0)](_0x40c1f7,_0x106387)),this['path']&&(this[_0x5444a4(0x2f5)]=this[_0x5444a4(0x2f5)][_0x5444a4(0x3c0)](_0x40c1f7,_0x106387)),this[_0x5444a4(0xb4e)]&&(this[_0x5444a4(0xb4e)]=this['query'][_0x5444a4(0x3c0)](_0x40c1f7,_0x106387)),this[_0x5444a4(0x784)]&&(this[_0x5444a4(0x784)]=this[_0x5444a4(0x784)]['replace'](_0x40c1f7,_0x106387));};var _0x40c1f7=/%[0-9a-z]{2}/gi,_0x255e69=/[a-zA-Z0-9\-\._~]/,_0x32c94f=/(.*@)?([^@:]*)(:.*)?/;function _0x106387(_0x1b03e6){const _0x447965=_0x45961a;var _0x28315a=unescape(_0x1b03e6);return _0x255e69[_0x447965(0x5f8)](_0x28315a)?_0x28315a:_0x1b03e6[_0x447965(0xc02)]();}function _0x1b0c2f(_0x3911b0,_0x11518b,_0x3ca264,_0x4948ae){const _0xacf03a=_0x45961a;return(_0x11518b||'')+_0x3ca264[_0xacf03a(0xc79)]()+(_0x4948ae||'');}_0x4582a6[_0x45961a(0xc18)]['resolve']=function(_0x5451c8){const _0x5f3743=_0x45961a;var _0x26de46=new _0x4582a6();return this[_0x5f3743(0x102f)]?(_0x26de46[_0x5f3743(0x102f)]=this[_0x5f3743(0x102f)],_0x26de46[_0x5f3743(0x756)]=this[_0x5f3743(0x756)],_0x26de46['path']=this['path'],_0x26de46[_0x5f3743(0xb4e)]=this[_0x5f3743(0xb4e)]):(_0x26de46[_0x5f3743(0x102f)]=_0x5451c8[_0x5f3743(0x102f)],this[_0x5f3743(0x756)]?(_0x26de46['authority']=this[_0x5f3743(0x756)],_0x26de46['path']=this['path'],_0x26de46['query']=this[_0x5f3743(0xb4e)]):(_0x26de46['authority']=_0x5451c8[_0x5f3743(0x756)],''==this['path']?(_0x26de46[_0x5f3743(0x2f5)]=_0x5451c8[_0x5f3743(0x2f5)],_0x26de46[_0x5f3743(0xb4e)]=this[_0x5f3743(0xb4e)]||_0x5451c8[_0x5f3743(0xb4e)]):('/'==this[_0x5f3743(0x2f5)]['charAt'](0x0)?(_0x26de46['path']=this['path'],_0x26de46[_0x5f3743(0xdd8)]()):(_0x5451c8[_0x5f3743(0x756)]&&''==_0x5451c8[_0x5f3743(0x2f5)]?_0x26de46[_0x5f3743(0x2f5)]='/'+this[_0x5f3743(0x2f5)]:_0x26de46[_0x5f3743(0x2f5)]=_0x5451c8[_0x5f3743(0x2f5)][_0x5f3743(0xa45)](
|
||
|
@license
|
||
|
tween.js - https://github.com/sole/tween.js
|
||
|
|
||
|
Copyright (c) 2010-2012 Tween.js authors.
|
||
|
|
||
|
Easing equations Copyright (c) 2001 Robert Penner http://robertpenner.com/easing/
|
||
|
|
||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
|
of this software and associated documentation files (the "Software"), to deal
|
||
|
in the Software without restriction, including without limitation the rights
|
||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
|
copies of the Software, and to permit persons to whom the Software is
|
||
|
furnished to do so, subject to the following conditions:
|
||
|
|
||
|
The above copyright notice and this permission notice shall be included in
|
||
|
all copies or substantial portions of the Software.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||
|
THE SOFTWARE.
|
||
|
*/
|
||
|
void 0x0===Date[_0x45961a(0xb63)]&&(Date[_0x45961a(0xb63)]=function(){const _0x2b4022=_0x45961a;return new Date()[_0x2b4022(0x6b6)]();});var _0x381a00,_0x49028b=_0x49028b||(_0x381a00=[],{'REVISION':'13','getAll':function(){return _0x381a00;},'removeAll':function(){_0x381a00=[];},'add':function(_0x45fc12){const _0x513a5b=_0x45961a;_0x381a00[_0x513a5b(0xa17)](_0x45fc12);},'remove':function(_0x4c530c){const _0x59670c=_0x45961a;var _0x48bde8=_0x381a00[_0x59670c(0xbcb)](_0x4c530c);-0x1!==_0x48bde8&&_0x381a00['splice'](_0x48bde8,0x1);},'update':function(_0x23711f){const _0x42d08f=_0x45961a;if(0x0===_0x381a00[_0x42d08f(0xe42)])return!0x1;var _0x5f5c19=0x0;for(_0x23711f=void 0x0!==_0x23711f?_0x23711f:_0x42d08f(0x541)!=typeof window&&void 0x0!==window[_0x42d08f(0xae6)]&&void 0x0!==window[_0x42d08f(0xae6)][_0x42d08f(0xb63)]?window[_0x42d08f(0xae6)][_0x42d08f(0xb63)]():Date['now']();_0x5f5c19<_0x381a00[_0x42d08f(0xe42)];)_0x381a00[_0x5f5c19][_0x42d08f(0xa88)](_0x23711f)?_0x5f5c19++:_0x381a00[_0x42d08f(0x70d)](_0x5f5c19,0x1);return!0x0;}});_0x49028b['Tween']=function(_0x49dc56){const _0x19d426=_0x45961a;var _0x4ec407=_0x49dc56,_0x1317cd={},_0x5a0f93={},_0x49cfcb={},_0x1bebb8=0x3e8,_0x132ce3=0x0,_0x48e262=!0x1,_0x22e50a=!0x1,_0x4c61f8=0x0,_0x361ed8=null,_0x9abf60=_0x49028b['Easing'][_0x19d426(0x454)][_0x19d426(0xf12)],_0x4f8f26=_0x49028b[_0x19d426(0x438)][_0x19d426(0x454)],_0x3e6233=[],_0x3c885b=null,_0x53af99=!0x1,_0x5439b9=null,_0x3efce6=null,_0xe12845=null,_0x51a23b=0x0,_0x6f6381=0x0;for(var _0x3a61d7 in _0x49dc56)_0x1317cd[_0x3a61d7]=parseFloat(_0x49dc56[_0x3a61d7],0xa);this['to']=function(_0x48222a,_0x372f97){return void 0x0!==_0x372f97&&(_0x1bebb8=_0x372f97),_0x5a0f93=_0x48222a,this;},this[_0x19d426(0x746)]=function(_0x33bf08){const _0x15e3ec=_0x19d426;for(var _0x43e611 in(_0x49028b['add'](this),_0x22e50a=!0x0,_0x53af99=!0x1,_0x361ed8=void 0x0!==_0x33bf08?_0x33bf08:_0x15e3ec(0x541)!=typeof window&&void 0x0!==window[_0x15e3ec(0xae6)]&&void 0x0!==window[_0x15e3ec(0xae6)]['now']?window[_0x15e3ec(0xae6)][_0x15e3ec(0xb63)]():Date['now'](),_0x361ed8+=_0x4c61f8,_0x5a0f93)){if(_0x5a0f93[_0x43e611]instanceof Array){if(0x0===_0x5a0f93[_0x43e611][_0x15e3ec(0xe42)])continue;_0x5a0f93[_0x43e611]=[_0x4ec407[_0x43e611]]['concat'](_0x5a0f93[_0x43e611]);}_0x1317cd[_0x43e611]=_0x4ec407[_0x43e611],_0x1317cd[_0x43e611]instanceof Array==!0x1&&(_0x1317cd[_0x43e611]*=0x1),_0x49cfcb[_0x43e611]=_0x1317cd[_0x43e611]||0x0;}return this;},this[_0x19d426(0xd08)]=function(){},this['stop']=function(){const _0x35f7f6=_0x19d426;return _0x22e50a?(_0x49028b[_0x35f7f6(0x62a)](this),_0x22e50a=!0x1,null!==_0xe12845&&_0xe12845[_0x35f7f6(0x31e)](_0x4ec407),this['stopChainedTweens'](),this):this;},this[_0x19d426(0xeaf)]=function(){const _0x4534f6=_0x19d426;return _0x22e50a?(_0x22e50a=!0x1,_0x51a23b=_0x4534f6(0x541)!=typeof window&&void 0x0!==window['performance']&&void 0x0!==window[_0x4534f6(0xae6)][_0x4534f6(0xb63)]?window['performance'][_0x4534f6(0xb63)]():Date[_0x4534f6(0xb63)](),this):this;},this['endPause']=function(){const _0x51c83b=_0x19d426;return _0x22e50a||(_0x22e50a=!0x0,_0x51a23b=(_0x51c83b(0x541)!=typeof window&&void 0x0!==window['performance']&&void 0x0!==window[_0x51c83b(0xae6)][_0x51c83b(0xb63)]?window[_0x51c83b(0xae6)][_0x51c83b(0xb63)]():Date[_0x51c83b(0xb63)]())-_0x51a23b,_0x6f6381+=_0x51a23b),this;},this['stopChainedTweens']=function(){const _0x33d06b=_0x19d426;for(var _0x22ec78=0x0,_0x2e27b5=_0x3e6233[_0x33d06b(0xe42)];_0x22ec78<_0x2e27b5;_0x22ec78++)_0x3e6233[_0x22ec78][_0x33d06b(0xaaa)]();},this['delay']=function(_0x4b3d18){return _0x4c61f8=_0x4b3d18,this;},this[_0x19d426(0x356)]=function(_0x32f0c5){return _0x132ce3=_0x32f0c5,this;},this[_0x19d426(0x3da)]=function(_0x481c26){return _0x48e262=_0x481c26,this;},this[_0x19d426(0x68a)]=function(_0x599514){return _0x9abf60=_0x599514,this;},this[_0x19d426(0x50b)]=function(_0x50c963){return _0x4f8f26=_0x50c963,this;},this[_0x19d426(0xd6b)]=function(){return _0x3e6233=arguments,this;},this[_0x19d426(0x9de)]=function(_0xbe1315){return _0x3c885b=_0xbe1315,this;},this[_0x19d426(0x7f5)]=function(_0x16aec8){r
|