lythreeframe 1.3.14 → 2.0.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/dist/bundle.cjs.js +90 -60
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +84 -64
- package/dist/bundle.esm.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/src/AssetManagement/AssetManager.d.ts +14 -10
- package/dist/src/Frame/Controller.d.ts +1 -1
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +1 -0
- package/dist/src/Frame/Viewport.d.ts +2 -1
- package/dist/src/Frame/World.d.ts +3 -0
- package/dist/src/Object/Components/2D/CSS3DWebPanelComponent.d.ts +26 -0
- package/dist/src/Object/Components/Mesh/Line/CurveComponent.d.ts +13 -0
- package/dist/src/Object/Components/Text/Text3DComponent.d.ts +56 -0
- package/dist/src/Object/PawnV2/FirstPerson.d.ts +38 -5
- package/dist/src/Object/PawnV2/Oribital.d.ts +38 -15
- package/dist/src/Object/PawnV2/Pawn.d.ts +12 -11
- package/dist/src/Object/PawnV2/Spectator.d.ts +19 -0
- package/dist/src/Object/PawnV2/TransformControl.d.ts +7 -3
- package/dist/src/Physics/BoxColliderComponent.d.ts +22 -0
- package/dist/src/Physics/CapsuleColliderComponent.d.ts +40 -0
- package/dist/src/Physics/ColliderComponent.d.ts +62 -0
- package/dist/src/Physics/CollisionTypes.d.ts +17 -0
- package/dist/src/Physics/MeshColliderComponent.d.ts +46 -0
- package/dist/src/Physics/PhysicsWorld.d.ts +31 -0
- package/dist/src/Physics/SphereColliderComponent.d.ts +14 -0
- package/dist/src/Physics/index.d.ts +9 -0
- package/package.json +4 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -11,126 +11,146 @@ var OutlineNode_js = require('three/examples/jsm/tsl/display/OutlineNode.js');
|
|
|
11
11
|
var SMAANode_js = require('three/examples/jsm/tsl/display/SMAANode.js');
|
|
12
12
|
var TRAANode_js = require('three/examples/jsm/tsl/display/TRAANode.js');
|
|
13
13
|
var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js');
|
|
14
|
-
var OrbitControls_js = require('three/examples/jsm/controls/OrbitControls.js');
|
|
15
|
-
var three = require('three');
|
|
16
14
|
var gsap = require('gsap');
|
|
17
|
-
var
|
|
15
|
+
var three = require('three');
|
|
18
16
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
19
|
-
var
|
|
17
|
+
var _0x6b09cc = require('earcut');
|
|
20
18
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
21
19
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
22
20
|
|
|
23
|
-
function
|
|
21
|
+
function _0x4b70(_0x97b5f0,_0x1942b7){_0x97b5f0=_0x97b5f0-0xda;const _0x57241d=_0x5724();let _0x4b7017=_0x57241d[_0x97b5f0];return _0x4b7017;}const _0x528e5e=_0x4b70;(function(_0x44e9a4,_0x18bed1){const _0xbe6b7b=_0x4b70,_0x50b177=_0x44e9a4();while(!![]){try{const _0x11401e=-parseInt(_0xbe6b7b(0xe6))/0x1+-parseInt(_0xbe6b7b(0xe7))/0x2*(-parseInt(_0xbe6b7b(0xe4))/0x3)+parseInt(_0xbe6b7b(0xe8))/0x4*(-parseInt(_0xbe6b7b(0xe9))/0x5)+parseInt(_0xbe6b7b(0xdd))/0x6*(parseInt(_0xbe6b7b(0xeb))/0x7)+-parseInt(_0xbe6b7b(0xe1))/0x8*(parseInt(_0xbe6b7b(0xdb))/0x9)+-parseInt(_0xbe6b7b(0xda))/0xa+parseInt(_0xbe6b7b(0xe5))/0xb*(parseInt(_0xbe6b7b(0xf1))/0xc);if(_0x11401e===_0x18bed1)break;else _0x50b177['push'](_0x50b177['shift']());}catch(_0xdce989){_0x50b177['push'](_0x50b177['shift']());}}}(_0x5724,0x2d183));function _0x5724(){const _0x44e05a=['_uuid','16aeTADl','bCanTick','clearTickEvents','3Rbzkev','44oFiFZV','93298fAtHXk','113286HKiQSj','18824eqlHBQ','360FypcFc','isTickEnabled','2100dSPTxT','uuid','forEach','generateUUID','push','destroy','3044652KFBTWi','1708920LcnFsy','1468791FHWaqn','splice','852pHkxFV','indexOf','tickEvents'];_0x5724=function(){return _0x44e05a;};return _0x5724();}class BaseObject{get['isTickEnabled'](){const _0x2f54ef=_0x4b70;return this[_0x2f54ef(0xe2)];}set[_0x528e5e(0xea)](_0x24f7ee){this['bCanTick']=_0x24f7ee;}get[_0x528e5e(0xec)](){const _0x33e0f6=_0x528e5e;return this[_0x33e0f6(0xe0)];}constructor(_0x3e3eca=webgpu.MathUtils[_0x528e5e(0xee)]()){const _0x21c889=_0x528e5e;this['bCanTick']=![],this[_0x21c889(0xdf)]=[],this[_0x21c889(0xe2)]=![],this[_0x21c889(0xe0)]=_0x3e3eca;}['tick'](_0xca2854){const _0x4dbc7a=_0x528e5e;if(!this[_0x4dbc7a(0xe2)])return;this[_0x4dbc7a(0xdf)][_0x4dbc7a(0xed)](_0x16e9a2=>{_0x16e9a2(_0xca2854);});}['addTickEvent'](_0xe22782){const _0x1daf9b=_0x528e5e;this['tickEvents'][_0x1daf9b(0xef)](_0xe22782);}['removeTickEvent'](_0xcba6af){const _0x16c6e3=_0x528e5e;let _0x596010=this[_0x16c6e3(0xdf)][_0x16c6e3(0xde)](_0xcba6af);_0x596010!=-1&&this[_0x16c6e3(0xdf)][_0x16c6e3(0xdc)](_0x596010,0x1);}[_0x528e5e(0xe3)](){const _0x225344=_0x528e5e;this[_0x225344(0xdf)]=[];}[_0x528e5e(0xf0)](){}}
|
|
22
|
+
|
|
23
|
+
const _0x230840=_0x2e38;function _0x2e38(_0x245b86,_0x33791c){_0x245b86=_0x245b86-0x1dc;const _0x51be18=_0x51be();let _0x2e3886=_0x51be18[_0x245b86];return _0x2e3886;}(function(_0x18e647,_0x42b8d2){const _0x3d9bb0=_0x2e38,_0xb729d8=_0x18e647();while(!![]){try{const _0xc77c30=parseInt(_0x3d9bb0(0x1de))/0x1+parseInt(_0x3d9bb0(0x1ec))/0x2+parseInt(_0x3d9bb0(0x1e1))/0x3*(-parseInt(_0x3d9bb0(0x1e4))/0x4)+-parseInt(_0x3d9bb0(0x1dc))/0x5+-parseInt(_0x3d9bb0(0x1e3))/0x6+parseInt(_0x3d9bb0(0x1ef))/0x7*(parseInt(_0x3d9bb0(0x1e9))/0x8)+parseInt(_0x3d9bb0(0x1df))/0x9;if(_0xc77c30===_0x42b8d2)break;else _0xb729d8['push'](_0xb729d8['shift']());}catch(_0x578fc5){_0xb729d8['push'](_0xb729d8['shift']());}}}(_0x51be,0xaa578));function _0x51be(){const _0x255289=['6oBzeGf','type','5242908Fwkwnt','1656496rricLb','name','obj','createDefaultObject','Component','8aCSIye','_parentActor','_name','2413844wTYEPo','Component\x20createDefaultObject\x20return\x20null','LYObject','2534371cwjNBc','userData','6087815qnjMQG','threeObject','672482ixJLaF','12383028dRIFAW','destroy'];_0x51be=function(){return _0x255289;};return _0x51be();}class Component extends BaseObject{set['parentActor'](_0x4ce135){this['_parentActor']=_0x4ce135;}get['parentActor'](){const _0x4990e2=_0x2e38;return this[_0x4990e2(0x1ea)];}get[_0x230840(0x1dd)](){const _0x14b12f=_0x230840;return this[_0x14b12f(0x1e6)];}set['threeObject'](_0x4e0260){const _0x2ab532=_0x230840;this[_0x2ab532(0x1e6)]=_0x4e0260,this[_0x2ab532(0x1e6)]&&(this[_0x2ab532(0x1e6)][_0x2ab532(0x1f0)][_0x2ab532(0x1ee)]=this);}get[_0x230840(0x1e5)](){const _0x2ebbf8=_0x230840;return this[_0x2ebbf8(0x1eb)];}set[_0x230840(0x1e5)](_0x4c6ddf){const _0x2bcd3c=_0x230840;this[_0x2bcd3c(0x1eb)]=_0x4c6ddf,this[_0x2bcd3c(0x1e6)]&&(this[_0x2bcd3c(0x1e6)][_0x2bcd3c(0x1e5)]=_0x4c6ddf);}constructor(_0x1c1c55){const _0x3940c1=_0x230840;super(_0x1c1c55?_0x1c1c55:webgpu.MathUtils['generateUUID']()),this['obj']=null,this[_0x3940c1(0x1ea)]=null,this[_0x3940c1(0x1eb)]=_0x3940c1(0x1e8),this['_parentActor']=null;let _0x48c2e1=this[_0x3940c1(0x1e7)]();_0x48c2e1?(this['obj']=_0x48c2e1,this['_name']=this[_0x3940c1(0x1e6)][_0x3940c1(0x1e2)]+_0x3940c1(0x1e8)):console['warn'](_0x3940c1(0x1ed));}[_0x230840(0x1e7)](_0x4a43d5){return null;}['destroyObject'](){const _0xd3720a=_0x230840;if(!this[_0xd3720a(0x1e6)])return;}[_0x230840(0x1e0)](){this['destroyObject']();}}
|
|
24
|
+
|
|
25
|
+
(function(_0x1b309c,_0x227fe2){var _0x136884=_0x56f6,_0x52f7c2=_0x1b309c();while(!![]){try{var _0x5f4241=-parseInt(_0x136884(0x166))/0x1+-parseInt(_0x136884(0x168))/0x2*(parseInt(_0x136884(0x167))/0x3)+-parseInt(_0x136884(0x16c))/0x4*(-parseInt(_0x136884(0x162))/0x5)+parseInt(_0x136884(0x16e))/0x6+-parseInt(_0x136884(0x165))/0x7*(-parseInt(_0x136884(0x169))/0x8)+-parseInt(_0x136884(0x16d))/0x9+parseInt(_0x136884(0x164))/0xa*(parseInt(_0x136884(0x16a))/0xb);if(_0x5f4241===_0x227fe2)break;else _0x52f7c2['push'](_0x52f7c2['shift']());}catch(_0x5b2169){_0x52f7c2['push'](_0x52f7c2['shift']());}}}(_0x23d3,0x9bdf6));function _0x23d3(){var _0x1a26f7=['6jNTBzq','464708hphzzx','8zWzoQd','2887973NiPgts','KeepRelative','1018256HpeSri','8880390wijvFg','5336262IRsXHl','15vZSobj','KeepWorld','50JtjUli','1260875CDuiEf','1056037QQJZsm'];_0x23d3=function(){return _0x1a26f7;};return _0x23d3();}function _0x56f6(_0x2e3a8f,_0x99f485){_0x2e3a8f=_0x2e3a8f-0x162;var _0x23d334=_0x23d3();var _0x56f6bb=_0x23d334[_0x2e3a8f];return _0x56f6bb;}exports.AttachmentRules = void 0;(function(_0x2bf7e6){var _0x270496=_0x56f6;_0x2bf7e6[_0x2bf7e6['KeepWorld']=0x1]=_0x270496(0x163),_0x2bf7e6[_0x2bf7e6['KeepRelative']=0x2]=_0x270496(0x16b);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
26
|
+
|
|
27
|
+
const _0x4b42a9=_0x2029;(function(_0x730202,_0x3d2dca){const _0x48efb2=_0x2029,_0x299d37=_0x730202();while(!![]){try{const _0x57f17e=parseInt(_0x48efb2(0x189))/0x1*(parseInt(_0x48efb2(0x18c))/0x2)+-parseInt(_0x48efb2(0x188))/0x3*(parseInt(_0x48efb2(0x191))/0x4)+-parseInt(_0x48efb2(0x187))/0x5+-parseInt(_0x48efb2(0x194))/0x6+parseInt(_0x48efb2(0x184))/0x7*(parseInt(_0x48efb2(0x190))/0x8)+parseInt(_0x48efb2(0x183))/0x9*(-parseInt(_0x48efb2(0x180))/0xa)+-parseInt(_0x48efb2(0x17f))/0xb*(-parseInt(_0x48efb2(0x18e))/0xc);if(_0x57f17e===_0x3d2dca)break;else _0x299d37['push'](_0x299d37['shift']());}catch(_0x4cd2b3){_0x299d37['push'](_0x299d37['shift']());}}}(_0x457b,0xf1381));function _0x2029(_0x3b16c4,_0xb87eb3){_0x3b16c4=_0x3b16c4-0x17e;const _0x457b85=_0x457b();let _0x2029a1=_0x457b85[_0x3b16c4];return _0x2029a1;}class Delegate{constructor(){const _0x3c192b=_0x2029;this[_0x3c192b(0x192)]=[];}[_0x4b42a9(0x18f)](..._0x2c1c80){const _0x2fdcad=_0x4b42a9;this[_0x2fdcad(0x192)][_0x2fdcad(0x181)](_0x494ee7=>_0x494ee7(..._0x2c1c80));}[_0x4b42a9(0x182)](_0x37b732){const _0x353839=_0x4b42a9;this['functions'][_0x353839(0x17e)](_0x37b732);}[_0x4b42a9(0x185)](_0x25c29f){const _0x2a69a0=_0x4b42a9,_0x1005e8=this[_0x2a69a0(0x192)][_0x2a69a0(0x18d)](_0x25c29f);_0x1005e8>=0x0?this[_0x2a69a0(0x192)][_0x2a69a0(0x186)](_0x1005e8,0x1):console[_0x2a69a0(0x18b)](_0x2a69a0(0x193));}[_0x4b42a9(0x18a)](){const _0x8a3261=_0x4b42a9;this[_0x8a3261(0x192)]=[];}}function _0x457b(){const _0x478932=['10ZtKehT','forEach','add','2767509srQVLo','1170085CUQZfx','remove','splice','7025015znMuRc','1747554VTMFIh','636951YjQMKb','clear','warn','2pFaBZn','indexOf','120ngDmWp','broadcast','80wQHFxt','12KLauVm','functions','function\x20not\x20found','7588080dzZwIx','push','3744697KeekKI'];_0x457b=function(){return _0x478932;};return _0x457b();}
|
|
28
|
+
|
|
29
|
+
const _0x328346=_0xbe1f;(function(_0x24dc47,_0x255f25){const _0xa85f3=_0xbe1f,_0x72b999=_0x24dc47();while(!![]){try{const _0x4d1d4c=parseInt(_0xa85f3(0x9d))/0x1*(-parseInt(_0xa85f3(0x88))/0x2)+-parseInt(_0xa85f3(0x73))/0x3+parseInt(_0xa85f3(0xa9))/0x4+-parseInt(_0xa85f3(0x92))/0x5*(-parseInt(_0xa85f3(0xc3))/0x6)+parseInt(_0xa85f3(0x72))/0x7*(parseInt(_0xa85f3(0xb9))/0x8)+parseInt(_0xa85f3(0xac))/0x9*(-parseInt(_0xa85f3(0xa6))/0xa)+-parseInt(_0xa85f3(0xa8))/0xb*(-parseInt(_0xa85f3(0x95))/0xc);if(_0x4d1d4c===_0x255f25)break;else _0x72b999['push'](_0x72b999['shift']());}catch(_0x57118f){_0x72b999['push'](_0x72b999['shift']());}}}(_0x2810,0x2ea18));function _0xbe1f(_0x3f1ab1,_0x593bb3){_0x3f1ab1=_0x3f1ab1-0x6a;const _0x28105e=_0x2810();let _0xbe1f2c=_0x28105e[_0x3f1ab1];return _0xbe1f2c;}function _0x2810(){const _0x29f62b=['isClickEnabled','world','children','threeObject','visible','1310aSWVsU','broadcast','407ptcvpv','622452czcEsb','decompose','bCanClick','6309aDaeNf','isHoverEnabled','threeObject\x20is\x20invalid','quaternion','isEuler','name','getWorldMatrix','add','tick','matrixWorld','_onHoverBeginDelegate','scale','getRotation','46216bMuAZq','_onHoverEndDelegate','matrix','getMatrix','setMatrix','onHoverBeginDelegate','getWorldDirection','newComponent\x20threeObject\x20is\x20invalid','compose','detachFromParentComponent','1338lpZzaq','parentComponent','KeepRelative','LYObject','push','getPosition','parent','getCenter','setFromObject','getWorldRightDirection','length','removeChildComponent','attachComponent','_parentActor','error','onHorveringEnd','KeepWorld','setRotation','number','onAddedToWorld','destroyObject','_onDoubleClickDelegate','onDoubleClickDelegate','addChildComponent','setQuaternion','onClicked','app','childrenComponents','copy','min','setPosition','userData','getWorldForwardDirection','max','position','7ZfbQQM','28176AtiQET','detachComponent','getScale','detachFromParentActor','forEach','destroyChildren','getWorldUpDirection','onDoubleClicked','isVisible','getComponentById','setWorldMatrix','SceneComponent','getWorldScale','bCanHover','obj','isVector3','applyQuaternion','targetComponent\x20threeObject\x20is\x20invalid','setLayers','clone','uuid','24IgyyTp','getBounds','setQuaternion\x20failed,param\x20is\x20invalid','markRenderStateDirty','matrixAutoUpdate','parentActor','updateMatrix','isQuaternion','getBoundsBottomCenterPositionWS','onHorveringBegin','6100tLvuZo','getWorldQuaternion','getWorldRotation','39324HxaOhI','updateMatrixWorld','destroy','onHoverEndDelegate','setFromQuaternion','localToWorld','viewport','getWorldPosition','21873Enmhfj','_onClickDelegate','isEmpty','remove'];_0x2810=function(){return _0x29f62b;};return _0x2810();}class SceneComponent extends Component{set[_0x328346(0x8d)](_0x3a2ee7){const _0x1e14c2=_0x328346;this[_0x1e14c2(0x6a)][_0x1e14c2(0x77)](_0x49408a=>{_0x49408a['parentActor']=_0x3a2ee7;}),this[_0x1e14c2(0xd0)]=_0x3a2ee7;}get[_0x328346(0x8d)](){const _0x459b92=_0x328346;return this[_0x459b92(0xd0)];}get[_0x328346(0xbe)](){const _0xf27ec8=_0x328346;return this[_0xf27ec8(0xb6)];}get[_0x328346(0x98)](){const _0x20a0b9=_0x328346;return this[_0x20a0b9(0xba)];}get['onClickDelegate'](){return this['_onClickDelegate'];}get[_0x328346(0xd9)](){return this['_onDoubleClickDelegate'];}get['world'](){const _0xc6ca7c=_0x328346;return this[_0xc6ca7c(0xdd)][_0xc6ca7c(0xa2)];}constructor(_0x3a224f,_0x149b88){const _0x3e6c53=_0x328346;super(_0x149b88),this[_0x3e6c53(0x80)]=![],this[_0x3e6c53(0xab)]=![],this[_0x3e6c53(0xb6)]=new Delegate(),this[_0x3e6c53(0xba)]=new Delegate(),this[_0x3e6c53(0x9e)]=new Delegate(),this[_0x3e6c53(0xd8)]=new Delegate(),this[_0x3e6c53(0xdd)]=_0x3a224f,this[_0x3e6c53(0xb1)]=_0x3e6c53(0x7e);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x328346(0xb4)](_0x466e58){const _0xc0bee9=_0x328346;super['tick'](_0x466e58),this[_0xc0bee9(0x6a)]['forEach'](_0x3124b0=>{const _0x4f7ec7=_0xc0bee9;_0x3124b0[_0x4f7ec7(0xb4)](_0x466e58);});}get[_0x328346(0x7b)](){const _0x29393a=_0x328346;if(!this[_0x29393a(0x81)])return ![];return this[_0x29393a(0x81)][_0x29393a(0xa5)];}['setVisible'](_0xb9b0cc){const _0x380fb2=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');this[_0x380fb2(0x81)][_0x380fb2(0xa5)]=_0xb9b0cc,this[_0x380fb2(0xa2)]&&this['world'][_0x380fb2(0x9b)][_0x380fb2(0x8b)]();}[_0x328346(0x85)](_0x134871){const _0x3ecbe4=_0x328346;if(!this[_0x3ecbe4(0x81)])throw Error('threeObject\x20is\x20invalid');this[_0x3ecbe4(0x81)]['layers']['set'](_0x134871);let _0xdb05a4=this[_0x3ecbe4(0x6a)];_0xdb05a4[_0x3ecbe4(0x77)](_0x193a9c=>{_0x193a9c['setLayers'](_0x134871);});}['getComponentById'](_0x1d186f,_0x50ddba=!![]){const _0x13d6d5=_0x328346;if(this[_0x13d6d5(0x87)]===_0x1d186f)return this;if(_0x50ddba){let _0x5d9686=this['childrenComponents'];for(let _0x470633=0x0;_0x470633<_0x5d9686[_0x13d6d5(0xcd)];++_0x470633){let _0x30cf0e=_0x5d9686[_0x470633][_0x13d6d5(0x7c)](_0x1d186f,_0x50ddba);if(_0x30cf0e)return _0x30cf0e;}}else {let _0xff3d52=this[_0x13d6d5(0x6a)];for(let _0x3f03a0=0x0;_0x3f03a0<_0xff3d52[_0x13d6d5(0xcd)];++_0x3f03a0){let _0x17346a=_0xff3d52[_0x3f03a0];if(_0x17346a['uuid']===_0x1d186f)return _0x17346a;}}return null;}['getBoundsCenterPositionWS'](){const _0x5bb8e4=_0x328346;let _0x201d83=new webgpu.Vector3();return this[_0x5bb8e4(0x89)]()[_0x5bb8e4(0xca)](_0x201d83),this[_0x5bb8e4(0x9c)]();}['getBoundsTopCenterPositionWS'](){const _0x2947e0=_0x328346;let _0x542e21=new webgpu.Vector3(),_0x191d84=this[_0x2947e0(0x89)]();return _0x191d84[_0x2947e0(0xca)](_0x542e21),_0x542e21['y']=_0x191d84[_0x2947e0(0x70)]['y'],_0x542e21;}[_0x328346(0x90)](){const _0x358e69=_0x328346;let _0x521e40=new webgpu.Vector3(),_0x535964=this[_0x358e69(0x89)]();return _0x535964[_0x358e69(0xca)](_0x521e40),_0x521e40['y']=_0x535964[_0x358e69(0x6c)]['y'],_0x521e40;}['getBounds'](){const _0x580ee0=_0x328346;if(!this[_0x580ee0(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x173245=new webgpu.Box3();return _0x173245[_0x580ee0(0xcb)](this[_0x580ee0(0x81)],![]),_0x173245[_0x580ee0(0x9f)]()&&(_0x173245[_0x580ee0(0x6c)]=_0x173245[_0x580ee0(0x70)]=this[_0x580ee0(0x9c)]()),_0x173245;}get[_0x328346(0xc4)](){const _0x391c3b=_0x328346;var _0x2ab44c,_0x137446;if(!this[_0x391c3b(0x81)])throw Error(_0x391c3b(0xae));let _0x4517a2=(_0x137446=(_0x2ab44c=this[_0x391c3b(0x81)])===null||_0x2ab44c===void 0?void 0:_0x2ab44c['parent'])===null||_0x137446===void 0?void 0:_0x137446[_0x391c3b(0x6e)][_0x391c3b(0xc6)];if(!_0x4517a2)return null;if(!(_0x4517a2 instanceof SceneComponent))return null;if(_0x4517a2['parentActor']!==this[_0x391c3b(0x8d)])return null;return _0x4517a2;}get['childrenComponents'](){const _0x563e3c=_0x328346;if(!this[_0x563e3c(0x81)])throw Error(_0x563e3c(0xae));let _0x1f7faf=[];for(let _0x2253b8=0x0;_0x2253b8<this[_0x563e3c(0x81)]['children'][_0x563e3c(0xcd)];++_0x2253b8){if(!this[_0x563e3c(0x81)][_0x563e3c(0xa3)][_0x2253b8]['userData']['LYObject'])continue;this['obj'][_0x563e3c(0xa3)][_0x2253b8][_0x563e3c(0x6e)][_0x563e3c(0xc6)][_0x563e3c(0x8d)]===this[_0x563e3c(0x8d)]&&_0x1f7faf[_0x563e3c(0xc7)](this[_0x563e3c(0x81)][_0x563e3c(0xa3)][_0x2253b8][_0x563e3c(0x6e)]['LYObject']);}return _0x1f7faf;}['onAddedToWorld'](_0xe058a){let _0x398f25=this['childrenComponents'];for(let _0x36794b=0x0;_0x36794b<_0x398f25['length'];++_0x36794b){_0x398f25[_0x36794b]['onAddedToWorld'](_0xe058a);}}['destroy'](){const _0x13897c=_0x328346;this[_0x13897c(0xad)]=![],this[_0x13897c(0xa1)]=![],this[_0x13897c(0x76)](),this[_0x13897c(0xc2)](),this[_0x13897c(0x78)](),this[_0x13897c(0xd7)](),this[_0x13897c(0xa2)]&&this['world'][_0x13897c(0x9b)][_0x13897c(0x8b)]();}[_0x328346(0xd7)](){const _0x454d9a=_0x328346;if(!this[_0x454d9a(0x81)])return;this[_0x454d9a(0x81)][_0x454d9a(0xc9)]&&this[_0x454d9a(0x81)][_0x454d9a(0xc9)][_0x454d9a(0xa0)](this[_0x454d9a(0x81)]),super[_0x454d9a(0xd7)]();}[_0x328346(0xc8)](){const _0x5bc185=_0x328346;if(!this[_0x5bc185(0x81)])throw Error(_0x5bc185(0xae));if(this[_0x5bc185(0x81)][_0x5bc185(0x8c)])return this[_0x5bc185(0x81)][_0x5bc185(0x71)][_0x5bc185(0x86)]();else {const _0x2f7c96=new webgpu.Vector3(),_0x4b265b=new webgpu.Quaternion(),_0x5b8c52=new webgpu.Vector3();return this[_0x5bc185(0x81)][_0x5bc185(0xbb)][_0x5bc185(0xaa)](_0x2f7c96,_0x4b265b,_0x5b8c52),_0x2f7c96;}}[_0x328346(0x6d)](..._0x2e853d){const _0x3fbb4f=_0x328346;var _0x2f6d26;if(!this['obj'])throw Error(_0x3fbb4f(0xae));let _0x5fda19=null;if(_0x2e853d[_0x3fbb4f(0xcd)]===0x1&&((_0x2f6d26=_0x2e853d[0x0])===null||_0x2f6d26===void 0?void 0:_0x2f6d26[_0x3fbb4f(0x82)])){const _0x321584=_0x2e853d[0x0];_0x5fda19=new webgpu.Vector3(_0x321584['x'],_0x321584['y'],_0x321584['z']);}else _0x2e853d[_0x3fbb4f(0xcd)]===0x3&&typeof _0x2e853d[0x0]===_0x3fbb4f(0xd5)&&typeof _0x2e853d[0x1]==='number'&&typeof _0x2e853d[0x2]==='number'&&(_0x5fda19=new webgpu.Vector3(_0x2e853d[0x0],_0x2e853d[0x1],_0x2e853d[0x2]));if(!_0x5fda19)return;this['obj'][_0x3fbb4f(0x71)][_0x3fbb4f(0x6b)](_0x5fda19),!this['obj'][_0x3fbb4f(0x8c)]&&this[_0x3fbb4f(0x81)][_0x3fbb4f(0xbb)][_0x3fbb4f(0x6d)](_0x5fda19['x'],_0x5fda19['y'],_0x5fda19['z']),this[_0x3fbb4f(0x81)][_0x3fbb4f(0x8e)](),this[_0x3fbb4f(0x81)][_0x3fbb4f(0x96)](!![]),this[_0x3fbb4f(0xa2)]&&this[_0x3fbb4f(0xa2)][_0x3fbb4f(0x9b)][_0x3fbb4f(0x8b)]();}[_0x328346(0xb8)](){const _0x39cc16=_0x328346;if(!this[_0x39cc16(0x81)])throw Error('threeObject\x20is\x20invalid');if(this[_0x39cc16(0x81)][_0x39cc16(0x8c)])return this['obj']['rotation']['clone']();else {const _0x3f967f=new webgpu.Vector3(),_0x244942=new webgpu.Quaternion(),_0x96b29d=new webgpu.Vector3();return this[_0x39cc16(0x81)]['matrix'][_0x39cc16(0xaa)](_0x3f967f,_0x244942,_0x96b29d),new webgpu.Euler()[_0x39cc16(0x99)](_0x244942);}}[_0x328346(0xd4)](..._0x14e19d){const _0x66484e=_0x328346;var _0x1df84c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x5e44dc=null;if((_0x1df84c=_0x14e19d[0x0])===null||_0x1df84c===void 0?void 0:_0x1df84c[_0x66484e(0xb0)]){const _0x45a409=_0x14e19d[0x0];_0x5e44dc=new webgpu.Euler(_0x45a409['x'],_0x45a409['y'],_0x45a409['z'],_0x45a409['order']);}else typeof _0x14e19d[0x0]===_0x66484e(0xd5)&&typeof _0x14e19d[0x1]===_0x66484e(0xd5)&&typeof _0x14e19d[0x2]===_0x66484e(0xd5)&&(_0x5e44dc=new webgpu.Euler(_0x14e19d[0x0],_0x14e19d[0x1],_0x14e19d[0x2]));if(!_0x5e44dc)return;this[_0x66484e(0x81)]['rotation'][_0x66484e(0x6b)](_0x5e44dc),this[_0x66484e(0x81)][_0x66484e(0x8e)](),this[_0x66484e(0x81)]['updateMatrixWorld'](!![]),this[_0x66484e(0xa2)]&&this['world'][_0x66484e(0x9b)]['markRenderStateDirty']();}['getQuaternion'](){const _0x436960=_0x328346;if(!this[_0x436960(0x81)])throw Error(_0x436960(0xae));if(this[_0x436960(0x81)][_0x436960(0x8c)])return this[_0x436960(0x81)][_0x436960(0xaf)][_0x436960(0x86)]();else {const _0xb4fa30=new webgpu.Vector3(),_0x13c4c0=new webgpu.Quaternion(),_0x5c76c4=new webgpu.Vector3();return this[_0x436960(0x81)][_0x436960(0xbb)]['decompose'](_0xb4fa30,_0x13c4c0,_0x5c76c4),_0x13c4c0;}}[_0x328346(0xdb)](..._0x3bd82f){const _0x3bc0c7=_0x328346;var _0x15fca4;if(!this[_0x3bc0c7(0x81)])throw Error(_0x3bc0c7(0xae));let _0x597bcd=null;if((_0x15fca4=_0x3bd82f[0x0])===null||_0x15fca4===void 0?void 0:_0x15fca4[_0x3bc0c7(0x8f)]){const _0xab860=_0x3bd82f[0x0];_0x597bcd=new webgpu.Quaternion(_0xab860['x'],_0xab860['y'],_0xab860['z'],_0xab860['w']);}else typeof _0x3bd82f[0x0]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x1]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x2]===_0x3bc0c7(0xd5)&&typeof _0x3bd82f[0x3]===_0x3bc0c7(0xd5)&&(_0x597bcd=new webgpu.Quaternion(_0x3bd82f[0x0],_0x3bd82f[0x1],_0x3bd82f[0x2],_0x3bd82f[0x3]));if(!_0x597bcd){console[_0x3bc0c7(0xd1)](_0x3bc0c7(0x8a),_0x3bd82f);return;}this[_0x3bc0c7(0x81)]['quaternion'][_0x3bc0c7(0x6b)](_0x597bcd);if(!this[_0x3bc0c7(0x81)]['matrixAutoUpdate']){const _0x1095d3=new webgpu.Vector3(),_0x57623c=new webgpu.Quaternion(),_0x41eebe=new webgpu.Vector3();this[_0x3bc0c7(0x81)]['matrix'][_0x3bc0c7(0xaa)](_0x1095d3,_0x57623c,_0x41eebe),this[_0x3bc0c7(0x81)][_0x3bc0c7(0xbb)][_0x3bc0c7(0xc1)](_0x1095d3,_0x597bcd,_0x41eebe);}this[_0x3bc0c7(0xa2)]&&this['world'][_0x3bc0c7(0x9b)]['markRenderStateDirty'](),this['obj'][_0x3bc0c7(0x8e)](),this[_0x3bc0c7(0x81)]['updateMatrixWorld'](!![]);}[_0x328346(0x75)](){const _0x3a3b0f=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x3a3b0f(0x81)][_0x3a3b0f(0x8c)])return this[_0x3a3b0f(0x81)][_0x3a3b0f(0xb7)][_0x3a3b0f(0x86)]();else {const _0x23ccc0=new webgpu.Vector3(),_0x174e5b=new webgpu.Quaternion(),_0x3fe4b3=new webgpu.Vector3();return this['obj'][_0x3a3b0f(0xbb)][_0x3a3b0f(0xaa)](_0x23ccc0,_0x174e5b,_0x3fe4b3),_0x3fe4b3;}}['setScale'](..._0x3edb04){const _0x3e0e15=_0x328346;var _0x11a9de;if(!this[_0x3e0e15(0x81)])throw Error(_0x3e0e15(0xae));let _0x52391a=null;if((_0x11a9de=_0x3edb04[0x0])===null||_0x11a9de===void 0?void 0:_0x11a9de[_0x3e0e15(0x82)]){const _0x5e6276=_0x3edb04[0x0];_0x52391a=new webgpu.Vector3(_0x5e6276['x'],_0x5e6276['y'],_0x5e6276['z']);}else typeof _0x3edb04[0x0]===_0x3e0e15(0xd5)&&typeof _0x3edb04[0x1]==='number'&&typeof _0x3edb04[0x2]==='number'&&(_0x52391a=new webgpu.Vector3(_0x3edb04[0x0],_0x3edb04[0x1],_0x3edb04[0x2]));if(!_0x52391a)return;this['obj'][_0x3e0e15(0xb7)][_0x3e0e15(0x6b)](_0x52391a),this['obj'][_0x3e0e15(0x8e)](),this[_0x3e0e15(0x81)][_0x3e0e15(0x96)](!![]),this[_0x3e0e15(0xa2)]&&this[_0x3e0e15(0xa2)]['viewport']['markRenderStateDirty']();}[_0x328346(0xbc)](){const _0x57897e=_0x328346;if(!this[_0x57897e(0x81)])throw Error('threeObject\x20is\x20invalid');return this['obj']['matrix'];}[_0x328346(0xbd)](_0x1623a3){const _0x1aeaa8=_0x328346;var _0x5f4dfa;if(!this[_0x1aeaa8(0x81)])throw Error(_0x1aeaa8(0xae));_0x1623a3['decompose'](this[_0x1aeaa8(0x81)]['position'],this[_0x1aeaa8(0x81)][_0x1aeaa8(0xaf)],this[_0x1aeaa8(0x81)][_0x1aeaa8(0xb7)]),this['obj'][_0x1aeaa8(0x8e)](),this[_0x1aeaa8(0x81)][_0x1aeaa8(0x96)](!![]),(_0x5f4dfa=this[_0x1aeaa8(0xa2)])===null||_0x5f4dfa===void 0?void 0:_0x5f4dfa[_0x1aeaa8(0x9b)][_0x1aeaa8(0x8b)]();}[_0x328346(0x9c)](){const _0x261fdd=_0x328346;if(!this[_0x261fdd(0x81)])throw Error(_0x261fdd(0xae));let _0x512d15=new webgpu.Vector3();return this[_0x261fdd(0x81)]['getWorldPosition'](_0x512d15),_0x512d15;}[_0x328346(0x94)](){const _0x566c4f=_0x328346;if(!this[_0x566c4f(0x81)])throw Error(_0x566c4f(0xae));let _0x1fac80=new webgpu.Quaternion();return this[_0x566c4f(0x81)][_0x566c4f(0x93)](_0x1fac80),new webgpu.Euler()[_0x566c4f(0x99)](_0x1fac80);}[_0x328346(0x93)](){const _0x27c574=_0x328346;if(!this[_0x27c574(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x5d2c39=new webgpu.Quaternion();return this[_0x27c574(0x81)][_0x27c574(0x93)](_0x5d2c39),_0x5d2c39;}[_0x328346(0x7f)](){const _0x5b7f90=_0x328346;if(!this[_0x5b7f90(0x81)])throw Error(_0x5b7f90(0xae));let _0x1623c3=new webgpu.Vector3();return this[_0x5b7f90(0x81)]['getWorldScale'](_0x1623c3),_0x1623c3;}[_0x328346(0xb2)](){const _0xce3297=_0x328346;if(!this[_0xce3297(0x81)])throw Error('threeObject\x20is\x20invalid');return this['obj']['updateMatrixWorld'](!![]),this['obj']['matrixWorld'][_0xce3297(0x86)]();}[_0x328346(0x7d)](_0xdbcfa0){const _0x2b01ee=_0x328346;if(!this[_0x2b01ee(0x81)])throw Error(_0x2b01ee(0xae));if(this['obj']['parent']){this[_0x2b01ee(0x81)][_0x2b01ee(0xc9)][_0x2b01ee(0x96)](!![]);const _0x3a3a8c=this['obj'][_0x2b01ee(0xc9)][_0x2b01ee(0xb5)]['clone']()['invert'](),_0x45be12=new webgpu.Matrix4()['multiplyMatrices'](_0x3a3a8c,_0xdbcfa0);this[_0x2b01ee(0xbd)](_0x45be12);}else this[_0x2b01ee(0xbd)](_0xdbcfa0);this[_0x2b01ee(0x81)]['updateMatrixWorld'](!![]),this['world']&&this[_0x2b01ee(0xa2)][_0x2b01ee(0x9b)][_0x2b01ee(0x8b)]();}[_0x328346(0x6f)](){const _0x31ba21=_0x328346;if(!this[_0x31ba21(0x81)])throw Error(_0x31ba21(0xae));let _0x2938da=new webgpu.Vector3();return this[_0x31ba21(0x81)][_0x31ba21(0xbf)](_0x2938da),_0x2938da;}[_0x328346(0x79)](){const _0x3783af=_0x328346;if(!this[_0x3783af(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x45cb88=new webgpu.Vector3(0x0,0x1,0x0);return _0x45cb88['applyQuaternion'](this[_0x3783af(0x93)]()),_0x45cb88;}[_0x328346(0xcc)](){const _0x22a297=_0x328346;if(!this[_0x22a297(0x81)])throw Error('threeObject\x20is\x20invalid');let _0x516c68=new webgpu.Vector3(0x1,0x0,0x0);return _0x516c68[_0x22a297(0x83)](this[_0x22a297(0x93)]()),_0x516c68;}['worldToLocal'](_0x1ec9b5){const _0x46e809=_0x328346;if(!this['obj'])throw Error(_0x46e809(0xae));return this[_0x46e809(0x81)]['worldToLocal'](_0x1ec9b5);}[_0x328346(0x9a)](_0x4c81e4){const _0xf3bd93=_0x328346;if(!this['obj'])throw Error(_0xf3bd93(0xae));return this[_0xf3bd93(0x81)]['localToWorld'](_0x4c81e4);}[_0x328346(0xcf)](_0x6cc529){const _0x3e5209=_0x328346;if(!this[_0x3e5209(0x81)])throw Error('threeObject\x20is\x20invalid');if(!_0x6cc529['threeObject'])throw Error(_0x3e5209(0xc0));this[_0x3e5209(0x81)][_0x3e5209(0xb3)](_0x6cc529['threeObject']),this[_0x3e5209(0xa2)]&&_0x6cc529['onAddedToWorld'](this[_0x3e5209(0xa2)]);}[_0x328346(0x74)](_0x576ca8){const _0x2bd1ae=_0x328346;if(!this[_0x2bd1ae(0x81)])throw Error('threeObject\x20is\x20invalid');if(!_0x576ca8[_0x2bd1ae(0xa4)])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x2bd1ae(0x81)][_0x2bd1ae(0xa0)](_0x576ca8['threeObject']);}[_0x328346(0xda)](_0x1b55f4,_0x386a23=exports.AttachmentRules[_0x328346(0xc5)]){const _0xfe866=_0x328346;if(!this[_0xfe866(0x81)])throw Error(_0xfe866(0xae));if(!_0x1b55f4[_0xfe866(0xa4)])throw Error(_0xfe866(0xc0));_0x1b55f4['parentActor']=this[_0xfe866(0x8d)];if(_0x386a23===exports.AttachmentRules[_0xfe866(0xd3)]){let _0x4e2b64=_0x1b55f4[_0xfe866(0xb2)]();this['obj'][_0xfe866(0xb3)](_0x1b55f4[_0xfe866(0xa4)]),_0x1b55f4[_0xfe866(0x7d)](_0x4e2b64);}else this[_0xfe866(0x81)][_0xfe866(0xb3)](_0x1b55f4[_0xfe866(0xa4)]);this[_0xfe866(0xa2)]&&_0x1b55f4[_0xfe866(0xd6)](this['world']),this[_0xfe866(0x81)][_0xfe866(0x8e)](),this[_0xfe866(0x81)][_0xfe866(0x96)](!![]);}[_0x328346(0xce)](_0x572bb7){const _0x2f6f80=_0x328346;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x572bb7['threeObject'])throw Error(_0x2f6f80(0x84));this[_0x2f6f80(0x81)]['remove'](_0x572bb7[_0x2f6f80(0xa4)]);}[_0x328346(0xc2)](){const _0x23731b=_0x328346;this['parentComponent']&&this[_0x23731b(0xc4)]['removeChildComponent'](this);}['detachFromParentActor'](){const _0x4ba48=_0x328346;this[_0x4ba48(0x8d)]&&(this[_0x4ba48(0x8d)]=null);}[_0x328346(0x78)](){const _0x1a4e14=_0x328346;var _0x4732de;if(!this[_0x1a4e14(0x81)])return;let _0x40bbe5=[];for(let _0x5d5878=0x0;_0x5d5878<this[_0x1a4e14(0x81)][_0x1a4e14(0xa3)][_0x1a4e14(0xcd)];++_0x5d5878){let _0x3374bc=(_0x4732de=this[_0x1a4e14(0x81)][_0x1a4e14(0xa3)][_0x5d5878][_0x1a4e14(0x6e)])===null||_0x4732de===void 0?void 0:_0x4732de[_0x1a4e14(0xc6)];_0x3374bc&&_0x40bbe5[_0x1a4e14(0xc7)](_0x3374bc);}_0x40bbe5[_0x1a4e14(0x77)](_0x1e2eb2=>{const _0x897d34=_0x1a4e14;_0x1e2eb2[_0x897d34(0x97)]();}),_0x40bbe5=[];}set['isHoverEnabled'](_0x474c54){const _0x1609d2=_0x328346;this[_0x1609d2(0x80)]=_0x474c54;let _0x80ef36=this[_0x1609d2(0x6a)];for(let _0x1e81b0=0x0;_0x1e81b0<_0x80ef36[_0x1609d2(0xcd)];++_0x1e81b0){_0x80ef36[_0x1e81b0][_0x1609d2(0xad)]=this['bCanHover'];}}get[_0x328346(0xad)](){return this['bCanHover'];}set[_0x328346(0xa1)](_0x2c1e95){const _0x538f1d=_0x328346;this[_0x538f1d(0xab)]=_0x2c1e95;let _0x242941=this['childrenComponents'];for(let _0x217815=0x0;_0x217815<_0x242941[_0x538f1d(0xcd)];++_0x217815){_0x242941[_0x217815][_0x538f1d(0xa1)]=this[_0x538f1d(0xab)];}}get[_0x328346(0xa1)](){const _0x43fd5c=_0x328346;return this[_0x43fd5c(0xab)];}[_0x328346(0x91)](){const _0x9bf37a=_0x328346;this[_0x9bf37a(0xb6)][_0x9bf37a(0xa7)]();}[_0x328346(0xd2)](){const _0x28480d=_0x328346;this[_0x28480d(0xba)][_0x28480d(0xa7)]();}[_0x328346(0xdc)](){const _0x5c3d30=_0x328346;this[_0x5c3d30(0x9e)][_0x5c3d30(0xa7)]();}[_0x328346(0x7a)](){const _0x506160=_0x328346;this[_0x506160(0xd8)]['broadcast']();}}
|
|
30
|
+
|
|
31
|
+
const _0x185594=_0x2441;function _0x2441(_0x21a47c,_0x43c567){_0x21a47c=_0x21a47c-0x76;const _0xdbbc30=_0xdbbc();let _0x24416e=_0xdbbc30[_0x21a47c];return _0x24416e;}(function(_0x102163,_0x200406){const _0x5ca039=_0x2441,_0x5cdd63=_0x102163();while(!![]){try{const _0x4c34ff=parseInt(_0x5ca039(0xa3))/0x1+-parseInt(_0x5ca039(0x76))/0x2*(-parseInt(_0x5ca039(0x94))/0x3)+parseInt(_0x5ca039(0x97))/0x4*(-parseInt(_0x5ca039(0x99))/0x5)+-parseInt(_0x5ca039(0x83))/0x6*(-parseInt(_0x5ca039(0x9f))/0x7)+parseInt(_0x5ca039(0x8a))/0x8+parseInt(_0x5ca039(0x80))/0x9*(-parseInt(_0x5ca039(0x91))/0xa)+parseInt(_0x5ca039(0x84))/0xb*(-parseInt(_0x5ca039(0x85))/0xc);if(_0x4c34ff===_0x200406)break;else _0x5cdd63['push'](_0x5cdd63['shift']());}catch(_0x158f73){_0x5cdd63['push'](_0x5cdd63['shift']());}}}(_0xdbbc,0x5f764));function _0xdbbc(){const _0x213778=['materialPtr','app','getCenter','obj','getBoundsCenterPosition','assetManager','LYObject','push','material','1098yZDPQn','destroyObject','addGeometryAsset','1819122rAdjga','330PvTSYB','581028eZwrNq','getBoundsBottomCenterPosition','length','threeObject\x20is\x20null','geometryPtr','3315536tZWzSa','getBounds','castShadow','_geometryPtr','geometryPtr\x20is\x20null','getValue','geometry','39880PYZuGU','forEach','_materialPtr','2035380mAQWXn','isArray','min','16704ZcIzGR','createDefaultObject','50eAbWet','release','removeFromParent','threeObject','userData','addRef','14YuEthM','receiveShadow','getBoundsTopCenterPosition','addMaterialAsset','672602fMVrgJ','max','2zovlYq'];_0xdbbc=function(){return _0x213778;};return _0xdbbc();}class MeshComponent extends SceneComponent{get[_0x185594(0x9c)](){const _0x2018f5=_0x185594;if(!this[_0x2018f5(0x7a)])throw new Error(_0x2018f5(0x88));return this[_0x2018f5(0x7a)];}set[_0x185594(0x9c)](_0x54c316){const _0x51ea17=_0x185594;this[_0x51ea17(0x7a)]=_0x54c316,this['obj']&&(this[_0x51ea17(0x7a)][_0x51ea17(0x9d)][_0x51ea17(0x7d)]=this);}get[_0x185594(0x90)](){const _0x516007=_0x185594;if(!this[_0x516007(0x8d)])throw new Error(_0x516007(0x8e));return this['_geometryPtr'][_0x516007(0x8f)]();}set['geometry'](_0x450589){const _0x268914=_0x185594;let _0x13599a=this['app'][_0x268914(0x7c)][_0x268914(0x82)](_0x450589);this[_0x268914(0x89)]=_0x13599a;}get['geometryPtr'](){const _0x998623=_0x185594;if(!this[_0x998623(0x8d)])throw new Error(_0x998623(0x8e));return this[_0x998623(0x8d)];}set['geometryPtr'](_0x523585){const _0x1a1d48=_0x185594;this[_0x1a1d48(0x8d)]&&(this[_0x1a1d48(0x8d)][_0x1a1d48(0x9a)](),this[_0x1a1d48(0x8d)]=null);this[_0x1a1d48(0x8d)]=_0x523585;let _0x2b7907=_0x523585[_0x1a1d48(0x8f)]();this[_0x1a1d48(0x9c)]&&_0x2b7907&&(this[_0x1a1d48(0x9c)]['geometry']=_0x2b7907);}get['material'](){const _0x66d26f=_0x185594;let _0x49909b=[];return this['_materialPtr'][_0x66d26f(0x92)](_0x5dbed2=>{const _0x557237=_0x66d26f;let _0x36263c=_0x5dbed2['getValue']();if(_0x36263c)_0x49909b[_0x557237(0x7e)](_0x36263c);}),_0x49909b[_0x66d26f(0x87)]>0x1?_0x49909b:_0x49909b[0x0];}get[_0x185594(0x77)](){return this['materialPtr'];}set[_0x185594(0x7f)](_0x5ace02){const _0xe35be4=_0x185594;let _0x4ad9b9=Array['isArray'](_0x5ace02)?_0x5ace02:[_0x5ace02],_0x1e806a=[];_0x4ad9b9[_0xe35be4(0x92)](_0x55b21d=>{const _0x37e891=_0xe35be4;let _0x4c16b5=this[_0x37e891(0x78)][_0x37e891(0x7c)][_0x37e891(0xa2)](_0x55b21d);if(_0x4c16b5)_0x1e806a['push'](_0x4c16b5);}),this[_0xe35be4(0x77)]=_0x1e806a;}set[_0x185594(0x77)](_0x2ae779){const _0x59bcd8=_0x185594;this[_0x59bcd8(0x93)]&&(this[_0x59bcd8(0x93)][_0x59bcd8(0x92)](_0x506b0c=>{const _0x3005e2=_0x59bcd8;_0x506b0c[_0x3005e2(0x9a)]();}),this[_0x59bcd8(0x93)]=[]);let _0x436239=Array[_0x59bcd8(0x95)](_0x2ae779)?_0x2ae779:[_0x2ae779],_0x3500a7=[];_0x436239[_0x59bcd8(0x92)](_0x941037=>{const _0x1fda5b=_0x59bcd8;let _0x28432d=_0x941037[_0x1fda5b(0x8f)]();if(_0x28432d)_0x3500a7['push'](_0x28432d);_0x941037[_0x1fda5b(0x9e)]();});if(this[_0x59bcd8(0x9c)]){if(_0x3500a7[_0x59bcd8(0x87)]>0x0)this[_0x59bcd8(0x9c)][_0x59bcd8(0x7f)]=Array['isArray'](_0x2ae779)?_0x3500a7[0x0]:_0x3500a7;}this[_0x59bcd8(0x93)]=_0x436239;}constructor(_0x21ec5a,_0x310f8d,_0x4d8be4,_0x53eaeb){const _0x47afd4=_0x185594;let _0x4776df=[],_0x488f3e=Array[_0x47afd4(0x95)](_0x4d8be4)?_0x4d8be4:[_0x4d8be4];_0x488f3e['forEach'](_0x23c565=>{const _0x3cb1c7=_0x47afd4;let _0x49eb4f=_0x21ec5a['assetManager'][_0x3cb1c7(0xa2)](_0x23c565);if(_0x49eb4f)_0x4776df['push'](_0x49eb4f);}),super(_0x21ec5a,_0x53eaeb),this[_0x47afd4(0x8d)]=_0x21ec5a['assetManager']['addGeometryAsset'](_0x310f8d),this['_materialPtr']=_0x4776df,_0x4776df[_0x47afd4(0x92)](_0x55e6d6=>{_0x55e6d6['addRef']();}),this[_0x47afd4(0x9c)][_0x47afd4(0x7f)]=_0x4d8be4,this[_0x47afd4(0x9c)][_0x47afd4(0x90)]=_0x310f8d,this['castShadow']=!![],this[_0x47afd4(0xa0)]=!![];}[_0x185594(0x98)](){return new webgpu.Mesh();}set['castShadow'](_0x3cc314){const _0x4b5be7=_0x185594;if(this[_0x4b5be7(0x9c)])this[_0x4b5be7(0x9c)][_0x4b5be7(0x8c)]=_0x3cc314;}get[_0x185594(0x8c)](){const _0x15f48f=_0x185594;return this['threeObject']?this[_0x15f48f(0x9c)][_0x15f48f(0x8c)]:![];}set[_0x185594(0xa0)](_0x3eb397){const _0x5bc650=_0x185594;if(!this[_0x5bc650(0x9c)])return;this[_0x5bc650(0x9c)]['receiveShadow']=_0x3eb397;}get[_0x185594(0xa0)](){const _0x2fe0bb=_0x185594;return this[_0x2fe0bb(0x9c)]?this[_0x2fe0bb(0x9c)]['receiveShadow']:![];}[_0x185594(0x7b)](){const _0x5983f0=_0x185594;let _0x1488db=new webgpu.Vector3();return this[_0x5983f0(0x8b)]()[_0x5983f0(0x79)](_0x1488db),_0x1488db;}[_0x185594(0xa1)](){const _0x1d85b5=_0x185594;let _0x329c8f=new webgpu.Vector3(),_0x21eb05=this[_0x1d85b5(0x8b)]();return _0x21eb05[_0x1d85b5(0x79)](_0x329c8f),_0x329c8f['y']=_0x21eb05[_0x1d85b5(0xa4)]['y'],_0x329c8f;}[_0x185594(0x86)](){const _0x37bb34=_0x185594;let _0x1d4181=new webgpu.Vector3(),_0x52d2c9=this[_0x37bb34(0x8b)]();return _0x52d2c9[_0x37bb34(0x79)](_0x1d4181),_0x1d4181['y']=_0x52d2c9[_0x37bb34(0x96)]['y'],_0x1d4181;}[_0x185594(0x81)](){const _0x46e3d6=_0x185594;var _0x572943;this[_0x46e3d6(0x9c)]&&this[_0x46e3d6(0x9c)][_0x46e3d6(0x9b)]();(_0x572943=this['_geometryPtr'])===null||_0x572943===void 0?void 0:_0x572943[_0x46e3d6(0x9a)]();let _0x11cfec=Array[_0x46e3d6(0x95)](this[_0x46e3d6(0x93)])?this['_materialPtr']:[this[_0x46e3d6(0x93)]];_0x11cfec['forEach'](_0x1f9554=>{const _0x49a0fe=_0x46e3d6;_0x1f9554[_0x49a0fe(0x9a)]();}),super['destroyObject']();}}
|
|
32
|
+
|
|
33
|
+
const _0x1f956a=_0x28ab;(function(_0x645bf5,_0x1d274f){const _0x2dfcb7=_0x28ab,_0x9b3224=_0x645bf5();while(!![]){try{const _0x3299e9=parseInt(_0x2dfcb7(0x1da))/0x1+parseInt(_0x2dfcb7(0x1dd))/0x2+-parseInt(_0x2dfcb7(0x1cf))/0x3*(-parseInt(_0x2dfcb7(0x1c3))/0x4)+-parseInt(_0x2dfcb7(0x1e0))/0x5+parseInt(_0x2dfcb7(0x1d4))/0x6*(-parseInt(_0x2dfcb7(0x1de))/0x7)+parseInt(_0x2dfcb7(0x1c8))/0x8*(parseInt(_0x2dfcb7(0x1d5))/0x9)+-parseInt(_0x2dfcb7(0x1c1))/0xa;if(_0x3299e9===_0x1d274f)break;else _0x9b3224['push'](_0x9b3224['shift']());}catch(_0x484cf6){_0x9b3224['push'](_0x9b3224['shift']());}}}(_0x4e99,0xe33c3));function _0x28ab(_0x403083,_0x52370a){_0x403083=_0x403083-0x1bf;const _0x4e99a6=_0x4e99();let _0x28ab63=_0x4e99a6[_0x403083];return _0x28ab63;}function _0x4e99(){const _0x59bb5e=['castShadow','material','15098890MeaGVb','_geometryPtr','19232XCVbKX','receiveShadow','destroyObject','LYObject','geometry','136iKAXWQ','addRef','needsUpdate','min','release','removeFromParent','length','867pwFDcr','threeObject','push','getMatrixAt','setMatrixAt','48fUzCoq','487359qpHtyT','obj','addGeometryAsset','createDefaultObject','instanceMatrix','57855KqqllA','InstanceMeshComponent:\x20threeObject\x20is\x20null','forEach','3407658IuZrYq','921515jDUFNH','count','2889795CufxpG','_materialPtr','assetManager','isArray'];_0x4e99=function(){return _0x59bb5e;};return _0x4e99();}class InstanceMeshComponent extends SceneComponent{get[_0x1f956a(0x1d0)](){const _0x557080=_0x1f956a;if(!this[_0x557080(0x1d6)])throw new Error(_0x557080(0x1db));return this[_0x557080(0x1d6)];}set[_0x1f956a(0x1d0)](_0x4ed70c){const _0x33f2dd=_0x1f956a;this[_0x33f2dd(0x1d6)]=_0x4ed70c,this[_0x33f2dd(0x1d6)]&&(this[_0x33f2dd(0x1d6)]['userData'][_0x33f2dd(0x1c6)]=this);}get[_0x1f956a(0x1c7)](){const _0x5b974a=_0x1f956a;var _0x1c05f7,_0x17c083;return (_0x17c083=(_0x1c05f7=this[_0x5b974a(0x1c2)])===null||_0x1c05f7===void 0?void 0:_0x1c05f7['getValue']())!==null&&_0x17c083!==void 0?_0x17c083:null;}get[_0x1f956a(0x1c0)](){const _0x4a8b08=_0x1f956a,_0x404365=[];return this['_materialPtr'][_0x4a8b08(0x1dc)](_0x499328=>{const _0x9cc2ce=_0x4a8b08,_0x5e8e8f=_0x499328['getValue']();if(_0x5e8e8f)_0x404365[_0x9cc2ce(0x1d1)](_0x5e8e8f);}),_0x404365[_0x4a8b08(0x1ce)]>0x1?_0x404365:_0x404365[0x0];}get['count'](){const _0x4612ec=_0x1f956a;return this[_0x4612ec(0x1d0)]['count'];}set['count'](_0x371483){const _0x14622f=_0x1f956a;this[_0x14622f(0x1d0)]['count']=_0x371483;}set[_0x1f956a(0x1bf)](_0x19a953){const _0x1d063f=_0x1f956a;if(this[_0x1d063f(0x1d0)])this['threeObject'][_0x1d063f(0x1bf)]=_0x19a953;}get['castShadow'](){const _0x2177a7=_0x1f956a;return this[_0x2177a7(0x1d0)]?this[_0x2177a7(0x1d0)][_0x2177a7(0x1bf)]:![];}set[_0x1f956a(0x1c4)](_0x4a25de){const _0x6a5d1c=_0x1f956a;if(!this['threeObject'])return;this['threeObject'][_0x6a5d1c(0x1c4)]=_0x4a25de;}get[_0x1f956a(0x1c4)](){const _0x5a6067=_0x1f956a;return this[_0x5a6067(0x1d0)]?this[_0x5a6067(0x1d0)][_0x5a6067(0x1c4)]:![];}constructor(_0x37d18f,_0x44b8fa,_0x3a246e){const _0xc52cbd=_0x1f956a;super(_0x37d18f,_0x3a246e),this[_0xc52cbd(0x1c2)]=null,this[_0xc52cbd(0x1e1)]=[];_0x44b8fa[_0xc52cbd(0x1c7)]&&(this[_0xc52cbd(0x1c2)]=_0x37d18f[_0xc52cbd(0x1e2)][_0xc52cbd(0x1d7)](_0x44b8fa['geometry']));const _0x281753=Array[_0xc52cbd(0x1e3)](_0x44b8fa[_0xc52cbd(0x1c0)])?_0x44b8fa[_0xc52cbd(0x1c0)]:[_0x44b8fa[_0xc52cbd(0x1c0)]];_0x281753[_0xc52cbd(0x1dc)](_0x23e0d5=>{const _0xadad93=_0xc52cbd,_0x86713c=_0x37d18f['assetManager']['addMaterialAsset'](_0x23e0d5);_0x86713c&&(_0x86713c[_0xadad93(0x1c9)](),this[_0xadad93(0x1e1)][_0xadad93(0x1d1)](_0x86713c));}),this['threeObject']=_0x44b8fa,this[_0xc52cbd(0x1bf)]=!![],this[_0xc52cbd(0x1c4)]=!![];}[_0x1f956a(0x1d8)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x1f956a(0x1d2)](_0x10b372,_0x25d660){const _0x2ec1a7=_0x1f956a;this[_0x2ec1a7(0x1d0)][_0x2ec1a7(0x1d2)](_0x10b372,_0x25d660);}[_0x1f956a(0x1d3)](_0x1a459c,_0x268a29){const _0x56877b=_0x1f956a;this[_0x56877b(0x1d0)][_0x56877b(0x1d3)](_0x1a459c,_0x268a29),this['threeObject'][_0x56877b(0x1d9)][_0x56877b(0x1ca)]=!![];}['updateMatrices'](_0x4af08a){const _0x4e9f7d=_0x1f956a,_0x284d65=Math[_0x4e9f7d(0x1cb)](_0x4af08a[_0x4e9f7d(0x1ce)],this['threeObject'][_0x4e9f7d(0x1df)]);for(let _0x397f1d=0x0;_0x397f1d<_0x284d65;_0x397f1d++){this[_0x4e9f7d(0x1d0)][_0x4e9f7d(0x1d3)](_0x397f1d,_0x4af08a[_0x397f1d]);}this[_0x4e9f7d(0x1d0)]['instanceMatrix'][_0x4e9f7d(0x1ca)]=!![];}[_0x1f956a(0x1c5)](){const _0x140b9c=_0x1f956a;var _0x132a9b;this['threeObject']&&(this[_0x140b9c(0x1d0)][_0x140b9c(0x1cd)](),this[_0x140b9c(0x1d0)]['dispose']()),(_0x132a9b=this[_0x140b9c(0x1c2)])===null||_0x132a9b===void 0?void 0:_0x132a9b[_0x140b9c(0x1cc)](),this[_0x140b9c(0x1c2)]=null,this[_0x140b9c(0x1e1)]['forEach'](_0xba138f=>{_0xba138f['release']();}),this[_0x140b9c(0x1e1)]=[],super[_0x140b9c(0x1c5)]();}}
|
|
34
|
+
|
|
35
|
+
function _0x5e50(){var _0x54b6e4=['isValid','271352rwAMzw','14903010XofDEB','24790106wDonsm','246358vISrws','referenceCount','342115efEZJX','release','getRefCount','dispose','2FNuWJv','getValue','value','68KtiEZv','423zAINdp','forceRelease','48IiHPwq','1569721pDTAfh','4625514AVSEfF'];_0x5e50=function(){return _0x54b6e4;};return _0x5e50();}function _0x44ec(_0x3bc464,_0x22ef43){_0x3bc464=_0x3bc464-0x15d;var _0x5e50c6=_0x5e50();var _0x44ec3c=_0x5e50c6[_0x3bc464];return _0x44ec3c;}var _0x4ef527=_0x44ec;(function(_0x5427a9,_0x530be2){var _0x52b7d0=_0x44ec,_0x1a9d76=_0x5427a9();while(!![]){try{var _0x13a05d=-parseInt(_0x52b7d0(0x16e))/0x1*(-parseInt(_0x52b7d0(0x167))/0x2)+-parseInt(_0x52b7d0(0x16f))/0x3+parseInt(_0x52b7d0(0x16a))/0x4*(-parseInt(_0x52b7d0(0x163))/0x5)+parseInt(_0x52b7d0(0x16d))/0x6*(-parseInt(_0x52b7d0(0x161))/0x7)+parseInt(_0x52b7d0(0x15e))/0x8*(parseInt(_0x52b7d0(0x16b))/0x9)+-parseInt(_0x52b7d0(0x15f))/0xa+parseInt(_0x52b7d0(0x160))/0xb;if(_0x13a05d===_0x530be2)break;else _0x1a9d76['push'](_0x1a9d76['shift']());}catch(_0x3eb6b3){_0x1a9d76['push'](_0x1a9d76['shift']());}}}(_0x5e50,0xe5a86));class TSmartPointer{constructor(_0x394fe2,_0x4835b7=0x1){var _0x569138=_0x44ec;this[_0x569138(0x162)]=0x1,this[_0x569138(0x169)]=null,this['value']=_0x394fe2,this[_0x569138(0x162)]=_0x4835b7;}[_0x4ef527(0x165)](){return this['referenceCount'];}[_0x4ef527(0x15d)](){var _0x2cb138=_0x4ef527;return this[_0x2cb138(0x169)]!==null;}['addRef'](_0x6e0fc1=0x1){var _0x2c09cc=_0x4ef527;this[_0x2c09cc(0x169)]!==null&&(this[_0x2c09cc(0x162)]+=_0x6e0fc1);}[_0x4ef527(0x164)](){var _0xa67e24=_0x4ef527;this[_0xa67e24(0x169)]!==null&&this[_0xa67e24(0x162)]>0x0&&(this[_0xa67e24(0x162)]--,this[_0xa67e24(0x162)]===0x0&&this[_0xa67e24(0x166)]());}[_0x4ef527(0x16c)](){var _0x5eafc3=_0x4ef527;this[_0x5eafc3(0x169)]!==null&&(this[_0x5eafc3(0x166)](),this[_0x5eafc3(0x162)]=0x0);}[_0x4ef527(0x166)](){var _0x5de709=_0x4ef527;this[_0x5de709(0x169)]=null;}[_0x4ef527(0x168)](){return this['value'];}}
|
|
36
|
+
|
|
37
|
+
const _0x1a0f34=_0x285f;(function(_0x497418,_0x3cb807){const _0x543b9a=_0x285f,_0x548720=_0x497418();while(!![]){try{const _0x107c1b=-parseInt(_0x543b9a(0xe3))/0x1+parseInt(_0x543b9a(0xf1))/0x2+-parseInt(_0x543b9a(0xef))/0x3*(-parseInt(_0x543b9a(0xe9))/0x4)+-parseInt(_0x543b9a(0xe5))/0x5+parseInt(_0x543b9a(0xe6))/0x6+-parseInt(_0x543b9a(0xe4))/0x7*(-parseInt(_0x543b9a(0xee))/0x8)+parseInt(_0x543b9a(0xf3))/0x9;if(_0x107c1b===_0x3cb807)break;else _0x548720['push'](_0x548720['shift']());}catch(_0x361645){_0x548720['push'](_0x548720['shift']());}}}(_0x36a2,0x70555));const ASSET_POINTER_KEY=_0x1a0f34(0xe8);const EDITOR_ASSET_ID_KEY=_0x1a0f34(0xf2);class TAssetPointer extends TSmartPointer{get[_0x1a0f34(0xed)](){const _0x2b833c=_0x1a0f34;return this[_0x2b833c(0xf0)];}constructor(_0x466df0,_0x6ee2a7=0x0){const _0xf83f6e=_0x1a0f34;super(_0x466df0,_0x6ee2a7),this[_0xf83f6e(0xf0)]=_0x466df0[_0xf83f6e(0xed)],_0x466df0['userData'][ASSET_POINTER_KEY]=this;}['dispose'](){const _0xbf7b97=_0x1a0f34;this['value']&&(this[_0xbf7b97(0xec)][_0xbf7b97(0xe7)]&&(delete this[_0xbf7b97(0xec)][_0xbf7b97(0xe7)][ASSET_POINTER_KEY],delete this[_0xbf7b97(0xec)][_0xbf7b97(0xe7)][EDITOR_ASSET_ID_KEY]),typeof this[_0xbf7b97(0xec)][_0xbf7b97(0xeb)]===_0xbf7b97(0xea)&&this[_0xbf7b97(0xec)][_0xbf7b97(0xeb)]()),super[_0xbf7b97(0xeb)]();}}function _0x285f(_0x1cfe52,_0x558152){_0x1cfe52=_0x1cfe52-0xe3;const _0x36a2c6=_0x36a2();let _0x285f32=_0x36a2c6[_0x1cfe52];return _0x285f32;}function _0x36a2(){const _0x75e698=['value','uuid','10968zpdKSx','5493sWJWNa','_uuid','640316BxbuWO','editorAssetId','2931453TPlBYb','512168LMJPyK','1561ZRGhjY','1539575WNSwOh','378582SRiuTs','userData','assetPointer','580KowPrd','function','dispose'];_0x36a2=function(){return _0x75e698;};return _0x36a2();}
|
|
38
|
+
|
|
39
|
+
const _0xfabc38=_0x3d55;(function(_0x103b48,_0x530a51){const _0x526079=_0x3d55,_0x4de72e=_0x103b48();while(!![]){try{const _0x17005f=parseInt(_0x526079(0x185))/0x1+parseInt(_0x526079(0x177))/0x2+-parseInt(_0x526079(0x183))/0x3+-parseInt(_0x526079(0x17e))/0x4*(parseInt(_0x526079(0x182))/0x5)+-parseInt(_0x526079(0x179))/0x6+-parseInt(_0x526079(0x16f))/0x7*(parseInt(_0x526079(0x178))/0x8)+-parseInt(_0x526079(0x184))/0x9*(-parseInt(_0x526079(0x17b))/0xa);if(_0x17005f===_0x530a51)break;else _0x4de72e['push'](_0x4de72e['shift']());}catch(_0x17661a){_0x4de72e['push'](_0x4de72e['shift']());}}}(_0x1422,0x801a2));function _0x1422(){const _0x2c5adf=['1370330nSoWFv','6707592hWProz','1120242ehFckx','Texture\x20is\x20null','350VBjYjE','set','setTexture','604FvvpfP','delete','textures','needsUpdate','11220eDmRjJ','1525692RGMAMS','227115RyoMtN','828880BamNqa','addRef','7Tzjjjw','release','Material\x20is\x20null','getValue','values','clear','dispose','get'];_0x1422=function(){return _0x2c5adf;};return _0x1422();}function _0x3d55(_0x37df30,_0xe564db){_0x37df30=_0x37df30-0x16f;const _0x1422a1=_0x1422();let _0x3d5506=_0x1422a1[_0x37df30];return _0x3d5506;}class MaterialAssetPointer extends TAssetPointer{constructor(_0x19aaa6,_0x4523bd,_0x484926=0x0){const _0x10b32b=_0x3d55;super(_0x19aaa6,_0x484926),this[_0x10b32b(0x180)]=_0x4523bd;}get['texturePointers'](){return this['textures'];}[_0xfabc38(0x17d)](_0x466deb,_0x4af7a7){const _0x4517a7=_0xfabc38,_0x4d0f80=this[_0x4517a7(0x172)](),_0x27134f=_0x4af7a7[_0x4517a7(0x172)]();if(!_0x27134f)throw new Error(_0x4517a7(0x17a));if(!_0x4d0f80)throw new Error(_0x4517a7(0x171));const _0x11bc62=this[_0x4517a7(0x180)][_0x4517a7(0x176)](_0x466deb);_0x11bc62!==_0x4af7a7&&(_0x11bc62&&_0x11bc62[_0x4517a7(0x170)](),this[_0x4517a7(0x180)][_0x4517a7(0x17c)](_0x466deb,_0x4af7a7),_0x4d0f80[_0x466deb]=_0x27134f,_0x4af7a7[_0x4517a7(0x186)](),_0x4d0f80[_0x4517a7(0x181)]=!![]);}['removeTexture'](_0x1c76c0){const _0x592f30=_0xfabc38,_0x397661=this[_0x592f30(0x172)](),_0xc50c2c=this[_0x592f30(0x180)]['get'](_0x1c76c0);_0xc50c2c&&(_0xc50c2c[_0x592f30(0x170)](),this['textures'][_0x592f30(0x17f)](_0x1c76c0),_0x397661&&(_0x397661[_0x1c76c0]=null,_0x397661[_0x592f30(0x181)]=!![]));}[_0xfabc38(0x175)](){const _0x554e94=_0xfabc38;for(const _0x4e666c of this[_0x554e94(0x180)][_0x554e94(0x173)]()){_0x4e666c['release']();}this[_0x554e94(0x180)][_0x554e94(0x174)](),super[_0x554e94(0x175)]();}}
|
|
40
|
+
|
|
41
|
+
(function(_0x5b90aa,_0x33edaf){var _0x5b2bad=_0x3fba,_0xb0a45f=_0x5b90aa();while(!![]){try{var _0x2c3f1f=-parseInt(_0x5b2bad(0x1b2))/0x1+-parseInt(_0x5b2bad(0x1ad))/0x2+-parseInt(_0x5b2bad(0x1b1))/0x3+-parseInt(_0x5b2bad(0x1af))/0x4*(parseInt(_0x5b2bad(0x1ae))/0x5)+-parseInt(_0x5b2bad(0x1b3))/0x6+parseInt(_0x5b2bad(0x1ac))/0x7+parseInt(_0x5b2bad(0x1b0))/0x8;if(_0x2c3f1f===_0x33edaf)break;else _0xb0a45f['push'](_0xb0a45f['shift']());}catch(_0x26811e){_0xb0a45f['push'](_0xb0a45f['shift']());}}}(_0x109c,0x4e344));function _0x3fba(_0x16f581,_0x3c0d66){_0x16f581=_0x16f581-0x1ac;var _0x109c84=_0x109c();var _0x3fbab2=_0x109c84[_0x16f581];return _0x3fbab2;}function _0x109c(){var _0x30b619=['205612gmsQmF','5EGRdLp','2263676ljROlv','11480216HDoTGf','1309656VxGnFu','3124mJarng','3610044IoGNNE','4167604stvyyk'];_0x109c=function(){return _0x30b619;};return _0x109c();}class TextureAssetPointer extends TAssetPointer{constructor(_0x24edb2,_0x591dfa=0x1){super(_0x24edb2,_0x591dfa);}}
|
|
42
|
+
|
|
43
|
+
function _0x1a61(){var _0x18b270=['611649kKCDYS','171YXgpYX','2808465BgoWcs','900897RQLeMb','3923052HBbDkt','2620366slGSFC','3345564RQRfIv','136fHWGEF','13094mpEUql'];_0x1a61=function(){return _0x18b270;};return _0x1a61();}function _0x2960(_0x2f88cd,_0x45726d){_0x2f88cd=_0x2f88cd-0x192;var _0x1a6149=_0x1a61();var _0x2960e9=_0x1a6149[_0x2f88cd];return _0x2960e9;}(function(_0x2d0fc6,_0x4ebb9a){var _0x186361=_0x2960,_0x4467b9=_0x2d0fc6();while(!![]){try{var _0x296fa8=parseInt(_0x186361(0x199))/0x1+parseInt(_0x186361(0x195))/0x2*(-parseInt(_0x186361(0x197))/0x3)+-parseInt(_0x186361(0x193))/0x4+-parseInt(_0x186361(0x198))/0x5+parseInt(_0x186361(0x19a))/0x6+-parseInt(_0x186361(0x192))/0x7+-parseInt(_0x186361(0x194))/0x8*(-parseInt(_0x186361(0x196))/0x9);if(_0x296fa8===_0x4ebb9a)break;else _0x4467b9['push'](_0x4467b9['shift']());}catch(_0x291752){_0x4467b9['push'](_0x4467b9['shift']());}}}(_0x1a61,0x89cfb));class GeometryAssetPointer extends TAssetPointer{constructor(_0x7c8ad2,_0x3e7445=0x1){super(_0x7c8ad2,_0x3e7445);}}
|
|
24
44
|
|
|
25
|
-
const _0x4f6c83=_0x46c2;(function(_0x47e3ff,_0x5f24d0){const _0x696be6=_0x46c2,_0x33249d=_0x47e3ff();while(!![]){try{const _0x255f47=-parseInt(_0x696be6(0x93))/0x1+-parseInt(_0x696be6(0x97))/0x2+parseInt(_0x696be6(0x91))/0x3+-parseInt(_0x696be6(0x90))/0x4*(parseInt(_0x696be6(0x8f))/0x5)+-parseInt(_0x696be6(0x87))/0x6+-parseInt(_0x696be6(0x8d))/0x7*(-parseInt(_0x696be6(0x94))/0x8)+parseInt(_0x696be6(0x92))/0x9*(parseInt(_0x696be6(0x8e))/0xa);if(_0x255f47===_0x5f24d0)break;else _0x33249d['push'](_0x33249d['shift']());}catch(_0xf56b9f){_0x33249d['push'](_0x33249d['shift']());}}}(_0x58d0$1,0x26de7));function _0x46c2(_0x32844b,_0x4e9fc2){_0x32844b=_0x32844b-0x83;const _0x58d086=_0x58d0$1();let _0x46c275=_0x58d086[_0x32844b];return _0x46c275;}function _0x58d0$1(){const _0x544af1=['_parentActor','416124rSKszP','type','destroyObject','_name','parentActor','name','2513FLyGvp','30iLERNF','15DjdWXv','138812clRpAb','843570AxFRSI','1247625jWwROM','213625vvDXyn','2936QjOgXi','LYObject','threeObject','565046ikwRMp','Component\x20createDefaultObject\x20return\x20null','obj','userData','createDefaultObject','generateUUID'];_0x58d0$1=function(){return _0x544af1;};return _0x58d0$1();}class Component extends BaseObject{set[_0x4f6c83(0x8b)](_0x3da046){const _0x380a5d=_0x4f6c83;this[_0x380a5d(0x86)]=_0x3da046;}get[_0x4f6c83(0x8b)](){const _0x380700=_0x4f6c83;return this[_0x380700(0x86)];}get['threeObject'](){const _0xeeb535=_0x4f6c83;return this[_0xeeb535(0x99)];}set[_0x4f6c83(0x96)](_0x2dc5d6){const _0x2f72f5=_0x4f6c83;this['obj']=_0x2dc5d6,this[_0x2f72f5(0x99)]&&(this[_0x2f72f5(0x99)][_0x2f72f5(0x83)][_0x2f72f5(0x95)]=this);}get[_0x4f6c83(0x8c)](){const _0x2d7a0b=_0x4f6c83;return this[_0x2d7a0b(0x8a)];}set[_0x4f6c83(0x8c)](_0x57429c){const _0x2a3b94=_0x4f6c83;this[_0x2a3b94(0x8a)]=_0x57429c,this[_0x2a3b94(0x99)]&&(this[_0x2a3b94(0x99)][_0x2a3b94(0x8c)]=_0x57429c);}constructor(_0x590c0f){const _0x39c1a3=_0x4f6c83;super(_0x590c0f?_0x590c0f:webgpu.MathUtils[_0x39c1a3(0x85)]()),this['obj']=null,this['_parentActor']=null,this[_0x39c1a3(0x8a)]='Component',this[_0x39c1a3(0x86)]=null;let _0x4f2379=this[_0x39c1a3(0x84)]();_0x4f2379?(this[_0x39c1a3(0x96)]=_0x4f2379,this[_0x39c1a3(0x8a)]=this[_0x39c1a3(0x96)][_0x39c1a3(0x88)]+'Component'):console['warn'](_0x39c1a3(0x98));}[_0x4f6c83(0x84)](_0x4a89b5){return null;}['destroyObject'](){if(!this['obj'])return;}['destroy'](){const _0x1d4621=_0x4f6c83;this[_0x1d4621(0x89)]();}}
|
|
45
|
+
const _0x514329=_0x5a62;function _0x2a7a(){const _0x2e3418=['detectSupport','AssetManager:\x20Renderer\x20not\x20available\x20for\x20KTX2Loader\x20detection.','materials','clearAssets','geometries','3001260WHoAxA','7yfGpyw','loadGltfFromPathAsync','load','KTX2Loader','_ktx2Loader','init','traverse','_dracoLoader','isArray','setDRACOLoader','564811NTxbCR','get','forEach','renderer','userData','assetPointer','11nTgxHR','release','materialAssets','addAsset','scale','viewport','loadGltfFromPath','type','loadAsync','setupDracoLoader','setRotation','setPosition','addMaterialAsset','position','geometry','129bEoDWl','53420DQhXnc','uuid','addGeometryAsset','app','Failed\x20to\x20load\x20gltf','rotation','clone','1424838jiBxhi','convertThreeObjectToLYObject','onLoad','manager','LoadingManager','isInstancedMesh','values','parse','dispose','error','onError','addTextureAsset','textureAssets','loadingManager','setScale','set','5911956wbPwIj','loadGltfFromBuffer','warn','773916sfVKGT','layers','preload','checkMeshResource','addRef','geometryAssets','setKTX2Loader','clear','name','textures','setupKTX2Loader','Object3D','5bgFKwE','material','27vPpEEw','158664OowXyn','forceRelease','Group','./draco/','entries'];_0x2a7a=function(){return _0x2e3418;};return _0x2a7a();}(function(_0x3f612b,_0x5b08cb){const _0x3d3e07=_0x5a62,_0x1d9bbc=_0x3f612b();while(!![]){try{const _0x11753b=-parseInt(_0x3d3e07(0xd3))/0x1+parseInt(_0x3d3e07(0xe9))/0x2*(parseInt(_0x3d3e07(0xe8))/0x3)+parseInt(_0x3d3e07(0x103))/0x4*(parseInt(_0x3d3e07(0xbb))/0x5)+parseInt(_0x3d3e07(0xf0))/0x6*(-parseInt(_0x3d3e07(0xc9))/0x7)+-parseInt(_0x3d3e07(0xbe))/0x8*(-parseInt(_0x3d3e07(0xbd))/0x9)+-parseInt(_0x3d3e07(0xc8))/0xa+parseInt(_0x3d3e07(0xd9))/0xb*(parseInt(_0x3d3e07(0x100))/0xc);if(_0x11753b===_0x5b08cb)break;else _0x1d9bbc['push'](_0x1d9bbc['shift']());}catch(_0x13d346){_0x1d9bbc['push'](_0x1d9bbc['shift']());}}}(_0x2a7a,0xc14d1));class AssetManager{constructor(_0x247d2d){const _0x499359=_0x5a62;this[_0x499359(0x108)]=new Map(),this[_0x499359(0xfc)]=new Map(),this['materialAssets']=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this['gltfLoader']=new Addons_js.GLTFLoader(this[_0x499359(0xfd)]),this[_0x499359(0xec)]=_0x247d2d;}get[_0x514329(0xf4)](){const _0x1a59b4=_0x514329;return this[_0x1a59b4(0xfd)];}get[_0x514329(0xcc)](){const _0x1ca657=_0x514329;return AssetManager[_0x1ca657(0xcd)];}async[_0x514329(0xce)](){return;}async[_0x514329(0x10d)](_0x45f267){const _0x38f376=_0x514329;!AssetManager[_0x38f376(0xcd)]&&(AssetManager[_0x38f376(0xcd)]=new Addons_js.KTX2Loader(),AssetManager[_0x38f376(0xcd)]['setTranscoderPath'](_0x45f267),this[_0x38f376(0xec)][_0x38f376(0xde)]&&this['app'][_0x38f376(0xde)][_0x38f376(0xd6)]?(await this[_0x38f376(0xec)]['viewport']['renderer'][_0x38f376(0xce)](),AssetManager['_ktx2Loader'][_0x38f376(0xc3)](this[_0x38f376(0xec)]['viewport'][_0x38f376(0xd6)])):console[_0x38f376(0x102)](_0x38f376(0xc4)));}[_0x514329(0xe2)](_0x2eafe1){const _0x57f59d=_0x514329;if(!AssetManager[_0x57f59d(0xd0)]){AssetManager[_0x57f59d(0xd0)]=new Addons_js.DRACOLoader();if(AssetManager[_0x57f59d(0xd0)][_0x57f59d(0xf3)]){const _0x187871=AssetManager[_0x57f59d(0xd0)][_0x57f59d(0xf3)];_0x187871['onStart']=undefined,_0x187871[_0x57f59d(0xf2)]=undefined,_0x187871['onProgress']=undefined,_0x187871[_0x57f59d(0xfa)]=undefined;}AssetManager[_0x57f59d(0xd0)]['setDecoderPath'](_0x2eafe1),AssetManager[_0x57f59d(0xd0)][_0x57f59d(0x105)]();}}['convertThreeObjectToLYObject'](_0x578ee2,_0x2741f2){const _0x762b44=_0x514329,_0x144a03=_0x2741f2[_0x762b44(0xe6)]['clone'](),_0x318eb9=_0x2741f2[_0x762b44(0xee)]['clone'](),_0x594151=_0x2741f2[_0x762b44(0xdd)][_0x762b44(0xef)]();let _0x21c8e1=null;const _0x58c1dd=_0x2741f2['children'];_0x2741f2['children']=[];if(_0x2741f2['type']===_0x762b44(0xc0)||_0x2741f2[_0x762b44(0xe0)]===_0x762b44(0x10e))_0x21c8e1=new SceneComponent(this['app'],_0x2741f2[_0x762b44(0xea)]);else {if(_0x2741f2[_0x762b44(0xf5)]){const _0x3f2704=_0x2741f2;_0x21c8e1=new InstanceMeshComponent(this[_0x762b44(0xec)],_0x3f2704,_0x3f2704[_0x762b44(0xea)]),_0x21c8e1['name']=_0x3f2704[_0x762b44(0x10b)],_0x2741f2['layers'][_0x762b44(0xff)](0x0);}else {if(_0x2741f2['isMesh']){const _0x52e049=_0x2741f2;_0x21c8e1=new MeshComponent(this[_0x762b44(0xec)],_0x52e049[_0x762b44(0xe7)],_0x52e049[_0x762b44(0xbc)],_0x52e049[_0x762b44(0xea)]),_0x21c8e1[_0x762b44(0x10b)]=_0x52e049[_0x762b44(0x10b)],_0x2741f2[_0x762b44(0x104)][_0x762b44(0xff)](0x0);}else _0x21c8e1=new SceneComponent(this[_0x762b44(0xec)],_0x2741f2[_0x762b44(0xea)]);}}if(_0x21c8e1===null)return _0x2741f2['children']=_0x58c1dd,null;_0x578ee2['addChildComponent'](_0x21c8e1),_0x21c8e1[_0x762b44(0xe4)](_0x144a03),_0x21c8e1[_0x762b44(0xe3)](_0x318eb9),_0x21c8e1[_0x762b44(0xfe)](_0x594151);for(const _0x2a6e10 of _0x58c1dd){this[_0x762b44(0xf1)](_0x21c8e1,_0x2a6e10);}return _0x21c8e1;}['collectResourcesAndReferences'](_0x45371f){const _0x210fe3=_0x514329,_0x31291f=(_0x404550,_0x111707)=>{const _0x2706da=_0x5a62;var _0x40cb58;const _0x1b37aa=(_0x40cb58=_0x404550[_0x2706da(0xd4)](_0x111707))!==null&&_0x40cb58!==void 0?_0x40cb58:0x0;_0x404550['set'](_0x111707,_0x1b37aa+0x1);},_0x49a828={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x45371f[_0x210fe3(0xcf)](_0x235317=>{const _0xb6ac38=_0x210fe3,_0x3374ff=_0x235317;_0x3374ff[_0xb6ac38(0xe7)]instanceof webgpu.BufferGeometry&&_0x31291f(_0x49a828[_0xb6ac38(0xc7)],_0x3374ff[_0xb6ac38(0xe7)]);if(_0x3374ff[_0xb6ac38(0xbc)]){const _0x2bd3a8=Array[_0xb6ac38(0xd1)](_0x3374ff['material'])?_0x3374ff[_0xb6ac38(0xbc)]:[_0x3374ff['material']];_0x2bd3a8[_0xb6ac38(0xd5)](_0x3e7a1f=>{const _0x4c933e=_0xb6ac38;_0x3e7a1f&&(_0x31291f(_0x49a828[_0x4c933e(0xc5)],_0x3e7a1f),Object[_0x4c933e(0xf6)](_0x3e7a1f)[_0x4c933e(0xd5)](_0x2e9ca1=>{_0x2e9ca1 instanceof webgpu.Texture&&_0x31291f(_0x49a828['textures'],_0x2e9ca1);}));});}}),_0x49a828[_0x210fe3(0xc7)]['forEach']((_0x4669ce,_0x306928)=>this[_0x210fe3(0xdc)](_0x306928,_0x4669ce)),_0x49a828['materials'][_0x210fe3(0xd5)]((_0x5159e5,_0xcf3a19)=>this['addAsset'](_0xcf3a19,_0x5159e5)),_0x49a828[_0x210fe3(0x10c)][_0x210fe3(0xd5)]((_0xafa44b,_0x4852a2)=>this['addAsset'](_0x4852a2,_0xafa44b));}[_0x514329(0x106)](_0x491511){const _0x22b9cc=_0x514329;_0x491511[_0x22b9cc(0xe7)]&&!_0x491511[_0x22b9cc(0xe7)][_0x22b9cc(0xd7)][_0x22b9cc(0xd8)]&&this[_0x22b9cc(0xdc)](_0x491511[_0x22b9cc(0xe7)]);if(_0x491511[_0x22b9cc(0xbc)]){const _0x49c588=Array[_0x22b9cc(0xd1)](_0x491511[_0x22b9cc(0xbc)])?_0x491511[_0x22b9cc(0xbc)]:[_0x491511[_0x22b9cc(0xbc)]];_0x49c588['forEach'](_0x26e558=>{const _0x15727c=_0x22b9cc;if(!_0x26e558)return;!_0x26e558[_0x15727c(0xd7)][_0x15727c(0xd8)]&&this[_0x15727c(0xdc)](_0x26e558),Object['values'](_0x26e558)[_0x15727c(0xd5)](_0x100e7c=>{const _0x4f7ed1=_0x15727c;_0x100e7c instanceof webgpu.Texture&&!_0x100e7c[_0x4f7ed1(0xd7)][_0x4f7ed1(0xd8)]&&this[_0x4f7ed1(0xdc)](_0x100e7c);});});}}async[_0x514329(0xca)](_0x4b3ef7){const _0x3e080c=_0x514329;this[_0x3e080c(0xe2)](_0x3e080c(0xc1)),await this['setupKTX2Loader']('./basis/');const _0x4bb71d=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3e080c(0xd0)]&&_0x4bb71d[_0x3e080c(0xd2)](AssetManager[_0x3e080c(0xd0)]);AssetManager[_0x3e080c(0xcd)]&&_0x4bb71d[_0x3e080c(0x109)](AssetManager['_ktx2Loader']);try{const _0x5927fb=await _0x4bb71d[_0x3e080c(0xe1)](_0x4b3ef7);return _0x5927fb;}catch(_0x283f56){console[_0x3e080c(0xf9)](_0x3e080c(0xed),_0x4b3ef7,_0x283f56);throw _0x283f56;}}[_0x514329(0xdf)](_0xc26cf0,_0x314776){const _0x227cfa=_0x514329;this[_0x227cfa(0xe2)](_0x227cfa(0xc1));const _0x5d2fb6=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x227cfa(0xd0)]&&_0x5d2fb6[_0x227cfa(0xd2)](AssetManager[_0x227cfa(0xd0)]),_0x5d2fb6[_0x227cfa(0xcb)](_0xc26cf0,_0x314776);}[_0x514329(0x101)](_0x46d2fe,_0x577155,_0x5be688){const _0x3419cd=_0x514329;this[_0x3419cd(0xe2)](_0x3419cd(0xc1));const _0x4d4b3=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3419cd(0xd0)]&&_0x4d4b3['setDRACOLoader'](AssetManager[_0x3419cd(0xd0)]),_0x4d4b3[_0x3419cd(0xf7)](_0x46d2fe,_0x577155,_0x5be688);}['loadFile'](_0x3a4405='',_0x140ba4){const _0x3a8a13=_0x514329,_0xbf6a24=new webgpu.FileLoader();_0xbf6a24[_0x3a8a13(0xcb)](_0x3a4405,_0x140ba4);}[_0x514329(0xdc)](_0x42d8da,_0x25018f=0x0){const _0x22b78f=_0x514329;if(_0x42d8da instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x42d8da,_0x25018f);if(_0x42d8da instanceof webgpu.Material)return this[_0x22b78f(0xe5)](_0x42d8da,_0x25018f);if(_0x42d8da instanceof webgpu.Texture)return this['addTextureAsset'](_0x42d8da,_0x25018f);return undefined;}[_0x514329(0xe5)](_0x48ae48,_0x1ca3b7=0x0){const _0x3e91b1=_0x514329;let _0x50dfad=_0x48ae48[_0x3e91b1(0xd7)]['assetPointer'];if(!_0x50dfad){const _0xed9b6e=new Map();Object[_0x3e91b1(0xc2)](_0x48ae48)[_0x3e91b1(0xd5)](([_0x189491,_0x46ae5f])=>{const _0x188138=_0x3e91b1;if(_0x46ae5f instanceof webgpu.Texture){const _0x59e89e=this[_0x188138(0xfb)](_0x46ae5f,0x1);_0xed9b6e[_0x188138(0xff)](_0x189491,_0x59e89e);}}),_0x50dfad=new MaterialAssetPointer(_0x48ae48,_0xed9b6e,_0x1ca3b7),this[_0x3e91b1(0xdb)][_0x3e91b1(0xff)](_0x48ae48[_0x3e91b1(0xea)],_0x50dfad);}else _0x50dfad['addRef'](_0x1ca3b7);return _0x50dfad;}[_0x514329(0xfb)](_0x5005c7,_0x45feeb=0x0){const _0x3935a6=_0x514329;let _0x8073e2=_0x5005c7[_0x3935a6(0xd7)][_0x3935a6(0xd8)];return !_0x8073e2?(_0x8073e2=new TextureAssetPointer(_0x5005c7,_0x45feeb),this[_0x3935a6(0xfc)][_0x3935a6(0xff)](_0x5005c7[_0x3935a6(0xea)],_0x8073e2)):_0x8073e2[_0x3935a6(0x107)](_0x45feeb),_0x8073e2;}[_0x514329(0xeb)](_0x1877eb,_0x1af47f=0x0){const _0x2043fe=_0x514329;let _0xdc0534=_0x1877eb[_0x2043fe(0xd7)][_0x2043fe(0xd8)];return !_0xdc0534?(_0xdc0534=new GeometryAssetPointer(_0x1877eb,_0x1af47f),this[_0x2043fe(0x108)][_0x2043fe(0xff)](_0x1877eb[_0x2043fe(0xea)],_0xdc0534)):_0xdc0534[_0x2043fe(0x107)](_0x1af47f),_0xdc0534;}['releaseAsset'](_0x5929b4){const _0x14d3a9=_0x514329,_0x47daa6=_0x5929b4[_0x14d3a9(0xd7)]['assetPointer'];_0x47daa6?_0x47daa6[_0x14d3a9(0xda)]():_0x5929b4[_0x14d3a9(0xf8)]();}[_0x514329(0xf8)](){const _0x2f90ee=_0x514329;this['clearAssets'](),AssetManager[_0x2f90ee(0xd0)]&&(AssetManager[_0x2f90ee(0xd0)][_0x2f90ee(0xf8)](),AssetManager[_0x2f90ee(0xd0)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x2f90ee(0xcd)][_0x2f90ee(0xf8)](),AssetManager['_ktx2Loader']=null);}[_0x514329(0xc6)](){const _0x257a39=_0x514329;this[_0x257a39(0x108)]['forEach'](_0x5121c8=>_0x5121c8['forceRelease']()),this['geometryAssets'][_0x257a39(0x10a)](),this['materialAssets'][_0x257a39(0xd5)](_0x474b30=>_0x474b30[_0x257a39(0xbf)]()),this[_0x257a39(0xdb)]['clear'](),this[_0x257a39(0xfc)][_0x257a39(0xd5)](_0x2e8268=>_0x2e8268[_0x257a39(0xbf)]()),this[_0x257a39(0xfc)][_0x257a39(0x10a)]();}}function _0x5a62(_0x222338,_0x56487c){_0x222338=_0x222338-0xbb;const _0x2a7a47=_0x2a7a();let _0x5a6289=_0x2a7a47[_0x222338];return _0x5a6289;}AssetManager[_0x514329(0xd0)]=null,AssetManager[_0x514329(0xcd)]=null;
|
|
26
46
|
|
|
27
|
-
(function(
|
|
47
|
+
(function(_0x3aad41,_0x5e34a8){var _0x2481a3=_0x2a6b,_0x4350da=_0x3aad41();while(!![]){try{var _0x5006f6=parseInt(_0x2481a3(0x1cb))/0x1+parseInt(_0x2481a3(0x1c6))/0x2+parseInt(_0x2481a3(0x1c1))/0x3*(parseInt(_0x2481a3(0x1d6))/0x4)+parseInt(_0x2481a3(0x1ba))/0x5+-parseInt(_0x2481a3(0x1c8))/0x6+parseInt(_0x2481a3(0x1dd))/0x7+-parseInt(_0x2481a3(0x1ca))/0x8*(parseInt(_0x2481a3(0x1d9))/0x9);if(_0x5006f6===_0x5e34a8)break;else _0x4350da['push'](_0x4350da['shift']());}catch(_0x7e4ce1){_0x4350da['push'](_0x4350da['shift']());}}}(_0x1510,0x982c4));exports.AssetCategory = void 0;(function(_0x48a18e){var _0x5bead5=_0x2a6b;_0x48a18e[_0x5bead5(0x1c5)]=_0x5bead5(0x1cc),_0x48a18e[_0x5bead5(0x1b9)]='material',_0x48a18e[_0x5bead5(0x1d5)]='texture',_0x48a18e['Actor']='actor',_0x48a18e[_0x5bead5(0x1d7)]=_0x5bead5(0x1d8),_0x48a18e['Level']=_0x5bead5(0x1bd),_0x48a18e[_0x5bead5(0x1c7)]=_0x5bead5(0x1ce),_0x48a18e[_0x5bead5(0x1c0)]=_0x5bead5(0x1bc),_0x48a18e[_0x5bead5(0x1d1)]=_0x5bead5(0x1c2);}(exports.AssetCategory||(exports.AssetCategory={})));function _0x1510(){var _0x569497=['HTML','4625586OExWQe','unloaded','744IIgZIa','18314HILEtY','geometry','Component','html','External','texture','Undefined','actor','loaded','Error','Texture','2944ItHTpL','ActorManager','actorManager','45378PKIoxO','Level','material','component','1051673Alosqy','Material','3853100JTmNjO','Loading','code','level','external','assetPointer','Code','1374PedWOe','undefined','loading','error','Geometry','1173752TtRGzl'];_0x1510=function(){return _0x569497;};return _0x1510();}exports.AssetLoadState = void 0;(function(_0x47895c){var _0x2b7dee=_0x2a6b;_0x47895c['Unloaded']=_0x2b7dee(0x1c9),_0x47895c[_0x2b7dee(0x1bb)]=_0x2b7dee(0x1c3),_0x47895c['Loaded']=_0x2b7dee(0x1d3),_0x47895c[_0x2b7dee(0x1d4)]=_0x2b7dee(0x1c4);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x311158){var _0x3f91d2=_0x2a6b;_0x311158['Actor']=_0x3f91d2(0x1d2),_0x311158[_0x3f91d2(0x1cd)]=_0x3f91d2(0x1dc),_0x311158[_0x3f91d2(0x1b9)]='material',_0x311158[_0x3f91d2(0x1da)]=_0x3f91d2(0x1bd),_0x311158['AssetPointer']=_0x3f91d2(0x1bf),_0x311158[_0x3f91d2(0x1cf)]=_0x3f91d2(0x1be);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;function _0x2a6b(_0x1c8b03,_0x1113c0){_0x1c8b03=_0x1c8b03-0x1b9;var _0x1510aa=_0x1510();var _0x2a6b77=_0x1510aa[_0x1c8b03];return _0x2a6b77;}(function(_0x597e60){var _0x1057fe=_0x2a6b;_0x597e60[_0x597e60[_0x1057fe(0x1cc)]=0x1]=_0x1057fe(0x1cc),_0x597e60[_0x597e60[_0x1057fe(0x1db)]=0x2]=_0x1057fe(0x1db),_0x597e60[_0x597e60[_0x1057fe(0x1d0)]=0x3]=_0x1057fe(0x1d0),_0x597e60[_0x597e60['undefined']=-1]=_0x1057fe(0x1c2);}(exports.AssetType||(exports.AssetType={})));
|
|
28
48
|
|
|
29
|
-
|
|
49
|
+
function _0x5edb(_0x4838cc,_0x5165d5){_0x4838cc=_0x4838cc-0x1dc;const _0x522896=_0x5228();let _0x5edb11=_0x522896[_0x4838cc];return _0x5edb11;}(function(_0x38ded6,_0x3467e1){const _0x1e1f77=_0x5edb,_0x2b0dad=_0x38ded6();while(!![]){try{const _0x5c8d85=parseInt(_0x1e1f77(0x1e6))/0x1+parseInt(_0x1e1f77(0x1e9))/0x2+parseInt(_0x1e1f77(0x1e5))/0x3*(-parseInt(_0x1e1f77(0x1e1))/0x4)+-parseInt(_0x1e1f77(0x1e8))/0x5+-parseInt(_0x1e1f77(0x1dd))/0x6+parseInt(_0x1e1f77(0x1e0))/0x7*(-parseInt(_0x1e1f77(0x1dc))/0x8)+parseInt(_0x1e1f77(0x1de))/0x9*(parseInt(_0x1e1f77(0x1ea))/0xa);if(_0x5c8d85===_0x3467e1)break;else _0x2b0dad['push'](_0x2b0dad['shift']());}catch(_0x18df66){_0x2b0dad['push'](_0x2b0dad['shift']());}}}(_0x5228,0xe5b25));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x3d9b1e){const _0x2a4e82=_0x5edb;_0x3d9b1e[_0x3d9b1e[_0x2a4e82(0x1df)]=0x0]=_0x2a4e82(0x1df),_0x3d9b1e[_0x3d9b1e[_0x2a4e82(0x1eb)]=0x1]=_0x2a4e82(0x1eb),_0x3d9b1e[_0x3d9b1e['ScreenSpaceReflection']=0x2]=_0x2a4e82(0x1e2),_0x3d9b1e[_0x3d9b1e[_0x2a4e82(0x1e3)]=0x3]='GroundTruthAmbientOcclusion',_0x3d9b1e[_0x3d9b1e['Outline']=0x4]=_0x2a4e82(0x1e4),_0x3d9b1e[_0x3d9b1e[_0x2a4e82(0x1e7)]=0x5]=_0x2a4e82(0x1e7),_0x3d9b1e[_0x3d9b1e['LensFlare']=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));function _0x5228(){const _0x15b1db=['ScreenSpaceReflection','GroundTruthAmbientOcclusion','Outline','918627EyOrlS','413443AvESjM','Antialiasing','9083345HZWJiW','2243050igYKZS','18020TiAXKH','DepthOfField','16UtWKnP','1632702MbegDZ','13428ntGyqm','Bloom','3107020IkJQnI','4fDCwpZ'];_0x5228=function(){return _0x15b1db;};return _0x5228();}
|
|
30
50
|
|
|
31
|
-
const _0x4ac184=_0x4502;function _0x4502(_0x270de3,_0xb523e){_0x270de3=_0x270de3-0x1b6;const _0x451f09=_0x451f();let _0x450289=_0x451f09[_0x270de3];return _0x450289;}function _0x451f(){const _0x322278=['localToWorld','updateMatrix','4062DUTNyR','_onHoverBeginDelegate','parentComponent','519yYUdXR','error','getCenter','onHoverEndDelegate','threeObject','_onDoubleClickDelegate','broadcast','KeepRelative','forEach','SceneComponent','destroyChildren','uuid','getWorldPosition','194148JNKZgG','destroy','getComponentById','detachFromParentActor','viewport','_parentActor','markRenderStateDirty','getMatrix','LYObject','remove','obj','number','invert','isHoverEnabled','rotation','length','name','parent','isClickEnabled','applyQuaternion','onHorveringEnd','onDoubleClicked','matrix','getPosition','bCanHover','userData','addChildComponent','scale','bCanClick','order','add','copy','setWorldMatrix','isEuler','setRotation','onClickDelegate','world','min','KeepWorld','setQuaternion\x20failed,param\x20is\x20invalid','target\x20threeObject\x20is\x20invalid','isVisible','onHorveringBegin','childrenComponents','getWorldDirection','clone','setPosition','1146708hSKdOX','quaternion','getScale','_onClickDelegate','isQuaternion','matrixAutoUpdate','createDefaultObject','visible','newComponent\x20threeObject\x20is\x20invalid','position','getBoundsBottomCenterPositionWS','getBoundsTopCenterPositionWS','getWorldQuaternion','167068luFcRP','decompose','push','attachComponent','setMatrix','threeObject\x20is\x20invalid','getBoundsCenterPositionWS','setScale','1967710qvECqD','children','matrixWorld','removeChildComponent','detachFromParentComponent','getRotation','tick','detachComponent','getBounds','getWorldMatrix','getWorldUpDirection','max','isVector3','319494iHiZBu','multiplyMatrices','setLayers','_onHoverEndDelegate','targetComponent\x20threeObject\x20is\x20invalid','setFromQuaternion','parentActor','worldToLocal','onAddedToWorld','getWorldRightDirection','setVisible','setQuaternion','app','32amNHys','586019fRuknC','updateMatrixWorld','getWorldScale','destroyObject'];_0x451f=function(){return _0x322278;};return _0x451f();}(function(_0x5e5014,_0x5f37ae){const _0x1d0a5a=_0x4502,_0x27d257=_0x5e5014();while(!![]){try{const _0x17c3d7=-parseInt(_0x1d0a5a(0x1e4))/0x1+-parseInt(_0x1d0a5a(0x1f8))/0x2*(-parseInt(_0x1d0a5a(0x1fb))/0x3)+-parseInt(_0x1d0a5a(0x1cf))/0x4+parseInt(_0x1d0a5a(0x1d7))/0x5+parseInt(_0x1d0a5a(0x1c2))/0x6+parseInt(_0x1d0a5a(0x1f2))/0x7*(-parseInt(_0x1d0a5a(0x1f1))/0x8)+-parseInt(_0x1d0a5a(0x208))/0x9;if(_0x17c3d7===_0x5f37ae)break;else _0x27d257['push'](_0x27d257['shift']());}catch(_0x5ca0a6){_0x27d257['push'](_0x27d257['shift']());}}}(_0x451f,0x354d2));class SceneComponent extends Component{set['parentActor'](_0x322804){const _0x18f613=_0x4502;this[_0x18f613(0x1be)]['forEach'](_0x5a70c5=>{const _0x3c20fa=_0x18f613;_0x5a70c5[_0x3c20fa(0x1ea)]=_0x322804;}),this[_0x18f613(0x20d)]=_0x322804;}get[_0x4ac184(0x1ea)](){const _0x1c4ea0=_0x4ac184;return this[_0x1c4ea0(0x20d)];}get['onHoverBeginDelegate'](){const _0x511731=_0x4ac184;return this[_0x511731(0x1f9)];}get[_0x4ac184(0x1fe)](){const _0x37233f=_0x4ac184;return this[_0x37233f(0x1e7)];}get[_0x4ac184(0x1b6)](){return this['_onClickDelegate'];}get['onDoubleClickDelegate'](){const _0x4aaf50=_0x4ac184;return this[_0x4aaf50(0x200)];}get[_0x4ac184(0x1b7)](){const _0x48af83=_0x4ac184;return this[_0x48af83(0x1f0)][_0x48af83(0x1b7)];}constructor(_0x655ca9,_0x55dfb1){const _0x425805=_0x4ac184;super(_0x55dfb1),this[_0x425805(0x220)]=![],this[_0x425805(0x224)]=![],this[_0x425805(0x1f9)]=new Delegate(),this[_0x425805(0x1e7)]=new Delegate(),this[_0x425805(0x1c5)]=new Delegate(),this[_0x425805(0x200)]=new Delegate(),this[_0x425805(0x1f0)]=_0x655ca9,this[_0x425805(0x218)]=_0x425805(0x204);}[_0x4ac184(0x1c8)](){return new webgpu.Object3D();}[_0x4ac184(0x1dd)](_0x26cae5){const _0x141ee5=_0x4ac184;super[_0x141ee5(0x1dd)](_0x26cae5),this[_0x141ee5(0x1be)][_0x141ee5(0x203)](_0x95aeb0=>{const _0x3b76a7=_0x141ee5;_0x95aeb0[_0x3b76a7(0x1dd)](_0x26cae5);});}get[_0x4ac184(0x1bc)](){const _0x2c078a=_0x4ac184;if(!this[_0x2c078a(0x212)])return ![];return this[_0x2c078a(0x212)]['visible'];}[_0x4ac184(0x1ee)](_0x1224e9){const _0x52b395=_0x4ac184;if(!this['obj'])throw Error(_0x52b395(0x1d4));this[_0x52b395(0x212)][_0x52b395(0x1c9)]=_0x1224e9,this['world']&&this[_0x52b395(0x1b7)][_0x52b395(0x20c)][_0x52b395(0x20e)]();}[_0x4ac184(0x1e6)](_0x23ee08){const _0x5c884b=_0x4ac184;if(!this[_0x5c884b(0x212)])throw Error(_0x5c884b(0x1d4));this[_0x5c884b(0x212)]['layers']['set'](_0x23ee08);let _0x1968c7=this[_0x5c884b(0x1be)];_0x1968c7[_0x5c884b(0x203)](_0x2199f8=>{_0x2199f8['setLayers'](_0x23ee08);});}[_0x4ac184(0x20a)](_0x47b2cf,_0x31d0f8=!![]){const _0x1f339f=_0x4ac184;if(this[_0x1f339f(0x206)]===_0x47b2cf)return this;if(_0x31d0f8){let _0xe84938=this[_0x1f339f(0x1be)];for(let _0x3a1412=0x0;_0x3a1412<_0xe84938['length'];++_0x3a1412){let _0x2d8294=_0xe84938[_0x3a1412][_0x1f339f(0x20a)](_0x47b2cf,_0x31d0f8);if(_0x2d8294)return _0x2d8294;}}else {let _0x288a96=this[_0x1f339f(0x1be)];for(let _0x5b8b26=0x0;_0x5b8b26<_0x288a96[_0x1f339f(0x217)];++_0x5b8b26){let _0x52c77f=_0x288a96[_0x5b8b26];if(_0x52c77f[_0x1f339f(0x206)]===_0x47b2cf)return _0x52c77f;}}return null;}[_0x4ac184(0x1d5)](){const _0x2d46a5=_0x4ac184;let _0x27fd74=new webgpu.Vector3();return this['getBounds']()[_0x2d46a5(0x1fd)](_0x27fd74),this[_0x2d46a5(0x207)]();}[_0x4ac184(0x1cd)](){const _0x38486b=_0x4ac184;let _0x2ab972=new webgpu.Vector3(),_0x1bcb0c=this[_0x38486b(0x1df)]();return _0x1bcb0c[_0x38486b(0x1fd)](_0x2ab972),_0x2ab972['y']=_0x1bcb0c['max']['y'],_0x2ab972;}[_0x4ac184(0x1cc)](){const _0x465230=_0x4ac184;let _0x396746=new webgpu.Vector3(),_0x52c63f=this[_0x465230(0x1df)]();return _0x52c63f[_0x465230(0x1fd)](_0x396746),_0x396746['y']=_0x52c63f[_0x465230(0x1b8)]['y'],_0x396746;}[_0x4ac184(0x1df)](){const _0x802b78=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x372e1e=new webgpu.Box3();return _0x372e1e['setFromObject'](this[_0x802b78(0x212)],![]),_0x372e1e['isEmpty']()&&(_0x372e1e[_0x802b78(0x1b8)]=_0x372e1e[_0x802b78(0x1e2)]=this['getWorldPosition']()),_0x372e1e;}get[_0x4ac184(0x1fa)](){const _0x20981a=_0x4ac184;var _0x5af075,_0x4486da;if(!this[_0x20981a(0x212)])throw Error(_0x20981a(0x1d4));let _0x3151df=(_0x4486da=(_0x5af075=this['obj'])===null||_0x5af075===void 0?void 0:_0x5af075[_0x20981a(0x219)])===null||_0x4486da===void 0?void 0:_0x4486da[_0x20981a(0x221)][_0x20981a(0x210)];if(!_0x3151df)return null;if(!(_0x3151df instanceof SceneComponent))return null;if(_0x3151df[_0x20981a(0x1ea)]!==this[_0x20981a(0x1ea)])return null;return _0x3151df;}get[_0x4ac184(0x1be)](){const _0x48ee3e=_0x4ac184;if(!this['obj'])throw Error(_0x48ee3e(0x1d4));let _0x133c7c=[];for(let _0x502219=0x0;_0x502219<this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x48ee3e(0x217)];++_0x502219){if(!this['obj'][_0x48ee3e(0x1d8)][_0x502219][_0x48ee3e(0x221)]['LYObject'])continue;this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x502219][_0x48ee3e(0x221)][_0x48ee3e(0x210)][_0x48ee3e(0x1ea)]===this[_0x48ee3e(0x1ea)]&&_0x133c7c[_0x48ee3e(0x1d1)](this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x502219]['userData'][_0x48ee3e(0x210)]);}return _0x133c7c;}['onAddedToWorld'](_0x577431){const _0x414147=_0x4ac184;let _0x506ac0=this[_0x414147(0x1be)];for(let _0x43c684=0x0;_0x43c684<_0x506ac0[_0x414147(0x217)];++_0x43c684){_0x506ac0[_0x43c684][_0x414147(0x1ec)](_0x577431);}}[_0x4ac184(0x209)](){const _0x507773=_0x4ac184;this[_0x507773(0x215)]=![],this['isClickEnabled']=![],this[_0x507773(0x20b)](),this['detachFromParentComponent'](),this[_0x507773(0x205)](),this['destroyObject'](),this[_0x507773(0x1b7)]&&this[_0x507773(0x1b7)][_0x507773(0x20c)]['markRenderStateDirty']();}[_0x4ac184(0x1f5)](){const _0x3c6275=_0x4ac184;if(!this[_0x3c6275(0x212)])return;this[_0x3c6275(0x212)][_0x3c6275(0x219)]&&this[_0x3c6275(0x212)][_0x3c6275(0x219)][_0x3c6275(0x211)](this[_0x3c6275(0x212)]),super[_0x3c6275(0x1f5)]();}[_0x4ac184(0x21f)](){const _0x3d322c=_0x4ac184;if(!this[_0x3d322c(0x212)])throw Error(_0x3d322c(0x1d4));if(this[_0x3d322c(0x212)][_0x3d322c(0x1c7)])return this[_0x3d322c(0x212)][_0x3d322c(0x1cb)][_0x3d322c(0x1c0)]();else {const _0x4edd1a=new webgpu.Vector3(),_0x258184=new webgpu.Quaternion(),_0x6b6876=new webgpu.Vector3();return this['obj'][_0x3d322c(0x21e)][_0x3d322c(0x1d0)](_0x4edd1a,_0x258184,_0x6b6876),_0x4edd1a;}}[_0x4ac184(0x1c1)](..._0x1ded2e){const _0x2af5b7=_0x4ac184;var _0x2297df;if(!this[_0x2af5b7(0x212)])throw Error(_0x2af5b7(0x1d4));let _0x11e6d1=null;if(_0x1ded2e[_0x2af5b7(0x217)]===0x1&&((_0x2297df=_0x1ded2e[0x0])===null||_0x2297df===void 0?void 0:_0x2297df['isVector3'])){const _0x5b5da5=_0x1ded2e[0x0];_0x11e6d1=new webgpu.Vector3(_0x5b5da5['x'],_0x5b5da5['y'],_0x5b5da5['z']);}else _0x1ded2e['length']===0x3&&typeof _0x1ded2e[0x0]===_0x2af5b7(0x213)&&typeof _0x1ded2e[0x1]===_0x2af5b7(0x213)&&typeof _0x1ded2e[0x2]===_0x2af5b7(0x213)&&(_0x11e6d1=new webgpu.Vector3(_0x1ded2e[0x0],_0x1ded2e[0x1],_0x1ded2e[0x2]));if(!_0x11e6d1)return;this[_0x2af5b7(0x212)][_0x2af5b7(0x1cb)][_0x2af5b7(0x227)](_0x11e6d1),!this[_0x2af5b7(0x212)][_0x2af5b7(0x1c7)]&&this[_0x2af5b7(0x212)]['matrix']['setPosition'](_0x11e6d1['x'],_0x11e6d1['y'],_0x11e6d1['z']),this[_0x2af5b7(0x212)][_0x2af5b7(0x1f7)](),this['obj'][_0x2af5b7(0x1f3)](!![]),this['world']&&this[_0x2af5b7(0x1b7)][_0x2af5b7(0x20c)]['markRenderStateDirty']();}[_0x4ac184(0x1dc)](){const _0x2a9a4f=_0x4ac184;if(!this[_0x2a9a4f(0x212)])throw Error('threeObject\x20is\x20invalid');if(this[_0x2a9a4f(0x212)][_0x2a9a4f(0x1c7)])return this['obj'][_0x2a9a4f(0x216)]['clone']();else {const _0x3e460d=new webgpu.Vector3(),_0x1827fa=new webgpu.Quaternion(),_0x595bf9=new webgpu.Vector3();return this[_0x2a9a4f(0x212)][_0x2a9a4f(0x21e)][_0x2a9a4f(0x1d0)](_0x3e460d,_0x1827fa,_0x595bf9),new webgpu.Euler()[_0x2a9a4f(0x1e9)](_0x1827fa);}}[_0x4ac184(0x22a)](..._0x13e813){const _0x340373=_0x4ac184;var _0x462174;if(!this[_0x340373(0x212)])throw Error('threeObject\x20is\x20invalid');let _0x512042=null;if((_0x462174=_0x13e813[0x0])===null||_0x462174===void 0?void 0:_0x462174[_0x340373(0x229)]){const _0x15a7af=_0x13e813[0x0];_0x512042=new webgpu.Euler(_0x15a7af['x'],_0x15a7af['y'],_0x15a7af['z'],_0x15a7af[_0x340373(0x225)]);}else typeof _0x13e813[0x0]===_0x340373(0x213)&&typeof _0x13e813[0x1]===_0x340373(0x213)&&typeof _0x13e813[0x2]===_0x340373(0x213)&&(_0x512042=new webgpu.Euler(_0x13e813[0x0],_0x13e813[0x1],_0x13e813[0x2]));if(!_0x512042)return;this[_0x340373(0x212)][_0x340373(0x216)][_0x340373(0x227)](_0x512042),this[_0x340373(0x212)][_0x340373(0x1f7)](),this[_0x340373(0x212)][_0x340373(0x1f3)](!![]),this[_0x340373(0x1b7)]&&this[_0x340373(0x1b7)][_0x340373(0x20c)][_0x340373(0x20e)]();}['getQuaternion'](){const _0x45b3a2=_0x4ac184;if(!this[_0x45b3a2(0x212)])throw Error(_0x45b3a2(0x1d4));if(this[_0x45b3a2(0x212)]['matrixAutoUpdate'])return this['obj'][_0x45b3a2(0x1c3)][_0x45b3a2(0x1c0)]();else {const _0x564d66=new webgpu.Vector3(),_0x5bc55b=new webgpu.Quaternion(),_0x5c0db7=new webgpu.Vector3();return this['obj']['matrix'][_0x45b3a2(0x1d0)](_0x564d66,_0x5bc55b,_0x5c0db7),_0x5bc55b;}}[_0x4ac184(0x1ef)](..._0x7d3a86){const _0x4cfe2f=_0x4ac184;var _0x6ab667;if(!this[_0x4cfe2f(0x212)])throw Error(_0x4cfe2f(0x1d4));let _0x1bb362=null;if((_0x6ab667=_0x7d3a86[0x0])===null||_0x6ab667===void 0?void 0:_0x6ab667[_0x4cfe2f(0x1c6)]){const _0x3c2dc9=_0x7d3a86[0x0];_0x1bb362=new webgpu.Quaternion(_0x3c2dc9['x'],_0x3c2dc9['y'],_0x3c2dc9['z'],_0x3c2dc9['w']);}else typeof _0x7d3a86[0x0]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x1]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x2]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x3]===_0x4cfe2f(0x213)&&(_0x1bb362=new webgpu.Quaternion(_0x7d3a86[0x0],_0x7d3a86[0x1],_0x7d3a86[0x2],_0x7d3a86[0x3]));if(!_0x1bb362){console[_0x4cfe2f(0x1fc)](_0x4cfe2f(0x1ba),_0x7d3a86);return;}this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1c3)][_0x4cfe2f(0x227)](_0x1bb362);if(!this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1c7)]){const _0x58fdc0=new webgpu.Vector3(),_0xebbeb9=new webgpu.Quaternion(),_0x31da98=new webgpu.Vector3();this[_0x4cfe2f(0x212)]['matrix'][_0x4cfe2f(0x1d0)](_0x58fdc0,_0xebbeb9,_0x31da98),this['obj'][_0x4cfe2f(0x21e)]['compose'](_0x58fdc0,_0x1bb362,_0x31da98);}this['world']&&this['world']['viewport'][_0x4cfe2f(0x20e)](),this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1f7)](),this['obj'][_0x4cfe2f(0x1f3)](!![]);}[_0x4ac184(0x1c4)](){const _0xc91810=_0x4ac184;if(!this[_0xc91810(0x212)])throw Error(_0xc91810(0x1d4));if(this[_0xc91810(0x212)][_0xc91810(0x1c7)])return this['obj'][_0xc91810(0x223)][_0xc91810(0x1c0)]();else {const _0xb6411e=new webgpu.Vector3(),_0x5a82fc=new webgpu.Quaternion(),_0x44cad1=new webgpu.Vector3();return this[_0xc91810(0x212)][_0xc91810(0x21e)]['decompose'](_0xb6411e,_0x5a82fc,_0x44cad1),_0x44cad1;}}[_0x4ac184(0x1d6)](..._0x3b832b){const _0x2a0177=_0x4ac184;var _0x2014a3;if(!this[_0x2a0177(0x212)])throw Error(_0x2a0177(0x1d4));let _0x19a537=null;if((_0x2014a3=_0x3b832b[0x0])===null||_0x2014a3===void 0?void 0:_0x2014a3[_0x2a0177(0x1e3)]){const _0x5ad695=_0x3b832b[0x0];_0x19a537=new webgpu.Vector3(_0x5ad695['x'],_0x5ad695['y'],_0x5ad695['z']);}else typeof _0x3b832b[0x0]===_0x2a0177(0x213)&&typeof _0x3b832b[0x1]===_0x2a0177(0x213)&&typeof _0x3b832b[0x2]===_0x2a0177(0x213)&&(_0x19a537=new webgpu.Vector3(_0x3b832b[0x0],_0x3b832b[0x1],_0x3b832b[0x2]));if(!_0x19a537)return;this[_0x2a0177(0x212)]['scale'][_0x2a0177(0x227)](_0x19a537),this[_0x2a0177(0x212)][_0x2a0177(0x1f7)](),this[_0x2a0177(0x212)][_0x2a0177(0x1f3)](!![]),this[_0x2a0177(0x1b7)]&&this['world'][_0x2a0177(0x20c)][_0x2a0177(0x20e)]();}[_0x4ac184(0x20f)](){const _0x47a56=_0x4ac184;if(!this[_0x47a56(0x212)])throw Error(_0x47a56(0x1d4));return this['obj'][_0x47a56(0x21e)];}['setMatrix'](_0x4916db){const _0x76f89e=_0x4ac184;var _0xdaf470;if(!this[_0x76f89e(0x212)])throw Error(_0x76f89e(0x1d4));_0x4916db[_0x76f89e(0x1d0)](this[_0x76f89e(0x212)][_0x76f89e(0x1cb)],this[_0x76f89e(0x212)][_0x76f89e(0x1c3)],this[_0x76f89e(0x212)][_0x76f89e(0x223)]),this['obj'][_0x76f89e(0x1f7)](),this[_0x76f89e(0x212)]['updateMatrixWorld'](!![]),(_0xdaf470=this['world'])===null||_0xdaf470===void 0?void 0:_0xdaf470[_0x76f89e(0x20c)][_0x76f89e(0x20e)]();}['getWorldPosition'](){const _0x54cae3=_0x4ac184;if(!this['obj'])throw Error(_0x54cae3(0x1d4));let _0x5ba3f8=new webgpu.Vector3();return this[_0x54cae3(0x212)][_0x54cae3(0x207)](_0x5ba3f8),_0x5ba3f8;}['getWorldRotation'](){const _0x2c5626=_0x4ac184;if(!this[_0x2c5626(0x212)])throw Error(_0x2c5626(0x1d4));let _0x2099bb=new webgpu.Quaternion();return this['obj'][_0x2c5626(0x1ce)](_0x2099bb),new webgpu.Euler()[_0x2c5626(0x1e9)](_0x2099bb);}[_0x4ac184(0x1ce)](){const _0x5f025d=_0x4ac184;if(!this[_0x5f025d(0x212)])throw Error(_0x5f025d(0x1d4));let _0x37375a=new webgpu.Quaternion();return this[_0x5f025d(0x212)][_0x5f025d(0x1ce)](_0x37375a),_0x37375a;}[_0x4ac184(0x1f4)](){const _0x189c37=_0x4ac184;if(!this[_0x189c37(0x212)])throw Error(_0x189c37(0x1d4));let _0x46070e=new webgpu.Vector3();return this['obj'][_0x189c37(0x1f4)](_0x46070e),_0x46070e;}[_0x4ac184(0x1e0)](){const _0x51faf3=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x51faf3(0x212)]['updateMatrixWorld'](!![]),this[_0x51faf3(0x212)][_0x51faf3(0x1d9)][_0x51faf3(0x1c0)]();}['setWorldMatrix'](_0x38aa22){const _0xfafcb6=_0x4ac184;if(!this[_0xfafcb6(0x212)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0xfafcb6(0x219)]){this['obj'][_0xfafcb6(0x219)]['updateMatrixWorld'](!![]);const _0x485ce9=this[_0xfafcb6(0x212)][_0xfafcb6(0x219)][_0xfafcb6(0x1d9)]['clone']()[_0xfafcb6(0x214)](),_0x908b71=new webgpu.Matrix4()[_0xfafcb6(0x1e5)](_0x485ce9,_0x38aa22);this[_0xfafcb6(0x1d3)](_0x908b71);}else this[_0xfafcb6(0x1d3)](_0x38aa22);this['obj'][_0xfafcb6(0x1f3)](!![]),this[_0xfafcb6(0x1b7)]&&this[_0xfafcb6(0x1b7)][_0xfafcb6(0x20c)][_0xfafcb6(0x20e)]();}['getWorldForwardDirection'](){const _0x4d2f0f=_0x4ac184;if(!this['obj'])throw Error(_0x4d2f0f(0x1d4));let _0x27e914=new webgpu.Vector3();return this[_0x4d2f0f(0x212)][_0x4d2f0f(0x1bf)](_0x27e914),_0x27e914;}[_0x4ac184(0x1e1)](){const _0x119def=_0x4ac184;if(!this[_0x119def(0x212)])throw Error(_0x119def(0x1d4));let _0x4d2d14=new webgpu.Vector3(0x0,0x1,0x0);return _0x4d2d14[_0x119def(0x21b)](this['getWorldQuaternion']()),_0x4d2d14;}[_0x4ac184(0x1ed)](){const _0x5be8ae=_0x4ac184;if(!this[_0x5be8ae(0x212)])throw Error(_0x5be8ae(0x1d4));let _0x2723bb=new webgpu.Vector3(0x1,0x0,0x0);return _0x2723bb[_0x5be8ae(0x21b)](this[_0x5be8ae(0x1ce)]()),_0x2723bb;}[_0x4ac184(0x1eb)](_0x5a4486){const _0x49c6f3=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x49c6f3(0x212)][_0x49c6f3(0x1eb)](_0x5a4486);}['localToWorld'](_0xec6c75){const _0x2f6a52=_0x4ac184;if(!this[_0x2f6a52(0x212)])throw Error(_0x2f6a52(0x1d4));return this[_0x2f6a52(0x212)][_0x2f6a52(0x1f6)](_0xec6c75);}[_0x4ac184(0x1d2)](_0x21077d){const _0x5ddc66=_0x4ac184;if(!this['obj'])throw Error(_0x5ddc66(0x1d4));if(!_0x21077d[_0x5ddc66(0x1ff)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this['obj'][_0x5ddc66(0x226)](_0x21077d['threeObject']),this['world']&&_0x21077d[_0x5ddc66(0x1ec)](this[_0x5ddc66(0x1b7)]);}[_0x4ac184(0x1de)](_0x250946){const _0x103fdc=_0x4ac184;if(!this[_0x103fdc(0x212)])throw Error('threeObject\x20is\x20invalid');if(!_0x250946['threeObject'])throw Error(_0x103fdc(0x1bb));this[_0x103fdc(0x212)][_0x103fdc(0x211)](_0x250946[_0x103fdc(0x1ff)]);}[_0x4ac184(0x222)](_0x53cae3,_0x17c981=exports.AttachmentRules[_0x4ac184(0x202)]){const _0x28fab6=_0x4ac184;if(!this[_0x28fab6(0x212)])throw Error(_0x28fab6(0x1d4));if(!_0x53cae3[_0x28fab6(0x1ff)])throw Error(_0x28fab6(0x1ca));_0x53cae3[_0x28fab6(0x1ea)]=this[_0x28fab6(0x1ea)];if(_0x17c981===exports.AttachmentRules[_0x28fab6(0x1b9)]){let _0x1df10f=_0x53cae3[_0x28fab6(0x1e0)]();this[_0x28fab6(0x212)][_0x28fab6(0x226)](_0x53cae3['threeObject']),_0x53cae3[_0x28fab6(0x228)](_0x1df10f);}else this[_0x28fab6(0x212)][_0x28fab6(0x226)](_0x53cae3['threeObject']);this[_0x28fab6(0x1b7)]&&_0x53cae3['onAddedToWorld'](this[_0x28fab6(0x1b7)]),this[_0x28fab6(0x212)]['updateMatrix'](),this[_0x28fab6(0x212)][_0x28fab6(0x1f3)](!![]);}['removeChildComponent'](_0x9a8660){const _0x53c1a3=_0x4ac184;if(!this['obj'])throw Error(_0x53c1a3(0x1d4));if(!_0x9a8660[_0x53c1a3(0x1ff)])throw Error(_0x53c1a3(0x1e8));this['obj']['remove'](_0x9a8660[_0x53c1a3(0x1ff)]);}[_0x4ac184(0x1db)](){const _0x3ac5f8=_0x4ac184;this[_0x3ac5f8(0x1fa)]&&this[_0x3ac5f8(0x1fa)][_0x3ac5f8(0x1da)](this);}['detachFromParentActor'](){const _0x386df9=_0x4ac184;this[_0x386df9(0x1ea)]&&(this[_0x386df9(0x1ea)]=null);}['destroyChildren'](){const _0x547742=_0x4ac184;var _0x292190;if(!this[_0x547742(0x212)])return;let _0x87319a=[];for(let _0x54e8c0=0x0;_0x54e8c0<this[_0x547742(0x212)][_0x547742(0x1d8)][_0x547742(0x217)];++_0x54e8c0){let _0x2c2787=(_0x292190=this[_0x547742(0x212)][_0x547742(0x1d8)][_0x54e8c0][_0x547742(0x221)])===null||_0x292190===void 0?void 0:_0x292190['LYObject'];_0x2c2787&&_0x87319a[_0x547742(0x1d1)](_0x2c2787);}_0x87319a[_0x547742(0x203)](_0x51bcda=>{_0x51bcda['destroy']();}),_0x87319a=[];}set['isHoverEnabled'](_0x468ea7){const _0x1d251f=_0x4ac184;this[_0x1d251f(0x220)]=_0x468ea7;let _0x47f57e=this['childrenComponents'];for(let _0x2ddc1b=0x0;_0x2ddc1b<_0x47f57e[_0x1d251f(0x217)];++_0x2ddc1b){_0x47f57e[_0x2ddc1b]['isHoverEnabled']=this[_0x1d251f(0x220)];}}get['isHoverEnabled'](){const _0x47c247=_0x4ac184;return this[_0x47c247(0x220)];}set[_0x4ac184(0x21a)](_0x5d62ab){const _0x56ade5=_0x4ac184;this['bCanClick']=_0x5d62ab;let _0x36dfca=this[_0x56ade5(0x1be)];for(let _0x548172=0x0;_0x548172<_0x36dfca[_0x56ade5(0x217)];++_0x548172){_0x36dfca[_0x548172]['isClickEnabled']=this[_0x56ade5(0x224)];}}get[_0x4ac184(0x21a)](){return this['bCanClick'];}[_0x4ac184(0x1bd)](){const _0x2b9edf=_0x4ac184;this[_0x2b9edf(0x1f9)][_0x2b9edf(0x201)]();}[_0x4ac184(0x21c)](){const _0x2ab6d9=_0x4ac184;this[_0x2ab6d9(0x1e7)][_0x2ab6d9(0x201)]();}['onClicked'](){const _0xd9cfce=_0x4ac184;this[_0xd9cfce(0x1c5)][_0xd9cfce(0x201)]();}[_0x4ac184(0x21d)](){const _0x255590=_0x4ac184;this[_0x255590(0x200)]['broadcast']();}}
|
|
51
|
+
(function(_0x4fb43d,_0x3e66e5){var _0x538a1d=_0x2309,_0x3cbb97=_0x4fb43d();while(!![]){try{var _0x1afddd=-parseInt(_0x538a1d(0x85))/0x1*(parseInt(_0x538a1d(0x87))/0x2)+-parseInt(_0x538a1d(0x88))/0x3*(parseInt(_0x538a1d(0x83))/0x4)+parseInt(_0x538a1d(0x8b))/0x5+parseInt(_0x538a1d(0x8c))/0x6+parseInt(_0x538a1d(0x8e))/0x7+parseInt(_0x538a1d(0x8d))/0x8*(parseInt(_0x538a1d(0x84))/0x9)+parseInt(_0x538a1d(0x90))/0xa;if(_0x1afddd===_0x3e66e5)break;else _0x3cbb97['push'](_0x3cbb97['shift']());}catch(_0x2ef06d){_0x3cbb97['push'](_0x3cbb97['shift']());}}}(_0x5661,0x2b854));function _0x2309(_0x1ed854,_0x3d6f61){_0x1ed854=_0x1ed854-0x80;var _0x56617d=_0x5661();var _0x230937=_0x56617d[_0x1ed854];return _0x230937;}exports.CollisionResponse = void 0;(function(_0x55a993){var _0x142965=_0x2309;_0x55a993[_0x142965(0x93)]='Ignore',_0x55a993['Overlap']='Overlap',_0x55a993[_0x142965(0x92)]='Block';}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0xc20c4f){var _0x21dab6=_0x2309;_0xc20c4f[_0x21dab6(0x89)]=_0x21dab6(0x89),_0xc20c4f['WorldDynamic']=_0x21dab6(0x91),_0xc20c4f[_0x21dab6(0x8a)]='Pawn',_0xc20c4f[_0x21dab6(0x81)]=_0x21dab6(0x81),_0xc20c4f[_0x21dab6(0x8f)]=_0x21dab6(0x8f),_0xc20c4f['Trigger']=_0x21dab6(0x86);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x41c067){var _0x395e3f=_0x2309;_0x41c067[_0x395e3f(0x82)]=_0x395e3f(0x82),_0x41c067['Box']=_0x395e3f(0x80);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));function _0x5661(){var _0x687e8=['Visibility','Sphere','668shatiu','9927rxAczP','2suHweH','Trigger','122994mowUIP','6207NJBLqH','WorldStatic','Pawn','291200fthILC','371988YyWnjt','728nuBrnS','263298zVUiGJ','Camera','3885520clqvpp','WorldDynamic','Block','Ignore','Box'];_0x5661=function(){return _0x687e8;};return _0x5661();}
|
|
32
52
|
|
|
33
|
-
const _0x1cab6e=_0x5448;function _0x5448(_0x34f687,_0xcd3c8b){_0x34f687=_0x34f687-0x192;const _0x63e27a=_0x63e2();let _0x54483a=_0x63e27a[_0x34f687];return _0x54483a;}(function(_0xdccdb,_0xabb783){const _0x515a67=_0x5448,_0x50db94=_0xdccdb();while(!![]){try{const _0x36d86d=-parseInt(_0x515a67(0x1a3))/0x1*(-parseInt(_0x515a67(0x1b6))/0x2)+parseInt(_0x515a67(0x1b5))/0x3*(parseInt(_0x515a67(0x1b1))/0x4)+-parseInt(_0x515a67(0x19f))/0x5+-parseInt(_0x515a67(0x1ae))/0x6*(-parseInt(_0x515a67(0x19c))/0x7)+parseInt(_0x515a67(0x197))/0x8*(-parseInt(_0x515a67(0x1b9))/0x9)+parseInt(_0x515a67(0x1ac))/0xa*(-parseInt(_0x515a67(0x194))/0xb)+-parseInt(_0x515a67(0x193))/0xc*(-parseInt(_0x515a67(0x1a4))/0xd);if(_0x36d86d===_0xabb783)break;else _0x50db94['push'](_0x50db94['shift']());}catch(_0x40f55a){_0x50db94['push'](_0x50db94['shift']());}}}(_0x63e2,0x7c650));class MeshComponent extends SceneComponent{get[_0x1cab6e(0x192)](){const _0x44a93a=_0x1cab6e;if(!this['obj'])throw new Error(_0x44a93a(0x1ba));return this[_0x44a93a(0x1a7)];}set[_0x1cab6e(0x192)](_0x1cf370){const _0x1f5819=_0x1cab6e;this[_0x1f5819(0x1a7)]=_0x1cf370,this[_0x1f5819(0x1a7)]&&(this[_0x1f5819(0x1a7)][_0x1f5819(0x195)][_0x1f5819(0x1b0)]=this);}get[_0x1cab6e(0x196)](){const _0x224359=_0x1cab6e;if(!this[_0x224359(0x1a8)])throw new Error(_0x224359(0x1b7));return this[_0x224359(0x1a8)][_0x224359(0x19d)]();}set[_0x1cab6e(0x196)](_0x566a82){const _0x3355ed=_0x1cab6e;let _0x4d816b=this[_0x3355ed(0x1ad)][_0x3355ed(0x1a0)]['addGeometryAsset'](_0x566a82);this[_0x3355ed(0x1a6)]=_0x4d816b;}get['geometryPtr'](){const _0x329bf0=_0x1cab6e;if(!this[_0x329bf0(0x1a8)])throw new Error(_0x329bf0(0x1b7));return this[_0x329bf0(0x1a8)];}set[_0x1cab6e(0x1a6)](_0x3ba27b){const _0x3e80f0=_0x1cab6e;this[_0x3e80f0(0x1a8)]&&(this[_0x3e80f0(0x1a8)][_0x3e80f0(0x198)](),this[_0x3e80f0(0x1a8)]=null);this[_0x3e80f0(0x1a8)]=_0x3ba27b;let _0x39564b=_0x3ba27b[_0x3e80f0(0x19d)]();this[_0x3e80f0(0x192)]&&_0x39564b&&(this[_0x3e80f0(0x192)][_0x3e80f0(0x196)]=_0x39564b);}get['material'](){const _0x1189be=_0x1cab6e;let _0x4a81a9=[];return this[_0x1189be(0x199)][_0x1189be(0x1bb)](_0x2ff92d=>{const _0x292002=_0x1189be;let _0x29d441=_0x2ff92d[_0x292002(0x19d)]();if(_0x29d441)_0x4a81a9['push'](_0x29d441);}),_0x4a81a9[_0x1189be(0x1aa)]>0x1?_0x4a81a9:_0x4a81a9[0x0];}get[_0x1cab6e(0x1bc)](){return this['materialPtr'];}set['material'](_0x3c58ad){const _0x198bca=_0x1cab6e;let _0x6f759=Array['isArray'](_0x3c58ad)?_0x3c58ad:[_0x3c58ad],_0x103e7d=[];_0x6f759[_0x198bca(0x1bb)](_0x437631=>{const _0x3dabc=_0x198bca;let _0x44b7a3=this[_0x3dabc(0x1ad)][_0x3dabc(0x1a0)]['addMaterialAsset'](_0x437631);if(_0x44b7a3)_0x103e7d[_0x3dabc(0x19a)](_0x44b7a3);}),this[_0x198bca(0x1bc)]=_0x103e7d;}set[_0x1cab6e(0x1bc)](_0x226879){const _0x364cf5=_0x1cab6e;this[_0x364cf5(0x199)]&&(this[_0x364cf5(0x199)][_0x364cf5(0x1bb)](_0x392529=>{_0x392529['release']();}),this['_materialPtr']=[]);let _0xdac1ae=Array[_0x364cf5(0x1a2)](_0x226879)?_0x226879:[_0x226879],_0x224c43=[];_0xdac1ae[_0x364cf5(0x1bb)](_0x28cbc9=>{const _0x1cb082=_0x364cf5;let _0x2b5cc6=_0x28cbc9['getValue']();if(_0x2b5cc6)_0x224c43[_0x1cb082(0x19a)](_0x2b5cc6);_0x28cbc9[_0x1cb082(0x1b4)]();});if(this['threeObject']){if(_0x224c43[_0x364cf5(0x1aa)]>0x0)this[_0x364cf5(0x192)][_0x364cf5(0x1a9)]=Array['isArray'](_0x226879)?_0x224c43[0x0]:_0x224c43;}this[_0x364cf5(0x199)]=_0xdac1ae;}constructor(_0x1ce551,_0x4c6d05,_0x2c768a,_0x5e5d8f){const _0x127292=_0x1cab6e;let _0x224517=[],_0x1741ac=Array[_0x127292(0x1a2)](_0x2c768a)?_0x2c768a:[_0x2c768a];_0x1741ac['forEach'](_0x27e3dd=>{const _0x102e87=_0x127292;let _0x4b9f1a=_0x1ce551[_0x102e87(0x1a0)]['addMaterialAsset'](_0x27e3dd);if(_0x4b9f1a)_0x224517[_0x102e87(0x19a)](_0x4b9f1a);}),super(_0x1ce551,_0x5e5d8f),this[_0x127292(0x1a8)]=_0x1ce551[_0x127292(0x1a0)][_0x127292(0x1b8)](_0x4c6d05),this['_materialPtr']=_0x224517,_0x224517[_0x127292(0x1bb)](_0x2c551f=>{const _0x5f1468=_0x127292;_0x2c551f[_0x5f1468(0x1b4)]();}),this[_0x127292(0x192)][_0x127292(0x1a9)]=_0x2c768a,this[_0x127292(0x192)][_0x127292(0x196)]=_0x4c6d05,this[_0x127292(0x1b2)]=!![],this['receiveShadow']=!![];}[_0x1cab6e(0x19b)](){return new webgpu.Mesh();}set[_0x1cab6e(0x1b2)](_0x2d77a8){const _0xa09b0d=_0x1cab6e;if(this[_0xa09b0d(0x192)])this[_0xa09b0d(0x192)]['castShadow']=_0x2d77a8;}get[_0x1cab6e(0x1b2)](){const _0x7a032c=_0x1cab6e;return this[_0x7a032c(0x192)]?this[_0x7a032c(0x192)][_0x7a032c(0x1b2)]:![];}set[_0x1cab6e(0x1b3)](_0x546f24){const _0x99ed8b=_0x1cab6e;if(!this['threeObject'])return;this['threeObject'][_0x99ed8b(0x1b3)]=_0x546f24;}get[_0x1cab6e(0x1b3)](){const _0x53ee69=_0x1cab6e;return this[_0x53ee69(0x192)]?this[_0x53ee69(0x192)][_0x53ee69(0x1b3)]:![];}['getBoundsCenterPosition'](){const _0x4dc59d=_0x1cab6e;let _0x44aaaa=new webgpu.Vector3();return this[_0x4dc59d(0x1a5)]()['getCenter'](_0x44aaaa),_0x44aaaa;}[_0x1cab6e(0x1a1)](){const _0x51f32b=_0x1cab6e;let _0x55aae5=new webgpu.Vector3(),_0x51e812=this[_0x51f32b(0x1a5)]();return _0x51e812[_0x51f32b(0x1af)](_0x55aae5),_0x55aae5['y']=_0x51e812[_0x51f32b(0x1bd)]['y'],_0x55aae5;}[_0x1cab6e(0x19e)](){const _0xcec99c=_0x1cab6e;let _0x27cd54=new webgpu.Vector3(),_0x50fa7a=this[_0xcec99c(0x1a5)]();return _0x50fa7a[_0xcec99c(0x1af)](_0x27cd54),_0x27cd54['y']=_0x50fa7a['min']['y'],_0x27cd54;}['destroyObject'](){const _0x3d5735=_0x1cab6e;var _0x2d91ab;this[_0x3d5735(0x192)]&&this[_0x3d5735(0x192)]['removeFromParent']();(_0x2d91ab=this[_0x3d5735(0x1a8)])===null||_0x2d91ab===void 0?void 0:_0x2d91ab['release']();let _0x573953=Array[_0x3d5735(0x1a2)](this[_0x3d5735(0x199)])?this[_0x3d5735(0x199)]:[this[_0x3d5735(0x199)]];_0x573953[_0x3d5735(0x1bb)](_0x5d2c4d=>{const _0x427466=_0x3d5735;_0x5d2c4d[_0x427466(0x198)]();}),super[_0x3d5735(0x1ab)]();}}function _0x63e2(){const _0x15eb42=['destroyObject','10TZfiLn','app','263508ZjmNAo','getCenter','LYObject','1308pJnlem','castShadow','receiveShadow','addRef','5136nFWNSb','2qyAoRC','geometryPtr\x20is\x20null','addGeometryAsset','540dljYFG','threeObject\x20is\x20null','forEach','materialPtr','max','threeObject','269364rwJeOO','3251699bOSmpt','userData','geometry','132520tcoZfV','release','_materialPtr','push','createDefaultObject','35OXZxZl','getValue','getBoundsBottomCenterPosition','486850cSZJgM','assetManager','getBoundsTopCenterPosition','isArray','196658VbZazj','533kYfnhS','getBounds','geometryPtr','obj','_geometryPtr','material','length'];_0x63e2=function(){return _0x15eb42;};return _0x63e2();}
|
|
53
|
+
const _0xfe29c8=_0x286f;(function(_0x1275c3,_0x52365c){const _0xdb624c=_0x286f,_0x409e24=_0x1275c3();while(!![]){try{const _0x2866d0=parseInt(_0xdb624c(0xe0))/0x1*(-parseInt(_0xdb624c(0xf1))/0x2)+parseInt(_0xdb624c(0xc0))/0x3*(parseInt(_0xdb624c(0xec))/0x4)+-parseInt(_0xdb624c(0xc4))/0x5*(parseInt(_0xdb624c(0xef))/0x6)+-parseInt(_0xdb624c(0xdd))/0x7*(-parseInt(_0xdb624c(0xd7))/0x8)+parseInt(_0xdb624c(0xea))/0x9*(parseInt(_0xdb624c(0xe7))/0xa)+parseInt(_0xdb624c(0xf3))/0xb+-parseInt(_0xdb624c(0xe2))/0xc*(parseInt(_0xdb624c(0xf2))/0xd);if(_0x2866d0===_0x52365c)break;else _0x409e24['push'](_0x409e24['shift']());}catch(_0x420dc4){_0x409e24['push'](_0x409e24['shift']());}}}(_0x4e62,0xa2247));function _0x286f(_0x3eaabe,_0x4e1738){_0x3eaabe=_0x3eaabe-0xb9;const _0x4e623b=_0x4e62();let _0x286f25=_0x4e623b[_0x3eaabe];return _0x286f25;}function _0x4e62(){const _0x263ba0=['clear','previousOverlapPairs','from','get','collisionEnabled','lineTraceMulti','add','clone','colliders','onEndOverlapDelegate','multiplyScalar','intersectRayAabb','filter','point','getCollisionResponse','has','16WulHjS','Overlap','broadcast','sub','Visibility','set','1560727EWPcsF','unregisterCollider','_debugDrawEnabled','321OwLtuO','delete','12NYjVvv','debugDrawEnabled','debugEnabled','lineTraceSingle','function','3390jhXyMs','uuid','generateOverlapEvents','14985xIJvHW','getWorldAABB','144fJGFJo','min','length','6DqAFdk','push','6158vjXUmO','2145533oJIwvX','9573861yGZiXU','normal','onHitDelegate','Ignore','max','distance','previousBlockPairs','computeAabbHit','sign','9369qBrRnO','intersectsBox','getPairKey','getMutualResponse','878005ZAqKeA','getCenter','raycast'];_0x4e62=function(){return _0x263ba0;};return _0x4e62();}class PhysicsWorld{constructor(){const _0x3cacae=_0x286f;this['colliders']=new Set(),this[_0x3cacae(0xc8)]=new Map(),this['previousBlockPairs']=new Map(),this['_debugDrawEnabled']=![];}get['debugDrawEnabled'](){return this['_debugDrawEnabled'];}set[_0xfe29c8(0xe3)](_0x1537b2){const _0x527a72=_0xfe29c8;if(this[_0x527a72(0xdf)]===_0x1537b2)return;this[_0x527a72(0xdf)]=_0x1537b2;for(const _0x2658f2 of this[_0x527a72(0xcf)]){_0x2658f2['debugEnabled']=_0x1537b2;}}['registerCollider'](_0x5c1e27){const _0x2c2ef4=_0xfe29c8;this[_0x2c2ef4(0xcf)][_0x2c2ef4(0xcd)](_0x5c1e27),this['_debugDrawEnabled']&&(_0x5c1e27[_0x2c2ef4(0xe4)]=!![]);}[_0xfe29c8(0xde)](_0x4da900){const _0x3e6839=_0xfe29c8;this['colliders']['delete'](_0x4da900);for(const [_0x880406,_0x9e756d]of this[_0x3e6839(0xc8)]){(_0x9e756d[0x0]===_0x4da900||_0x9e756d[0x1]===_0x4da900)&&this[_0x3e6839(0xc8)][_0x3e6839(0xe1)](_0x880406);}for(const [_0x12fcab,_0x46cd29]of this[_0x3e6839(0xbd)]){(_0x46cd29[0x0]===_0x4da900||_0x46cd29[0x1]===_0x4da900)&&this[_0x3e6839(0xbd)][_0x3e6839(0xe1)](_0x12fcab);}}[_0xfe29c8(0xc7)](){const _0x13d888=_0xfe29c8;this['colliders'][_0x13d888(0xc7)](),this[_0x13d888(0xc8)]['clear'](),this[_0x13d888(0xbd)][_0x13d888(0xc7)]();}[_0xfe29c8(0xe5)](_0x1038ee,_0xf3938b,_0x5db09f=exports.CollisionChannel[_0xfe29c8(0xdb)],_0x2dcc5e){const _0x3d382b=_0xfe29c8,_0x139176=_0xf3938b[_0x3d382b(0xce)]()[_0x3d382b(0xda)](_0x1038ee),_0x28a055=_0x139176[_0x3d382b(0xee)]();if(_0x28a055<=0.000001)return null;const _0x2958f1=_0x139176[_0x3d382b(0xd1)](0x1/_0x28a055);let _0x57584a=null;for(const _0x210f55 of this['colliders']){if(_0x210f55===_0x2dcc5e)continue;if(!_0x210f55[_0x3d382b(0xcb)])continue;const _0x88113d=_0x210f55[_0x3d382b(0xd5)](_0x5db09f);if(_0x88113d!==exports.CollisionResponse['Block'])continue;const _0x3c0e98=_0x210f55[_0x3d382b(0xeb)](new webgpu.Box3()),_0x1230bd=this['intersectRayAabb'](_0x1038ee,_0x2958f1,_0x28a055,_0x3c0e98);if(!_0x1230bd)continue;const _0x48fed6=_0x210f55,_0x24996=typeof _0x48fed6[_0x3d382b(0xc6)]==='function'?_0x48fed6['raycast'](_0x1038ee,_0x2958f1,_0x28a055):_0x1230bd;if(!_0x24996)continue;(!_0x57584a||_0x24996['distance']<_0x57584a[_0x3d382b(0xbc)])&&(_0x57584a={'collider':_0x210f55,'point':_0x24996[_0x3d382b(0xd4)],'normal':_0x24996[_0x3d382b(0xf4)],'distance':_0x24996[_0x3d382b(0xbc)],'blocking':!![]});}return _0x57584a;}[_0xfe29c8(0xcc)](_0x37c229,_0x42f247,_0xd661b2=exports.CollisionChannel[_0xfe29c8(0xdb)],_0x34c122){const _0x24dae7=_0xfe29c8,_0x37ca4b=_0x42f247[_0x24dae7(0xce)]()['sub'](_0x37c229),_0x2c66e0=_0x37ca4b['length']();if(_0x2c66e0<=0.000001)return [];const _0x3208fd=_0x37ca4b[_0x24dae7(0xd1)](0x1/_0x2c66e0),_0x17c5a4=[];for(const _0x140ddc of this['colliders']){if(_0x140ddc===_0x34c122)continue;if(!_0x140ddc[_0x24dae7(0xcb)])continue;const _0x41dc53=_0x140ddc[_0x24dae7(0xd5)](_0xd661b2);if(_0x41dc53===exports.CollisionResponse[_0x24dae7(0xba)])continue;const _0x2808fb=_0x140ddc[_0x24dae7(0xeb)](new webgpu.Box3()),_0xe61859=this[_0x24dae7(0xd2)](_0x37c229,_0x3208fd,_0x2c66e0,_0x2808fb);if(!_0xe61859)continue;const _0x19fd6e=_0x140ddc,_0x517a17=typeof _0x19fd6e['raycast']===_0x24dae7(0xe6)?_0x19fd6e[_0x24dae7(0xc6)](_0x37c229,_0x3208fd,_0x2c66e0):_0xe61859;if(!_0x517a17)continue;_0x17c5a4[_0x24dae7(0xf0)]({'collider':_0x140ddc,'point':_0x517a17[_0x24dae7(0xd4)],'normal':_0x517a17[_0x24dae7(0xf4)],'distance':_0x517a17[_0x24dae7(0xbc)],'blocking':_0x41dc53===exports.CollisionResponse['Block']});}return _0x17c5a4['sort']((_0x327d4a,_0xa0335e)=>_0x327d4a[_0x24dae7(0xbc)]-_0xa0335e[_0x24dae7(0xbc)]);}['tick'](_0x24c9a8){const _0x5d1207=_0xfe29c8,_0x6a51fe=Array[_0x5d1207(0xc9)](this[_0x5d1207(0xcf)])[_0x5d1207(0xd3)](_0x504fc8=>_0x504fc8['collisionEnabled']),_0x1094f7=new Map();for(const _0x5a2593 of _0x6a51fe){_0x1094f7[_0x5d1207(0xdc)](_0x5a2593,_0x5a2593['getWorldAABB'](new webgpu.Box3()));}const _0x85f60f=new Map(),_0x5bc352=new Map();for(let _0x506835=0x0;_0x506835<_0x6a51fe['length'];_0x506835++){const _0x12d74e=_0x6a51fe[_0x506835],_0x2926ce=_0x1094f7[_0x5d1207(0xca)](_0x12d74e);if(!_0x2926ce)continue;for(let _0x4803ea=_0x506835+0x1;_0x4803ea<_0x6a51fe['length'];_0x4803ea++){const _0x24d7a3=_0x6a51fe[_0x4803ea],_0x18504e=_0x1094f7[_0x5d1207(0xca)](_0x24d7a3);if(!_0x18504e)continue;if(!_0x2926ce[_0x5d1207(0xc1)](_0x18504e))continue;const _0x646cd5=_0x12d74e[_0x5d1207(0xc3)](_0x24d7a3);if(_0x646cd5===exports.CollisionResponse[_0x5d1207(0xba)])continue;const _0x2625e2=this[_0x5d1207(0xc2)](_0x12d74e,_0x24d7a3);_0x646cd5===exports.CollisionResponse[_0x5d1207(0xd8)]?_0x85f60f['set'](_0x2625e2,[_0x12d74e,_0x24d7a3]):_0x5bc352[_0x5d1207(0xdc)](_0x2625e2,[_0x12d74e,_0x24d7a3]);}}for(const [_0x1f11dc,_0x19d94c]of _0x85f60f){if(this[_0x5d1207(0xc8)][_0x5d1207(0xd6)](_0x1f11dc))continue;const [_0x3aaf2b,_0x17b0b7]=_0x19d94c;_0x3aaf2b[_0x5d1207(0xe9)]&&_0x3aaf2b['onBeginOverlapDelegate'][_0x5d1207(0xd9)](_0x17b0b7),_0x17b0b7[_0x5d1207(0xe9)]&&_0x17b0b7['onBeginOverlapDelegate']['broadcast'](_0x3aaf2b);}for(const [_0x1264c9,_0x869a08]of this[_0x5d1207(0xc8)]){if(_0x85f60f[_0x5d1207(0xd6)](_0x1264c9))continue;const [_0x505e92,_0x5dfe9c]=_0x869a08;_0x505e92[_0x5d1207(0xe9)]&&_0x505e92[_0x5d1207(0xd0)]['broadcast'](_0x5dfe9c),_0x5dfe9c[_0x5d1207(0xe9)]&&_0x5dfe9c[_0x5d1207(0xd0)][_0x5d1207(0xd9)](_0x505e92);}for(const [_0x2f02c3,_0x405548]of _0x5bc352){if(this[_0x5d1207(0xbd)]['has'](_0x2f02c3))continue;const [_0x32a55d,_0x6da2a3]=_0x405548,_0x659f63=_0x1094f7[_0x5d1207(0xca)](_0x32a55d),_0x4dda40=_0x1094f7[_0x5d1207(0xca)](_0x6da2a3);if(!_0x659f63||!_0x4dda40)continue;const _0x10243b=this[_0x5d1207(0xbe)](_0x32a55d,_0x6da2a3,_0x659f63,_0x4dda40);_0x32a55d['generateHitEvents']&&_0x32a55d[_0x5d1207(0xb9)][_0x5d1207(0xd9)](_0x10243b);if(_0x6da2a3['generateHitEvents']){const _0x3a0a0a={'self':_0x6da2a3,'other':_0x32a55d,'point':_0x10243b['point'][_0x5d1207(0xce)](),'normal':_0x10243b[_0x5d1207(0xf4)][_0x5d1207(0xce)]()['multiplyScalar'](-1),'penetrationDepth':_0x10243b['penetrationDepth']};_0x6da2a3['onHitDelegate'][_0x5d1207(0xd9)](_0x3a0a0a);}}this['previousOverlapPairs']=_0x85f60f,this[_0x5d1207(0xbd)]=_0x5bc352;}['computeAabbHit'](_0x59f576,_0x25a212,_0x544fd7,_0x367000){const _0x2ff651=_0xfe29c8,_0x3faf76=Math[_0x2ff651(0xed)](_0x544fd7['max']['x'],_0x367000[_0x2ff651(0xbb)]['x'])-Math['max'](_0x544fd7[_0x2ff651(0xed)]['x'],_0x367000[_0x2ff651(0xed)]['x']),_0x55d361=Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['y'],_0x367000[_0x2ff651(0xbb)]['y'])-Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['y'],_0x367000[_0x2ff651(0xed)]['y']),_0x1ee3ce=Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['z'],_0x367000[_0x2ff651(0xbb)]['z'])-Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['z'],_0x367000[_0x2ff651(0xed)]['z']);let _0x532872=_0x3faf76,_0x4e1031='x';_0x55d361<_0x532872&&(_0x532872=_0x55d361,_0x4e1031='y');_0x1ee3ce<_0x532872&&(_0x532872=_0x1ee3ce,_0x4e1031='z');const _0x2e329d=_0x544fd7[_0x2ff651(0xc5)](new webgpu.Vector3()),_0x3f5e93=_0x367000[_0x2ff651(0xc5)](new webgpu.Vector3()),_0x157154=_0x3f5e93[_0x2ff651(0xce)]()[_0x2ff651(0xda)](_0x2e329d),_0x73be09=new webgpu.Vector3(0x0,0x0,0x0);if(_0x4e1031==='x')_0x73be09[_0x2ff651(0xdc)](Math[_0x2ff651(0xbf)](_0x157154['x'])||0x1,0x0,0x0);else _0x4e1031==='y'?_0x73be09[_0x2ff651(0xdc)](0x0,Math[_0x2ff651(0xbf)](_0x157154['y'])||0x1,0x0):_0x73be09[_0x2ff651(0xdc)](0x0,0x0,Math[_0x2ff651(0xbf)](_0x157154['z'])||0x1);const _0x495a85=new webgpu.Vector3((Math[_0x2ff651(0xbb)](_0x544fd7['min']['x'],_0x367000[_0x2ff651(0xed)]['x'])+Math['min'](_0x544fd7[_0x2ff651(0xbb)]['x'],_0x367000['max']['x']))*0.5,(Math[_0x2ff651(0xbb)](_0x544fd7[_0x2ff651(0xed)]['y'],_0x367000['min']['y'])+Math[_0x2ff651(0xed)](_0x544fd7[_0x2ff651(0xbb)]['y'],_0x367000[_0x2ff651(0xbb)]['y']))*0.5,(Math[_0x2ff651(0xbb)](_0x544fd7['min']['z'],_0x367000[_0x2ff651(0xed)]['z'])+Math['min'](_0x544fd7[_0x2ff651(0xbb)]['z'],_0x367000[_0x2ff651(0xbb)]['z']))*0.5);return {'self':_0x59f576,'other':_0x25a212,'point':_0x495a85,'normal':_0x73be09,'penetrationDepth':Math[_0x2ff651(0xbb)](0x0,_0x532872)};}['getPairKey'](_0x2fc505,_0x36955c){const _0x19d814=_0xfe29c8;return _0x2fc505[_0x19d814(0xe8)]<_0x36955c[_0x19d814(0xe8)]?_0x2fc505[_0x19d814(0xe8)]+'|'+_0x36955c[_0x19d814(0xe8)]:_0x36955c[_0x19d814(0xe8)]+'|'+_0x2fc505[_0x19d814(0xe8)];}[_0xfe29c8(0xd2)](_0x421986,_0xde4321,_0x548e71,_0x4aa221){const _0x1bc2fd=_0xfe29c8;let _0x2ec00f=0x0,_0x679f10=_0x548e71;const _0x4e12b3=new webgpu.Vector3(0x0,0x0,0x0),_0x13f47=1e-8,_0x43bebd=_0x12b0cb=>{const _0xf940ca=_0x286f,_0x41f0b1=_0x421986[_0x12b0cb],_0x1f4e1c=_0xde4321[_0x12b0cb],_0x10d274=_0x4aa221[_0xf940ca(0xed)][_0x12b0cb],_0x2dc8b2=_0x4aa221[_0xf940ca(0xbb)][_0x12b0cb];if(Math['abs'](_0x1f4e1c)<_0x13f47){if(_0x41f0b1<_0x10d274||_0x41f0b1>_0x2dc8b2)return ![];return !![];}const _0x471c19=0x1/_0x1f4e1c;let _0x166813,_0x36ce11;const _0x4dd18b=new webgpu.Vector3(0x0,0x0,0x0);_0x1f4e1c>=0x0?(_0x166813=(_0x10d274-_0x41f0b1)*_0x471c19,_0x36ce11=(_0x2dc8b2-_0x41f0b1)*_0x471c19,_0x4dd18b[_0x12b0cb]=-1):(_0x166813=(_0x2dc8b2-_0x41f0b1)*_0x471c19,_0x36ce11=(_0x10d274-_0x41f0b1)*_0x471c19,_0x4dd18b[_0x12b0cb]=0x1);_0x166813>_0x2ec00f&&(_0x2ec00f=_0x166813,_0x4e12b3['copy'](_0x4dd18b));_0x36ce11<_0x679f10&&(_0x679f10=_0x36ce11);if(_0x2ec00f>_0x679f10)return ![];return !![];};if(!_0x43bebd('x')||!_0x43bebd('y')||!_0x43bebd('z'))return null;const _0x83cce3=Math[_0x1bc2fd(0xbb)](0x0,_0x2ec00f);if(_0x83cce3>_0x548e71)return null;return {'distance':_0x83cce3,'normal':_0x4e12b3,'point':_0x421986['clone']()['add'](_0xde4321['clone']()[_0x1bc2fd(0xd1)](_0x83cce3))};}}
|
|
34
54
|
|
|
35
|
-
|
|
55
|
+
var _0x1af8f2=_0x2722;function _0x2722(_0x3953a4,_0x13cd6f){_0x3953a4=_0x3953a4-0x1c2;var _0x3bd443=_0x3bd4();var _0x2722ee=_0x3bd443[_0x3953a4];return _0x2722ee;}(function(_0x2383f2,_0x1516b2){var _0x5de23f=_0x2722,_0x6ebc06=_0x2383f2();while(!![]){try{var _0x2b52ea=-parseInt(_0x5de23f(0x1e5))/0x1*(-parseInt(_0x5de23f(0x1ce))/0x2)+-parseInt(_0x5de23f(0x1e0))/0x3+-parseInt(_0x5de23f(0x1e2))/0x4+-parseInt(_0x5de23f(0x1e4))/0x5*(-parseInt(_0x5de23f(0x1d3))/0x6)+-parseInt(_0x5de23f(0x1cd))/0x7*(parseInt(_0x5de23f(0x1c9))/0x8)+parseInt(_0x5de23f(0x1d1))/0x9+parseInt(_0x5de23f(0x1d4))/0xa;if(_0x2b52ea===_0x1516b2)break;else _0x6ebc06['push'](_0x6ebc06['shift']());}catch(_0x5f0f9b){_0x6ebc06['push'](_0x6ebc06['shift']());}}}(_0x3bd4,0x7d1e4));function _0x3bd4(){var _0x1d05dd=['scene','2374818jknFBt','removeTickableActor','2333132TFBwGm','app','1985OqGUZK','2949fQzBkL','viewport','onAddedToWorld','delete','controller','worldParam','getActorById','tickableActors','_physics','forEach','clear','destroy','25848mIKHDw','addTickableActor','removeActors','markRenderStateDirty','1981ffEQrX','494LFlmBD','_rootActor','getActorsByIds','8141346WgxgZa','add','2334KsCZYC','10143160SgNCVk','addActor','init','rootActor','rootComponent','actors','addChildActor','removeFromParent','tick','levelActorClass','actor.threeObject\x20is\x20null'];_0x3bd4=function(){return _0x1d05dd;};return _0x3bd4();}class World{get[_0x1af8f2(0x1df)](){var _0x3b0dc3=_0x1af8f2,_0x205c1e;let _0x5c75ac=(_0x205c1e=this[_0x3b0dc3(0x1cf)])===null||_0x205c1e===void 0?void 0:_0x205c1e[_0x3b0dc3(0x1df)];if(!_0x5c75ac)throw new Error('scene\x20is\x20null');return _0x5c75ac;}get[_0x1af8f2(0x1e6)](){var _0x3d8c85=_0x1af8f2;return this[_0x3d8c85(0x1e3)][_0x3d8c85(0x1e6)];}get[_0x1af8f2(0x1e9)](){var _0x116b8b=_0x1af8f2;return this['app'][_0x116b8b(0x1e9)];}get[_0x1af8f2(0x1d7)](){var _0x4553e1=_0x1af8f2;if(!this[_0x4553e1(0x1cf)])throw new Error('rootActor\x20is\x20null');return this[_0x4553e1(0x1cf)];}get['physics'](){var _0x764ee3=_0x1af8f2;return this[_0x764ee3(0x1c5)];}constructor(_0x1d393b,_0x4d8b81){var _0x264655=_0x1af8f2;this[_0x264655(0x1cf)]=null,this['actors']=new Set(),this[_0x264655(0x1c4)]=new Set(),this[_0x264655(0x1e3)]=_0x1d393b,this[_0x264655(0x1c2)]=_0x4d8b81,this[_0x264655(0x1c5)]=new PhysicsWorld();}[_0x1af8f2(0x1d6)](){var _0x135700=_0x1af8f2;this[_0x135700(0x1cf)]=new this[(_0x135700(0x1c2))][(_0x135700(0x1dd))](this[_0x135700(0x1e3)]);}[_0x1af8f2(0x1ca)](_0x598ca4){var _0x1a8252=_0x1af8f2;this[_0x1a8252(0x1c4)][_0x1a8252(0x1d2)](_0x598ca4);}[_0x1af8f2(0x1e1)](_0x5140ee){var _0xfe63d1=_0x1af8f2;this['tickableActors'][_0xfe63d1(0x1e8)](_0x5140ee);}[_0x1af8f2(0x1dc)](_0x384cd1){var _0x2a0fbb=_0x1af8f2;this[_0x2a0fbb(0x1c4)][_0x2a0fbb(0x1c6)](_0x3b579a=>{var _0x5d65b8=_0x2a0fbb;_0x3b579a[_0x5d65b8(0x1dc)](_0x384cd1);}),this['_physics']['tick'](_0x384cd1);}[_0x1af8f2(0x1c8)](){var _0x13df24=_0x1af8f2,_0x34ace4;this['tickableActors'][_0x13df24(0x1c7)](),this[_0x13df24(0x1c5)][_0x13df24(0x1c7)](),this[_0x13df24(0x1d9)][_0x13df24(0x1c6)](_0x55e2a6=>{var _0x51477f=_0x13df24;_0x55e2a6[_0x51477f(0x1c8)]();}),this[_0x13df24(0x1d9)][_0x13df24(0x1c7)](),(_0x34ace4=this['_rootActor'])===null||_0x34ace4===void 0?void 0:_0x34ace4[_0x13df24(0x1c8)](),this[_0x13df24(0x1cf)]=null;}[_0x1af8f2(0x1d5)](_0x415e62){var _0xf05915=_0x1af8f2,_0x5d2bb7;if(!_0x415e62[_0xf05915(0x1d8)]['threeObject'])throw new Error(_0xf05915(0x1de));_0x415e62[_0xf05915(0x1db)](),(_0x5d2bb7=this['_rootActor'])===null||_0x5d2bb7===void 0?void 0:_0x5d2bb7[_0xf05915(0x1da)](_0x415e62,exports.AttachmentRules['KeepRelative']),this['actors'][_0xf05915(0x1d2)](_0x415e62),_0x415e62[_0xf05915(0x1e7)](this),this[_0xf05915(0x1e6)][_0xf05915(0x1cc)]();}['removeActor'](_0x3ea9d0){var _0x553927=_0x1af8f2;_0x3ea9d0[_0x553927(0x1c8)](),this['actors'][_0x553927(0x1e8)](_0x3ea9d0),this[_0x553927(0x1e6)]['markRenderStateDirty']();}[_0x1af8f2(0x1cb)](_0x146dec){var _0x45cfe3=_0x1af8f2;for(const _0x49908d of _0x146dec){_0x49908d['destroy'](),this['actors']['delete'](_0x49908d);}this[_0x45cfe3(0x1e6)][_0x45cfe3(0x1cc)]();}[_0x1af8f2(0x1c3)](_0x2bce03){var _0x31039a=_0x1af8f2;return this[_0x31039a(0x1d7)]['getChildActorById'](_0x2bce03,!![]);}[_0x1af8f2(0x1d0)](_0x11e997){var _0x5f1489=_0x1af8f2;return this[_0x5f1489(0x1d7)]['getChildActorsByIds'](_0x11e997,!![]);}}
|
|
36
56
|
|
|
37
|
-
|
|
57
|
+
const _0x3f3610=_0x2a17;function _0x2a17(_0x2d8353,_0x490063){_0x2d8353=_0x2d8353-0x167;const _0x2b335f=_0x2b33();let _0x2a170d=_0x2b335f[_0x2d8353];return _0x2a170d;}(function(_0x2e607e,_0x2a59e5){const _0x5b8f31=_0x2a17,_0x1dcbcf=_0x2e607e();while(!![]){try{const _0x521a8d=parseInt(_0x5b8f31(0x168))/0x1*(-parseInt(_0x5b8f31(0x16e))/0x2)+parseInt(_0x5b8f31(0x171))/0x3+parseInt(_0x5b8f31(0x167))/0x4+parseInt(_0x5b8f31(0x16a))/0x5+parseInt(_0x5b8f31(0x170))/0x6*(-parseInt(_0x5b8f31(0x16c))/0x7)+parseInt(_0x5b8f31(0x169))/0x8*(-parseInt(_0x5b8f31(0x16b))/0x9)+parseInt(_0x5b8f31(0x16d))/0xa;if(_0x521a8d===_0x2a59e5)break;else _0x1dcbcf['push'](_0x1dcbcf['shift']());}catch(_0x47c2f9){_0x1dcbcf['push'](_0x1dcbcf['shift']());}}}(_0x2b33,0xeb1c0));function _0x2b33(){const _0x515935=['5805632KEtgmo','630299vDPXlH','72344RygbMs','6296965BuZbqY','1845CHPAJf','45157xuCeig','6622190dnKBfT','2oGzmlK','Bloom','1092EwWcCA','3744552nxSMTD'];_0x2b33=function(){return _0x515935;};return _0x2b33();}const DefaultBloomParam={'type':exports.PostProcessStepType[_0x3f3610(0x16f)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
38
58
|
|
|
39
|
-
const
|
|
59
|
+
function _0x1ecd(){const _0xc34ff2=['9252DHkjlF','8739367JCfMLg','4783535qhGLhW','99984dxDFiB','22176JUeUYL','18IbYqBE','DepthOfField','4234140aQlHqC','2583796RtUkbG','1070254yUcksw'];_0x1ecd=function(){return _0xc34ff2;};return _0x1ecd();}const _0x42b8e4=_0x4597;(function(_0x18b31e,_0x4aa708){const _0x3ffa0a=_0x4597,_0x9bdf87=_0x18b31e();while(!![]){try{const _0x3ea6be=parseInt(_0x3ffa0a(0x10b))/0x1+parseInt(_0x3ffa0a(0x111))/0x2*(parseInt(_0x3ffa0a(0x10f))/0x3)+parseInt(_0x3ffa0a(0x114))/0x4+parseInt(_0x3ffa0a(0x10e))/0x5+-parseInt(_0x3ffa0a(0x113))/0x6+parseInt(_0x3ffa0a(0x10d))/0x7+-parseInt(_0x3ffa0a(0x110))/0x8*(parseInt(_0x3ffa0a(0x10c))/0x9);if(_0x3ea6be===_0x4aa708)break;else _0x9bdf87['push'](_0x9bdf87['shift']());}catch(_0x1fe6d7){_0x9bdf87['push'](_0x9bdf87['shift']());}}}(_0x1ecd,0xa29b5));function _0x4597(_0x190379,_0x284768){_0x190379=_0x190379-0x10b;const _0x1ecd6a=_0x1ecd();let _0x459765=_0x1ecd6a[_0x190379];return _0x459765;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x42b8e4(0x112)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
40
60
|
|
|
41
|
-
|
|
61
|
+
(function(_0x29fce9,_0x5e2ee3){const _0x267f5f=_0x3df0,_0x35f52a=_0x29fce9();while(!![]){try{const _0x3b1da6=-parseInt(_0x267f5f(0xeb))/0x1+-parseInt(_0x267f5f(0xea))/0x2*(parseInt(_0x267f5f(0xe6))/0x3)+parseInt(_0x267f5f(0xe8))/0x4+parseInt(_0x267f5f(0xec))/0x5+parseInt(_0x267f5f(0xe7))/0x6+parseInt(_0x267f5f(0xe9))/0x7+parseInt(_0x267f5f(0xe5))/0x8;if(_0x3b1da6===_0x5e2ee3)break;else _0x35f52a['push'](_0x35f52a['shift']());}catch(_0x3cced3){_0x35f52a['push'](_0x35f52a['shift']());}}}(_0x24b9,0x6e3ef));function _0x24b9(){const _0x2f33b7=['725410qDbTZt','94nRCble','793883cwowMX','1172690YLPLbK','5640960NtgMaj','39687rWWzYq','2829468zpAVdV','1409388xwhXbd'];_0x24b9=function(){return _0x2f33b7;};return _0x24b9();}function _0x3df0(_0x1e078f,_0x3328f5){_0x1e078f=_0x1e078f-0xe5;const _0x24b944=_0x24b9();let _0x3df068=_0x24b944[_0x1e078f];return _0x3df068;}const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
42
62
|
|
|
43
|
-
(function(
|
|
63
|
+
function _0x56ea(){const _0xf603cb=['31zsNJGh','Outline','4BxsqmX','1422INIXvU','217452NfIUQq','405453zUITWu','286ysPTVz','1131UnZkDZ','75970QqPOnK','4744RoKriM','458376wyegeE','1757yuHERQ','39990yRaXib','354998MeJfoi','40XVFdsB'];_0x56ea=function(){return _0xf603cb;};return _0x56ea();}const _0x18c38f=_0x6716;function _0x6716(_0x3afb83,_0x4cd5f2){_0x3afb83=_0x3afb83-0x148;const _0x56ea4f=_0x56ea();let _0x6716a0=_0x56ea4f[_0x3afb83];return _0x6716a0;}(function(_0x27f472,_0xc2acc9){const _0x446996=_0x6716,_0x2be179=_0x27f472();while(!![]){try{const _0x75ad8d=parseInt(_0x446996(0x152))/0x1*(parseInt(_0x446996(0x14f))/0x2)+-parseInt(_0x446996(0x148))/0x3*(parseInt(_0x446996(0x154))/0x4)+-parseInt(_0x446996(0x151))/0x5*(-parseInt(_0x446996(0x156))/0x6)+-parseInt(_0x446996(0x14e))/0x7*(parseInt(_0x446996(0x14c))/0x8)+parseInt(_0x446996(0x155))/0x9*(-parseInt(_0x446996(0x14b))/0xa)+parseInt(_0x446996(0x149))/0xb*(-parseInt(_0x446996(0x14d))/0xc)+-parseInt(_0x446996(0x14a))/0xd*(-parseInt(_0x446996(0x150))/0xe);if(_0x75ad8d===_0xc2acc9)break;else _0x2be179['push'](_0x2be179['shift']());}catch(_0x4786ce){_0x2be179['push'](_0x2be179['shift']());}}}(_0x56ea,0x9bda4));const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x18c38f(0x153)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
44
64
|
|
|
45
|
-
function
|
|
65
|
+
function _0x5b66(_0xded3fa,_0x4e2ae1){_0xded3fa=_0xded3fa-0xd1;const _0x58fcb8=_0x58fc();let _0x5b66ab=_0x58fcb8[_0xded3fa];return _0x5b66ab;}(function(_0x18cac0,_0xf54459){const _0x266149=_0x5b66,_0x44e0ed=_0x18cac0();while(!![]){try{const _0x203d3c=-parseInt(_0x266149(0xd1))/0x1*(-parseInt(_0x266149(0xdb))/0x2)+-parseInt(_0x266149(0xd3))/0x3+parseInt(_0x266149(0xd4))/0x4*(-parseInt(_0x266149(0xd2))/0x5)+-parseInt(_0x266149(0xd9))/0x6*(-parseInt(_0x266149(0xd5))/0x7)+-parseInt(_0x266149(0xda))/0x8+parseInt(_0x266149(0xd7))/0x9*(parseInt(_0x266149(0xd8))/0xa)+parseInt(_0x266149(0xd6))/0xb;if(_0x203d3c===_0xf54459)break;else _0x44e0ed['push'](_0x44e0ed['shift']());}catch(_0x4439f4){_0x44e0ed['push'](_0x44e0ed['shift']());}}}(_0x58fc,0xdffa3));function _0x58fc(){const _0x158ed4=['12tLixQa','13017008cSUvVC','3316LEkufX','934wiWyrh','538555LuzkTZ','2372664nKpaGO','4jmmPgA','2512853hZIxCc','592053DWtaqx','27kAiXeo','3742610tNJovh'];_0x58fc=function(){return _0x158ed4;};return _0x58fc();}const DefaultLensFlareParam={'type':exports.PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
46
66
|
|
|
47
|
-
function _0x12b9(_0x58a7a3,_0x45b459){_0x58a7a3=_0x58a7a3-0xce;const _0x185cd0=_0x185c();let _0x12b93c=_0x185cd0[_0x58a7a3];return _0x12b93c;}const _0x3b134a=_0x12b9;(function(_0x2dcdca,_0x16ca76){const _0x260a62=_0x12b9,_0x31bb49=_0x2dcdca();while(!![]){try{const _0x5ecbda=-parseInt(_0x260a62(0xe8))/0x1*(-parseInt(_0x260a62(0x103))/0x2)+-parseInt(_0x260a62(0xe3))/0x3+parseInt(_0x260a62(0xda))/0x4+parseInt(_0x260a62(0x11c))/0x5+parseInt(_0x260a62(0xfa))/0x6*(parseInt(_0x260a62(0xe1))/0x7)+-parseInt(_0x260a62(0x101))/0x8*(-parseInt(_0x260a62(0xcf))/0x9)+-parseInt(_0x260a62(0xeb))/0xa;if(_0x5ecbda===_0x16ca76)break;else _0x31bb49['push'](_0x31bb49['shift']());}catch(_0x3e1672){_0x31bb49['push'](_0x31bb49['shift']());}}}(_0x185c,0x83b6f));function _0x185c(){const _0x2cab6e=['Worker','loadGltfFromPathAsync','addGeometryAsset','4860360ZmpAsJ','loadingManager','decoderConfig','9DQxoyA','position','clone','setScale','set','addTextureAsset','call','entries','_dracoPatched','geometryAssets','name','3281476LxXStU','init','Group','Object3D','onError','setupDracoLoader','dracoLoader','58961ZxhNQI','materialAssets','380052BvsUTH','addRef','get','material','/SceneResource/draco/','1jyiUql','layers','setPosition','34431150OooQQu','assetPointer','assign','geometry','materials','values','parse','convertThreeObjectToLYObject','textures','onProgress','load','LoadingManager','prototype','onLoad','bind','474MqFUcz','postMessage','addAsset','forEach','hasOwnProperty','forceRelease','release','5524856CaOTWM','isMesh','1921674rcPieI','manager','loadGltfFromPath','isArray','addMaterialAsset','geometries','collectResourcesAndReferences','loadGltfFromBuffer','app','clear','type','loadFile','setRotation','onStart','children','releaseAsset','textureAssets','object','scale','userData','gltfLoader','uuid'];_0x185c=function(){return _0x2cab6e;};return _0x185c();}class AssetManager{constructor(_0x40f7fc){const _0x4825e3=_0x12b9;this[_0x4825e3(0xd8)]=new Map(),this[_0x4825e3(0x113)]=new Map(),this[_0x4825e3(0xe2)]=new Map(),this[_0x4825e3(0xe0)]=null,this[_0x4825e3(0x11d)]=new webgpu.LoadingManager(),this[_0x4825e3(0x117)]=new Addons_js.GLTFLoader(this[_0x4825e3(0x11d)]),this[_0x4825e3(0x10b)]=_0x40f7fc;}get[_0x3b134a(0xf6)](){const _0x2a2fd8=_0x3b134a;return this[_0x2a2fd8(0x11d)];}async[_0x3b134a(0xdb)](){return;}[_0x3b134a(0xdf)](_0x3d8bd5){const _0x4d54e3=_0x3b134a;if(!this[_0x4d54e3(0xe0)]){this[_0x4d54e3(0xe0)]=new Addons_js.DRACOLoader();if(this[_0x4d54e3(0xe0)][_0x4d54e3(0x104)]){const _0x4481a7=this[_0x4d54e3(0xe0)][_0x4d54e3(0x104)];_0x4481a7[_0x4d54e3(0x110)]=undefined,_0x4481a7[_0x4d54e3(0xf8)]=undefined,_0x4481a7[_0x4d54e3(0xf4)]=undefined,_0x4481a7[_0x4d54e3(0xde)]=undefined;}this[_0x4d54e3(0xe0)]['setDecoderPath'](_0x3d8bd5);const _0x270405=window[_0x4d54e3(0x119)];if(_0x270405&&!_0x270405[_0x4d54e3(0xd7)]){_0x270405[_0x4d54e3(0xd7)]=!![],window['Worker']=function(_0x2bbe7d,_0x54829c){const _0x109a50=_0x4d54e3,_0x104657=new _0x270405(_0x2bbe7d,_0x54829c),_0x4573cc=_0x104657[_0x109a50(0xfb)][_0x109a50(0xf9)](_0x104657);return _0x104657[_0x109a50(0xfb)]=function(_0x2eaae6,_0x555b86){const _0x576052=_0x109a50;if(_0x2eaae6&&_0x2eaae6['decoderConfig']&&typeof _0x2eaae6[_0x576052(0xce)]===_0x576052(0x114)){const _0xdd64f2=_0x2eaae6[_0x576052(0xce)],_0x23a118={};for(const _0x2d503f in _0xdd64f2){Object[_0x576052(0xf7)][_0x576052(0xfe)][_0x576052(0xd5)](_0xdd64f2,_0x2d503f)&&(_0x23a118[_0x2d503f]=_0xdd64f2[_0x2d503f]);}_0x2eaae6=Object['assign'](Object[_0x576052(0xed)]({},_0x2eaae6),{'decoderConfig':_0x23a118});}return _0x4573cc(_0x2eaae6,_0x555b86);},_0x104657;};for(const _0xb735e1 in _0x270405){Object[_0x4d54e3(0xf7)][_0x4d54e3(0xfe)]['call'](_0x270405,_0xb735e1)&&(window[_0x4d54e3(0x119)][_0xb735e1]=_0x270405[_0xb735e1]);}}this['dracoLoader']['preload'](),this[_0x4d54e3(0x117)]['setDRACOLoader'](this['dracoLoader']);}}[_0x3b134a(0xf2)](_0x560d1d,_0x379ba1){const _0x294bfc=_0x3b134a,_0xaad68c=_0x379ba1[_0x294bfc(0xd0)][_0x294bfc(0xd1)](),_0x222e14=_0x379ba1['rotation'][_0x294bfc(0xd1)](),_0x2d5193=_0x379ba1[_0x294bfc(0x115)][_0x294bfc(0xd1)]();let _0x23514e=null;const _0x1cc265=_0x379ba1[_0x294bfc(0x111)];_0x379ba1['children']=[];if(_0x379ba1[_0x294bfc(0x10d)]===_0x294bfc(0xdc)||_0x379ba1['type']===_0x294bfc(0xdd))_0x23514e=new SceneComponent(this[_0x294bfc(0x10b)],_0x379ba1[_0x294bfc(0x118)]);else {if(_0x379ba1['isInstancedMesh']){const _0x3ea4bb=_0x379ba1;_0x23514e=new InstanceMeshComponent(this[_0x294bfc(0x10b)],_0x3ea4bb,_0x3ea4bb['uuid']),_0x23514e[_0x294bfc(0xd9)]=_0x3ea4bb[_0x294bfc(0xd9)],_0x379ba1[_0x294bfc(0xe9)][_0x294bfc(0xd3)](0x0);}else {if(_0x379ba1[_0x294bfc(0x102)]){const _0x23b30d=_0x379ba1;_0x23514e=new MeshComponent(this[_0x294bfc(0x10b)],_0x23b30d[_0x294bfc(0xee)],_0x23b30d[_0x294bfc(0xe6)],_0x23b30d['uuid']),_0x23514e['name']=_0x23b30d[_0x294bfc(0xd9)],_0x379ba1['layers'][_0x294bfc(0xd3)](0x0);}else _0x23514e=new SceneComponent(this[_0x294bfc(0x10b)],_0x379ba1[_0x294bfc(0x118)]);}}if(_0x23514e===null)return _0x379ba1[_0x294bfc(0x111)]=_0x1cc265,null;_0x560d1d['addChildComponent'](_0x23514e),_0x23514e[_0x294bfc(0xea)](_0xaad68c),_0x23514e[_0x294bfc(0x10f)](_0x222e14),_0x23514e[_0x294bfc(0xd2)](_0x2d5193);for(const _0xb79c75 of _0x1cc265){this['convertThreeObjectToLYObject'](_0x23514e,_0xb79c75);}return _0x23514e;}[_0x3b134a(0x109)](_0x15171d){const _0x2dccb4=_0x3b134a,_0x4cefb3=(_0x47b504,_0x238139)=>{const _0x570ee4=_0x12b9;var _0x7269b2;const _0x970b30=(_0x7269b2=_0x47b504[_0x570ee4(0xe5)](_0x238139))!==null&&_0x7269b2!==void 0?_0x7269b2:0x0;_0x47b504[_0x570ee4(0xd3)](_0x238139,_0x970b30+0x1);},_0x3139a6={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x15171d['traverse'](_0x2283fa=>{const _0x181128=_0x12b9,_0xf82e2a=_0x2283fa;_0xf82e2a['geometry']instanceof webgpu.BufferGeometry&&_0x4cefb3(_0x3139a6[_0x181128(0x108)],_0xf82e2a['geometry']);if(_0xf82e2a[_0x181128(0xe6)]){const _0x48b6cf=Array[_0x181128(0x106)](_0xf82e2a[_0x181128(0xe6)])?_0xf82e2a['material']:[_0xf82e2a[_0x181128(0xe6)]];_0x48b6cf['forEach'](_0x105cd4=>{_0x105cd4&&(_0x4cefb3(_0x3139a6['materials'],_0x105cd4),Object['values'](_0x105cd4)['forEach'](_0x5bf8d8=>{_0x5bf8d8 instanceof webgpu.Texture&&_0x4cefb3(_0x3139a6['textures'],_0x5bf8d8);}));});}}),_0x3139a6[_0x2dccb4(0x108)]['forEach']((_0x141533,_0x24799e)=>this[_0x2dccb4(0xfc)](_0x24799e,_0x141533)),_0x3139a6[_0x2dccb4(0xef)][_0x2dccb4(0xfd)]((_0xfef5eb,_0x184572)=>this[_0x2dccb4(0xfc)](_0x184572,_0xfef5eb)),_0x3139a6[_0x2dccb4(0xf3)][_0x2dccb4(0xfd)]((_0x25399e,_0x45ca5e)=>this[_0x2dccb4(0xfc)](_0x45ca5e,_0x25399e));}['checkMeshResource'](_0x2328b1){const _0x1a870b=_0x3b134a;_0x2328b1['geometry']&&!_0x2328b1[_0x1a870b(0xee)][_0x1a870b(0x116)]['assetPointer']&&this[_0x1a870b(0xfc)](_0x2328b1[_0x1a870b(0xee)]);if(_0x2328b1['material']){const _0x5a8acc=Array['isArray'](_0x2328b1['material'])?_0x2328b1['material']:[_0x2328b1[_0x1a870b(0xe6)]];_0x5a8acc[_0x1a870b(0xfd)](_0x577587=>{const _0x2a75c2=_0x1a870b;if(!_0x577587)return;!_0x577587[_0x2a75c2(0x116)][_0x2a75c2(0xec)]&&this[_0x2a75c2(0xfc)](_0x577587),Object[_0x2a75c2(0xf0)](_0x577587)[_0x2a75c2(0xfd)](_0x1c941a=>{const _0x4ab837=_0x2a75c2;_0x1c941a instanceof webgpu.Texture&&!_0x1c941a[_0x4ab837(0x116)][_0x4ab837(0xec)]&&this['addAsset'](_0x1c941a);});});}}async[_0x3b134a(0x11a)](_0x41f35e){const _0xc751ee=_0x3b134a;return this[_0xc751ee(0xdf)](_0xc751ee(0xe7)),await this['gltfLoader']['loadAsync'](_0x41f35e);}[_0x3b134a(0x105)](_0x1d31ab,_0x346734){const _0x3b57e6=_0x3b134a;this['setupDracoLoader'](_0x3b57e6(0xe7)),this[_0x3b57e6(0x117)][_0x3b57e6(0xf5)](_0x1d31ab,_0x346734);}[_0x3b134a(0x10a)](_0x3151bf,_0x11a52b,_0x1eaf49){const _0x1ad709=_0x3b134a;this[_0x1ad709(0xdf)]('/SceneResource/draco/'),this[_0x1ad709(0x117)][_0x1ad709(0xf1)](_0x3151bf,_0x11a52b,_0x1eaf49);}[_0x3b134a(0x10e)](_0x24c798='',_0x485781){const _0x611fc7=_0x3b134a,_0x23525a=new webgpu.FileLoader();_0x23525a[_0x611fc7(0xf5)](_0x24c798,_0x485781);}[_0x3b134a(0xfc)](_0x2fb4ec,_0x4b8389=0x0){const _0x28dfa8=_0x3b134a;if(_0x2fb4ec instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x2fb4ec,_0x4b8389);if(_0x2fb4ec instanceof webgpu.Material)return this[_0x28dfa8(0x107)](_0x2fb4ec,_0x4b8389);if(_0x2fb4ec instanceof webgpu.Texture)return this['addTextureAsset'](_0x2fb4ec,_0x4b8389);return undefined;}['addMaterialAsset'](_0x1a62bd,_0x127d38=0x0){const _0x582423=_0x3b134a;let _0x4f726a=_0x1a62bd[_0x582423(0x116)][_0x582423(0xec)];if(!_0x4f726a){const _0x4cb664=new Map();Object[_0x582423(0xd6)](_0x1a62bd)[_0x582423(0xfd)](([_0x44720f,_0x1ab558])=>{const _0x34a88c=_0x582423;if(_0x1ab558 instanceof webgpu.Texture){const _0x2d4a69=this[_0x34a88c(0xd4)](_0x1ab558,0x1);_0x4cb664[_0x34a88c(0xd3)](_0x44720f,_0x2d4a69);}}),_0x4f726a=new MaterialAssetPointer(_0x1a62bd,_0x4cb664,_0x127d38),this[_0x582423(0xe2)][_0x582423(0xd3)](_0x1a62bd[_0x582423(0x118)],_0x4f726a);}else _0x4f726a[_0x582423(0xe4)](_0x127d38);return _0x4f726a;}[_0x3b134a(0xd4)](_0x46c90f,_0x3df651=0x0){const _0x12bae2=_0x3b134a;let _0x456bcc=_0x46c90f[_0x12bae2(0x116)][_0x12bae2(0xec)];return !_0x456bcc?(_0x456bcc=new TextureAssetPointer(_0x46c90f,_0x3df651),this[_0x12bae2(0x113)][_0x12bae2(0xd3)](_0x46c90f[_0x12bae2(0x118)],_0x456bcc)):_0x456bcc[_0x12bae2(0xe4)](_0x3df651),_0x456bcc;}[_0x3b134a(0x11b)](_0x43b533,_0x461469=0x0){const _0x221734=_0x3b134a;let _0x315886=_0x43b533[_0x221734(0x116)][_0x221734(0xec)];return !_0x315886?(_0x315886=new GeometryAssetPointer(_0x43b533,_0x461469),this[_0x221734(0xd8)][_0x221734(0xd3)](_0x43b533[_0x221734(0x118)],_0x315886)):_0x315886[_0x221734(0xe4)](_0x461469),_0x315886;}[_0x3b134a(0x112)](_0x471afe){const _0x129d8a=_0x3b134a,_0x2f02fd=_0x471afe[_0x129d8a(0x116)][_0x129d8a(0xec)];_0x2f02fd?_0x2f02fd[_0x129d8a(0x100)]():_0x471afe['dispose']();}['clearAssets'](){const _0x460763=_0x3b134a;this[_0x460763(0xd8)][_0x460763(0xfd)](_0x2bcd04=>_0x2bcd04[_0x460763(0xff)]()),this['geometryAssets'][_0x460763(0x10c)](),this[_0x460763(0xe2)][_0x460763(0xfd)](_0x3b1001=>_0x3b1001[_0x460763(0xff)]()),this[_0x460763(0xe2)][_0x460763(0x10c)](),this[_0x460763(0x113)][_0x460763(0xfd)](_0xd57e9c=>_0xd57e9c['forceRelease']()),this[_0x460763(0x113)]['clear']();}}
|
|
67
|
+
const _0x149a7b=_0x4503;(function(_0x317e6f,_0x2b5f00){const _0xa59948=_0x4503,_0x9006d3=_0x317e6f();while(!![]){try{const _0x5496c1=parseInt(_0xa59948(0xbc))/0x1*(-parseInt(_0xa59948(0x107))/0x2)+parseInt(_0xa59948(0x106))/0x3*(parseInt(_0xa59948(0xd8))/0x4)+-parseInt(_0xa59948(0x100))/0x5*(-parseInt(_0xa59948(0xf3))/0x6)+parseInt(_0xa59948(0x108))/0x7+-parseInt(_0xa59948(0x93))/0x8*(parseInt(_0xa59948(0x90))/0x9)+-parseInt(_0xa59948(0xf0))/0xa*(parseInt(_0xa59948(0x9d))/0xb)+-parseInt(_0xa59948(0xd6))/0xc*(-parseInt(_0xa59948(0x8e))/0xd);if(_0x5496c1===_0x2b5f00)break;else _0x9006d3['push'](_0x9006d3['shift']());}catch(_0x258c3c){_0x9006d3['push'](_0x9006d3['shift']());}}}(_0x53a4,0x9336d));function _0x4503(_0x422f0f,_0x3b93ef){_0x422f0f=_0x422f0f-0x8c;const _0x53a496=_0x53a4();let _0x45031c=_0x53a496[_0x422f0f];return _0x45031c;}function _0x53a4(){const _0x3b7698=['outputNode','edgeThickness','greaterThan','velocity','distanceFallOff','smaaEnabled','output','lensflarePass','gtaoThickness','render','lensflareEnabled','Antialiasing','find','ghostAttenuationFactor','onDirtyCallback','removeOutlineObject','selectedObjects','outlineHiddenEdgeColor','createEffectUniforms','aperture','postProcessing','focus','bloomThreshold','outlineObjects','add','202800gCIMcZ','fxaa','1836124wyFAWx','splice','traa','getTextureNode','postProcessParam','map','addOutlineObject','dofFocus','gtaoPass','steps','renderer','updateCamera','camera','GroundTruthAmbientOcclusion','outlineEdgeStrength','LensFlare','bloomRadius','gtaoDistanceExponent','focusDistanceNode','value','onBuildFinalNode','edgeGlow','scene','markDirty','80YNGSSa','outlineVisibleEdgeColor','push','572142DsLUwp','edgeStrength','downSampleRatio','dofMaxBlur','visibleEdgeColor','gtaoEnabled','edgeGlowNode','hiddenEdgeColor','outlinePulsePeriod','bloomEnabled','includes','pulsePeriod','focalLengthNode','5YgwRQt','updateSteps','type','effectUniforms','depth','normal','3ktyroO','4HnIIZD','3539697ycJFmK','set','setup','1495QnuuoA','getLUT3DTexture','36wmzcYD','mul','traaPass','2283136POAXTB','radius','needsUpdate','fxaaEnabled','maxblur','lut3dTexture','setOutlineObjects','bokehScaleNode','gtaoRadius','div','1474242lvAddn','DepthOfField','bloomPass','outlinePass','ghostTint','has','thickness','rgb','destroy','samples','outlineEnabled','distanceExponent','updateAllUniforms','method','dispose','buildPipeline','edgeThicknessNode','strength','select','Bloom','scale','ghostSamples','getStepParam','dofPass','assign','Outline','getViewZNode','threshold','smaa','bloomStrength','useTemporalFiltering','93413aTRHWZ'];_0x53a4=function(){return _0x3b7698;};return _0x53a4();}class PostProcessManager{constructor(_0x27eb85,_0x4387b9,_0x23cc18,_0x9fc022,_0x11fdc9){const _0x2c9188=_0x4503;this[_0x2c9188(0xd1)]=null,this[_0x2c9188(0xd4)]=[],this[_0x2c9188(0x103)]=null,this['outlinePass']=null,this[_0x2c9188(0x9f)]=null,this[_0x2c9188(0xb4)]=null,this[_0x2c9188(0xe0)]=null,this[_0x2c9188(0x92)]=null,this['lensflarePass']=null,this[_0x2c9188(0x98)]=null,this[_0x2c9188(0xcb)]=null,this['renderer']=_0x27eb85,this['scene']=_0x4387b9,this[_0x2c9188(0xe4)]=_0x23cc18,this['postProcessParam']=Object[_0x2c9188(0xb5)]({},_0x9fc022),this[_0x2c9188(0xcb)]=_0x11fdc9!==null&&_0x11fdc9!==void 0?_0x11fdc9:null;}get['processing'](){const _0x5578c2=_0x4503;return this[_0x5578c2(0xd1)];}[_0x149a7b(0xe3)](_0x42570a){const _0x5d9e62=_0x149a7b;this[_0x5d9e62(0xe4)]=_0x42570a,(!this[_0x5d9e62(0xd1)]||!this[_0x5d9e62(0x103)])&&(this[_0x5d9e62(0xac)](),this[_0x5d9e62(0xa9)](),this['markDirty']());}[_0x149a7b(0x8d)](){const _0x53db2e=_0x149a7b;(!this[_0x53db2e(0xd1)]||!this[_0x53db2e(0x103)])&&this['buildPipeline'](),this[_0x53db2e(0xa9)](),this[_0x53db2e(0xef)]();}['buildPipeline'](){const _0x2654ad=_0x149a7b;var _0x5deb6b,_0x2a0fa0,_0x4e374c,_0x417fbe,_0xd77eee;this[_0x2654ad(0xd1)]&&this[_0x2654ad(0xd1)][_0x2654ad(0xab)]();this['postProcessing']=new webgpu.PostProcessing(this[_0x2654ad(0xe2)]),this[_0x2654ad(0xa0)]=null,this[_0x2654ad(0x9f)]=null,this[_0x2654ad(0xb4)]=null,this[_0x2654ad(0xe0)]=null,this['traaPass']=null,this['lensflarePass']=null,this[_0x2654ad(0x103)]=this['createEffectUniforms']();const _0xe935dd=new Set(this[_0x2654ad(0xdc)][_0x2654ad(0xe1)]['map'](_0x4a0b1c=>_0x4a0b1c[_0x2654ad(0x102)])),_0x5f04b9=this['getStepParam'](exports.PostProcessStepType[_0x2654ad(0xc8)]),_0x5049f3=_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType[_0x2654ad(0xe5)]),_0xb794e0=(_0x5f04b9===null||_0x5f04b9===void 0?void 0:_0x5f04b9[_0x2654ad(0xaa)])==='traa',_0x2f34db=tsl.pass(this[_0x2654ad(0xee)],this[_0x2654ad(0xe4)]);if(_0x5049f3||_0xb794e0){const _0x5669ce={'output':tsl.output};if(_0x5049f3)_0x5669ce[_0x2654ad(0x105)]=tsl.normalView;if(_0xb794e0)_0x5669ce[_0x2654ad(0xc0)]=tsl.velocity;_0x2f34db['setMRT'](tsl.mrt(_0x5669ce));}const _0x346913=_0x2f34db[_0x2654ad(0xdb)](_0x2654ad(0xc3)),_0x2bcb8b=_0x2f34db['getTextureNode'](_0x2654ad(0x104)),_0x4752ce=_0x2f34db[_0x2654ad(0xb7)](),_0x28e514=_0x5049f3?_0x2f34db[_0x2654ad(0xdb)]('normal'):null,_0x5201ea=_0xb794e0?_0x2f34db[_0x2654ad(0xdb)](_0x2654ad(0xc0)):null,_0x7f72c=this[_0x2654ad(0x103)];let _0x54637a=_0x346913;const _0x494b3a=_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType[_0x2654ad(0xb0)]),_0x4401ab=_0xe935dd['has'](exports.PostProcessStepType[_0x2654ad(0xe7)]);if(_0x494b3a||_0x4401ab){const _0x36cd20=(_0x5deb6b=this[_0x2654ad(0xb3)](exports.PostProcessStepType['Bloom']))!==null&&_0x5deb6b!==void 0?_0x5deb6b:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x346913),this['bloomPass'][_0x2654ad(0xb8)][_0x2654ad(0xeb)]=_0x36cd20[_0x2654ad(0xb8)],this[_0x2654ad(0x9f)][_0x2654ad(0xae)]['value']=_0x36cd20[_0x2654ad(0xae)],this[_0x2654ad(0x9f)]['radius'][_0x2654ad(0xeb)]=_0x36cd20[_0x2654ad(0x94)];if(_0x494b3a){const _0x37d956=this[_0x2654ad(0x9f)][_0x2654ad(0x91)](_0x7f72c[_0x2654ad(0xba)]);_0x54637a=tsl.vec4(_0x346913[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x37d956),_0x346913['a']);}if(_0x4401ab){const _0x1f7ac3=(_0x2a0fa0=this[_0x2654ad(0xb3)](exports.PostProcessStepType[_0x2654ad(0xe7)]))!==null&&_0x2a0fa0!==void 0?_0x2a0fa0:DefaultLensFlareParam;this[_0x2654ad(0xc4)]=LensflareNode_js.lensflare(this['bloomPass'][_0x2654ad(0xdb)](),{'ghostTint':tsl.vec3(_0x1f7ac3[_0x2654ad(0xa1)][0x0],_0x1f7ac3[_0x2654ad(0xa1)][0x1],_0x1f7ac3[_0x2654ad(0xa1)][0x2]),'threshold':tsl.float(_0x1f7ac3['threshold']),'ghostSamples':tsl.float(_0x1f7ac3[_0x2654ad(0xb2)]),'ghostSpacing':tsl.float(_0x1f7ac3['ghostSpacing']),'ghostAttenuationFactor':tsl.float(_0x1f7ac3[_0x2654ad(0xca)]),'downSampleRatio':_0x1f7ac3[_0x2654ad(0xf5)]});const _0x36804d=this['lensflarePass'][_0x2654ad(0xdb)]();_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x36804d),_0x54637a['a']);}}if(_0xe935dd[_0x2654ad(0xa2)](exports.PostProcessStepType['DepthOfField'])){const _0x5e0e68=(_0x4e374c=this['getStepParam'](exports.PostProcessStepType['DepthOfField']))!==null&&_0x4e374c!==void 0?_0x4e374c:DefaultDOFParam;this[_0x2654ad(0xb4)]=DepthOfFieldNode_js.dof(_0x54637a,_0x4752ce,tsl.uniform(_0x5e0e68[_0x2654ad(0xd2)]),tsl.uniform(_0x5e0e68['aperture']),tsl.uniform(_0x5e0e68[_0x2654ad(0x97)])),_0x54637a=tsl.vec4(this[_0x2654ad(0xb4)][_0x2654ad(0xa4)],_0x346913['a']);}if(_0x5049f3&&_0x28e514){const _0x2e5e6b=(_0x417fbe=this['getStepParam'](exports.PostProcessStepType[_0x2654ad(0xe5)]))!==null&&_0x417fbe!==void 0?_0x417fbe:DefaultGTAOParam;this[_0x2654ad(0xe0)]=GTAONode_js.ao(_0x2bcb8b,_0x28e514,this[_0x2654ad(0xe4)]),this[_0x2654ad(0xe0)]['resolutionScale']=0.5,this[_0x2654ad(0xe0)][_0x2654ad(0xa8)]['value']=_0x2e5e6b[_0x2654ad(0xa8)],this['gtaoPass'][_0x2654ad(0xc1)][_0x2654ad(0xeb)]=_0x2e5e6b[_0x2654ad(0xc1)],this[_0x2654ad(0xe0)][_0x2654ad(0x94)]['value']=_0x2e5e6b[_0x2654ad(0x94)],this[_0x2654ad(0xe0)]['scale'][_0x2654ad(0xeb)]=_0x2e5e6b['scale'],this[_0x2654ad(0xe0)][_0x2654ad(0xa3)][_0x2654ad(0xeb)]=_0x2e5e6b['thickness'],this['gtaoPass'][_0x2654ad(0xa6)][_0x2654ad(0xeb)]=_0x2e5e6b['samples'],this[_0x2654ad(0xe0)]['useTemporalFiltering']=_0x2e5e6b[_0x2654ad(0xbb)],_0x54637a=tsl.vec4(_0x54637a['rgb']['mul'](this[_0x2654ad(0xe0)][_0x2654ad(0xdb)]()['r']),_0x54637a['a']);}if(_0xe935dd['has'](exports.PostProcessStepType[_0x2654ad(0xb6)])){const _0x23bbd5=(_0xd77eee=this[_0x2654ad(0xb3)](exports.PostProcessStepType[_0x2654ad(0xb6)]))!==null&&_0xd77eee!==void 0?_0xd77eee:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x2654ad(0xee)],this[_0x2654ad(0xe4)],{'selectedObjects':this[_0x2654ad(0xd4)],'edgeGlow':tsl.uniform(_0x23bbd5[_0x2654ad(0xed)]),'edgeThickness':tsl.uniform(_0x23bbd5[_0x2654ad(0xbe)])});const {visibleEdge:_0x15cc27,hiddenEdge:_0x21030a}=this[_0x2654ad(0xa0)],_0x4216a6=_0x7f72c[_0x2654ad(0xfb)]['greaterThan'](0x0)['select'](_0x7f72c['outlinePulsePeriod'],tsl.uniform(0x1)),_0x346559=tsl.time[_0x2654ad(0x9c)](_0x4216a6)[_0x2654ad(0x91)](0x2),_0x522b3a=tsl.oscSine(_0x346559)['mul'](0.5)['add'](0.5),_0x5c3186=_0x15cc27[_0x2654ad(0x91)](_0x7f72c['outlineVisibleEdgeColor'])[_0x2654ad(0xd5)](_0x21030a['mul'](_0x7f72c[_0x2654ad(0xce)]))[_0x2654ad(0x91)](_0x7f72c[_0x2654ad(0xe6)]),_0x2c2b77=_0x7f72c[_0x2654ad(0xfb)][_0x2654ad(0xbf)](0x0)[_0x2654ad(0xaf)](_0x5c3186[_0x2654ad(0x91)](_0x522b3a),_0x5c3186);_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)][_0x2654ad(0xd5)](_0x2c2b77),_0x54637a['a']);}if(_0x5f04b9){if(_0x5f04b9['method']===_0x2654ad(0xd7))_0x54637a=FXAANode_js.fxaa(_0x54637a);else {if(_0x5f04b9[_0x2654ad(0xaa)]==='smaa')_0x54637a=SMAANode_js.smaa(_0x54637a);else _0x5f04b9[_0x2654ad(0xaa)]===_0x2654ad(0xda)&&_0x5201ea&&(this[_0x2654ad(0x92)]=TRAANode_js.traa(_0x54637a,_0x2bcb8b,_0x5201ea,this[_0x2654ad(0xe4)]),_0x54637a=this[_0x2654ad(0x92)][_0x2654ad(0xdb)]());}}_0x54637a=this[_0x2654ad(0xec)](_0x54637a),_0x54637a=tsl.vec4(_0x54637a[_0x2654ad(0xa4)],_0x346913['a']),this['postProcessing'][_0x2654ad(0xbd)]=_0x54637a,this['postProcessing'][_0x2654ad(0x95)]=!![];}[_0x149a7b(0xec)](_0x551c0f){return _0x551c0f;}[_0x149a7b(0xcf)](){const _0x4857f2=_0x149a7b;var _0x47406c,_0x3751ee,_0x6b57c3,_0x235e5e;const _0x33e75c=(_0x47406c=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xb0)]))!==null&&_0x47406c!==void 0?_0x47406c:DefaultBloomParam,_0x5b7f4d=(_0x3751ee=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0x9e)]))!==null&&_0x3751ee!==void 0?_0x3751ee:DefaultDOFParam,_0x21781f=(_0x6b57c3=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xe5)]))!==null&&_0x6b57c3!==void 0?_0x6b57c3:DefaultGTAOParam,_0x50b7f0=(_0x235e5e=this[_0x4857f2(0xb3)](exports.PostProcessStepType[_0x4857f2(0xb6)]))!==null&&_0x235e5e!==void 0?_0x235e5e:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x33e75c[_0x4857f2(0xae)]),'bloomThreshold':tsl.uniform(_0x33e75c['threshold']),'bloomRadius':tsl.uniform(_0x33e75c['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x5b7f4d[_0x4857f2(0xd2)]),'dofAperture':tsl.uniform(_0x5b7f4d[_0x4857f2(0xd0)]),'dofMaxBlur':tsl.uniform(_0x5b7f4d[_0x4857f2(0x97)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x21781f['scale']),'gtaoDistanceExponent':tsl.uniform(_0x21781f[_0x4857f2(0xa8)]),'gtaoDistanceFallOff':tsl.uniform(_0x21781f[_0x4857f2(0xc1)]),'gtaoRadius':tsl.uniform(_0x21781f[_0x4857f2(0x94)]),'gtaoThickness':tsl.uniform(_0x21781f[_0x4857f2(0xa3)]),'gtaoSamples':tsl.uniform(_0x21781f[_0x4857f2(0xa6)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x50b7f0[_0x4857f2(0xf4)]),'outlineEdgeGlow':tsl.uniform(_0x50b7f0['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x50b7f0['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x50b7f0[_0x4857f2(0xfe)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x50b7f0['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x50b7f0[_0x4857f2(0xfa)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x149a7b(0xb3)](_0x1e1dc0){const _0x5b5c97=_0x149a7b;var _0x5fb079;return (_0x5fb079=this[_0x5b5c97(0xdc)]['steps'][_0x5b5c97(0xc9)](_0x8cff32=>_0x8cff32[_0x5b5c97(0x102)]===_0x1e1dc0))!==null&&_0x5fb079!==void 0?_0x5fb079:null;}[_0x149a7b(0xa9)](){const _0x41fb49=_0x149a7b;if(!this['effectUniforms'])return;const _0x2cee31=this[_0x41fb49(0x103)],_0x474241=new Set(this[_0x41fb49(0xdc)][_0x41fb49(0xe1)][_0x41fb49(0xdd)](_0x13efa8=>_0x13efa8[_0x41fb49(0x102)]));_0x2cee31[_0x41fb49(0xfc)][_0x41fb49(0xeb)]=_0x474241[_0x41fb49(0xa2)](exports.PostProcessStepType[_0x41fb49(0xb0)])?0x1:0x0,_0x2cee31['dofEnabled'][_0x41fb49(0xeb)]=_0x474241[_0x41fb49(0xa2)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x2cee31[_0x41fb49(0xf8)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x2cee31[_0x41fb49(0xa7)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x2cee31[_0x41fb49(0xc7)][_0x41fb49(0xeb)]=_0x474241['has'](exports.PostProcessStepType['LensFlare'])?0x1:0x0;const _0x255fba=this['getStepParam'](exports.PostProcessStepType[_0x41fb49(0xc8)]);_0x255fba?(_0x2cee31[_0x41fb49(0x96)][_0x41fb49(0xeb)]=_0x255fba[_0x41fb49(0xaa)]===_0x41fb49(0xd7)?0x1:0x0,_0x2cee31[_0x41fb49(0xc2)]['value']=_0x255fba['method']===_0x41fb49(0xb9)?0x1:0x0):(_0x2cee31[_0x41fb49(0x96)][_0x41fb49(0xeb)]=0x0,_0x2cee31[_0x41fb49(0xc2)]['value']=0x0);const _0x3aa654=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xb0)]);_0x3aa654&&(_0x2cee31[_0x41fb49(0xba)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0xae)],_0x2cee31[_0x41fb49(0xd3)]['value']=_0x3aa654[_0x41fb49(0xb8)],_0x2cee31[_0x41fb49(0xe8)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0x94)],this[_0x41fb49(0x9f)]&&(this[_0x41fb49(0x9f)][_0x41fb49(0xb8)]['value']=_0x3aa654['threshold'],this[_0x41fb49(0x9f)][_0x41fb49(0xae)][_0x41fb49(0xeb)]=_0x3aa654[_0x41fb49(0xae)],this['bloomPass'][_0x41fb49(0x94)]['value']=_0x3aa654['radius']));const _0x41ead3=this['getStepParam'](exports.PostProcessStepType[_0x41fb49(0xe7)]);if(_0x41ead3&&this[_0x41fb49(0xc4)]);const _0x2a4a67=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0x9e)]);_0x2a4a67&&(_0x2cee31[_0x41fb49(0xdf)]['value']=_0x2a4a67['focus'],_0x2cee31['dofAperture']['value']=_0x2a4a67[_0x41fb49(0xd0)],_0x2cee31[_0x41fb49(0xf6)]['value']=_0x2a4a67[_0x41fb49(0x97)],this['dofPass']&&(this['dofPass'][_0x41fb49(0xea)][_0x41fb49(0xeb)]=_0x2a4a67['focus'],this[_0x41fb49(0xb4)][_0x41fb49(0xff)][_0x41fb49(0xeb)]=_0x2a4a67[_0x41fb49(0xd0)],this[_0x41fb49(0xb4)][_0x41fb49(0x9a)][_0x41fb49(0xeb)]=_0x2a4a67['maxblur']));const _0x45f90d=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xe5)]);_0x45f90d&&(_0x2cee31['gtaoScale'][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xb1)],_0x2cee31[_0x41fb49(0xe9)][_0x41fb49(0xeb)]=_0x45f90d['distanceExponent'],_0x2cee31['gtaoDistanceFallOff']['value']=_0x45f90d[_0x41fb49(0xc1)],_0x2cee31[_0x41fb49(0x9b)][_0x41fb49(0xeb)]=_0x45f90d['radius'],_0x2cee31[_0x41fb49(0xc5)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa3)],_0x2cee31['gtaoSamples'][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa6)],this[_0x41fb49(0xe0)]&&(this['gtaoPass'][_0x41fb49(0xa8)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa8)],this[_0x41fb49(0xe0)][_0x41fb49(0xc1)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xc1)],this[_0x41fb49(0xe0)][_0x41fb49(0x94)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0x94)],this[_0x41fb49(0xe0)][_0x41fb49(0xb1)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xb1)],this[_0x41fb49(0xe0)][_0x41fb49(0xa3)][_0x41fb49(0xeb)]=_0x45f90d[_0x41fb49(0xa3)],this['gtaoPass']['samples'][_0x41fb49(0xeb)]=_0x45f90d['samples'],this[_0x41fb49(0xe0)]['useTemporalFiltering']=_0x45f90d['useTemporalFiltering']));const _0x24654a=this[_0x41fb49(0xb3)](exports.PostProcessStepType[_0x41fb49(0xb6)]);_0x24654a&&(_0x2cee31[_0x41fb49(0xe6)][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xf4)],_0x2cee31['outlineEdgeGlow']['value']=_0x24654a['edgeGlow'],_0x2cee31['outlineEdgeThickness'][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xbe)],_0x2cee31[_0x41fb49(0xfb)]['value']=_0x24654a[_0x41fb49(0xfe)],_0x2cee31[_0x41fb49(0xf1)][_0x41fb49(0xeb)]['set'](_0x24654a[_0x41fb49(0xf7)]),_0x2cee31[_0x41fb49(0xce)]['value'][_0x41fb49(0x8c)](_0x24654a[_0x41fb49(0xfa)]),this[_0x41fb49(0xa0)]&&(this[_0x41fb49(0xa0)][_0x41fb49(0xf9)][_0x41fb49(0xeb)]=_0x24654a[_0x41fb49(0xed)],this['outlinePass'][_0x41fb49(0xad)]['value']=_0x24654a[_0x41fb49(0xbe)],this[_0x41fb49(0xa0)][_0x41fb49(0xcd)]=this['outlineObjects']));}[_0x149a7b(0x101)](_0xbe5ad1){const _0x53264f=_0x149a7b;this[_0x53264f(0xdc)]['steps']=_0xbe5ad1,this[_0x53264f(0xac)](),this[_0x53264f(0xa9)](),this['markDirty']();}[_0x149a7b(0xde)](_0x30301a){const _0x4f327b=_0x149a7b;!this['outlineObjects'][_0x4f327b(0xfd)](_0x30301a)&&(this[_0x4f327b(0xd4)][_0x4f327b(0xf2)](_0x30301a),this[_0x4f327b(0xa0)]&&(this[_0x4f327b(0xa0)][_0x4f327b(0xcd)]=this['outlineObjects'])),this[_0x4f327b(0xef)]();}[_0x149a7b(0x99)](_0x3064fc){const _0x50e64d=_0x149a7b;this[_0x50e64d(0xd4)]['length']=0x0,this[_0x50e64d(0xd4)]['push'](..._0x3064fc),this[_0x50e64d(0xa0)]&&(this[_0x50e64d(0xa0)][_0x50e64d(0xcd)]=this[_0x50e64d(0xd4)]),this['markDirty']();}[_0x149a7b(0xcc)](_0x1433d5){const _0x161b50=_0x149a7b,_0x5d1475=this[_0x161b50(0xd4)]['indexOf'](_0x1433d5);_0x5d1475>-1&&(this[_0x161b50(0xd4)][_0x161b50(0xd9)](_0x5d1475,0x1),this[_0x161b50(0xa0)]&&(this['outlinePass'][_0x161b50(0xcd)]=this[_0x161b50(0xd4)])),this[_0x161b50(0xef)]();}['setLUT3DTexture'](_0x3d606f){const _0x18e80d=_0x149a7b;this[_0x18e80d(0x98)]=_0x3d606f,this[_0x18e80d(0xac)](),this[_0x18e80d(0xa9)](),this[_0x18e80d(0xef)]();}[_0x149a7b(0x8f)](){const _0xa016b5=_0x149a7b;return this[_0xa016b5(0x98)];}['render'](){const _0x4abb81=_0x149a7b;if(this[_0x4abb81(0xd1)])return this[_0x4abb81(0xd1)][_0x4abb81(0xc6)](),!![];return ![];}[_0x149a7b(0xa5)](){const _0x19923c=_0x149a7b;this[_0x19923c(0xd4)]=[],this[_0x19923c(0x103)]=null,this[_0x19923c(0xa0)]=null,this[_0x19923c(0x9f)]=null,this['dofPass']=null,this[_0x19923c(0xe0)]=null,this[_0x19923c(0x92)]=null,this['lensflarePass']=null,this[_0x19923c(0x98)]=null,this[_0x19923c(0xd1)]&&(this[_0x19923c(0xd1)][_0x19923c(0xab)](),this[_0x19923c(0xd1)]=null);}[_0x149a7b(0xef)](){const _0x6f5794=_0x149a7b;this[_0x6f5794(0xcb)]&&this['onDirtyCallback']();}}
|
|
48
68
|
|
|
49
|
-
(function(_0x2bfe9e,_0x3dd482){var _0x1e4543=_0x5111,_0x3541a4=_0x2bfe9e();while(!![]){try{var _0x19a7b3=parseInt(_0x1e4543(0x1b5))/0x1*(parseInt(_0x1e4543(0x1c5))/0x2)+parseInt(_0x1e4543(0x1b0))/0x3+-parseInt(_0x1e4543(0x1b9))/0x4*(-parseInt(_0x1e4543(0x1c9))/0x5)+parseInt(_0x1e4543(0x1ce))/0x6+parseInt(_0x1e4543(0x1d0))/0x7*(-parseInt(_0x1e4543(0x1b8))/0x8)+-parseInt(_0x1e4543(0x1c2))/0x9*(parseInt(_0x1e4543(0x1bc))/0xa)+parseInt(_0x1e4543(0x1cd))/0xb;if(_0x19a7b3===_0x3dd482)break;else _0x3541a4['push'](_0x3541a4['shift']());}catch(_0x59c705){_0x3541a4['push'](_0x3541a4['shift']());}}}(_0x29c7,0x54a47));exports.AssetCategory = void 0;(function(_0x2d842c){var _0xece53b=_0x5111;_0x2d842c[_0xece53b(0x1ae)]=_0xece53b(0x1cf),_0x2d842c['Material']='material',_0x2d842c[_0xece53b(0x1c6)]='texture',_0x2d842c[_0xece53b(0x1c3)]=_0xece53b(0x1b7),_0x2d842c[_0xece53b(0x1b6)]=_0xece53b(0x1bd),_0x2d842c[_0xece53b(0x1b4)]='level',_0x2d842c['HTML']=_0xece53b(0x1be),_0x2d842c[_0xece53b(0x1bb)]=_0xece53b(0x1ca),_0x2d842c[_0xece53b(0x1cc)]=_0xece53b(0x1ba);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;function _0x5111(_0x576e10,_0x1091a0){_0x576e10=_0x576e10-0x1ae;var _0x29c7c9=_0x29c7();var _0x51118e=_0x29c7c9[_0x576e10];return _0x51118e;}(function(_0x208d4f){var _0xb74c70=_0x5111;_0x208d4f[_0xb74c70(0x1cb)]=_0xb74c70(0x1c4),_0x208d4f[_0xb74c70(0x1b1)]=_0xb74c70(0x1c0),_0x208d4f[_0xb74c70(0x1af)]='loaded',_0x208d4f['Error']=_0xb74c70(0x1b3);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x135fa0){var _0x191939=_0x5111;_0x135fa0[_0x191939(0x1c3)]=_0x191939(0x1b7),_0x135fa0[_0x191939(0x1bf)]=_0x191939(0x1c1),_0x135fa0['Material']='material',_0x135fa0[_0x191939(0x1b4)]='level',_0x135fa0[_0x191939(0x1c7)]=_0x191939(0x1c8),_0x135fa0['External']='external';}(exports.ReferenceType||(exports.ReferenceType={})));function _0x29c7(){var _0x484339=['3241553XELXKg','material','Geometry','Loaded','790647mPBkua','Loading','texture','error','Level','1wGWxAG','ActorManager','actor','8ZSUVwA','8OaUqyU','undefined','Code','1073030uxXFlr','actorManager','html','Component','loading','component','27LgJuaA','Actor','unloaded','1011676qQvFQk','Texture','AssetPointer','assetPointer','96400jIwCNo','code','Unloaded','Undefined','2358785gvyyqN','655806QuVcOv','geometry'];_0x29c7=function(){return _0x484339;};return _0x29c7();}exports.AssetType = void 0;(function(_0x1c884d){var _0x364e28=_0x5111;_0x1c884d[_0x1c884d[_0x364e28(0x1cf)]=0x1]='geometry',_0x1c884d[_0x1c884d[_0x364e28(0x1d1)]=0x2]=_0x364e28(0x1d1),_0x1c884d[_0x1c884d[_0x364e28(0x1b2)]=0x3]=_0x364e28(0x1b2),_0x1c884d[_0x1c884d['undefined']=-1]=_0x364e28(0x1ba);}(exports.AssetType||(exports.AssetType={})));
|
|
69
|
+
function _0x3e51(){const _0x3af2ab=['domElement','257946vUGTNY','_renderer','css3dRenderer','style','top','setDepth','disconnect','clientHeight','height','setStencil','setClearAlpha','div','dispose','_canvasContainer','outer','app','100%','6117234JvWhmI','destroy','Can\x20not\x20create\x20context','removeChild','removeOutlineObject','width','shadowMap','162798zkIBnT','isRenderStateDirty','onWindowResize','type','createLabelRenderer','postProcessParam','init','camera','insertBefore','markRenderStateDirty','appendChild','onCameraChangedDelegate','none','setAlpha','updateCamera','setupPostProcess','setToneMapping','scene-uiLayer','transparent','elementId','world','forceWebGL','firstChild','onAfterPostProcessRender','0px','renderer','clientWidth','createCSS3DRenderer','createElement','getElementById','setOutlineObjects','renderAsImage','postProcessManager','remove','drawImage','destroyPostProcess','className','getContext','pointerEvents','isUILayerNeeded','5wvUTEc','samples','createRenderer','contentBoxSize','addOutlineObject','6483953dNXcZK','setup','antialias','absolute','12291030iasocu','App\x20is\x20not\x20initialized','492894RWuiHF','observe','_outerContainer','logarithmicDepthBuffer','2065436LqhkXo','background','enabled','toneMapping','depth','uiDom','_uiDom','scene-css3dRenderer','resizeObserver','stencil','labelRenderer','setShadowMapEnabled','setSize','position','isLabelRendererNeeded','updateRendererSettings','setToneMappingExposure','outputBufferType','createPostProcessManager','toDataURL','devicePixelRatio','image/jpeg','updateSteps','_app','render','zIndex','toneMappingExposure','scene','add','isCSS3DRendererNeeded','canvas','shadowMapEnabled','left','setAnimationLoop','Renderer\x20is\x20not\x20initialized','8OqVOkj'];_0x3e51=function(){return _0x3af2ab;};return _0x3e51();}function _0x3937(_0x429cd3,_0x557184){_0x429cd3=_0x429cd3-0x95;const _0x3e5178=_0x3e51();let _0x3937b3=_0x3e5178[_0x429cd3];return _0x3937b3;}const _0x61cb66=_0x3937;(function(_0x47ffd1,_0x20aa1b){const _0x3e42bd=_0x3937,_0x48c87f=_0x47ffd1();while(!![]){try{const _0x329486=parseInt(_0x3e42bd(0x108))/0x1+parseInt(_0x3e42bd(0xdf))/0x2+-parseInt(_0x3e42bd(0xac))/0x3+parseInt(_0x3e42bd(0xe3))/0x4*(-parseInt(_0x3e42bd(0xd4))/0x5)+parseInt(_0x3e42bd(0xa5))/0x6+parseInt(_0x3e42bd(0xd9))/0x7*(parseInt(_0x3e42bd(0x106))/0x8)+-parseInt(_0x3e42bd(0xdd))/0x9;if(_0x329486===_0x20aa1b)break;else _0x48c87f['push'](_0x48c87f['shift']());}catch(_0x504379){_0x48c87f['push'](_0x48c87f['shift']());}}}(_0x3e51,0x7d77c));class Viewport{get[_0x61cb66(0xe8)](){const _0x5a56a1=_0x61cb66;return this[_0x5a56a1(0xe9)];}get['canvas'](){const _0x15a463=_0x61cb66;return this[_0x15a463(0xe1)]||this['_canvasContainer'];}get[_0x61cb66(0xa2)](){const _0xa6b160=_0x61cb66;return this[_0xa6b160(0xe1)];}get[_0x61cb66(0xc5)](){const _0x57707b=_0x61cb66;if(!this[_0x57707b(0x95)])throw Error(_0x57707b(0x105));return this[_0x57707b(0x95)];}get['app'](){const _0x2e89c6=_0x61cb66;if(!this[_0x2e89c6(0xfa)])throw Error(_0x2e89c6(0xde));return this[_0x2e89c6(0xfa)];}constructor(_0x11095c,_0x5f34ca,_0x1484ba,_0x2c668b){const _0x395bf5=_0x61cb66;this['_uiDom']=null,this[_0x395bf5(0x95)]=null,this[_0x395bf5(0xed)]=null,this[_0x395bf5(0x96)]=null,this[_0x395bf5(0xfa)]=null,this['resizeObserver']=null,this[_0x395bf5(0xe1)]=null,this[_0x395bf5(0xa1)]=null,this[_0x395bf5(0xad)]=!![],this['postProcessManager']=null,this['postProcessParam']=Object['assign']({},_0x2c668b),this[_0x395bf5(0xfa)]=_0x11095c,_0x5f34ca['elementId']&&(this['_outerContainer']=document[_0x395bf5(0xc9)](_0x5f34ca[_0x395bf5(0xbf)])),this['createRenderer'](_0x1484ba),_0x5f34ca[_0x395bf5(0xf1)]&&this['createLabelRenderer'](),_0x5f34ca[_0x395bf5(0x100)]&&this[_0x395bf5(0xc7)](),_0x5f34ca[_0x395bf5(0xd3)]&&this['createUILayer'](),this[_0x395bf5(0xe1)]&&(this[_0x395bf5(0xeb)]=new ResizeObserver(_0x37be35=>{const _0x147b7a=_0x395bf5;for(let _0x6980f1 of _0x37be35){_0x6980f1[_0x147b7a(0xd7)]&&this[_0x147b7a(0xae)]();}}),this[_0x395bf5(0xeb)][_0x395bf5(0xe0)](this[_0x395bf5(0xe1)])),this[_0x395bf5(0xa3)][_0x395bf5(0xb7)][_0x395bf5(0xff)](()=>{const _0x3aa2a7=_0x395bf5;this[_0x3aa2a7(0xcc)]&&(this['postProcessManager'][_0x3aa2a7(0xba)](this[_0x3aa2a7(0xa3)]['camera']),this['postProcessManager'][_0x3aa2a7(0xda)]());});}[_0x61cb66(0xd6)](_0x1928d7){const _0x59d115=_0x61cb66;var _0x89e497;const _0x5e855c=this[_0x59d115(0xe1)];this['_renderer']&&(_0x5e855c&&_0x5e855c[_0x59d115(0xa8)](this[_0x59d115(0x95)][_0x59d115(0x107)]),this[_0x59d115(0x95)]['dispose']());let _0x5e896f=_0x5e855c?_0x5e855c[_0x59d115(0xc6)]:0x200,_0x4d77b9=_0x5e855c?_0x5e855c['clientHeight']:0x200,_0x554e02={};_0x554e02[_0x59d115(0xc1)]=_0x1928d7['forceWebGL'],_0x554e02[_0x59d115(0xdb)]=_0x1928d7[_0x59d115(0xdb)],_0x554e02['depth']=_0x1928d7[_0x59d115(0xe7)],_0x554e02[_0x59d115(0xec)]=_0x1928d7[_0x59d115(0xec)],_0x554e02['alpha']=!![],_0x554e02[_0x59d115(0xe2)]=_0x1928d7[_0x59d115(0xe2)],_0x554e02[_0x59d115(0xd5)]=_0x1928d7['samples'],_0x554e02['outputBufferType']=_0x1928d7[_0x59d115(0xf4)],this[_0x59d115(0x95)]=new webgpu.WebGPURenderer(_0x554e02),this[_0x59d115(0x95)]['setPixelRatio'](window[_0x59d115(0xf7)]),this[_0x59d115(0x95)][_0x59d115(0xef)](_0x5e896f,_0x4d77b9),this[_0x59d115(0x95)][_0x59d115(0xab)][_0x59d115(0xe5)]=_0x1928d7[_0x59d115(0x102)],this[_0x59d115(0x95)]['shadowMap'][_0x59d115(0xaf)]=(_0x89e497=_0x1928d7['shadowMapType'])!==null&&_0x89e497!==void 0?_0x89e497:0x1,this[_0x59d115(0x95)][_0x59d115(0xe6)]=_0x1928d7[_0x59d115(0xe6)],this['_renderer'][_0x59d115(0xfd)]=_0x1928d7['toneMappingExposure'],this['_renderer'][_0x59d115(0x9e)](0x0),this['_renderer'][_0x59d115(0x107)]['style']['position']=_0x59d115(0xdc),this[_0x59d115(0x95)][_0x59d115(0x107)]['style'][_0x59d115(0x103)]='0',this['_renderer'][_0x59d115(0x107)][_0x59d115(0x97)][_0x59d115(0x98)]='0',this['_renderer']['domElement'][_0x59d115(0x97)][_0x59d115(0xfc)]='20',this['_renderer']['domElement'][_0x59d115(0x97)][_0x59d115(0xe4)]=_0x59d115(0xbe),this[_0x59d115(0x95)][_0x59d115(0x107)][_0x59d115(0x97)]['pointerEvents']=_0x59d115(0xb8),_0x5e855c&&_0x5e855c['appendChild'](this[_0x59d115(0x95)][_0x59d115(0x107)]);}[_0x61cb66(0xb0)](){const _0x4b600a=_0x61cb66,_0x42054c=this[_0x4b600a(0xe1)];this[_0x4b600a(0xed)]&&(_0x42054c&&_0x42054c[_0x4b600a(0xa8)](this['labelRenderer'][_0x4b600a(0x107)]));let _0x1b9ed0=_0x42054c?_0x42054c[_0x4b600a(0xc6)]:0x200,_0x5f0cfd=_0x42054c?_0x42054c[_0x4b600a(0x9b)]:0x200;this[_0x4b600a(0xed)]=new Addons_js.CSS2DRenderer(),this['labelRenderer'][_0x4b600a(0xef)](_0x1b9ed0,_0x5f0cfd),this[_0x4b600a(0xed)]['domElement']['style'][_0x4b600a(0xd2)]=_0x4b600a(0xb8),this['labelRenderer'][_0x4b600a(0x107)][_0x4b600a(0x97)][_0x4b600a(0xf0)]=_0x4b600a(0xdc),this[_0x4b600a(0xed)][_0x4b600a(0x107)]['style'][_0x4b600a(0x98)]=_0x4b600a(0xc4),this[_0x4b600a(0xed)][_0x4b600a(0x107)][_0x4b600a(0xd0)]='scene-labelRenderer',this[_0x4b600a(0xed)][_0x4b600a(0x107)][_0x4b600a(0x97)]['zIndex']='30',_0x42054c&&_0x42054c[_0x4b600a(0xb6)](this[_0x4b600a(0xed)][_0x4b600a(0x107)]);}[_0x61cb66(0xc7)](){const _0x2faa4e=_0x61cb66,_0x167387=this[_0x2faa4e(0xe1)];this[_0x2faa4e(0x96)]&&(_0x167387&&_0x167387[_0x2faa4e(0xa8)](this['css3dRenderer'][_0x2faa4e(0x107)]));let _0x394f30=_0x167387?_0x167387[_0x2faa4e(0xc6)]:0x200,_0x37303d=_0x167387?_0x167387[_0x2faa4e(0x9b)]:0x200;this[_0x2faa4e(0x96)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer'][_0x2faa4e(0xef)](_0x394f30,_0x37303d),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)]['style'][_0x2faa4e(0xd2)]='none',this[_0x2faa4e(0x96)]['domElement'][_0x2faa4e(0x97)]['position']=_0x2faa4e(0xdc),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0x103)]=_0x2faa4e(0xc4),this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0x98)]='0px',this[_0x2faa4e(0x96)][_0x2faa4e(0x107)][_0x2faa4e(0x97)][_0x2faa4e(0xfc)]='0',this[_0x2faa4e(0x96)][_0x2faa4e(0x107)]['className']=_0x2faa4e(0xea),_0x167387&&_0x167387[_0x2faa4e(0xb4)](this['css3dRenderer'][_0x2faa4e(0x107)],_0x167387[_0x2faa4e(0xc2)]);}['createUILayer'](){const _0xe2a239=_0x61cb66;if(!this['_outerContainer'])return;let _0x4720b8=this[_0xe2a239(0xe1)]['querySelector']('.scene-uiLayer');!_0x4720b8&&(_0x4720b8=document['createElement'](_0xe2a239(0x9f)),_0x4720b8[_0xe2a239(0xd0)]=_0xe2a239(0xbd),_0x4720b8['id']=_0xe2a239(0xbd),_0x4720b8[_0xe2a239(0x97)]['position']=_0xe2a239(0xdc),_0x4720b8['style'][_0xe2a239(0x103)]='0',_0x4720b8[_0xe2a239(0x97)]['top']='0',_0x4720b8['style'][_0xe2a239(0xaa)]=_0xe2a239(0xa4),_0x4720b8[_0xe2a239(0x97)][_0xe2a239(0x9c)]=_0xe2a239(0xa4),_0x4720b8[_0xe2a239(0x97)][_0xe2a239(0xd2)]=_0xe2a239(0xb8),_0x4720b8['style'][_0xe2a239(0xfc)]='10',this[_0xe2a239(0xe1)][_0xe2a239(0xb6)](_0x4720b8),this[_0xe2a239(0xe9)]=_0x4720b8);}[_0x61cb66(0xb2)](){const _0x5cdf03=_0x61cb66;this[_0x5cdf03(0xbb)]();}[_0x61cb66(0xbb)](){const _0x135745=_0x61cb66;!this[_0x135745(0xcc)]&&(this['postProcessManager']=this[_0x135745(0xf5)]()),this[_0x135745(0xcc)][_0x135745(0xda)]();}[_0x61cb66(0xf5)](){const _0x1bc2e1=_0x61cb66;return new PostProcessManager(this['renderer'],this[_0x1bc2e1(0xa3)]['world'][_0x1bc2e1(0xfe)],this['app']['camera'],this[_0x1bc2e1(0xb1)],()=>this[_0x1bc2e1(0xb5)]());}['updatePostProcess'](_0xc8b74f){const _0x1c887=_0x61cb66;this[_0x1c887(0xcc)]&&this['postProcessManager'][_0x1c887(0xf9)](_0xc8b74f);}[_0x61cb66(0xf2)](_0x1f8e80){const _0xebeda6=_0x61cb66;this['createRenderer'](_0x1f8e80),this[_0xebeda6(0xb5)]();}[_0x61cb66(0xd8)](_0x20f464){this['postProcessManager']&&this['postProcessManager']['addOutlineObject'](_0x20f464);}[_0x61cb66(0xca)](_0x24f3dc){const _0x28dca7=_0x61cb66;this['postProcessManager']&&this[_0x28dca7(0xcc)]['setOutlineObjects'](_0x24f3dc);}[_0x61cb66(0xa9)](_0xc90e41){const _0x27bedb=_0x61cb66;this['postProcessManager']&&this['postProcessManager'][_0x27bedb(0xa9)](_0xc90e41);}[_0x61cb66(0xcf)](){const _0x22dd03=_0x61cb66;this['postProcessManager']&&(this['postProcessManager']['destroy'](),this[_0x22dd03(0xcc)]=null);}[_0x61cb66(0xae)](){const _0x424fc7=_0x61cb66;let _0x4aff36=this['_outerContainer'];if(!_0x4aff36)return;this[_0x424fc7(0xa3)][_0x424fc7(0xae)](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]),this[_0x424fc7(0xc5)][_0x424fc7(0xef)](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]);if(this[_0x424fc7(0xed)])this[_0x424fc7(0xed)][_0x424fc7(0xef)](_0x4aff36['clientWidth'],_0x4aff36[_0x424fc7(0x9b)]);if(this[_0x424fc7(0x96)])this[_0x424fc7(0x96)]['setSize'](_0x4aff36[_0x424fc7(0xc6)],_0x4aff36[_0x424fc7(0x9b)]);this[_0x424fc7(0xb5)]();}[_0x61cb66(0xb5)](){const _0x350343=_0x61cb66;this[_0x350343(0xad)]=!![];}[_0x61cb66(0xfb)](){const _0x5f121f=_0x61cb66;if(!this['isRenderStateDirty'])return;if(this[_0x5f121f(0xcc)]&&this[_0x5f121f(0xcc)]['render']());else this[_0x5f121f(0xc5)][_0x5f121f(0xfb)](this[_0x5f121f(0xa3)][_0x5f121f(0xc0)][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]);this['onAfterPostProcessRender'](),this[_0x5f121f(0xed)]&&this['labelRenderer']['render'](this[_0x5f121f(0xa3)][_0x5f121f(0xc0)][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]),this['css3dRenderer']&&this[_0x5f121f(0x96)][_0x5f121f(0xfb)](this[_0x5f121f(0xa3)]['world'][_0x5f121f(0xfe)],this[_0x5f121f(0xa3)][_0x5f121f(0xb3)]),this[_0x5f121f(0xad)]=![];}[_0x61cb66(0xc3)](){}async[_0x61cb66(0xcb)](_0x21a564=0x400,_0x54953c=0x400){const _0x2901ee=_0x61cb66;try{if(this[_0x2901ee(0xcc)]&&this[_0x2901ee(0xcc)][_0x2901ee(0xfb)]()){}else await this[_0x2901ee(0xc5)][_0x2901ee(0xfb)](this[_0x2901ee(0xa3)][_0x2901ee(0xc0)][_0x2901ee(0xfe)],this[_0x2901ee(0xa3)][_0x2901ee(0xb3)]);const _0x482fab=this['renderer'][_0x2901ee(0x107)][_0x2901ee(0xaa)],_0x128744=this['renderer'][_0x2901ee(0x107)][_0x2901ee(0x9c)];let _0x150db5=_0x482fab||_0x21a564,_0x482bb2=_0x128744||_0x54953c;(_0x150db5<=0x0||_0x482bb2<=0x0)&&(_0x150db5=_0x21a564,_0x482bb2=_0x54953c);const _0x50477b=document[_0x2901ee(0xc8)](_0x2901ee(0x101));_0x50477b[_0x2901ee(0xaa)]=_0x21a564,_0x50477b[_0x2901ee(0x9c)]=_0x54953c;const _0x4d4785=_0x50477b[_0x2901ee(0xd1)]('2d');if(!_0x4d4785)throw Error(_0x2901ee(0xa7));_0x4d4785[_0x2901ee(0xce)](this['renderer'][_0x2901ee(0x107)],0x0,0x0,_0x150db5,_0x482bb2,0x0,0x0,_0x21a564,_0x54953c);const _0x315d5d=_0x50477b[_0x2901ee(0xf6)](_0x2901ee(0xf8));return _0x50477b['remove'](),_0x315d5d;}catch(_0x3f481f){return '';}}[_0x61cb66(0xb9)](_0x18a533){const _0x234e21=_0x61cb66;if(!this['_renderer'])return;this[_0x234e21(0x95)]['alpha']=_0x18a533;}[_0x61cb66(0xee)](_0xebb26c){const _0x28f1f6=_0x61cb66;if(!this[_0x28f1f6(0x95)])return;this[_0x28f1f6(0x95)]['shadowMap'][_0x28f1f6(0xe5)]=_0xebb26c;}['setShadowMapType'](_0x14f880){const _0x46506b=_0x61cb66;if(!this[_0x46506b(0x95)])return;this[_0x46506b(0x95)][_0x46506b(0xab)][_0x46506b(0xaf)]=_0x14f880;}[_0x61cb66(0xbc)](_0x564edc){const _0x358a40=_0x61cb66;if(!this[_0x358a40(0x95)])return;this[_0x358a40(0x95)]['toneMapping']=_0x564edc;}[_0x61cb66(0xf3)](_0x154117){const _0x26206a=_0x61cb66;if(!this[_0x26206a(0x95)])return;this['_renderer']['toneMappingExposure']=_0x154117;}[_0x61cb66(0x99)](_0x5ef49d){const _0xc3c888=_0x61cb66;if(!this[_0xc3c888(0x95)])return;this[_0xc3c888(0x95)][_0xc3c888(0xe7)]=_0x5ef49d;}[_0x61cb66(0x9d)](_0x36f486){const _0x765df9=_0x61cb66;if(!this['_renderer'])return;this[_0x765df9(0x95)][_0x765df9(0xec)]=_0x36f486;}[_0x61cb66(0xa6)](){const _0x1f3340=_0x61cb66;this[_0x1f3340(0xcf)](),this[_0x1f3340(0xc5)][_0x1f3340(0x104)](null),this[_0x1f3340(0xeb)]&&(this[_0x1f3340(0xeb)][_0x1f3340(0x9a)](),this['resizeObserver']=null),this[_0x1f3340(0xed)]&&(this['labelRenderer'][_0x1f3340(0x107)][_0x1f3340(0xcd)](),this['labelRenderer']=null),this[_0x1f3340(0x95)]&&(this[_0x1f3340(0xc5)][_0x1f3340(0x107)][_0x1f3340(0xcd)](),this[_0x1f3340(0x95)][_0x1f3340(0xa0)](),this[_0x1f3340(0x95)]=null),this['_canvasContainer']&&(this[_0x1f3340(0xa1)][_0x1f3340(0xcd)](),this['_canvasContainer']=null),this[_0x1f3340(0xe1)]=null,this['_app']=null;}}
|
|
50
70
|
|
|
51
|
-
(function(_0x11469d,_0x56280d){const _0x4fa656=_0xd480,_0x273c7f=_0x11469d();while(!![]){try{const _0x30bf49=parseInt(_0x4fa656(0x1cd))/0x1+-parseInt(_0x4fa656(0x1d3))/0x2+-parseInt(_0x4fa656(0x1c8))/0x3+parseInt(_0x4fa656(0x1d1))/0x4+-parseInt(_0x4fa656(0x1ce))/0x5*(parseInt(_0x4fa656(0x1d6))/0x6)+parseInt(_0x4fa656(0x1d0))/0x7*(parseInt(_0x4fa656(0x1d4))/0x8)+parseInt(_0x4fa656(0x1d5))/0x9;if(_0x30bf49===_0x56280d)break;else _0x273c7f['push'](_0x273c7f['shift']());}catch(_0x101377){_0x273c7f['push'](_0x273c7f['shift']());}}}(_0x498f,0xa61e7));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;function _0x498f(){const _0x41ed2a=['Outline','266QaHokK','2665032AxnSKV','DepthOfField','1185014VIpxxh','262376qyodsC','10407159qLcOyt','5824290BKNRni','GroundTruthAmbientOcclusion','2876805CxnZdl','LensFlare','ScreenSpaceReflection','Antialiasing','Bloom','133685aHIAyS','5BchsYX'];_0x498f=function(){return _0x41ed2a;};return _0x498f();}function _0xd480(_0x12c596,_0x14f531){_0x12c596=_0x12c596-0x1c8;const _0x498f6a=_0x498f();let _0xd480be=_0x498f6a[_0x12c596];return _0xd480be;}(function(_0x9aec83){const _0x41797d=_0xd480;_0x9aec83[_0x9aec83[_0x41797d(0x1cc)]=0x0]='Bloom',_0x9aec83[_0x9aec83[_0x41797d(0x1d2)]=0x1]='DepthOfField',_0x9aec83[_0x9aec83[_0x41797d(0x1ca)]=0x2]=_0x41797d(0x1ca),_0x9aec83[_0x9aec83[_0x41797d(0x1d7)]=0x3]=_0x41797d(0x1d7),_0x9aec83[_0x9aec83[_0x41797d(0x1cf)]=0x4]=_0x41797d(0x1cf),_0x9aec83[_0x9aec83[_0x41797d(0x1cb)]=0x5]=_0x41797d(0x1cb),_0x9aec83[_0x9aec83['LensFlare']=0x6]=_0x41797d(0x1c9);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
71
|
+
function _0x23b8$1(){const _0x55f207=['3895129TaEpme','getWorldRightDirection','markRenderStateDirty','worldToLocal','removeComponent','getPosition','name','onClickDelegate','min','attachComponent','app','tick','5bNjdgi','forEach','clearComponent','onHoverEndDelegate','rootComponent\x20is\x20invalid','userData','setRotation','23CeVihA','uuid','_world','children','broadcast','onActorHoverBegin','detachFromParentComponent','17079804BEIuRY','setScale','childrenComponents','isClickEnabled','localToWorld','length','constructRootComponent','removeTickableActor','getScale','_onHoverBeginDelegate','rootComponent','getWorldMatrix','addComponent','setWorldMatrix','getWorldUpDirection','parentActor','push','getCenter','_name','delete','getRotation','setQuaternion','destroy','setVisible','KeepWorld','getBoundsCenterPosition','getQuaternion','setLayers','63340qNAfLQ','onAddedToWorld','parent','onActorDoubleClick','addChildActor','removeChildComponent','2773179XwiFds','removeChildActor','_onHoverEndDelegate','2155600obkvkz','error','isHoverEnabled','getWorldRotation','getBoundsTopCenterPosition','onDoubleClickDelegate','setPosition','getWorldPosition','getChildActorsByIds','Actor','size','_onClickDelegate','addChildComponent','_rootComponent','isTickEnabled','678512reugOt','LYObject','getWorldScale','isVisible','detachComponent','_onDoubleClickDelegate','world','getChildActorById','onHoverBeginDelegate','getBounds','onActorClick','662994cgQwQG','KeepRelative','onRemovedFromWorld','sub','childActors','getComponentById'];_0x23b8$1=function(){return _0x55f207;};return _0x23b8$1();}const _0x165e2a=_0x1ae4;(function(_0x364ef9,_0x52283f){const _0x5433c6=_0x1ae4,_0x291bd7=_0x364ef9();while(!![]){try{const _0x280e76=parseInt(_0x5433c6(0x206))/0x1*(parseInt(_0x5433c6(0x229))/0x2)+-parseInt(_0x5433c6(0x22f))/0x3+-parseInt(_0x5433c6(0x232))/0x4*(parseInt(_0x5433c6(0x1ff))/0x5)+-parseInt(_0x5433c6(0x1ed))/0x6+-parseInt(_0x5433c6(0x1f3))/0x7+parseInt(_0x5433c6(0x1e2))/0x8+parseInt(_0x5433c6(0x20d))/0x9;if(_0x280e76===_0x52283f)break;else _0x291bd7['push'](_0x291bd7['shift']());}catch(_0x56c069){_0x291bd7['push'](_0x291bd7['shift']());}}}(_0x23b8$1,0x8dc85));function _0x1ae4(_0x267f0c,_0x318d70){_0x267f0c=_0x267f0c-0x1d5;const _0x23b8cf=_0x23b8$1();let _0x1ae437=_0x23b8cf[_0x267f0c];return _0x1ae437;}class Actor extends BaseObject{get[_0x165e2a(0x1e8)](){const _0x54477b=_0x165e2a;return this[_0x54477b(0x208)];}get[_0x165e2a(0x1f9)](){const _0x466126=_0x165e2a;return this[_0x466126(0x21f)];}set[_0x165e2a(0x1f9)](_0x260103){const _0x24645b=_0x165e2a;this[_0x24645b(0x21f)]=_0x260103;}get[_0x165e2a(0x217)](){const _0x54d5e9=_0x165e2a;if(!this[_0x54d5e9(0x1e0)])throw Error(_0x54d5e9(0x203));return this[_0x54d5e9(0x1e0)];}set[_0x165e2a(0x217)](_0x305a99){const _0x53642f=_0x165e2a;_0x305a99[_0x53642f(0x20c)](),_0x305a99[_0x53642f(0x21c)]=this;if(this[_0x53642f(0x1e0)]){let _0x34cacc=this[_0x53642f(0x217)][_0x53642f(0x20f)];for(let _0x588af7=0x0;_0x588af7<_0x34cacc[_0x53642f(0x212)];++_0x588af7){_0x305a99[_0x53642f(0x1df)](_0x34cacc[_0x588af7]);}this['rootComponent'][_0x53642f(0x223)]();}this[_0x53642f(0x1e0)]=_0x305a99;}get[_0x165e2a(0x20f)](){const _0x37c3cf=_0x165e2a;return this['rootComponent'][_0x37c3cf(0x20f)];}get['childActors'](){const _0xfdc78f=_0x165e2a;var _0x3aa2ef;let _0x5ed12b=[];return (_0x3aa2ef=this[_0xfdc78f(0x217)]['threeObject'])===null||_0x3aa2ef===void 0?void 0:_0x3aa2ef[_0xfdc78f(0x209)][_0xfdc78f(0x200)](_0x43a5f6=>{const _0x33cb71=_0xfdc78f;var _0x508a8c;let _0x20c4c8=(_0x508a8c=_0x43a5f6[_0x33cb71(0x204)][_0x33cb71(0x1e3)])===null||_0x508a8c===void 0?void 0:_0x508a8c[_0x33cb71(0x21c)];_0x20c4c8!==this&&_0x20c4c8 instanceof Actor&&_0x5ed12b['push'](_0x20c4c8);}),_0x5ed12b;}get[_0x165e2a(0x21c)](){const _0xabdfaa=_0x165e2a;var _0x5f47ac,_0x276e73;let _0x1cd350=(_0x276e73=(_0x5f47ac=this[_0xabdfaa(0x217)]['threeObject'])===null||_0x5f47ac===void 0?void 0:_0x5f47ac[_0xabdfaa(0x22b)])===null||_0x276e73===void 0?void 0:_0x276e73[_0xabdfaa(0x204)][_0xabdfaa(0x1e3)][_0xabdfaa(0x21c)];return _0x1cd350===this?null:_0x1cd350;}get[_0x165e2a(0x1e5)](){const _0x58ce58=_0x165e2a;return this['rootComponent']?this[_0x58ce58(0x217)][_0x58ce58(0x1e5)]:![];}get['isTickEnabled'](){const _0x1feaf2=_0x165e2a;return super[_0x1feaf2(0x1e1)];}set['isTickEnabled'](_0x38f50c){const _0x49aaaf=_0x165e2a;super[_0x49aaaf(0x1e1)]=_0x38f50c,this[_0x49aaaf(0x1e1)]?this[_0x49aaaf(0x1fd)][_0x49aaaf(0x1e8)]['addTickableActor'](this):this[_0x49aaaf(0x1fd)][_0x49aaaf(0x1e8)][_0x49aaaf(0x214)](this);}get[_0x165e2a(0x1ea)](){const _0x5d8cf9=_0x165e2a;return this[_0x5d8cf9(0x216)];}get[_0x165e2a(0x202)](){const _0x12e646=_0x165e2a;return this[_0x12e646(0x231)];}get[_0x165e2a(0x1fa)](){const _0x3c42f1=_0x165e2a;return this[_0x3c42f1(0x1de)];}get[_0x165e2a(0x1d8)](){const _0x301404=_0x165e2a;return this[_0x301404(0x1e7)];}constructor(_0x59a7ff,_0x25ef29){const _0x112940=_0x165e2a;super(_0x25ef29),this[_0x112940(0x21f)]=_0x112940(0x1dc),this['_rootComponent']=null,this[_0x112940(0x208)]=null,this[_0x112940(0x216)]=new Delegate(),this[_0x112940(0x231)]=new Delegate(),this[_0x112940(0x1de)]=new Delegate(),this[_0x112940(0x1e7)]=new Delegate(),this[_0x112940(0x1fd)]=_0x59a7ff,this[_0x112940(0x217)]=this[_0x112940(0x213)](),this[_0x112940(0x217)][_0x112940(0x21c)]=this;}[_0x165e2a(0x213)](){const _0x4a0ef3=_0x165e2a;return new SceneComponent(this[_0x4a0ef3(0x1fd)]);}[_0x165e2a(0x226)](_0x1f6424=!![]){const _0x4de5df=_0x165e2a;let _0x59f720=new webgpu.Vector3();return this['getBounds']()['getCenter'](_0x59f720),!_0x1f6424?_0x59f720['sub'](this[_0x4de5df(0x1f8)]()):_0x59f720;}[_0x165e2a(0x1e9)](_0x404df4,_0x48fd56=!![]){const _0x243bef=_0x165e2a,_0x2b6a5d=this[_0x243bef(0x1f1)];for(const _0x4d60ad of _0x2b6a5d){if(_0x4d60ad[_0x243bef(0x207)]===_0x404df4)return _0x4d60ad;}if(_0x48fd56)for(const _0x4275ab of _0x2b6a5d){const _0x5f5243=_0x4275ab[_0x243bef(0x1e9)](_0x404df4,!![]);if(_0x5f5243)return _0x5f5243;}return null;}[_0x165e2a(0x1db)](_0x14d745,_0x407e4c=!![]){const _0x56f874=_0x165e2a,_0x139e55=[],_0x32be3d=new Set(_0x14d745),_0x44631d=this[_0x56f874(0x1f1)];for(const _0x3fd78b of _0x44631d){_0x32be3d['has'](_0x3fd78b[_0x56f874(0x207)])&&(_0x139e55[_0x56f874(0x21d)](_0x3fd78b),_0x32be3d[_0x56f874(0x220)](_0x3fd78b['uuid']));}if(_0x407e4c&&_0x32be3d[_0x56f874(0x1dd)]>0x0)for(const _0xcb8a89 of _0x44631d){const _0x26dc86=_0xcb8a89[_0x56f874(0x1db)]([..._0x32be3d],!![]);for(const _0xb23b7c of _0x26dc86){_0x139e55[_0x56f874(0x21d)](_0xb23b7c),_0x32be3d[_0x56f874(0x220)](_0xb23b7c[_0x56f874(0x207)]);}if(_0x32be3d[_0x56f874(0x1dd)]===0x0)break;}return _0x139e55;}[_0x165e2a(0x1f2)](_0x47c460){const _0x2785a7=_0x165e2a;return this[_0x2785a7(0x217)][_0x2785a7(0x1f2)](_0x47c460);}[_0x165e2a(0x1d7)](_0x3fd02c=!![]){const _0x56d953=_0x165e2a;let _0x4b5e50=new webgpu.Vector3(),_0x1bcfa9=this[_0x56d953(0x217)][_0x56d953(0x1eb)]();return _0x1bcfa9[_0x56d953(0x21e)](_0x4b5e50),_0x4b5e50['y']=_0x1bcfa9['max']['y'],!_0x3fd02c?_0x4b5e50[_0x56d953(0x1f0)](this[_0x56d953(0x1f8)]()):_0x4b5e50;}['getBoundsBottomCenterPosition'](_0x59c218=!![]){const _0x51fe9b=_0x165e2a;let _0x581468=new webgpu.Vector3(),_0x320dd7=this[_0x51fe9b(0x1eb)]();return _0x320dd7['getCenter'](_0x581468),_0x581468['y']=_0x320dd7[_0x51fe9b(0x1fb)]['y'],!_0x59c218?_0x581468[_0x51fe9b(0x1f0)](this[_0x51fe9b(0x1f8)]()):_0x581468;}[_0x165e2a(0x1eb)](){const _0xc3011f=_0x165e2a;return this[_0xc3011f(0x217)][_0xc3011f(0x1eb)]();}[_0x165e2a(0x223)](){const _0x1db1f9=_0x165e2a;let _0x537262=this['childActors'];_0x537262[_0x1db1f9(0x200)](_0xc88f87=>{const _0x1c3671=_0x1db1f9;_0xc88f87[_0x1c3671(0x223)]();}),this[_0x1db1f9(0x217)][_0x1db1f9(0x223)]();}[_0x165e2a(0x224)](_0x45ffc9){const _0x4a793c=_0x165e2a;this[_0x4a793c(0x217)][_0x4a793c(0x224)](_0x45ffc9);}[_0x165e2a(0x228)](_0x2de4bb,_0x23461a=!![]){const _0x49cf60=_0x165e2a;this['rootComponent'][_0x49cf60(0x228)](_0x2de4bb),_0x23461a&&this['childActors']['forEach'](_0x16d237=>{_0x16d237['setLayers'](_0x2de4bb,_0x23461a);});}[_0x165e2a(0x1fe)](_0x275b10){const _0x5d3707=_0x165e2a;if(!this[_0x5d3707(0x1e1)])return;super[_0x5d3707(0x1fe)](_0x275b10),this[_0x5d3707(0x217)][_0x5d3707(0x1fe)](_0x275b10);}[_0x165e2a(0x1f8)](){const _0x4732e0=_0x165e2a;return this[_0x4732e0(0x217)][_0x4732e0(0x1f8)]();}[_0x165e2a(0x1d9)](..._0x3da8e0){const _0x50f802=_0x165e2a;_0x3da8e0[_0x50f802(0x212)]===0x1?this[_0x50f802(0x217)][_0x50f802(0x1d9)](_0x3da8e0[0x0]):this[_0x50f802(0x217)][_0x50f802(0x1d9)](_0x3da8e0[0x0],_0x3da8e0[0x1],_0x3da8e0[0x2]);}[_0x165e2a(0x221)](){const _0x18fe76=_0x165e2a;return this[_0x18fe76(0x217)]['getRotation']();}[_0x165e2a(0x205)](..._0x229113){const _0x2c646c=_0x165e2a;_0x229113[_0x2c646c(0x212)]===0x1?this[_0x2c646c(0x217)]['setRotation'](_0x229113[0x0]):this[_0x2c646c(0x217)][_0x2c646c(0x205)](_0x229113[0x0],_0x229113[0x1],_0x229113[0x2]);}[_0x165e2a(0x227)](){const _0x47a316=_0x165e2a;return this[_0x47a316(0x217)][_0x47a316(0x227)]();}[_0x165e2a(0x222)](..._0x4e6c5c){const _0x37c956=_0x165e2a;_0x4e6c5c['length']===0x1?this['rootComponent'][_0x37c956(0x222)](_0x4e6c5c[0x0]):this[_0x37c956(0x217)][_0x37c956(0x222)](_0x4e6c5c[0x0],_0x4e6c5c[0x1],_0x4e6c5c[0x2],_0x4e6c5c[0x3]);}[_0x165e2a(0x215)](){const _0xa99f6f=_0x165e2a;return this[_0xa99f6f(0x217)]['getScale']();}[_0x165e2a(0x20e)](..._0x4e3bc0){const _0x8fa9cd=_0x165e2a;_0x4e3bc0[_0x8fa9cd(0x212)]===0x1?this[_0x8fa9cd(0x217)]['setScale'](_0x4e3bc0[0x0]):this[_0x8fa9cd(0x217)]['setScale'](_0x4e3bc0[0x0],_0x4e3bc0[0x1],_0x4e3bc0[0x2]);}[_0x165e2a(0x218)](){return this['rootComponent']['getWorldMatrix']();}[_0x165e2a(0x21a)](_0x3e4e11){const _0x220d3b=_0x165e2a;this[_0x220d3b(0x217)][_0x220d3b(0x21a)](_0x3e4e11);}[_0x165e2a(0x1da)](){const _0x224347=_0x165e2a;return this[_0x224347(0x217)][_0x224347(0x1da)]();}[_0x165e2a(0x1d6)](){const _0x352c91=_0x165e2a;return this['rootComponent'][_0x352c91(0x1d6)]();}['getWorldQuaternion'](){return this['rootComponent']['getWorldQuaternion']();}[_0x165e2a(0x1e4)](){const _0x22e46e=_0x165e2a;return this['rootComponent'][_0x22e46e(0x1e4)]();}['getWorldForwardDirection'](){const _0xfa3629=_0x165e2a;return this[_0xfa3629(0x217)]['getWorldForwardDirection']();}[_0x165e2a(0x21b)](){const _0x183f05=_0x165e2a;return this['rootComponent'][_0x183f05(0x21b)]();}[_0x165e2a(0x1f4)](){const _0x2036ad=_0x165e2a;return this['rootComponent'][_0x2036ad(0x1f4)]();}['addLocalOffset'](_0x56ceb9,_0x55b7ac){const _0x1fc4b6=_0x165e2a;let _0x954a7=this[_0x1fc4b6(0x1f8)]();this[_0x1fc4b6(0x1d9)](_0x954a7['x']+_0x56ceb9['x']*_0x55b7ac,_0x954a7['y']+_0x56ceb9['y']*_0x55b7ac,_0x954a7['z']+_0x56ceb9['z']*_0x55b7ac);}[_0x165e2a(0x1f6)](_0x55471e){const _0x25a9e1=_0x165e2a;return this[_0x25a9e1(0x217)][_0x25a9e1(0x1f6)](_0x55471e);}[_0x165e2a(0x211)](_0x2acadd){const _0x5da6bd=_0x165e2a;return this[_0x5da6bd(0x217)][_0x5da6bd(0x211)](_0x2acadd);}['getComponents'](){return this['rootComponent']['childrenComponents'];}[_0x165e2a(0x219)](_0x3fe5ab,_0xdfb5fc=exports.AttachmentRules[_0x165e2a(0x1ee)]){const _0x1c0b69=_0x165e2a;this[_0x1c0b69(0x217)][_0x1c0b69(0x1df)](_0x3fe5ab,_0xdfb5fc),this['_world']&&_0x3fe5ab[_0x1c0b69(0x22a)](this[_0x1c0b69(0x208)]);}[_0x165e2a(0x1f7)](_0x35067b){const _0x2db6b4=_0x165e2a;if(_0x35067b===this[_0x2db6b4(0x1e0)])return;this[_0x2db6b4(0x217)][_0x2db6b4(0x22e)](_0x35067b);}[_0x165e2a(0x201)](){const _0x4ce79c=_0x165e2a;this[_0x4ce79c(0x217)]['destroyChildren']();}[_0x165e2a(0x22d)](_0x5053db,_0x2328e7=exports.AttachmentRules[_0x165e2a(0x225)]){const _0x3dd6d1=_0x165e2a;if(!_0x5053db['rootComponent']){console[_0x3dd6d1(0x233)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x5053db[_0x3dd6d1(0x21c)]===this)return;_0x2328e7===exports.AttachmentRules[_0x3dd6d1(0x1ee)]&&this[_0x3dd6d1(0x217)][_0x3dd6d1(0x1fc)](_0x5053db[_0x3dd6d1(0x217)]);if(_0x2328e7===exports.AttachmentRules['KeepWorld']){let _0x3efaac=_0x5053db[_0x3dd6d1(0x218)]();this[_0x3dd6d1(0x217)]['attachComponent'](_0x5053db[_0x3dd6d1(0x217)]),_0x5053db[_0x3dd6d1(0x21a)](_0x3efaac);}this['_world']&&this[_0x3dd6d1(0x208)]['viewport'][_0x3dd6d1(0x1f5)]();}['removeChildActor'](_0x481633){const _0x3d1bc6=_0x165e2a;let _0x440339=_0x481633[_0x3d1bc6(0x218)]();this[_0x3d1bc6(0x217)][_0x3d1bc6(0x1e6)](_0x481633[_0x3d1bc6(0x217)]),_0x481633[_0x3d1bc6(0x21a)](_0x440339);}['removeFromParent'](){const _0x4c8505=_0x165e2a;this[_0x4c8505(0x21c)]&&this[_0x4c8505(0x21c)][_0x4c8505(0x230)](this);}[_0x165e2a(0x22a)](_0x4a3bb4){const _0x595d0c=_0x165e2a;this[_0x595d0c(0x208)]=_0x4a3bb4,this[_0x595d0c(0x217)][_0x595d0c(0x22a)](this[_0x595d0c(0x208)]),this[_0x595d0c(0x1f1)][_0x595d0c(0x200)](_0xe84551=>{_0xe84551['onAddedToWorld'](_0x4a3bb4);});}[_0x165e2a(0x1ef)](){const _0x266844=_0x165e2a;this[_0x266844(0x208)]=null;}get[_0x165e2a(0x1d5)](){const _0x362785=_0x165e2a;return this['rootComponent'][_0x362785(0x1d5)];}set[_0x165e2a(0x1d5)](_0x4b17a2){const _0x3ae7f6=_0x165e2a;this['rootComponent'][_0x3ae7f6(0x1d5)]=_0x4b17a2;}get[_0x165e2a(0x210)](){const _0x419dde=_0x165e2a;return this[_0x419dde(0x217)][_0x419dde(0x210)];}set[_0x165e2a(0x210)](_0x1b88cf){const _0x1354b8=_0x165e2a;this['rootComponent'][_0x1354b8(0x210)]=_0x1b88cf;}[_0x165e2a(0x20b)](_0x50c9e5){const _0x4de79a=_0x165e2a;this[_0x4de79a(0x216)][_0x4de79a(0x20a)](_0x50c9e5);}['onActorHoverEnd'](_0x48196a){const _0x395dcc=_0x165e2a;this[_0x395dcc(0x231)][_0x395dcc(0x20a)](_0x48196a);}[_0x165e2a(0x1ec)](_0x2d0538){const _0xed05a1=_0x165e2a;this[_0xed05a1(0x1de)]['broadcast'](_0x2d0538);}[_0x165e2a(0x22c)](_0x54bf22){const _0x1496c2=_0x165e2a;this[_0x1496c2(0x1e7)]['broadcast'](_0x54bf22);}}
|
|
52
72
|
|
|
53
|
-
|
|
73
|
+
var _0x110b3e=_0xa6d6;(function(_0xbe5156,_0x4f90eb){var _0xf549d=_0xa6d6,_0x36c01f=_0xbe5156();while(!![]){try{var _0xf8c68b=-parseInt(_0xf549d(0x119))/0x1+parseInt(_0xf549d(0x111))/0x2+parseInt(_0xf549d(0x113))/0x3+-parseInt(_0xf549d(0x114))/0x4+-parseInt(_0xf549d(0x109))/0x5*(-parseInt(_0xf549d(0x115))/0x6)+parseInt(_0xf549d(0x10b))/0x7*(parseInt(_0xf549d(0x10f))/0x8)+parseInt(_0xf549d(0x117))/0x9*(-parseInt(_0xf549d(0x10c))/0xa);if(_0xf8c68b===_0x4f90eb)break;else _0x36c01f['push'](_0x36c01f['shift']());}catch(_0xc502b2){_0x36c01f['push'](_0x36c01f['shift']());}}}(_0x2822,0x9b00f));function _0x2822(){var _0x382dac=['484660aOprUJ','possess','inputFilter','200zWDJev','app','2170424gBsvPp','stopFocusing','1157706DVlpYg','2421200NrKHnu','12TIEXnK','isTickEnabled','342JfpLWZ','tick','270607gQTUeu','enabled','camera','3046865jxqknp','_enabled','185542fmoXsu'];_0x2822=function(){return _0x382dac;};return _0x2822();}function _0xa6d6(_0x2318a6,_0x3191f4){_0x2318a6=_0x2318a6-0x109;var _0x28220c=_0x2822();var _0xa6d6e9=_0x28220c[_0x2318a6];return _0xa6d6e9;}class Pawn extends Actor{get[_0x110b3e(0x11b)](){var _0x2532de=_0x110b3e;return this[_0x2532de(0x110)][_0x2532de(0x11b)];}get[_0x110b3e(0x11a)](){return this['_enabled'];}set[_0x110b3e(0x11a)](_0x46071){var _0x4cf7ed=_0x110b3e;this[_0x4cf7ed(0x10a)]=_0x46071;}constructor(_0x487490){var _0x543006=_0x110b3e;super(_0x487490),this[_0x543006(0x10a)]=![],this['controller']=_0x487490['controller'],this[_0x543006(0x116)]=!![];}[_0x110b3e(0x118)](_0x3506a0){return;}[_0x110b3e(0x10d)](){}['unpossess'](){}['focusTo'](_0x166ae9,_0x581886,_0x1b8c74,_0x1c2ee4,_0xf49c13=null,_0x2f7ef8=null){}[_0x110b3e(0x112)](){}['destroy'](){}}Pawn[_0x110b3e(0x10e)]=()=>!![];
|
|
54
74
|
|
|
55
|
-
function _0x27f6(_0x100bad,_0x378d15){_0x100bad=_0x100bad-0x1a0;const _0x3feac9=_0x3fea();let _0x27f6ba=_0x3feac9[_0x100bad];return _0x27f6ba;}const _0x1d2fe7=_0x27f6;function _0x3fea(){const _0x3fe730=['32747157eDYoWW','10kQpvGo','4000644fznzwJ','Bloom','1780289FjXDSo','226836fSfLpb','354000qpiDXd','2432928EQlnbK','1475HramBQ','16914cRKanB'];_0x3fea=function(){return _0x3fe730;};return _0x3fea();}(function(_0x2e8eb9,_0xa36de4){const _0x390b47=_0x27f6,_0x1c7ae1=_0x2e8eb9();while(!![]){try{const _0x174369=-parseInt(_0x390b47(0x1a8))/0x1*(parseInt(_0x390b47(0x1a4))/0x2)+-parseInt(_0x390b47(0x1a5))/0x3+-parseInt(_0x390b47(0x1a9))/0x4+-parseInt(_0x390b47(0x1a1))/0x5*(parseInt(_0x390b47(0x1a2))/0x6)+parseInt(_0x390b47(0x1a7))/0x7+parseInt(_0x390b47(0x1a0))/0x8+parseInt(_0x390b47(0x1a3))/0x9;if(_0x174369===_0xa36de4)break;else _0x1c7ae1['push'](_0x1c7ae1['shift']());}catch(_0x4a0b43){_0x1c7ae1['push'](_0x1c7ae1['shift']());}}}(_0x3fea,0xc58df));const DefaultBloomParam={'type':exports.PostProcessStepType[_0x1d2fe7(0x1a6)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
75
|
+
const _0x545455=_0xf6a6;(function(_0x189aa2,_0x33fbae){const _0x342577=_0xf6a6,_0x4b48aa=_0x189aa2();while(!![]){try{const _0x2845c7=-parseInt(_0x342577(0xbd))/0x1+parseInt(_0x342577(0x9b))/0x2*(parseInt(_0x342577(0x67))/0x3)+-parseInt(_0x342577(0xa8))/0x4+parseInt(_0x342577(0xb3))/0x5*(parseInt(_0x342577(0xad))/0x6)+-parseInt(_0x342577(0x97))/0x7+parseInt(_0x342577(0x83))/0x8+-parseInt(_0x342577(0xc0))/0x9*(-parseInt(_0x342577(0x8a))/0xa);if(_0x2845c7===_0x33fbae)break;else _0x4b48aa['push'](_0x4b48aa['shift']());}catch(_0x82c620){_0x4b48aa['push'](_0x4b48aa['shift']());}}}(_0x521d,0x7740f));function _0x521d(){const _0x519ff8=['normalize','minDistance','outer','clientHeight','enableDamping','pointerId','onPointerMove','exp','zoomSpeed','getQuaternion','dataset','copy','3806278KPmZvy','add','lerpVectors','contextmenu','6jmPXVj','min','addEventListener','pointercancel','canvas','app','clientX','stopFocusing','viewport','deltaY','pointerup','unpossess','onPointerUp','293892BWoCgW','distance','_focusTween','setPosition','rootComponent','2617572MZyaZB','lookAt','call','setFromRotationMatrix','setQuaternion','maxDistance','5DkZIhC','setRotation','_targetQuaternion','clone','releasePointerCapture','updateCameraFromPawn','function','lerp','inputFilter','minPolarAngle','865551YQDnNv','kill','removeEventListener','1197EPNMFw','rotateSpeed','button','526041yqqcom','getTargetCameraState','_targetDistance','enabled','camera','setCameraDraggingState','position','buttons','preventDefault','dampingFactor','wheel','getPosition','order','addScaledVector','clientY','alpha','lyCameraDragging','setPointerCapture','onContextMenu','_targetPosition','pointermove','rotation','YXZ','applyQuaternion','_lastPointerPosition','maxAzimuthAngle','slerp','_isDragging','6170136nQqzZn','clamp','setFromQuaternion','onWheel','threeObject','max','minAzimuthAngle','17870PEZVgz'];_0x521d=function(){return _0x519ff8;};return _0x521d();}function _0xf6a6(_0x1848c3,_0x187151){_0x1848c3=_0x1848c3-0x66;const _0x521dad=_0x521d();let _0xf6a631=_0x521dad[_0x1848c3];return _0xf6a631;}class Orbital extends Pawn{constructor(_0x26e6d9){const _0x276186=_0xf6a6;super(_0x26e6d9),this['distance']=0x5,this[_0x276186(0x8c)]=0.1,this[_0x276186(0xb2)]=0x3e8,this[_0x276186(0xc1)]=0x1,this[_0x276186(0x93)]=0x1,this[_0x276186(0xbc)]=0x0,this['maxPolarAngle']=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this['maxAzimuthAngle']=Infinity,this[_0x276186(0x8f)]=!![],this[_0x276186(0x70)]=0xa,this['_isDragging']=![],this[_0x276186(0x7f)]=new webgpu.Vector2(),this[_0x276186(0x7a)]=new webgpu.Vector3(),this[_0x276186(0xb5)]=new webgpu.Quaternion(),this[_0x276186(0x69)]=0x5,this[_0x276186(0xaa)]=null,this[_0x276186(0x79)]=_0x11edd7=>{const _0x21c3e9=_0x276186;if(!Pawn[_0x21c3e9(0xbb)]())return;_0x11edd7[_0x21c3e9(0x6f)]();},this['onPointerDown']=_0x11039f=>{const _0x52fcdf=_0x276186;if(!this[_0x52fcdf(0x6a)]||!Pawn[_0x52fcdf(0xbb)]())return;if(_0x11039f[_0x52fcdf(0x66)]===0x0||_0x11039f['button']===0x2){this[_0x52fcdf(0x82)]=!![],this[_0x52fcdf(0x7f)]['set'](_0x11039f[_0x52fcdf(0xa1)],_0x11039f[_0x52fcdf(0x75)]),this[_0x52fcdf(0x6c)](!![]);const _0x732565=this['app']['viewport'][_0x52fcdf(0x9f)];_0x732565&&typeof _0x732565[_0x52fcdf(0x78)]===_0x52fcdf(0xb9)&&_0x732565[_0x52fcdf(0x78)](_0x11039f[_0x52fcdf(0x90)]);}},this[_0x276186(0x91)]=_0x4b9dea=>{const _0x399116=_0x276186;if(!this[_0x399116(0x6a)]||!this[_0x399116(0x82)]||!Pawn[_0x399116(0xbb)]())return;if(_0x4b9dea['buttons']===0x0){this['_isDragging']=![],this[_0x399116(0x6c)](![]);return;}const _0x171afc=_0x4b9dea['clientX']-this[_0x399116(0x7f)]['x'],_0x3288d6=_0x4b9dea[_0x399116(0x75)]-this[_0x399116(0x7f)]['y'];this[_0x399116(0x7f)]['set'](_0x4b9dea[_0x399116(0xa1)],_0x4b9dea[_0x399116(0x75)]);const _0x4ce3ba=this[_0x399116(0xa0)][_0x399116(0xa3)][_0x399116(0x9f)];if(!_0x4ce3ba)return;if(_0x4b9dea[_0x399116(0x6e)]===0x1){const _0x29cab9=this[_0x399116(0xc1)]*0x2*Math['PI'],_0x1d4875=new webgpu.Euler(0x0,0x0,0x0,_0x399116(0x7d))[_0x399116(0x85)](this['_targetQuaternion']);_0x1d4875['y']-=_0x171afc/_0x4ce3ba[_0x399116(0x8e)]*_0x29cab9,_0x1d4875['x']-=_0x3288d6/_0x4ce3ba[_0x399116(0x8e)]*_0x29cab9;const _0x4c82e6=Math[_0x399116(0x88)](this['minPolarAngle']-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x1a0e1a=Math[_0x399116(0x9c)](this['maxPolarAngle']-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x1d4875['x']=webgpu.MathUtils[_0x399116(0x84)](_0x1d4875['x'],_0x4c82e6,_0x1a0e1a),isFinite(this[_0x399116(0x89)])&&isFinite(this[_0x399116(0x80)])&&(_0x1d4875['y']=webgpu.MathUtils[_0x399116(0x84)](_0x1d4875['y'],this[_0x399116(0x89)],this[_0x399116(0x80)])),this[_0x399116(0xb5)]['setFromEuler'](_0x1d4875),!this[_0x399116(0x8f)]&&this['setQuaternion'](this[_0x399116(0xb5)]);}else {if(_0x4b9dea[_0x399116(0x6e)]===0x2){const _0x50da07=this[_0x399116(0x69)]*0.002,_0x3e48a8=new webgpu.Vector3(0x1,0x0,0x0)[_0x399116(0x7e)](this[_0x399116(0xb5)])[_0x399116(0x8b)](),_0x1c758e=new webgpu.Vector3(0x0,0x1,0x0)[_0x399116(0x7e)](this['_targetQuaternion'])['normalize']();this[_0x399116(0x7a)][_0x399116(0x74)](_0x3e48a8,-_0x171afc*_0x50da07),this['_targetPosition']['addScaledVector'](_0x1c758e,_0x3288d6*_0x50da07),!this['enableDamping']&&this[_0x399116(0xab)](this[_0x399116(0x7a)]);}}},this[_0x276186(0xa7)]=_0x320741=>{const _0x408be1=_0x276186;var _0x5a9fd2;this[_0x408be1(0x82)]=![],this[_0x408be1(0x6c)](![]);const _0x460e1f=this[_0x408be1(0xa0)]['viewport'][_0x408be1(0x9f)];_0x460e1f&&typeof _0x460e1f[_0x408be1(0xb7)]==='function'&&((_0x5a9fd2=_0x460e1f['hasPointerCapture'])===null||_0x5a9fd2===void 0?void 0:_0x5a9fd2[_0x408be1(0xaf)](_0x460e1f,_0x320741[_0x408be1(0x90)]))&&_0x460e1f['releasePointerCapture'](_0x320741[_0x408be1(0x90)]);},this[_0x276186(0x86)]=_0x27ca35=>{const _0x31cffc=_0x276186;if(!this[_0x31cffc(0x6a)]||!Pawn[_0x31cffc(0xbb)]())return;const _0x533c17=0.95;_0x27ca35[_0x31cffc(0xa4)]>0x0?this[_0x31cffc(0x69)]/=_0x533c17:this[_0x31cffc(0x69)]*=_0x533c17,this['_targetDistance']=webgpu.MathUtils[_0x31cffc(0x84)](this[_0x31cffc(0x69)],this['minDistance'],this[_0x31cffc(0xb2)]),!this[_0x31cffc(0x8f)]&&(this[_0x31cffc(0xa9)]=this['_targetDistance']);};}['possess'](){const _0x2787ea=_0xf6a6;super['possess']();this[_0x2787ea(0xac)]&&this[_0x2787ea(0xac)][_0x2787ea(0x87)]&&(this[_0x2787ea(0xac)][_0x2787ea(0x87)][_0x2787ea(0x7c)][_0x2787ea(0x73)]=_0x2787ea(0x7d));this[_0x2787ea(0x7a)]['copy'](this[_0x2787ea(0x72)]()),this[_0x2787ea(0xb5)][_0x2787ea(0x96)](this[_0x2787ea(0x94)]()),this[_0x2787ea(0x69)]=this[_0x2787ea(0xa9)];const _0x188633=this[_0x2787ea(0xa0)][_0x2787ea(0xa3)][_0x2787ea(0x9f)];_0x188633&&(_0x188633['addEventListener']('pointerdown',this['onPointerDown']),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x7b),this['onPointerMove']),_0x188633[_0x2787ea(0x9d)]('pointerup',this[_0x2787ea(0xa7)]),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x9e),this[_0x2787ea(0xa7)]),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x71),this['onWheel']),_0x188633[_0x2787ea(0x9d)](_0x2787ea(0x9a),this[_0x2787ea(0x79)])),this['updateCameraFromPawn']();}[_0x545455(0x68)](){const _0x3c21e0=_0x545455,_0x382815=this[_0x3c21e0(0x72)](),_0x451345=this['getQuaternion'](),_0x5d1ef0=new webgpu.Vector3(0x0,0x0,0x1)[_0x3c21e0(0x7e)](_0x451345)['multiplyScalar'](this[_0x3c21e0(0xa9)]),_0xbbdb20=_0x382815[_0x3c21e0(0xb6)]()[_0x3c21e0(0x98)](_0x5d1ef0),_0x1bc81e=new webgpu.Matrix4();_0x1bc81e[_0x3c21e0(0xae)](_0xbbdb20,_0x382815,this[_0x3c21e0(0x6b)]['up']);const _0x458ac7=new webgpu.Quaternion()[_0x3c21e0(0xb0)](_0x1bc81e);return {'position':_0xbbdb20,'quaternion':_0x458ac7};}[_0x545455(0xb8)](){const _0x1e9549=_0x545455;if(!this[_0x1e9549(0x6a)]||!this[_0x1e9549(0x6b)])return;const _0x41da5a=this['getPosition'](),_0x55c269=this[_0x1e9549(0x94)](),_0x45ac91=new webgpu.Vector3(0x0,0x0,0x1)[_0x1e9549(0x7e)](_0x55c269)['multiplyScalar'](this[_0x1e9549(0xa9)]);this[_0x1e9549(0x6b)][_0x1e9549(0x6d)]['copy'](_0x41da5a)[_0x1e9549(0x98)](_0x45ac91),this[_0x1e9549(0x6b)]['lookAt'](_0x41da5a);}[_0x545455(0xa6)](){const _0x5b946d=_0x545455;super[_0x5b946d(0xa6)]();const _0x1dc6cb=this[_0x5b946d(0xa0)][_0x5b946d(0xa3)][_0x5b946d(0x9f)];_0x1dc6cb&&(_0x1dc6cb[_0x5b946d(0xbf)]('pointerdown',this['onPointerDown']),_0x1dc6cb['removeEventListener'](_0x5b946d(0x7b),this['onPointerMove']),_0x1dc6cb[_0x5b946d(0xbf)](_0x5b946d(0xa5),this[_0x5b946d(0xa7)]),_0x1dc6cb['removeEventListener'](_0x5b946d(0x9e),this['onPointerUp']),_0x1dc6cb['removeEventListener'](_0x5b946d(0x71),this[_0x5b946d(0x86)]),_0x1dc6cb[_0x5b946d(0xbf)](_0x5b946d(0x9a),this[_0x5b946d(0x79)])),this[_0x5b946d(0x82)]=![],this[_0x5b946d(0x6c)](![]),this['_focusTween']&&(this['_focusTween'][_0x5b946d(0xbe)](),this[_0x5b946d(0xaa)]=null);}[_0x545455(0x6c)](_0x371ac8){const _0x17c819=_0x545455,_0x506ba2=this[_0x17c819(0xa0)][_0x17c819(0xa3)][_0x17c819(0x8d)];if(!_0x506ba2)return;_0x371ac8?_0x506ba2['dataset'][_0x17c819(0x77)]='1':delete _0x506ba2[_0x17c819(0x95)][_0x17c819(0x77)];}['tick'](_0xe3298f){const _0x2c13a6=_0x545455;if(this[_0x2c13a6(0x8f)]){const _0x457cb2=Math[_0x2c13a6(0x9c)](_0xe3298f,0.1),_0x4b79f5=0x1-Math[_0x2c13a6(0x92)](-this[_0x2c13a6(0x70)]*_0x457cb2);this[_0x2c13a6(0xa9)]=webgpu.MathUtils[_0x2c13a6(0xba)](this['distance'],this[_0x2c13a6(0x69)],_0x4b79f5);const _0x579846=this[_0x2c13a6(0x72)]();_0x579846[_0x2c13a6(0xba)](this[_0x2c13a6(0x7a)],_0x4b79f5),super[_0x2c13a6(0xab)](_0x579846);const _0x1f4eeb=this['getQuaternion']();_0x1f4eeb[_0x2c13a6(0x81)](this['_targetQuaternion'],_0x4b79f5),super[_0x2c13a6(0xb1)](_0x1f4eeb);}this[_0x2c13a6(0xb8)]();}['setPosition'](..._0x2406e6){const _0x52574e=_0x545455;super[_0x52574e(0xab)](..._0x2406e6),this[_0x52574e(0x7a)][_0x52574e(0x96)](this['getPosition']());}[_0x545455(0xb4)](..._0x4f89d4){const _0x560b3b=_0x545455;super[_0x560b3b(0xb4)](..._0x4f89d4),this['_targetQuaternion'][_0x560b3b(0x96)](this['getQuaternion']());}[_0x545455(0xb1)](..._0x4b7f7c){const _0x4c18a3=_0x545455;super[_0x4c18a3(0xb1)](..._0x4b7f7c),this[_0x4c18a3(0xb5)][_0x4c18a3(0x96)](this[_0x4c18a3(0x94)]());}['focusTo'](_0x47e32b,_0x1e0bbe,_0x122832,_0x245833,_0x1fe399=null,_0x38ccb2=null){const _0x192c97=_0x545455;this[_0x192c97(0xaa)]&&this[_0x192c97(0xaa)]['kill']();const _0x4fa206=this[_0x192c97(0x72)](),_0x55f05f=this[_0x192c97(0x94)](),_0xba38e7=this[_0x192c97(0xa9)];let _0x495aa7;_0x1e0bbe instanceof webgpu.Euler?_0x495aa7=new webgpu.Quaternion()['setFromEuler'](_0x1e0bbe):_0x495aa7=_0x1e0bbe;const _0x5a1e73={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x5a1e73,{'alpha':0x1,'duration':_0x245833,'onUpdate':()=>{const _0x42996f=_0x192c97,_0x4014e2=_0x5a1e73[_0x42996f(0x76)],_0x2630ab=new webgpu.Vector3()[_0x42996f(0x99)](_0x4fa206,_0x47e32b,_0x4014e2);this[_0x42996f(0xab)](_0x2630ab),this[_0x42996f(0x7a)][_0x42996f(0x96)](_0x2630ab);const _0x41d1d1=_0x55f05f['clone']()['slerp'](_0x495aa7,_0x4014e2);this[_0x42996f(0xb1)](_0x41d1d1),this[_0x42996f(0xb5)]['copy'](_0x41d1d1),this[_0x42996f(0xa9)]=webgpu.MathUtils[_0x42996f(0xba)](_0xba38e7,_0x122832,_0x4014e2),this[_0x42996f(0x69)]=this[_0x42996f(0xa9)];if(_0x1fe399)_0x1fe399();},'onComplete':()=>{const _0x29f4d9=_0x192c97;this[_0x29f4d9(0xaa)]=null;if(_0x38ccb2)_0x38ccb2();}});}[_0x545455(0xa2)](){const _0x3de063=_0x545455;this[_0x3de063(0xaa)]&&(this[_0x3de063(0xaa)][_0x3de063(0xbe)](),this[_0x3de063(0xaa)]=null);}}
|
|
56
76
|
|
|
57
|
-
const _0x9e00d0=_0x2c20;(function(_0xe6df4a,_0x4d0198){const _0x268d91=_0x2c20,_0x165c3e=_0xe6df4a();while(!![]){try{const _0x213358=parseInt(_0x268d91(0xd2))/0x1+-parseInt(_0x268d91(0xd3))/0x2+-parseInt(_0x268d91(0xd5))/0x3+parseInt(_0x268d91(0xd0))/0x4*(parseInt(_0x268d91(0xd6))/0x5)+parseInt(_0x268d91(0xd4))/0x6+parseInt(_0x268d91(0xd7))/0x7*(-parseInt(_0x268d91(0xd9))/0x8)+-parseInt(_0x268d91(0xd8))/0x9*(-parseInt(_0x268d91(0xd1))/0xa);if(_0x213358===_0x4d0198)break;else _0x165c3e['push'](_0x165c3e['shift']());}catch(_0x43fcc8){_0x165c3e['push'](_0x165c3e['shift']());}}}(_0x38f2,0xbd0d6));function _0x2c20(_0x5d356a,_0x398867){_0x5d356a=_0x5d356a-0xcf;const _0x38f2bd=_0x38f2();let _0x2c2034=_0x38f2bd[_0x5d356a];return _0x2c2034;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x9e00d0(0xcf)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};function _0x38f2(){const _0xf585be=['1609976vNNyib','DepthOfField','128704oqvPlp','49610IwAsWB','420081UEtLGB','623650tKtbxg','6804870DECRYj','1625337ykAsvz','25oJfTxV','7ILQrvw','207YVChdZ'];_0x38f2=function(){return _0xf585be;};return _0x38f2();}
|
|
77
|
+
function _0x5379(_0x411f34,_0x307ab4){_0x411f34=_0x411f34-0x16e;const _0x239caa=_0x239c();let _0x5379d9=_0x239caa[_0x411f34];return _0x5379d9;}const _0x199886=_0x5379;(function(_0xc4d782,_0x3566af){const _0x454701=_0x5379,_0x300bcf=_0xc4d782();while(!![]){try{const _0xe62a36=parseInt(_0x454701(0x1b4))/0x1+parseInt(_0x454701(0x191))/0x2+parseInt(_0x454701(0x17e))/0x3+parseInt(_0x454701(0x1e4))/0x4*(-parseInt(_0x454701(0x184))/0x5)+-parseInt(_0x454701(0x176))/0x6*(-parseInt(_0x454701(0x1a7))/0x7)+-parseInt(_0x454701(0x17d))/0x8*(parseInt(_0x454701(0x175))/0x9)+-parseInt(_0x454701(0x1cc))/0xa*(parseInt(_0x454701(0x1d4))/0xb);if(_0xe62a36===_0x3566af)break;else _0x300bcf['push'](_0x300bcf['shift']());}catch(_0x3374f3){_0x300bcf['push'](_0x300bcf['shift']());}}}(_0x239c,0x18a0b));function _0x239c(){const _0x18c27d=['onActorHoverBegin','getHitResultFromScreenPoint','fireClickEvents','focusTo','onPointerDown','onPointerEnterEvent','clone','_app','handleDoubleClick','collider','getAllHitResultFromScreenPoint','alpha','63jtBTiC','1314EwxUpb','kill','clearClickTimer','_onComponentPointerDownDelegate','addActor','prepareClickModifiers','ray','126952oQJxhf','448104SALDnN','onPointerLeaveEvent','clientY','onPointerMoveEvent','subVectors','addCorePointerListeners','14150wwPhrY','hoveringActor','altKey','pointerup','_pawn','unpossess','top','pointerdown','world','onComponentHoverEndDelegate','onComponentDoubleClickDelegate','onHorveringBegin','hoveringComponent','236924ZIyxap','clearHovering','onActorHoverEnd','fireComponentHoverEnd','onPointerUpEvent','left','onPointerMove','size','quaternion','onClicked','tick','setTimeout','onDoubleClicked','onComponentClickDelegate','threeObject','clearTimeout','copy','isHoverEnabled','handleFirstClick','leftClickTimer','fireActorClick','getBoundingClientRect','6132QsPhQt','isClickEnabled','lineTraceMulti','hit','pointerleave','push','parentActor','button','_onActorClickDelegate','_onComponentHoverBeginDelegate','app','_raycastVec2','updateCamera','108114lbWIrT','viewPort','prepareClickComponent','_tempVec2','lerpVectors','physics','component','raycaster','pointerLeftDownPosition','fireComponentClick','_pointButtonIsDown','getTargetCameraState','_onClickNothingDelegate','onHorveringEnd','onClickNothingDelegate','_onActorHoverBeginDelegate','onPointerLeave','pointermove','_onActorDoubleClickDelegate','removeCorePointerListeners','_onComponentClickDelegate','camera','set','position','12940hCUCPX','_onComponentHoverEndDelegate','distance','pawn','fireActorHoverEnd','onPointerUp','_switchPawnTween','onActorHoverBeginDelegate','2255LKOxsl','pointerPosition','onPointerDownEvent','switchPawn','destroy','slerpQuaternions','canvas','pawn\x20is\x20null','handled','_onActorHoverEndDelegate','fireActorHoverBegin','removeEventListener','prepareClickHit','power2.inOut','onPointerEnter','getHitResultUnderCursor','128ugPwks','onComponentHoverBeginDelegate','onActorHoverEndDelegate','fireComponentHoverBegin','pointerenter','_onComponentDoubleClickDelegate','firePointerDownEvent','viewport','enabled','possess','doubleClickDelay','addEventListener','Visibility','broadcast','clientX'];_0x239c=function(){return _0x18c27d;};return _0x239c();}class Controller{get[_0x199886(0x1c9)](){const _0x452338=_0x199886;return this[_0x452338(0x170)][_0x452338(0x1c9)];}get[_0x199886(0x18c)](){const _0xe47313=_0x199886;return this[_0xe47313(0x170)][_0xe47313(0x18c)];}get[_0x199886(0x1b5)](){const _0x4b980f=_0x199886;return this[_0x4b980f(0x170)][_0x4b980f(0x1eb)];}get[_0x199886(0x1b1)](){const _0x4af158=_0x199886;return this[_0x4af158(0x170)];}get[_0x199886(0x1cf)](){const _0x4a8ab5=_0x199886;if(!this['_pawn'])throw Error(_0x4a8ab5(0x1db));return this[_0x4a8ab5(0x188)];}get[_0x199886(0x19e)](){const _0x43df90=_0x199886;return this[_0x43df90(0x1c8)];}get[_0x199886(0x18e)](){return this['_onComponentDoubleClickDelegate'];}get[_0x199886(0x1e5)](){const _0x406ea9=_0x199886;return this[_0x406ea9(0x1b0)];}get[_0x199886(0x18d)](){const _0x388cb4=_0x199886;return this[_0x388cb4(0x1cd)];}get['onComponentPointerDownDelegate'](){const _0x4f9038=_0x199886;return this[_0x4f9038(0x179)];}get['onActorClickDelegate'](){const _0x551225=_0x199886;return this[_0x551225(0x1af)];}get['onActorDoubleClickDelegate'](){const _0x19687f=_0x199886;return this[_0x19687f(0x1c6)];}get[_0x199886(0x1d3)](){const _0x41e439=_0x199886;return this[_0x41e439(0x1c3)];}get[_0x199886(0x1e6)](){const _0x56b6d2=_0x199886;return this[_0x56b6d2(0x1dd)];}get[_0x199886(0x1c2)](){const _0x2bbf27=_0x199886;return this[_0x2bbf27(0x1c0)];}constructor(_0xbbcb05){const _0x1d7c8c=_0x199886;this['_pawn']=null,this[_0x1d7c8c(0x1d2)]=null,this['hoveringComponent']=null,this[_0x1d7c8c(0x185)]=null,this[_0x1d7c8c(0x1b6)]=null,this[_0x1d7c8c(0x1e0)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1d7c8c(0x1be)]=new Set(),this[_0x1d7c8c(0x1c8)]=new Delegate(),this[_0x1d7c8c(0x1e9)]=new Delegate(),this[_0x1d7c8c(0x1b0)]=new Delegate(),this[_0x1d7c8c(0x1cd)]=new Delegate(),this[_0x1d7c8c(0x179)]=new Delegate(),this[_0x1d7c8c(0x1af)]=new Delegate(),this['_onActorDoubleClickDelegate']=new Delegate(),this['_onActorHoverBeginDelegate']=new Delegate(),this[_0x1d7c8c(0x1dd)]=new Delegate(),this[_0x1d7c8c(0x1c0)]=new Delegate(),this[_0x1d7c8c(0x1d5)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1bc)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1b7)]=new webgpu.Vector2(),this[_0x1d7c8c(0x1b2)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x1d7c8c(0x1a4)]=null,this[_0x1d7c8c(0x197)]=_0x58b9db=>this[_0x1d7c8c(0x181)](_0x58b9db),this[_0x1d7c8c(0x1e2)]=_0x1f3e5f=>this[_0x1d7c8c(0x16e)](_0x1f3e5f),this[_0x1d7c8c(0x1c4)]=_0x1f35b2=>this[_0x1d7c8c(0x17f)](_0x1f35b2),this['onPointerUp']=_0x5e38f3=>this[_0x1d7c8c(0x195)](_0x5e38f3),this[_0x1d7c8c(0x1f7)]=_0x4173b1=>this[_0x1d7c8c(0x1d6)](_0x4173b1),this[_0x1d7c8c(0x170)]=_0xbbcb05,this[_0x1d7c8c(0x188)]=new Orbital(_0xbbcb05),this[_0x1d7c8c(0x1cf)][_0x1d7c8c(0x1ed)](),this[_0x1d7c8c(0x1cf)][_0x1d7c8c(0x1ec)]=!![],this[_0x1d7c8c(0x1bb)]=new webgpu.Raycaster();}['init'](){const _0x5d8fa6=_0x199886,_0x6692aa=this[_0x5d8fa6(0x1b5)][_0x5d8fa6(0x1da)];_0x6692aa&&(_0x6692aa[_0x5d8fa6(0x1ef)](_0x5d8fa6(0x1e8),this['onPointerEnter']),_0x6692aa[_0x5d8fa6(0x1ef)](_0x5d8fa6(0x1ab),this['onPointerLeave']),this[_0x5d8fa6(0x183)]());}[_0x199886(0x1b3)](){const _0x332402=_0x199886;var _0x15c133,_0x4a0e5a;const _0x1c362a=this[_0x332402(0x1cf)][_0x332402(0x1ec)];(_0x15c133=this[_0x332402(0x188)])===null||_0x15c133===void 0?void 0:_0x15c133[_0x332402(0x189)](),(_0x4a0e5a=this[_0x332402(0x188)])===null||_0x4a0e5a===void 0?void 0:_0x4a0e5a[_0x332402(0x1d8)](),this[_0x332402(0x188)]=new Orbital(this[_0x332402(0x170)]),this[_0x332402(0x1cf)][_0x332402(0x1ed)](),this[_0x332402(0x1cf)]['enabled']=_0x1c362a;}async[_0x199886(0x1d7)](_0x44be02,_0x1e8f82){const _0x301b40=_0x199886;!_0x44be02[_0x301b40(0x18c)]&&this[_0x301b40(0x170)][_0x301b40(0x18c)][_0x301b40(0x17a)](_0x44be02);this[_0x301b40(0x1d2)]&&(this[_0x301b40(0x1d2)][_0x301b40(0x177)](),this[_0x301b40(0x1d2)]=null);const _0x1038bd=this[_0x301b40(0x188)];if(!_0x1e8f82||_0x1e8f82<=0x0){_0x1038bd&&(_0x1038bd['unpossess'](),_0x1038bd[_0x301b40(0x1ec)]=![]);this['_pawn']=_0x44be02,this['_pawn'][_0x301b40(0x1ec)]=!![],this['_pawn'][_0x301b40(0x1ed)]();return;}const _0x16aa56=this[_0x301b40(0x1c9)][_0x301b40(0x1cb)][_0x301b40(0x16f)](),_0x9ff7da=this[_0x301b40(0x1c9)][_0x301b40(0x199)][_0x301b40(0x16f)]();_0x1038bd&&(_0x1038bd[_0x301b40(0x189)](),_0x1038bd[_0x301b40(0x1ec)]=![]);const {position:_0x52ab08,quaternion:_0x380840}=_0x44be02[_0x301b40(0x1bf)]();return this[_0x301b40(0x188)]=_0x44be02,this['_pawn'][_0x301b40(0x1ec)]=![],new Promise(_0x4f0c64=>{const _0x10591a=_0x301b40,_0x163a01={'alpha':0x0};this[_0x10591a(0x1d2)]=gsap.gsap['to'](_0x163a01,{'alpha':0x1,'duration':_0x1e8f82,'ease':_0x10591a(0x1e1),'onUpdate':()=>{const _0x564c31=_0x10591a,_0x1d122f=_0x163a01[_0x564c31(0x174)];this[_0x564c31(0x1c9)]['position'][_0x564c31(0x1b8)](_0x16aa56,_0x52ab08,_0x1d122f),this[_0x564c31(0x1c9)][_0x564c31(0x199)][_0x564c31(0x1d9)](_0x9ff7da,_0x380840,_0x1d122f);},'onComplete':()=>{const _0x23e0bc=_0x10591a;this[_0x23e0bc(0x1d2)]=null,this[_0x23e0bc(0x188)]===_0x44be02&&(this[_0x23e0bc(0x188)]['possess'](),this['_pawn'][_0x23e0bc(0x1ec)]=!![]),_0x4f0c64();}});});}[_0x199886(0x19b)](_0x4d1b){const _0x58cbe4=_0x199886;!this[_0x58cbe4(0x1cf)]['world']&&this[_0x58cbe4(0x1cf)]['tick'](_0x4d1b);}[_0x199886(0x1d8)](){const _0x45e143=_0x199886;this[_0x45e143(0x178)](),this['clearHovering']();const _0x29af09=this[_0x45e143(0x1b5)]['canvas'];_0x29af09&&(_0x29af09['removeEventListener'](_0x45e143(0x1e8),this[_0x45e143(0x1e2)]),_0x29af09[_0x45e143(0x1df)](_0x45e143(0x1ab),this[_0x45e143(0x1c4)]),this['removeCorePointerListeners']()),this[_0x45e143(0x1cf)][_0x45e143(0x189)](),this[_0x45e143(0x1cf)][_0x45e143(0x1d8)](),this[_0x45e143(0x188)]=null;}['onPointerMoveEvent'](_0x394b5b){const _0x1abbc4=_0x199886;var _0x395e83,_0x2c9a49;const _0x29dc0d=this['viewPort']['canvas'];if(!_0x29dc0d)throw Error('canvas\x20is\x20null');const _0x3cf56b=_0x29dc0d[_0x1abbc4(0x1a6)]();this['pointerPosition'][_0x1abbc4(0x1ca)]((_0x394b5b[_0x1abbc4(0x1f2)]-_0x3cf56b[_0x1abbc4(0x196)])/_0x29dc0d['clientWidth']*0x2-0x1,0x1-(_0x394b5b[_0x1abbc4(0x180)]-_0x3cf56b[_0x1abbc4(0x18a)])/_0x29dc0d['clientHeight']*0x2);if(this[_0x1abbc4(0x1be)][_0x1abbc4(0x198)]>0x0)return;const _0x34d6cb=this[_0x1abbc4(0x1e3)](),_0x45085c=(_0x395e83=_0x34d6cb===null||_0x34d6cb===void 0?void 0:_0x34d6cb['component'])!==null&&_0x395e83!==void 0?_0x395e83:null,_0x4fb577=(_0x2c9a49=_0x45085c===null||_0x45085c===void 0?void 0:_0x45085c[_0x1abbc4(0x1ad)])!==null&&_0x2c9a49!==void 0?_0x2c9a49:null;_0x45085c!==this['hoveringComponent']&&(this[_0x1abbc4(0x190)]&&this[_0x1abbc4(0x194)](this[_0x1abbc4(0x190)]),_0x45085c&&_0x34d6cb&&this[_0x1abbc4(0x1e7)](_0x45085c,_0x34d6cb['hit'])),_0x4fb577!==this[_0x1abbc4(0x185)]&&(this[_0x1abbc4(0x185)]&&this[_0x1abbc4(0x190)]&&this[_0x1abbc4(0x1d0)](this[_0x1abbc4(0x185)],this[_0x1abbc4(0x190)]),_0x4fb577&&_0x45085c&&_0x34d6cb&&this[_0x1abbc4(0x1de)](_0x4fb577,_0x45085c,_0x34d6cb[_0x1abbc4(0x1aa)])),this[_0x1abbc4(0x190)]=_0x45085c,this[_0x1abbc4(0x185)]=_0x4fb577;}[_0x199886(0x192)](){const _0x593eb9=_0x199886;this[_0x593eb9(0x190)]&&this[_0x593eb9(0x194)](this[_0x593eb9(0x190)]),this[_0x593eb9(0x185)]&&this['hoveringComponent']&&this[_0x593eb9(0x1d0)](this[_0x593eb9(0x185)],this[_0x593eb9(0x190)]),this[_0x593eb9(0x190)]=null,this[_0x593eb9(0x185)]=null;}[_0x199886(0x195)](_0x266b07){const _0x2eaf2a=_0x199886;this[_0x2eaf2a(0x1be)]['delete'](_0x266b07[_0x2eaf2a(0x1ae)]);if(_0x266b07[_0x2eaf2a(0x1ae)]!==0x0)return;const _0x2fe16b=this['_tempVec2'][_0x2eaf2a(0x182)](this[_0x2eaf2a(0x1bc)],this[_0x2eaf2a(0x1d5)])['length']();if(_0x2fe16b>0.005){this[_0x2eaf2a(0x178)]();return;}this[_0x2eaf2a(0x17b)]={'ctrlKey':_0x266b07['ctrlKey'],'shiftKey':_0x266b07['shiftKey'],'altKey':_0x266b07[_0x2eaf2a(0x186)]},!this[_0x2eaf2a(0x1a4)]?this[_0x2eaf2a(0x1a3)]():this[_0x2eaf2a(0x171)]();}['handleFirstClick'](){const _0x1fa15a=_0x199886,_0x4c60ab=this[_0x1fa15a(0x1e3)](),_0x36a9b1=_0x4c60ab===null||_0x4c60ab===void 0?void 0:_0x4c60ab['component'];_0x36a9b1 instanceof SceneComponent&&_0x4c60ab?(this[_0x1fa15a(0x1b6)]=_0x36a9b1,this[_0x1fa15a(0x1e0)]=_0x4c60ab['hit'],this[_0x1fa15a(0x1a4)]=window[_0x1fa15a(0x19c)](()=>{const _0x143217=_0x1fa15a;this['leftClickTimer']=null,this['prepareClickComponent']&&this['prepareClickHit']&&(this['fireClickEvents'](this[_0x143217(0x1b6)],this[_0x143217(0x1e0)],![]),this[_0x143217(0x1b6)]=null,this[_0x143217(0x1e0)]=null);},this[_0x1fa15a(0x1ee)])):this[_0x1fa15a(0x1c0)][_0x1fa15a(0x1f1)]();}[_0x199886(0x171)](){const _0x2e0b46=_0x199886;this[_0x2e0b46(0x178)](),this['prepareClickComponent']&&this['prepareClickHit']?this['fireClickEvents'](this['prepareClickComponent'],this[_0x2e0b46(0x1e0)],!![]):this[_0x2e0b46(0x1c0)][_0x2e0b46(0x1f1)](),this[_0x2e0b46(0x1b6)]=null,this[_0x2e0b46(0x1e0)]=null;}[_0x199886(0x1d6)](_0x4470ce){const _0x5a405c=_0x199886;this['_pointButtonIsDown']['add'](_0x4470ce[_0x5a405c(0x1ae)]);_0x4470ce[_0x5a405c(0x1ae)]===0x0&&this[_0x5a405c(0x1bc)][_0x5a405c(0x1a1)](this['pointerPosition']);const _0x1dbede=this[_0x5a405c(0x1e3)](),_0x43f60c=_0x1dbede===null||_0x1dbede===void 0?void 0:_0x1dbede[_0x5a405c(0x1ba)];_0x43f60c instanceof SceneComponent&&_0x1dbede&&this['firePointerDownEvent'](_0x43f60c,_0x1dbede[_0x5a405c(0x1aa)],_0x4470ce['button']);}['onPointerEnterEvent'](_0x54569f){const _0x951cd5=_0x199886;this[_0x951cd5(0x183)]();}[_0x199886(0x17f)](_0x489137){this['removeCorePointerListeners']();}['fireComponentHoverBegin'](_0x5e8330,_0x3c6d54){const _0x1f31f7=_0x199886,_0x5698a6={'component':_0x5e8330,'hit':_0x3c6d54,'handled':![]};this[_0x1f31f7(0x1b0)][_0x1f31f7(0x1f1)](_0x5698a6),!_0x5698a6[_0x1f31f7(0x1dc)]&&_0x5e8330[_0x1f31f7(0x18f)]();}[_0x199886(0x194)](_0x52ba28){const _0x163a68=_0x199886,_0xba4e38={'component':_0x52ba28,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x163a68(0x1f1)](_0xba4e38),!_0xba4e38[_0x163a68(0x1dc)]&&_0x52ba28[_0x163a68(0x1c1)]();}[_0x199886(0x1bd)](_0x536420,_0x3bc5f4,_0x196ad5){const _0x13d940=_0x199886,_0x4d28fb=Object['assign']({'component':_0x536420,'hit':_0x3bc5f4,'handled':![]},this['prepareClickModifiers']);_0x196ad5?(this[_0x13d940(0x1e9)][_0x13d940(0x1f1)](_0x4d28fb),!_0x4d28fb[_0x13d940(0x1dc)]&&_0x536420[_0x13d940(0x19d)]()):(this[_0x13d940(0x1c8)][_0x13d940(0x1f1)](_0x4d28fb),!_0x4d28fb[_0x13d940(0x1dc)]&&_0x536420[_0x13d940(0x19a)]());}[_0x199886(0x1ea)](_0x4f8570,_0x44810f,_0xa47bae){const _0x3688b3=_0x199886,_0x4d2d50={'component':_0x4f8570,'hit':_0x44810f,'button':_0xa47bae,'handled':![]};this[_0x3688b3(0x179)]['broadcast'](_0x4d2d50);}[_0x199886(0x1de)](_0xea923d,_0x57da44,_0x4bbd65){const _0x639e27=_0x199886,_0x530c95={'actor':_0xea923d,'component':_0x57da44,'hit':_0x4bbd65,'handled':![]};this[_0x639e27(0x1c3)][_0x639e27(0x1f1)](_0x530c95),!_0x530c95[_0x639e27(0x1dc)]&&_0xea923d[_0x639e27(0x1f3)](_0x57da44);}[_0x199886(0x1d0)](_0x1101a7,_0x45c14c){const _0xb02e4=_0x199886,_0x584e29={'actor':_0x1101a7,'component':_0x45c14c,'hit':null,'handled':![]};this[_0xb02e4(0x1dd)][_0xb02e4(0x1f1)](_0x584e29),!_0x584e29[_0xb02e4(0x1dc)]&&_0x1101a7[_0xb02e4(0x193)](_0x45c14c);}[_0x199886(0x1a5)](_0x2ca8a9,_0x5194f3,_0x140450,_0x2a6898){const _0x3b4e69=_0x199886,_0x458504=Object['assign']({'actor':_0x2ca8a9,'component':_0x5194f3,'hit':_0x140450,'handled':![]},this['prepareClickModifiers']);_0x2a6898?(this[_0x3b4e69(0x1c6)][_0x3b4e69(0x1f1)](_0x458504),!_0x458504[_0x3b4e69(0x1dc)]&&_0x2ca8a9['onActorDoubleClick'](_0x5194f3)):(this['_onActorClickDelegate'][_0x3b4e69(0x1f1)](_0x458504),!_0x458504[_0x3b4e69(0x1dc)]&&_0x2ca8a9['onActorClick'](_0x5194f3));}[_0x199886(0x1f5)](_0x32031c,_0x3404cc,_0x30a13c){const _0x6fdda4=_0x199886;this[_0x6fdda4(0x1bd)](_0x32031c,_0x3404cc,_0x30a13c);const _0x49455b=_0x32031c[_0x6fdda4(0x1ad)];if(_0x49455b){if(_0x49455b[_0x6fdda4(0x1a8)])this[_0x6fdda4(0x1a5)](_0x49455b,_0x32031c,_0x3404cc,_0x30a13c);}}['clearClickTimer'](){const _0x30eb39=_0x199886;this[_0x30eb39(0x1a4)]&&(window[_0x30eb39(0x1a0)](this[_0x30eb39(0x1a4)]),this[_0x30eb39(0x1a4)]=null);}['addCorePointerListeners'](){const _0x308517=_0x199886,_0x4a0ad8=this[_0x308517(0x1b5)][_0x308517(0x1da)];if(!_0x4a0ad8)return;_0x4a0ad8[_0x308517(0x1ef)](_0x308517(0x1c5),this[_0x308517(0x197)]),_0x4a0ad8[_0x308517(0x1ef)]('pointerup',this['onPointerUp']),_0x4a0ad8[_0x308517(0x1ef)](_0x308517(0x18b),this[_0x308517(0x1f7)]);}[_0x199886(0x1c7)](){const _0x513092=_0x199886,_0x419069=this[_0x513092(0x1b5)][_0x513092(0x1da)];if(!_0x419069)return;_0x419069[_0x513092(0x1df)](_0x513092(0x1c5),this[_0x513092(0x197)]),_0x419069[_0x513092(0x1df)](_0x513092(0x187),this[_0x513092(0x1d1)]),_0x419069[_0x513092(0x1df)](_0x513092(0x18b),this[_0x513092(0x1f7)]);}[_0x199886(0x1e3)](_0x413e7c=!![]){const _0x33774c=_0x199886;return this[_0x33774c(0x1f4)](this[_0x33774c(0x1d5)]['x'],this['pointerPosition']['y'],_0x413e7c);}[_0x199886(0x1f4)](_0x3b2995,_0x23fee0,_0x649eea=!![]){const _0x1b91be=_0x199886;this[_0x1b91be(0x1b2)][_0x1b91be(0x1ca)](_0x3b2995,_0x23fee0),this['raycaster']['setFromCamera'](this[_0x1b91be(0x1b2)],this['camera']);const _0x297c28=this[_0x1b91be(0x173)](_0x3b2995,_0x23fee0);if(!_0x649eea)return _0x297c28[0x0]||null;for(const _0x125149 of _0x297c28){const _0x50074b=_0x125149[_0x1b91be(0x1ba)][_0x1b91be(0x1a2)]||_0x125149[_0x1b91be(0x1ba)][_0x1b91be(0x1a8)],_0x5f3da3=_0x125149['component']['parentActor'],_0x18e05f=_0x5f3da3&&(_0x5f3da3[_0x1b91be(0x1a2)]||_0x5f3da3[_0x1b91be(0x1a8)]);if(_0x50074b||_0x18e05f)return _0x125149;}return null;}[_0x199886(0x173)](_0x1afc08,_0x36774b){const _0x5d0cb4=_0x199886;this[_0x5d0cb4(0x1b2)][_0x5d0cb4(0x1ca)](_0x1afc08,_0x36774b),this[_0x5d0cb4(0x1bb)]['setFromCamera'](this[_0x5d0cb4(0x1b2)],this[_0x5d0cb4(0x1c9)]);const _0x61a3a4=this['raycaster'][_0x5d0cb4(0x17c)]['origin'],_0x41e5a4=this[_0x5d0cb4(0x1bb)][_0x5d0cb4(0x17c)]['at'](0x2710,new webgpu.Vector3()),_0x1d65e3=this[_0x5d0cb4(0x18c)][_0x5d0cb4(0x1b9)][_0x5d0cb4(0x1a9)](_0x61a3a4,_0x41e5a4,exports.CollisionChannel[_0x5d0cb4(0x1f0)]),_0x408aaf=[];for(const _0x11c548 of _0x1d65e3){if(!_0x11c548[_0x5d0cb4(0x172)]||!_0x11c548[_0x5d0cb4(0x172)][_0x5d0cb4(0x19f)])continue;const _0x41a5d0={'distance':_0x11c548[_0x5d0cb4(0x1ce)],'point':_0x11c548['point'],'object':_0x11c548[_0x5d0cb4(0x172)][_0x5d0cb4(0x19f)],'uv':new webgpu.Vector2(0x0,0x0)};_0x408aaf[_0x5d0cb4(0x1ac)]({'component':_0x11c548[_0x5d0cb4(0x172)],'hit':_0x41a5d0});if(_0x11c548['blocking'])break;}return _0x408aaf;}[_0x199886(0x1f6)](_0x59bee9,_0x3cf339,_0x4019fd,_0x32ebb6,_0x284fa5=null,_0x42eee4=null){const _0x33d250=_0x199886;this['pawn'][_0x33d250(0x1f6)](_0x59bee9,_0x3cf339,_0x4019fd,_0x32ebb6,_0x284fa5,_0x42eee4);}}
|
|
58
78
|
|
|
59
|
-
function
|
|
79
|
+
const _0x35e1d5=_0x3863;(function(_0x1b51ec,_0x1920f0){const _0x369099=_0x3863,_0x1f6624=_0x1b51ec();while(!![]){try{const _0x2aaf2d=-parseInt(_0x369099(0xd6))/0x1*(parseInt(_0x369099(0xe0))/0x2)+parseInt(_0x369099(0xd7))/0x3+-parseInt(_0x369099(0xd8))/0x4+-parseInt(_0x369099(0xda))/0x5+-parseInt(_0x369099(0xe3))/0x6+-parseInt(_0x369099(0xd2))/0x7*(-parseInt(_0x369099(0xcb))/0x8)+-parseInt(_0x369099(0xe2))/0x9*(-parseInt(_0x369099(0xcc))/0xa);if(_0x2aaf2d===_0x1920f0)break;else _0x1f6624['push'](_0x1f6624['shift']());}catch(_0x1da6e1){_0x1f6624['push'](_0x1f6624['shift']());}}}(_0x29be,0x5a1fc));function _0x3863(_0x3bdc5b,_0x2bade0){_0x3bdc5b=_0x3bdc5b-0xc9;const _0x29be87=_0x29be();let _0x386307=_0x29be87[_0x3bdc5b];return _0x386307;}function _0x29be(){const _0x316bae=['57DzpgaS','1346577BrEDJX','2421576Trjkdk','type','2007695ymymSm','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','Perspective','far','bottom','fov','20494oeCfEd','left','1005489SGPuWO','3946350UTugtl','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','near','610384fxiGqf','160aUsdMB','top','Invalid\x20camera\x20type','createCamera','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','right','35zygqFv','warn','aspect','updataCamera'];_0x29be=function(){return _0x316bae;};return _0x29be();}class CameraFactory{static[_0x35e1d5(0xcf)](_0x46b088){const _0x7118ab=_0x35e1d5;try{switch(_0x46b088[_0x7118ab(0xd9)]){case _0x7118ab(0xdc):{let _0x637fa8=_0x46b088;return new webgpu.PerspectiveCamera(_0x637fa8[_0x7118ab(0xdf)],_0x637fa8[_0x7118ab(0xd4)],_0x637fa8[_0x7118ab(0xca)],_0x637fa8[_0x7118ab(0xdd)]);}case 'Orthographic':{let _0x16a13b=_0x46b088;return new webgpu.OrthographicCamera(_0x16a13b[_0x7118ab(0xe1)],_0x16a13b[_0x7118ab(0xd1)],_0x16a13b[_0x7118ab(0xcd)],_0x16a13b[_0x7118ab(0xde)],_0x16a13b[_0x7118ab(0xca)],_0x16a13b[_0x7118ab(0xdd)]);}default:{throw new Error(_0x7118ab(0xce));}}}catch(_0x4c4602){return console[_0x7118ab(0xd3)](_0x7118ab(0xc9),_0x4c4602),console[_0x7118ab(0xd3)](_0x7118ab(0xdb)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x35e1d5(0xd5)](_0x415461,_0x2ce9a4){const _0xc9db73=_0x35e1d5;try{switch(_0x415461[_0xc9db73(0xd9)]){case _0xc9db73(0xdc):{let _0x43ddef=_0x415461;if(_0x2ce9a4 instanceof webgpu.PerspectiveCamera)return _0x2ce9a4['near']=_0x43ddef[_0xc9db73(0xca)],_0x2ce9a4[_0xc9db73(0xdd)]=_0x43ddef[_0xc9db73(0xdd)],_0x2ce9a4[_0xc9db73(0xdf)]=_0x43ddef['fov'],_0x2ce9a4[_0xc9db73(0xd4)]=_0x43ddef[_0xc9db73(0xd4)],_0x2ce9a4;return new webgpu.PerspectiveCamera(_0x43ddef['fov'],_0x43ddef[_0xc9db73(0xd4)],_0x43ddef['near'],_0x43ddef[_0xc9db73(0xdd)]);}case 'Orthographic':{let _0x186d67=_0x415461;if(_0x2ce9a4 instanceof webgpu.OrthographicCamera)return _0x2ce9a4[_0xc9db73(0xca)]=_0x186d67[_0xc9db73(0xca)],_0x2ce9a4[_0xc9db73(0xdd)]=_0x186d67['far'],_0x2ce9a4[_0xc9db73(0xe1)]=_0x186d67[_0xc9db73(0xe1)],_0x2ce9a4['right']=_0x186d67[_0xc9db73(0xd1)],_0x2ce9a4[_0xc9db73(0xcd)]=_0x186d67[_0xc9db73(0xcd)],_0x2ce9a4[_0xc9db73(0xde)]=_0x186d67['bottom'],_0x2ce9a4;return new webgpu.OrthographicCamera(_0x186d67[_0xc9db73(0xe1)],_0x186d67['right'],_0x186d67[_0xc9db73(0xcd)],_0x186d67[_0xc9db73(0xde)],_0x186d67['near'],_0x186d67['far']);}default:{throw new Error(_0xc9db73(0xce));}}}catch(_0x256a84){return console[_0xc9db73(0xd3)]('[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20',_0x256a84),console['warn'](_0xc9db73(0xd0)),_0x2ce9a4;}}}
|
|
60
80
|
|
|
61
|
-
const
|
|
81
|
+
const _0x347c78=_0x84da;(function(_0x472ad5,_0x18388b){const _0x1f6586=_0x84da,_0x4db445=_0x472ad5();while(!![]){try{const _0x41c56f=-parseInt(_0x1f6586(0x180))/0x1*(parseInt(_0x1f6586(0x184))/0x2)+-parseInt(_0x1f6586(0x187))/0x3*(-parseInt(_0x1f6586(0x183))/0x4)+-parseInt(_0x1f6586(0x185))/0x5+parseInt(_0x1f6586(0x17f))/0x6*(parseInt(_0x1f6586(0x181))/0x7)+-parseInt(_0x1f6586(0x188))/0x8+parseInt(_0x1f6586(0x186))/0x9+parseInt(_0x1f6586(0x17e))/0xa;if(_0x41c56f===_0x18388b)break;else _0x4db445['push'](_0x4db445['shift']());}catch(_0x550f3d){_0x4db445['push'](_0x4db445['shift']());}}}(_0xa6db,0x573da));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':'Perspective','fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x347c78(0x182),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON['parse'](JSON['stringify'](DefaultPerspectiveCameraParam));function _0x84da(_0x361de9,_0x1b6190){_0x361de9=_0x361de9-0x17e;const _0xa6db05=_0xa6db();let _0x84da4a=_0xa6db05[_0x361de9];return _0x84da4a;}function _0xa6db(){const _0x3baf91=['993514qZqUba','606065oCierr','4435056pDGdmD','93ftdyje','2718904RqfMeT','1475870oikytG','6pIhbfv','1GpQpfD','1196699swkiCn','Orthographic','65012UysiIG'];_0xa6db=function(){return _0x3baf91;};return _0xa6db();}
|
|
62
82
|
|
|
63
|
-
|
|
83
|
+
function _0x2683(_0x5bf245,_0x537986){_0x5bf245=_0x5bf245-0x1d8;const _0xcd69c2=_0xcd69();let _0x268365=_0xcd69c2[_0x5bf245];return _0x268365;}(function(_0x800bc5,_0x2040d3){const _0x15fcf0=_0x2683,_0x15888f=_0x800bc5();while(!![]){try{const _0x44666e=parseInt(_0x15fcf0(0x1de))/0x1+parseInt(_0x15fcf0(0x1dc))/0x2*(parseInt(_0x15fcf0(0x1d8))/0x3)+parseInt(_0x15fcf0(0x1db))/0x4+parseInt(_0x15fcf0(0x1dd))/0x5+-parseInt(_0x15fcf0(0x1da))/0x6+parseInt(_0x15fcf0(0x1d9))/0x7+-parseInt(_0x15fcf0(0x1df))/0x8;if(_0x44666e===_0x2040d3)break;else _0x15888f['push'](_0x15888f['shift']());}catch(_0x1a5185){_0x15888f['push'](_0x15888f['shift']());}}}(_0xcd69,0x24ba0));function _0xcd69(){const _0x43a1f7=['2099512eFhJBs','69NSiCYQ','1778IoGEhk','1621254LlojOB','511436TKimzB','13138THsMEo','1206205VABlaa','162639QKwFWJ'];_0xcd69=function(){return _0x43a1f7;};return _0xcd69();}const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
64
84
|
|
|
65
|
-
const _0x5e1ed7=_0x2d71;(function(_0x151a89,_0x4f7876){const _0x46814b=_0x2d71,_0x155915=_0x151a89();while(!![]){try{const _0x21e6a6=-parseInt(_0x46814b(0xbc))/0x1*(parseInt(_0x46814b(0x107))/0x2)+parseInt(_0x46814b(0xf6))/0x3*(-parseInt(_0x46814b(0x10b))/0x4)+-parseInt(_0x46814b(0xd2))/0x5+-parseInt(_0x46814b(0xc3))/0x6*(-parseInt(_0x46814b(0x120))/0x7)+parseInt(_0x46814b(0x132))/0x8+parseInt(_0x46814b(0xed))/0x9+parseInt(_0x46814b(0x113))/0xa;if(_0x21e6a6===_0x4f7876)break;else _0x155915['push'](_0x155915['shift']());}catch(_0x450aeb){_0x155915['push'](_0x155915['shift']());}}}(_0x4b9c,0x4361a));function _0x2d71(_0x339102,_0x560848){_0x339102=_0x339102-0xbc;const _0x4b9c8a=_0x4b9c();let _0x2d711=_0x4b9c8a[_0x339102];return _0x2d711;}function _0x4b9c(){const _0x36a864=['aperture','postProcessParam','lensflarePass','indexOf','processing','createEffectUniforms','renderer','edgeThicknessNode','includes','Outline','splice','dofAperture','88431MajlIJ','output','LensFlare','outlineVisibleEdgeColor','maxblur','set','destroy','strength','getTextureNode','pulsePeriod','fxaa','effectUniforms','dofFocus','resolutionScale','type','dofPass','outlineEdgeThickness','add','2465624struJT','190325Khtodl','setOutlineObjects','smaaEnabled','useTemporalFiltering','gtaoRadius','distanceExponent','distanceFallOff','54mKOAHc','gtaoThickness','hiddenEdgeColor','length','gtaoDistanceFallOff','bloomThreshold','ghostSpacing','div','getStepParam','lut3dTexture','removeOutlineObject','select','scene','Antialiasing','bloomStrength','1156600EUKeas','outlinePass','postProcessing','focus','samples','find','updateAllUniforms','fxaaEnabled','onDirtyCallback','outlineEdgeStrength','threshold','greaterThan','bokehScaleNode','bloomPass','radius','ghostTint','downSampleRatio','ghostAttenuationFactor','Bloom','selectedObjects','updateCamera','gtaoDistanceExponent','outlineEdgeGlow','dispose','scale','buildPipeline','smaa','646767UYZCsH','thickness','steps','depth','method','ghostSamples','edgeThickness','GroundTruthAmbientOcclusion','addOutlineObject','3603EDfScM','gtaoEnabled','dofEnabled','bloomRadius','edgeGlow','camera','DepthOfField','mul','dofMaxBlur','assign','gtaoScale','lensflareEnabled','push','normal','onBuildFinalNode','visibleEdgeColor','outlinePulsePeriod','4CmYSLB','edgeStrength','value','gtaoPass','436YjypQK','has','outlineObjects','traaPass','velocity','map','getViewZNode','markDirty','5251100QTltdp'];_0x4b9c=function(){return _0x36a864;};return _0x4b9c();}class PostProcessManager{constructor(_0x2c7002,_0x553eec,_0x159748,_0x401720,_0xac181a){const _0x3b2093=_0x2d71;this[_0x3b2093(0xd4)]=null,this[_0x3b2093(0x10d)]=[],this['effectUniforms']=null,this[_0x3b2093(0xd3)]=null,this[_0x3b2093(0xdf)]=null,this[_0x3b2093(0x12f)]=null,this[_0x3b2093(0x10a)]=null,this[_0x3b2093(0x10e)]=null,this[_0x3b2093(0x116)]=null,this['lut3dTexture']=null,this[_0x3b2093(0xda)]=null,this[_0x3b2093(0x11a)]=_0x2c7002,this[_0x3b2093(0xcf)]=_0x553eec,this[_0x3b2093(0xfb)]=_0x159748,this['postProcessParam']=Object[_0x3b2093(0xff)]({},_0x401720),this[_0x3b2093(0xda)]=_0xac181a!==null&&_0xac181a!==void 0?_0xac181a:null;}get[_0x5e1ed7(0x118)](){return this['postProcessing'];}[_0x5e1ed7(0xe6)](_0x1044f9){const _0x139dec=_0x5e1ed7;this['camera']=_0x1044f9,(!this['postProcessing']||!this['effectUniforms'])&&(this[_0x139dec(0xeb)](),this[_0x139dec(0xd8)](),this[_0x139dec(0x112)]());}['setup'](){const _0x24848b=_0x5e1ed7;(!this['postProcessing']||!this[_0x24848b(0x12b)])&&this[_0x24848b(0xeb)](),this['updateAllUniforms'](),this['markDirty']();}[_0x5e1ed7(0xeb)](){const _0x726ef1=_0x5e1ed7;var _0x3d740f,_0x46481c,_0x522752,_0x5e6170,_0x5889fb;this[_0x726ef1(0xd4)]&&this[_0x726ef1(0xd4)][_0x726ef1(0xe9)]();this['postProcessing']=new webgpu.PostProcessing(this[_0x726ef1(0x11a)]),this['effectUniforms']=this['createEffectUniforms']();const _0x180de1=tsl.pass(this['scene'],this['camera']);_0x180de1['setMRT'](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x3a2d1c=_0x180de1[_0x726ef1(0x128)](_0x726ef1(0x121)),_0x14f00d=_0x180de1[_0x726ef1(0x128)](_0x726ef1(0x103)),_0x539ad7=_0x180de1['getTextureNode'](_0x726ef1(0xf0)),_0x3ef349=_0x180de1['getTextureNode'](_0x726ef1(0x10f)),_0x3567e9=_0x180de1[_0x726ef1(0x111)](),_0x561697=this[_0x726ef1(0x12b)],_0x471a7a=(_0x3d740f=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xe4)]))!==null&&_0x3d740f!==void 0?_0x3d740f:DefaultBloomParam;this[_0x726ef1(0xdf)]=BloomNode_js.bloom(_0x3a2d1c),this['bloomPass']['threshold']['value']=_0x471a7a[_0x726ef1(0xdc)],this[_0x726ef1(0xdf)][_0x726ef1(0x127)][_0x726ef1(0x109)]=_0x471a7a[_0x726ef1(0x127)],this[_0x726ef1(0xdf)][_0x726ef1(0xe0)][_0x726ef1(0x109)]=_0x471a7a[_0x726ef1(0xe0)];const _0x4d72cc=_0x3a2d1c[_0x726ef1(0x131)](this[_0x726ef1(0xdf)][_0x726ef1(0xfd)](_0x561697[_0x726ef1(0xd1)])),_0x57cb41=_0x561697['bloomEnabled']['greaterThan'](0.5)['select'](_0x4d72cc,_0x3a2d1c),_0x43837d=(_0x46481c=this['getStepParam'](exports.PostProcessStepType['LensFlare']))!==null&&_0x46481c!==void 0?_0x46481c:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x726ef1(0xdf)][_0x726ef1(0x128)](),{'ghostTint':tsl.vec3(_0x43837d[_0x726ef1(0xe1)][0x0],_0x43837d[_0x726ef1(0xe1)][0x1],_0x43837d[_0x726ef1(0xe1)][0x2]),'threshold':tsl.float(_0x43837d[_0x726ef1(0xdc)]),'ghostSamples':tsl.float(_0x43837d[_0x726ef1(0xf2)]),'ghostSpacing':tsl.float(_0x43837d[_0x726ef1(0xc9)]),'ghostAttenuationFactor':tsl.float(_0x43837d[_0x726ef1(0xe3)]),'downSampleRatio':_0x43837d[_0x726ef1(0xe2)]});const _0x335e90=_0x57cb41[_0x726ef1(0x131)](this[_0x726ef1(0x116)][_0x726ef1(0x128)]()),_0x18ec62=_0x561697[_0x726ef1(0x101)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x335e90,_0x57cb41),_0x195884=(_0x522752=this[_0x726ef1(0xcb)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x522752!==void 0?_0x522752:DefaultDOFParam;this[_0x726ef1(0x12f)]=DepthOfFieldNode_js.dof(_0x18ec62,_0x3567e9,tsl.uniform(_0x195884['focus']),tsl.uniform(_0x195884[_0x726ef1(0x114)]),tsl.uniform(_0x195884[_0x726ef1(0x124)]));const _0x1455b3=_0x561697[_0x726ef1(0xf8)]['greaterThan'](0.5)[_0x726ef1(0xce)](this[_0x726ef1(0x12f)],_0x18ec62),_0x18d130=(_0x5e6170=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xf4)]))!==null&&_0x5e6170!==void 0?_0x5e6170:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x539ad7,_0x14f00d,this[_0x726ef1(0xfb)]),this[_0x726ef1(0x10a)][_0x726ef1(0x12d)]=0.5,this[_0x726ef1(0x10a)]['distanceExponent'][_0x726ef1(0x109)]=_0x18d130['distanceExponent'],this[_0x726ef1(0x10a)]['distanceFallOff'][_0x726ef1(0x109)]=_0x18d130['distanceFallOff'],this['gtaoPass'][_0x726ef1(0xe0)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xe0)],this[_0x726ef1(0x10a)][_0x726ef1(0xea)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xea)],this[_0x726ef1(0x10a)]['thickness'][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xee)],this[_0x726ef1(0x10a)][_0x726ef1(0xd6)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xd6)],this[_0x726ef1(0x10a)][_0x726ef1(0xbf)]=_0x18d130[_0x726ef1(0xbf)];const _0x5534c6=this[_0x726ef1(0x10a)]['getTextureNode'](),_0x10db1c=_0x5534c6['r'],_0x5753b0=_0x1455b3[_0x726ef1(0xfd)](_0x10db1c),_0x39c94f=_0x561697[_0x726ef1(0xf7)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x5753b0,_0x1455b3),_0xc0b29=(_0x5889fb=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0x11d)]))!==null&&_0x5889fb!==void 0?_0x5889fb:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this['scene'],this['camera'],{'selectedObjects':this[_0x726ef1(0x10d)],'edgeGlow':tsl.uniform(_0xc0b29[_0x726ef1(0xfa)]),'edgeThickness':tsl.uniform(_0xc0b29['edgeThickness'])});const {visibleEdge:_0xd12d06,hiddenEdge:_0x18e758}=this[_0x726ef1(0xd3)],_0x20ada1=_0x561697[_0x726ef1(0x106)][_0x726ef1(0xdd)](0x0)[_0x726ef1(0xce)](_0x561697[_0x726ef1(0x106)],tsl.uniform(0x1)),_0x5b516f=tsl.time[_0x726ef1(0xca)](_0x20ada1)[_0x726ef1(0xfd)](0x2),_0x53eac1=tsl.oscSine(_0x5b516f)['mul'](0.5)['add'](0.5),_0x3df633=_0xd12d06['mul'](_0x561697['outlineVisibleEdgeColor'])[_0x726ef1(0x131)](_0x18e758[_0x726ef1(0xfd)](_0x561697['outlineHiddenEdgeColor']))['mul'](_0x561697[_0x726ef1(0xdb)]),_0x5e1416=_0x561697['outlinePulsePeriod'][_0x726ef1(0xdd)](0x0)['select'](_0x3df633[_0x726ef1(0xfd)](_0x53eac1),_0x3df633),_0x5f478f=_0x5e1416[_0x726ef1(0x131)](_0x39c94f),_0x53a67f=_0x561697['outlineEnabled'][_0x726ef1(0xdd)](0.5)['select'](_0x5f478f,_0x39c94f),_0x34fd15=FXAANode_js.fxaa(_0x53a67f),_0x36b47c=_0x561697[_0x726ef1(0xd9)][_0x726ef1(0xdd)](0.5)['select'](_0x34fd15,_0x53a67f),_0x5eddea=SMAANode_js.smaa(_0x36b47c),_0x3129d7=_0x561697[_0x726ef1(0xbe)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x5eddea,_0x36b47c),_0x560f51=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xd0)]);let _0x13a12f=_0x3129d7;_0x560f51&&_0x560f51[_0x726ef1(0xf1)]==='traa'&&(this['traaPass']=TRAANode_js.traa(_0x3129d7,_0x539ad7,_0x3ef349,this['camera']),_0x13a12f=this[_0x726ef1(0x10e)][_0x726ef1(0x128)]()),_0x13a12f=this[_0x726ef1(0x104)](_0x13a12f),this['postProcessing']['outputNode']=_0x13a12f,this[_0x726ef1(0xd4)]['needsUpdate']=!![];}['onBuildFinalNode'](_0x467d22){return _0x467d22;}[_0x5e1ed7(0x119)](){const _0x451e84=_0x5e1ed7;var _0x5f52c7,_0xd0b0c9,_0x1e743c,_0x164c45;const _0x3223d4=(_0x5f52c7=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xe4)]))!==null&&_0x5f52c7!==void 0?_0x5f52c7:DefaultBloomParam,_0x5580f8=(_0xd0b0c9=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xfc)]))!==null&&_0xd0b0c9!==void 0?_0xd0b0c9:DefaultDOFParam,_0x13e20a=(_0x1e743c=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xf4)]))!==null&&_0x1e743c!==void 0?_0x1e743c:DefaultGTAOParam,_0x936744=(_0x164c45=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0x11d)]))!==null&&_0x164c45!==void 0?_0x164c45:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x3223d4[_0x451e84(0x127)]),'bloomThreshold':tsl.uniform(_0x3223d4[_0x451e84(0xdc)]),'bloomRadius':tsl.uniform(_0x3223d4[_0x451e84(0xe0)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x5580f8[_0x451e84(0xd5)]),'dofAperture':tsl.uniform(_0x5580f8[_0x451e84(0x114)]),'dofMaxBlur':tsl.uniform(_0x5580f8[_0x451e84(0x124)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x13e20a[_0x451e84(0xea)]),'gtaoDistanceExponent':tsl.uniform(_0x13e20a[_0x451e84(0xc1)]),'gtaoDistanceFallOff':tsl.uniform(_0x13e20a[_0x451e84(0xc2)]),'gtaoRadius':tsl.uniform(_0x13e20a[_0x451e84(0xe0)]),'gtaoThickness':tsl.uniform(_0x13e20a['thickness']),'gtaoSamples':tsl.uniform(_0x13e20a[_0x451e84(0xd6)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x936744['edgeStrength']),'outlineEdgeGlow':tsl.uniform(_0x936744[_0x451e84(0xfa)]),'outlineEdgeThickness':tsl.uniform(_0x936744[_0x451e84(0xf3)]),'outlinePulsePeriod':tsl.uniform(_0x936744[_0x451e84(0x129)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x936744[_0x451e84(0x105)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x936744[_0x451e84(0xc5)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x5e1ed7(0xcb)](_0x1eb139){const _0x208f0a=_0x5e1ed7;var _0x146ef5;return (_0x146ef5=this[_0x208f0a(0x115)]['steps'][_0x208f0a(0xd7)](_0xb07a17=>_0xb07a17['type']===_0x1eb139))!==null&&_0x146ef5!==void 0?_0x146ef5:null;}[_0x5e1ed7(0xd8)](){const _0x56b7e3=_0x5e1ed7;if(!this[_0x56b7e3(0x12b)])return;const _0x274d97=this[_0x56b7e3(0x12b)],_0x2e8df0=new Set(this[_0x56b7e3(0x115)]['steps'][_0x56b7e3(0x110)](_0x1221f3=>_0x1221f3[_0x56b7e3(0x12e)]));_0x274d97['bloomEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0xe4)])?0x1:0x0,_0x274d97['dofEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x274d97[_0x56b7e3(0xf7)][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0xf4)])?0x1:0x0,_0x274d97['outlineEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0x11d)])?0x1:0x0,_0x274d97['lensflareEnabled']['value']=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0x122)])?0x1:0x0;const _0x21a0da=this[_0x56b7e3(0xcb)](exports.PostProcessStepType[_0x56b7e3(0xd0)]);_0x21a0da?(_0x274d97[_0x56b7e3(0xd9)][_0x56b7e3(0x109)]=_0x21a0da[_0x56b7e3(0xf1)]===_0x56b7e3(0x12a)?0x1:0x0,_0x274d97[_0x56b7e3(0xbe)]['value']=_0x21a0da[_0x56b7e3(0xf1)]===_0x56b7e3(0xec)?0x1:0x0):(_0x274d97['fxaaEnabled']['value']=0x0,_0x274d97[_0x56b7e3(0xbe)]['value']=0x0);const _0x50fe94=this[_0x56b7e3(0xcb)](exports.PostProcessStepType[_0x56b7e3(0xe4)]);_0x50fe94&&(_0x274d97['bloomStrength'][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0x127)],_0x274d97[_0x56b7e3(0xc8)][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0xdc)],_0x274d97[_0x56b7e3(0xf9)]['value']=_0x50fe94[_0x56b7e3(0xe0)],this['bloomPass']&&(this[_0x56b7e3(0xdf)][_0x56b7e3(0xdc)][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0xdc)],this[_0x56b7e3(0xdf)][_0x56b7e3(0x127)][_0x56b7e3(0x109)]=_0x50fe94['strength'],this[_0x56b7e3(0xdf)][_0x56b7e3(0xe0)]['value']=_0x50fe94[_0x56b7e3(0xe0)]));const _0x286ba4=this['getStepParam'](exports.PostProcessStepType[_0x56b7e3(0x122)]);if(_0x286ba4&&this['lensflarePass']);const _0x59bdb2=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['DepthOfField']);_0x59bdb2&&(_0x274d97[_0x56b7e3(0x12c)]['value']=_0x59bdb2[_0x56b7e3(0xd5)],_0x274d97[_0x56b7e3(0x11f)][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x114)],_0x274d97[_0x56b7e3(0xfe)][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x124)],this[_0x56b7e3(0x12f)]&&(this[_0x56b7e3(0x12f)]['focusDistanceNode']['value']=_0x59bdb2['focus'],this[_0x56b7e3(0x12f)]['focalLengthNode'][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x114)],this[_0x56b7e3(0x12f)][_0x56b7e3(0xde)]['value']=_0x59bdb2[_0x56b7e3(0x124)]));const _0x1ba4cc=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x1ba4cc&&(_0x274d97[_0x56b7e3(0x100)]['value']=_0x1ba4cc[_0x56b7e3(0xea)],_0x274d97[_0x56b7e3(0xe7)][_0x56b7e3(0x109)]=_0x1ba4cc['distanceExponent'],_0x274d97[_0x56b7e3(0xc7)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc2)],_0x274d97[_0x56b7e3(0xc0)][_0x56b7e3(0x109)]=_0x1ba4cc['radius'],_0x274d97[_0x56b7e3(0xc4)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xee)],_0x274d97['gtaoSamples'][_0x56b7e3(0x109)]=_0x1ba4cc['samples'],this[_0x56b7e3(0x10a)]&&(this['gtaoPass'][_0x56b7e3(0xc1)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc1)],this['gtaoPass'][_0x56b7e3(0xc2)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc2)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xe0)][_0x56b7e3(0x109)]=_0x1ba4cc['radius'],this[_0x56b7e3(0x10a)][_0x56b7e3(0xea)]['value']=_0x1ba4cc[_0x56b7e3(0xea)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xee)]['value']=_0x1ba4cc[_0x56b7e3(0xee)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xd6)][_0x56b7e3(0x109)]=_0x1ba4cc['samples'],this[_0x56b7e3(0x10a)][_0x56b7e3(0xbf)]=_0x1ba4cc['useTemporalFiltering']));const _0xe6601f=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['Outline']);_0xe6601f&&(_0x274d97['outlineEdgeStrength'][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0x108)],_0x274d97[_0x56b7e3(0xe8)]['value']=_0xe6601f[_0x56b7e3(0xfa)],_0x274d97[_0x56b7e3(0x130)][_0x56b7e3(0x109)]=_0xe6601f['edgeThickness'],_0x274d97[_0x56b7e3(0x106)][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0x129)],_0x274d97[_0x56b7e3(0x123)][_0x56b7e3(0x109)][_0x56b7e3(0x125)](_0xe6601f['visibleEdgeColor']),_0x274d97['outlineHiddenEdgeColor'][_0x56b7e3(0x109)][_0x56b7e3(0x125)](_0xe6601f[_0x56b7e3(0xc5)]),this['outlinePass']&&(this[_0x56b7e3(0xd3)]['edgeGlowNode'][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0xfa)],this['outlinePass'][_0x56b7e3(0x11b)][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0xf3)],this[_0x56b7e3(0xd3)][_0x56b7e3(0xe5)]=this[_0x56b7e3(0x10d)]));}['updateSteps'](_0x952ba8){const _0x4f68ec=_0x5e1ed7;this[_0x4f68ec(0x115)][_0x4f68ec(0xef)]=_0x952ba8,(!this['effectUniforms']||!this['postProcessing'])&&this[_0x4f68ec(0xeb)](),this[_0x4f68ec(0xd8)](),this[_0x4f68ec(0x112)]();}[_0x5e1ed7(0xf5)](_0x6e11a6){const _0x337428=_0x5e1ed7;!this[_0x337428(0x10d)][_0x337428(0x11c)](_0x6e11a6)&&(this[_0x337428(0x10d)][_0x337428(0x102)](_0x6e11a6),this['outlinePass']&&(this[_0x337428(0xd3)][_0x337428(0xe5)]=this[_0x337428(0x10d)])),this[_0x337428(0x112)]();}[_0x5e1ed7(0xbd)](_0x1d808d){const _0x33d9ba=_0x5e1ed7;this[_0x33d9ba(0x10d)][_0x33d9ba(0xc6)]=0x0,this['outlineObjects']['push'](..._0x1d808d),this[_0x33d9ba(0xd3)]&&(this['outlinePass'][_0x33d9ba(0xe5)]=this[_0x33d9ba(0x10d)]),this['markDirty']();}[_0x5e1ed7(0xcd)](_0x387a80){const _0x5f4675=_0x5e1ed7,_0x3ba8a8=this[_0x5f4675(0x10d)][_0x5f4675(0x117)](_0x387a80);_0x3ba8a8>-1&&(this[_0x5f4675(0x10d)][_0x5f4675(0x11e)](_0x3ba8a8,0x1),this[_0x5f4675(0xd3)]&&(this[_0x5f4675(0xd3)]['selectedObjects']=this[_0x5f4675(0x10d)])),this[_0x5f4675(0x112)]();}['setLUT3DTexture'](_0xdb8ad5){const _0x593d77=_0x5e1ed7;this[_0x593d77(0xcc)]=_0xdb8ad5,this[_0x593d77(0xeb)](),this[_0x593d77(0xd8)](),this[_0x593d77(0x112)]();}['getLUT3DTexture'](){const _0x1b2d4d=_0x5e1ed7;return this[_0x1b2d4d(0xcc)];}['render'](){const _0x2c3d43=_0x5e1ed7;if(this[_0x2c3d43(0xd4)])return this[_0x2c3d43(0xd4)]['render'](),!![];return ![];}[_0x5e1ed7(0x126)](){const _0x1c49fd=_0x5e1ed7;this[_0x1c49fd(0x10d)]=[],this[_0x1c49fd(0x12b)]=null,this[_0x1c49fd(0xd3)]=null,this[_0x1c49fd(0xdf)]=null,this[_0x1c49fd(0x12f)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x1c49fd(0x116)]=null,this['lut3dTexture']=null,this[_0x1c49fd(0xd4)]&&(this[_0x1c49fd(0xd4)][_0x1c49fd(0xe9)](),this['postProcessing']=null);}['markDirty'](){const _0x319f92=_0x5e1ed7;this[_0x319f92(0xda)]&&this[_0x319f92(0xda)]();}}
|
|
85
|
+
function _0xc54a(_0x18446e,_0x420720){_0x18446e=_0x18446e-0x173;const _0x3a2fbe=_0x3a2f();let _0xc54ab3=_0x3a2fbe[_0x18446e];return _0xc54ab3;}function _0x3a2f(){const _0x3e412a=['6jqnqYu','117310ptjyCg','98133HoVSVO','5883000KARHiN','11FoDVIi','161932OQITDb','10nuFHUa','6114VDXoTO','2362266xmlaKN','1235iFeHTz','24IMkXCU','456276wFFTut'];_0x3a2f=function(){return _0x3e412a;};return _0x3a2f();}(function(_0x49a58e,_0x167ea4){const _0x2463a6=_0xc54a,_0x28d8dd=_0x49a58e();while(!![]){try{const _0x5768f3=-parseInt(_0x2463a6(0x176))/0x1+parseInt(_0x2463a6(0x17e))/0x2+parseInt(_0x2463a6(0x17d))/0x3*(parseInt(_0x2463a6(0x17c))/0x4)+-parseInt(_0x2463a6(0x17a))/0x5*(-parseInt(_0x2463a6(0x178))/0x6)+parseInt(_0x2463a6(0x173))/0x7*(parseInt(_0x2463a6(0x17b))/0x8)+-parseInt(_0x2463a6(0x179))/0x9*(-parseInt(_0x2463a6(0x177))/0xa)+parseInt(_0x2463a6(0x175))/0xb*(-parseInt(_0x2463a6(0x174))/0xc);if(_0x5768f3===_0x167ea4)break;else _0x28d8dd['push'](_0x28d8dd['shift']());}catch(_0x202890){_0x28d8dd['push'](_0x28d8dd['shift']());}}}(_0x3a2f,0x2e973));const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};
|
|
66
86
|
|
|
67
|
-
const _0x343899=_0x5556;(function(_0x28dd9a,_0x358152){const _0xa4c06e=_0x5556,_0x5bfb00=_0x28dd9a();while(!![]){try{const _0x260d94=-parseInt(_0xa4c06e(0x143))/0x1+parseInt(_0xa4c06e(0x183))/0x2+-parseInt(_0xa4c06e(0x163))/0x3+parseInt(_0xa4c06e(0x14c))/0x4+-parseInt(_0xa4c06e(0x19d))/0x5+-parseInt(_0xa4c06e(0x19c))/0x6+-parseInt(_0xa4c06e(0x140))/0x7*(-parseInt(_0xa4c06e(0x177))/0x8);if(_0x260d94===_0x358152)break;else _0x5bfb00['push'](_0x5bfb00['shift']());}catch(_0x64d7de){_0x5bfb00['push'](_0x5bfb00['shift']());}}}(_0x3eb5,0x870c5));function _0x5556(_0x1a8269,_0x20be4f){_0x1a8269=_0x1a8269-0x13d;const _0x3eb578=_0x3eb5();let _0x555673=_0x3eb578[_0x1a8269];return _0x555673;}function _0x3eb5(){const _0x52d30f=['render','100%','1657864rPoSQW','createPostProcessManager','samples','antialias','elementId','postProcessParam','setupPostProcess','setAnimationLoop','setClearAlpha','setDepth','camera','className','scene-uiLayer','updatePostProcess','.scene-uiLayer','zIndex','createLabelRenderer','removeOutlineObject','shadowMap','onWindowResize','clientWidth','app','position','setStencil','left','4279956CAnSKK','3906035mADfiP','style','pointerEvents','App\x20is\x20not\x20initialized','onAfterPostProcessRender','updateSteps','disconnect','setup','createRenderer','querySelector','setToneMapping','createUILayer','5579GLTtxt','dispose','enabled','847133xqzKrL','addOutlineObject','updateCamera','isUILayerNeeded','depth','observe','alpha','setToneMappingExposure','setLogarithmicDepthBufferEnabled','1395376NDRSuB','getElementById','type','setOutlineObjects','canvas','logarithmicDepthBuffer','isRenderStateDirty','createElement','renderAsImage','_canvasContainer','forceWebGL','height','world','_uiDom','appendChild','_app','destroy','clientHeight','outer','init','top','labelRenderer','0px','80367zlnjPT','Renderer\x20is\x20not\x20initialized','isLabelRendererNeeded','_outerContainer','toneMapping','none','toDataURL','assign','postProcessManager','setShadowMapType','uiDom','_renderer','add','image/jpeg','updateRendererSettings','outputBufferType','scene-labelRenderer','toneMappingExposure','stencil','domElement','17504IeFaZX','shadowMapType','renderer','resizeObserver','markRenderStateDirty','remove','contentBoxSize','destroyPostProcess','setSize','scene'];_0x3eb5=function(){return _0x52d30f;};return _0x3eb5();}class Viewport{get[_0x343899(0x16d)](){const _0x25d722=_0x343899;return this[_0x25d722(0x159)];}get[_0x343899(0x150)](){const _0x46b43a=_0x343899;return this[_0x46b43a(0x155)];}get[_0x343899(0x15e)](){return this['_outerContainer'];}get['renderer'](){const _0x3a4fdb=_0x343899;if(!this[_0x3a4fdb(0x16e)])throw Error(_0x3a4fdb(0x164));return this[_0x3a4fdb(0x16e)];}get[_0x343899(0x198)](){const _0x3a366b=_0x343899;if(!this['_app'])throw Error(_0x3a366b(0x1a0));return this[_0x3a366b(0x15b)];}constructor(_0x4ff966,_0x224639,_0x33e348,_0x5a2b39){const _0x367830=_0x343899;this[_0x367830(0x159)]=null,this[_0x367830(0x16e)]=null,this[_0x367830(0x161)]=null,this[_0x367830(0x15b)]=null,this[_0x367830(0x17a)]=null,this[_0x367830(0x166)]=null,this[_0x367830(0x155)]=null,this[_0x367830(0x152)]=!![],this[_0x367830(0x16b)]=null,this['postProcessParam']=Object[_0x367830(0x16a)]({},_0x5a2b39),this[_0x367830(0x15b)]=_0x4ff966,_0x224639[_0x367830(0x187)]&&(this[_0x367830(0x166)]=document[_0x367830(0x14d)](_0x224639['elementId'])),this[_0x367830(0x1a5)](_0x33e348),_0x224639[_0x367830(0x165)]&&this[_0x367830(0x193)](),_0x224639[_0x367830(0x146)]&&this[_0x367830(0x13f)](),this[_0x367830(0x166)]&&(this['resizeObserver']=new ResizeObserver(_0x40eb5d=>{const _0x459ad=_0x367830;for(let _0x14b949 of _0x40eb5d){_0x14b949[_0x459ad(0x17d)]&&this[_0x459ad(0x196)]();}}),this[_0x367830(0x17a)][_0x367830(0x148)](this[_0x367830(0x166)])),this[_0x367830(0x198)]['onCameraChangedDelegate'][_0x367830(0x16f)](()=>{const _0x2b8fc5=_0x367830;this[_0x2b8fc5(0x16b)]&&(this[_0x2b8fc5(0x16b)][_0x2b8fc5(0x145)](this[_0x2b8fc5(0x198)][_0x2b8fc5(0x18d)]),this[_0x2b8fc5(0x16b)][_0x2b8fc5(0x1a4)]());});}[_0x343899(0x1a5)](_0x4aaddc){const _0x4ed2f3=_0x343899;this[_0x4ed2f3(0x166)]&&!this[_0x4ed2f3(0x155)]&&(this[_0x4ed2f3(0x155)]=document[_0x4ed2f3(0x153)]('div'),this[_0x4ed2f3(0x155)]['style'][_0x4ed2f3(0x19b)]='0px',this[_0x4ed2f3(0x155)][_0x4ed2f3(0x19e)][_0x4ed2f3(0x160)]=_0x4ed2f3(0x162),this[_0x4ed2f3(0x155)][_0x4ed2f3(0x19e)]['width']=_0x4ed2f3(0x182),this['_canvasContainer'][_0x4ed2f3(0x19e)][_0x4ed2f3(0x157)]='100%',this['_outerContainer'][_0x4ed2f3(0x15a)](this[_0x4ed2f3(0x155)]));const _0x115025=this['_canvasContainer'];this['_renderer']&&(_0x115025&&_0x115025['removeChild'](this['_renderer'][_0x4ed2f3(0x176)]),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x141)]());let _0x30ab40=_0x115025?_0x115025['clientWidth']:0x200,_0x26e96c=_0x115025?_0x115025[_0x4ed2f3(0x15d)]:0x200,_0x4b3ffd={};_0x4b3ffd[_0x4ed2f3(0x156)]=_0x4aaddc[_0x4ed2f3(0x156)],_0x4b3ffd['antialias']=_0x4aaddc[_0x4ed2f3(0x186)],_0x4b3ffd[_0x4ed2f3(0x147)]=_0x4aaddc[_0x4ed2f3(0x147)],_0x4b3ffd[_0x4ed2f3(0x175)]=_0x4aaddc[_0x4ed2f3(0x175)],_0x4b3ffd[_0x4ed2f3(0x149)]=_0x4aaddc[_0x4ed2f3(0x149)],_0x4b3ffd[_0x4ed2f3(0x151)]=_0x4aaddc[_0x4ed2f3(0x151)],_0x4b3ffd[_0x4ed2f3(0x185)]=_0x4aaddc['samples'],_0x4b3ffd[_0x4ed2f3(0x172)]=_0x4aaddc['outputBufferType'],this[_0x4ed2f3(0x16e)]=new webgpu.WebGPURenderer(_0x4b3ffd),this[_0x4ed2f3(0x16e)]['setPixelRatio'](window['devicePixelRatio']),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x17f)](_0x30ab40,_0x26e96c),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x195)]['enabled']=_0x4aaddc['shadowMapEnabled'],this['_renderer'][_0x4ed2f3(0x195)][_0x4ed2f3(0x14e)]=_0x4aaddc[_0x4ed2f3(0x178)],this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x167)]=_0x4aaddc[_0x4ed2f3(0x167)],this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x174)]=_0x4aaddc[_0x4ed2f3(0x174)],this['_renderer'][_0x4ed2f3(0x18b)](0x0),_0x115025&&_0x115025[_0x4ed2f3(0x15a)](this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x176)]);}[_0x343899(0x193)](){const _0x5cf6ae=_0x343899,_0x2f9a39=this[_0x5cf6ae(0x166)];this['labelRenderer']&&(_0x2f9a39&&_0x2f9a39['removeChild'](this['labelRenderer'][_0x5cf6ae(0x176)]));let _0x1fbe25=_0x2f9a39?_0x2f9a39['clientWidth']:0x200,_0x3e52e9=_0x2f9a39?_0x2f9a39[_0x5cf6ae(0x15d)]:0x200;this[_0x5cf6ae(0x161)]=new Addons_js.CSS2DRenderer(),this[_0x5cf6ae(0x161)]['setSize'](_0x1fbe25,_0x3e52e9),this['labelRenderer'][_0x5cf6ae(0x176)][_0x5cf6ae(0x19e)]['pointerEvents']=_0x5cf6ae(0x168),this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)][_0x5cf6ae(0x19e)][_0x5cf6ae(0x199)]='absolute',this[_0x5cf6ae(0x161)]['domElement'][_0x5cf6ae(0x19e)][_0x5cf6ae(0x160)]='0px',this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)][_0x5cf6ae(0x18e)]=_0x5cf6ae(0x173),_0x2f9a39&&_0x2f9a39[_0x5cf6ae(0x15a)](this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)]);}['createUILayer'](){const _0x46692b=_0x343899;if(!this[_0x46692b(0x166)])return;let _0x4968ac=this[_0x46692b(0x166)][_0x46692b(0x13d)](_0x46692b(0x191));!_0x4968ac&&(_0x4968ac=document[_0x46692b(0x153)]('div'),_0x4968ac[_0x46692b(0x18e)]=_0x46692b(0x18f),_0x4968ac['id']=_0x46692b(0x18f),_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x199)]='absolute',_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x19b)]='0',_0x4968ac[_0x46692b(0x19e)]['top']='0',_0x4968ac[_0x46692b(0x19e)]['width']=_0x46692b(0x182),_0x4968ac['style'][_0x46692b(0x157)]=_0x46692b(0x182),_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x19f)]='none',_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x192)]='10',this['_outerContainer'][_0x46692b(0x15a)](_0x4968ac),this[_0x46692b(0x159)]=_0x4968ac);}[_0x343899(0x15f)](){this['setupPostProcess']();}[_0x343899(0x189)](){const _0x249e27=_0x343899;!this[_0x249e27(0x16b)]&&(this[_0x249e27(0x16b)]=this[_0x249e27(0x184)]()),this[_0x249e27(0x16b)]['setup']();}['createPostProcessManager'](){const _0x26e721=_0x343899;return new PostProcessManager(this['renderer'],this[_0x26e721(0x198)][_0x26e721(0x158)][_0x26e721(0x180)],this[_0x26e721(0x198)][_0x26e721(0x18d)],this[_0x26e721(0x188)],()=>this['markRenderStateDirty']());}[_0x343899(0x190)](_0xda11d6){const _0x1ecc5f=_0x343899;this['postProcessManager']&&this[_0x1ecc5f(0x16b)][_0x1ecc5f(0x1a2)](_0xda11d6);}[_0x343899(0x171)](_0xaa5183){const _0x4b1173=_0x343899;this['createRenderer'](_0xaa5183),this[_0x4b1173(0x17b)]();}['addOutlineObject'](_0x2757ec){const _0x15b43c=_0x343899;this['postProcessManager']&&this[_0x15b43c(0x16b)][_0x15b43c(0x144)](_0x2757ec);}[_0x343899(0x14f)](_0x3665aa){const _0x24cc3c=_0x343899;this[_0x24cc3c(0x16b)]&&this['postProcessManager'][_0x24cc3c(0x14f)](_0x3665aa);}[_0x343899(0x194)](_0x247594){const _0x1b84b5=_0x343899;this[_0x1b84b5(0x16b)]&&this[_0x1b84b5(0x16b)][_0x1b84b5(0x194)](_0x247594);}[_0x343899(0x17e)](){const _0x4682ba=_0x343899;this[_0x4682ba(0x16b)]&&(this[_0x4682ba(0x16b)][_0x4682ba(0x15c)](),this[_0x4682ba(0x16b)]=null);}[_0x343899(0x196)](){const _0x33d527=_0x343899;let _0x5917dd=this[_0x33d527(0x166)];if(!_0x5917dd)return;this['app'][_0x33d527(0x196)](_0x5917dd[_0x33d527(0x197)],_0x5917dd['clientHeight']),this[_0x33d527(0x179)]['setSize'](_0x5917dd[_0x33d527(0x197)],_0x5917dd[_0x33d527(0x15d)]);if(this['labelRenderer'])this[_0x33d527(0x161)][_0x33d527(0x17f)](_0x5917dd[_0x33d527(0x197)],_0x5917dd[_0x33d527(0x15d)]);this[_0x33d527(0x17b)]();}[_0x343899(0x17b)](){const _0x2072d3=_0x343899;this[_0x2072d3(0x152)]=!![];}[_0x343899(0x181)](){const _0x468eef=_0x343899;if(!this[_0x468eef(0x152)])return;if(this[_0x468eef(0x16b)]&&this[_0x468eef(0x16b)][_0x468eef(0x181)]());else this[_0x468eef(0x179)][_0x468eef(0x181)](this['app'][_0x468eef(0x158)][_0x468eef(0x180)],this[_0x468eef(0x198)][_0x468eef(0x18d)]);this[_0x468eef(0x1a1)](),this[_0x468eef(0x161)]&&this['labelRenderer']['render'](this['app'][_0x468eef(0x158)][_0x468eef(0x180)],this[_0x468eef(0x198)]['camera']),this[_0x468eef(0x152)]=![];}[_0x343899(0x1a1)](){}async[_0x343899(0x154)](_0xcd6a3b=0x400,_0xb73b26=0x400){const _0xcc493e=_0x343899;try{if(this[_0xcc493e(0x16b)]&&this['postProcessManager'][_0xcc493e(0x181)]()){}else await this['renderer'][_0xcc493e(0x181)](this['app'][_0xcc493e(0x158)]['scene'],this[_0xcc493e(0x198)][_0xcc493e(0x18d)]);const _0x3881e0=this[_0xcc493e(0x179)]['domElement']['width'],_0x9735e2=this[_0xcc493e(0x179)]['domElement']['height'];let _0xb69296=_0x3881e0||_0xcd6a3b,_0x340822=_0x9735e2||_0xb73b26;(_0xb69296<=0x0||_0x340822<=0x0)&&(_0xb69296=_0xcd6a3b,_0x340822=_0xb73b26);const _0x222be2=document[_0xcc493e(0x153)]('canvas');_0x222be2['width']=_0xcd6a3b,_0x222be2[_0xcc493e(0x157)]=_0xb73b26;const _0x47359e=_0x222be2['getContext']('2d');if(!_0x47359e)throw Error('Can\x20not\x20create\x20context');_0x47359e['drawImage'](this[_0xcc493e(0x179)][_0xcc493e(0x176)],0x0,0x0,_0xb69296,_0x340822,0x0,0x0,_0xcd6a3b,_0xb73b26);const _0x377138=_0x222be2[_0xcc493e(0x169)](_0xcc493e(0x170));return _0x222be2[_0xcc493e(0x17c)](),_0x377138;}catch(_0x5982ee){return '';}}['setAlpha'](_0x12450d){const _0x381af3=_0x343899;if(!this[_0x381af3(0x16e)])return;this[_0x381af3(0x16e)][_0x381af3(0x149)]=_0x12450d;}['setShadowMapEnabled'](_0x408fac){const _0x48e34d=_0x343899;if(!this[_0x48e34d(0x16e)])return;this[_0x48e34d(0x16e)][_0x48e34d(0x195)][_0x48e34d(0x142)]=_0x408fac;}[_0x343899(0x16c)](_0x527978){const _0x3aa75c=_0x343899;if(!this['_renderer'])return;this[_0x3aa75c(0x16e)][_0x3aa75c(0x195)][_0x3aa75c(0x14e)]=_0x527978;}[_0x343899(0x13e)](_0x21ea0b){const _0x553796=_0x343899;if(!this[_0x553796(0x16e)])return;this[_0x553796(0x16e)][_0x553796(0x167)]=_0x21ea0b;}[_0x343899(0x14a)](_0x13338d){const _0x1ad193=_0x343899;if(!this[_0x1ad193(0x16e)])return;this[_0x1ad193(0x16e)][_0x1ad193(0x174)]=_0x13338d;}[_0x343899(0x14b)](_0x970bed){const _0x131f40=_0x343899;if(!this[_0x131f40(0x16e)])return;this['_renderer']['logarithmicDepthBuffer']=_0x970bed;}[_0x343899(0x18c)](_0x39eadb){const _0x1477a3=_0x343899;if(!this[_0x1477a3(0x16e)])return;this[_0x1477a3(0x16e)]['depth']=_0x39eadb;}[_0x343899(0x19a)](_0x3f7104){const _0x5d33bf=_0x343899;if(!this[_0x5d33bf(0x16e)])return;this[_0x5d33bf(0x16e)]['stencil']=_0x3f7104;}['destroy'](){const _0x265628=_0x343899;this[_0x265628(0x17e)](),this[_0x265628(0x179)][_0x265628(0x18a)](null),this[_0x265628(0x17a)]&&(this['resizeObserver'][_0x265628(0x1a3)](),this[_0x265628(0x17a)]=null),this[_0x265628(0x161)]&&(this[_0x265628(0x161)][_0x265628(0x176)][_0x265628(0x17c)](),this[_0x265628(0x161)]=null),this['_renderer']&&(this['renderer']['domElement']['remove'](),this[_0x265628(0x16e)][_0x265628(0x141)](),this[_0x265628(0x16e)]=null),this[_0x265628(0x155)]&&(this[_0x265628(0x155)][_0x265628(0x17c)](),this[_0x265628(0x155)]=null),this['_outerContainer']=null,this[_0x265628(0x15b)]=null;}}
|
|
87
|
+
(function(_0x2c145d,_0x72f41d){const _0x155c57=_0x2019,_0x126141=_0x2c145d();while(!![]){try{const _0xa13b94=-parseInt(_0x155c57(0xbc))/0x1*(parseInt(_0x155c57(0xbb))/0x2)+parseInt(_0x155c57(0xb9))/0x3*(-parseInt(_0x155c57(0xb8))/0x4)+parseInt(_0x155c57(0xb6))/0x5*(parseInt(_0x155c57(0xba))/0x6)+parseInt(_0x155c57(0xb4))/0x7+parseInt(_0x155c57(0xb5))/0x8+parseInt(_0x155c57(0xb7))/0x9+parseInt(_0x155c57(0xbd))/0xa;if(_0xa13b94===_0x72f41d)break;else _0x126141['push'](_0x126141['shift']());}catch(_0x61752d){_0x126141['push'](_0x126141['shift']());}}}(_0x52a3,0xc946f));function _0x52a3(){const _0xe823eb=['4193360EFPThH','8367737QqFTjl','5422000sZLNMN','4277985GzYvOg','2257713stZwUo','12FdqFAB','1272417ZNjgHA','6swKQaG','9202OcsoiL','283xbIbEe'];_0x52a3=function(){return _0xe823eb;};return _0x52a3();}function _0x2019(_0x2f264e,_0x36306a){_0x2f264e=_0x2f264e-0xb4;const _0x52a3f2=_0x52a3();let _0x2019b1=_0x52a3f2[_0x2f264e];return _0x2019b1;}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
68
88
|
|
|
69
|
-
|
|
89
|
+
const _0x2ee83a=_0x2798;(function(_0x264795,_0x14f196){const _0x34903c=_0x2798,_0x24438a=_0x264795();while(!![]){try{const _0x4e456b=parseInt(_0x34903c(0xb5))/0x1+parseInt(_0x34903c(0xb6))/0x2*(parseInt(_0x34903c(0xb0))/0x3)+parseInt(_0x34903c(0xa0))/0x4*(parseInt(_0x34903c(0xb8))/0x5)+-parseInt(_0x34903c(0xa8))/0x6*(parseInt(_0x34903c(0xad))/0x7)+parseInt(_0x34903c(0xaa))/0x8+parseInt(_0x34903c(0xa9))/0x9*(parseInt(_0x34903c(0x9f))/0xa)+-parseInt(_0x34903c(0xb2))/0xb;if(_0x4e456b===_0x14f196)break;else _0x24438a['push'](_0x24438a['shift']());}catch(_0x30d696){_0x24438a['push'](_0x24438a['shift']());}}}(_0x21eb,0x9517c));function _0x2798(_0x2ca77e,_0x505906){_0x2ca77e=_0x2ca77e-0x9c;const _0x21eb9d=_0x21eb();let _0x279881=_0x21eb9d[_0x2ca77e];return _0x279881;}class ThreeObjectLibrary{static[_0x2ee83a(0xb7)](_0x130965){const _0x2a8b1=_0x2ee83a,_0xc8b14c=new Set(),_0x236169=new Set([_0x2a8b1(0xac),_0x2a8b1(0x9c),_0x2a8b1(0xa7),_0x2a8b1(0xb4)]),_0x4bd11e=_0x378a8b=>{const _0x151ead=_0x2a8b1;if(!_0x378a8b||typeof _0x378a8b!==_0x151ead(0xa6)||_0xc8b14c['has'](_0x378a8b))return;if(_0x378a8b[_0x151ead(0xab)]||_0x378a8b[_0x151ead(0xaf)]||_0x378a8b[_0x151ead(0xa2)]||_0x378a8b['isBufferGeometry'])return;_0xc8b14c[_0x151ead(0xae)](_0x378a8b);if('isTexture'in _0x378a8b){_0x378a8b[_0x151ead(0xb1)]();return;}Object[_0x151ead(0x9d)](_0x378a8b)[_0x151ead(0xa4)](_0x487d5f=>{const _0x93a6b6=_0x151ead;if(_0x236169[_0x93a6b6(0xb9)](_0x487d5f))return;_0x4bd11e(_0x378a8b[_0x487d5f]);});};Object[_0x2a8b1(0x9d)](_0x130965)[_0x2a8b1(0xa4)](_0x55416c=>{_0x4bd11e(_0x130965[_0x55416c]);});}static[_0x2ee83a(0xa1)](_0x435e15){const _0x3a7e71=_0x2ee83a;let _0x30185d=Array[_0x3a7e71(0xb3)](_0x435e15[_0x3a7e71(0xa3)])?_0x435e15[_0x3a7e71(0xa3)]:[_0x435e15[_0x3a7e71(0xa3)]];_0x30185d['forEach'](_0x284b83=>{const _0x57f47a=_0x3a7e71;ThreeObjectLibrary[_0x57f47a(0xb7)](_0x284b83),_0x284b83[_0x57f47a(0xb1)]();});}static['disposeMeshResource'](_0x2c86f7,_0x287b54=![]){const _0x42f239=_0x2ee83a;ThreeObjectLibrary['disposeMeshMaterial'](_0x2c86f7),_0x2c86f7[_0x42f239(0xa7)][_0x42f239(0xb1)](),_0x287b54&&_0x2c86f7[_0x42f239(0x9c)][_0x42f239(0xa4)](_0x15fcd6=>{_0x15fcd6 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x15fcd6,!![]);});}static[_0x2ee83a(0x9e)](_0x1689f2){const _0x2281c4=_0x2ee83a;_0x1689f2[_0x2281c4(0xa5)](_0x2179a1=>{_0x2179a1 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x2179a1);});}}function _0x21eb(){const _0x1a506b=['isArray','source','1110853RmwmOs','688794ZQjLND','disposeMaterialTextures','473465mtsSye','has','children','keys','disposeObject3DResource','1172450lUhxQB','4pLzFrJ','disposeMeshMaterial','isMesh','material','forEach','traverse','object','geometry','4307502yqNcnX','90Uyurnb','1832352mVvlTf','isObject3D','parent','7yUqRBo','add','isScene','3EiOQci','dispose','17851196nTmBAd'];_0x21eb=function(){return _0x1a506b;};return _0x21eb();}
|
|
70
90
|
|
|
71
|
-
|
|
91
|
+
function _0x5108(_0x29d38e,_0x20c5d2){_0x29d38e=_0x29d38e-0xdd;var _0x5eebdb=_0x5eeb();var _0x5108e1=_0x5eebdb[_0x29d38e];return _0x5108e1;}var _0x33e8f3=_0x5108;(function(_0x328a9a,_0x10eab6){var _0x447c88=_0x5108,_0x529187=_0x328a9a();while(!![]){try{var _0x569032=parseInt(_0x447c88(0xe6))/0x1+-parseInt(_0x447c88(0xe9))/0x2*(parseInt(_0x447c88(0xe2))/0x3)+-parseInt(_0x447c88(0xe4))/0x4+-parseInt(_0x447c88(0xe7))/0x5+parseInt(_0x447c88(0xdf))/0x6+parseInt(_0x447c88(0xe5))/0x7+parseInt(_0x447c88(0xe8))/0x8*(parseInt(_0x447c88(0xea))/0x9);if(_0x569032===_0x10eab6)break;else _0x529187['push'](_0x529187['shift']());}catch(_0x16e2cf){_0x529187['push'](_0x529187['shift']());}}}(_0x5eeb,0x2098a));function _0x5eeb(){var _0x57a9fa=['userData','1225284LVkkFm','three\x20object\x20is\x20invalid','obj','3HHHGKK','threeObject','975652nkaUas','381955cuEWsL','72235VaHoHi','311850YAWQJV','24KeWRWr','277314Encjcl','742320RIZmEc','LYObject','createDefaultObject'];_0x5eeb=function(){return _0x57a9fa;};return _0x5eeb();}class LevelComponent extends SceneComponent{get[_0x33e8f3(0xe3)](){var _0x3ab9e4=_0x33e8f3;if(!this[_0x3ab9e4(0xe1)])throw Error(_0x3ab9e4(0xe0));return this[_0x3ab9e4(0xe1)];}set['threeObject'](_0x211766){var _0x239e1f=_0x33e8f3;this['obj']=_0x211766,this[_0x239e1f(0xe1)]&&(this[_0x239e1f(0xe1)][_0x239e1f(0xde)][_0x239e1f(0xeb)]=this);}constructor(_0x5b0801,_0x1b0d37){super(_0x5b0801,_0x1b0d37);}[_0x33e8f3(0xdd)](){return new three.Scene();}}
|
|
72
92
|
|
|
73
|
-
|
|
93
|
+
var _0x5206d1=_0x53da;function _0x53da(_0x2a18cc,_0x52dc28){_0x2a18cc=_0x2a18cc-0x1cd;var _0x414eb2=_0x414e();var _0x53da8d=_0x414eb2[_0x2a18cc];return _0x53da8d;}(function(_0x1ac92e,_0x1c6f61){var _0x5cf160=_0x53da,_0x447640=_0x1ac92e();while(!![]){try{var _0x544038=parseInt(_0x5cf160(0x1df))/0x1*(-parseInt(_0x5cf160(0x1d8))/0x2)+-parseInt(_0x5cf160(0x1e1))/0x3*(-parseInt(_0x5cf160(0x1e4))/0x4)+-parseInt(_0x5cf160(0x1d4))/0x5+parseInt(_0x5cf160(0x1da))/0x6*(-parseInt(_0x5cf160(0x1d6))/0x7)+-parseInt(_0x5cf160(0x1cf))/0x8+parseInt(_0x5cf160(0x1d7))/0x9+parseInt(_0x5cf160(0x1db))/0xa*(parseInt(_0x5cf160(0x1dd))/0xb);if(_0x544038===_0x1c6f61)break;else _0x447640['push'](_0x447640['shift']());}catch(_0x71ff3a){_0x447640['push'](_0x447640['shift']());}}}(_0x414e,0xae105));function _0x414e(){var _0x5dedd8=['30987850dQLtks','uuid','11OMTzYX','constructRootComponent','73GOfinY','app','3pVpJpU','scene','destroy','3051916soPqGB','_scene','scene\x20is\x20null','traverse','7056528ddXHpS','childActors','forEach','tick','threeObject','3507745njDvtC','isTickEnabled','9964073IRTVMl','10698777SBBaKp','36452CLkzfN','clearLevel','6MFnKuE'];_0x414e=function(){return _0x5dedd8;};return _0x414e();}class LevelActor extends Actor{get[_0x5206d1(0x1e2)](){var _0x513d19=_0x5206d1;if(!this[_0x513d19(0x1e5)])throw new Error(_0x513d19(0x1cd));return this[_0x513d19(0x1e5)];}constructor(_0x4e4b8d,_0x51a6b3){var _0x59e99b=_0x5206d1;super(_0x4e4b8d,_0x51a6b3),this['_scene']=null,this[_0x59e99b(0x1e5)]=this['rootComponent'][_0x59e99b(0x1d3)],this[_0x59e99b(0x1d5)]=![];}[_0x5206d1(0x1de)](){var _0x421d03=_0x5206d1;return new LevelComponent(this[_0x421d03(0x1e0)],this[_0x421d03(0x1dc)]);}[_0x5206d1(0x1d2)](_0x17e7f2){var _0x38bc02=_0x5206d1;if(!this[_0x38bc02(0x1d5)])return;super[_0x38bc02(0x1d2)](_0x17e7f2);}['destroy'](){var _0x688c0=_0x5206d1;this[_0x688c0(0x1d9)](),super[_0x688c0(0x1e3)]();}[_0x5206d1(0x1d9)](){var _0x3349fa=_0x5206d1;this[_0x3349fa(0x1d0)][_0x3349fa(0x1d1)](_0x8500e3=>{_0x8500e3['destroy']();}),this[_0x3349fa(0x1e2)][_0x3349fa(0x1ce)](_0x57035a=>{_0x57035a instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x57035a);});}}
|
|
74
94
|
|
|
75
|
-
const _0x276fff=_0x1eb9;(function(_0x5e3b4d,_0x1a7282){const _0x204aa5=_0x1eb9,_0xb3824a=_0x5e3b4d();while(!![]){try{const _0x22123c=parseInt(_0x204aa5(0x11f))/0x1*(-parseInt(_0x204aa5(0xef))/0x2)+parseInt(_0x204aa5(0xea))/0x3*(parseInt(_0x204aa5(0x11b))/0x4)+-parseInt(_0x204aa5(0x11d))/0x5+parseInt(_0x204aa5(0xcf))/0x6*(-parseInt(_0x204aa5(0xc2))/0x7)+parseInt(_0x204aa5(0x139))/0x8+-parseInt(_0x204aa5(0xd4))/0x9*(parseInt(_0x204aa5(0xe8))/0xa)+parseInt(_0x204aa5(0x122))/0xb;if(_0x22123c===_0x1a7282)break;else _0xb3824a['push'](_0xb3824a['shift']());}catch(_0x238725){_0xb3824a['push'](_0xb3824a['shift']());}}}(_0x2ece,0x507fc));function _0x2ece(){const _0x12be49=['viewPort','doubleClickDelay','3820NBWPxL','viewport','423jwTnQD','prepareClickHit','_onActorHoverBeginDelegate','fireComponentClick','onComponentHoverEndDelegate','12958vLjEmk','_onActorClickDelegate','ctrlKey','quaternion','size','onPointerEnter','rayIgnored','fireActorClick','fireClickEvents','_onComponentPointerDownDelegate','onPointerLeaveEvent','onActorHoverBeginDelegate','assign','pawn','_onComponentClickDelegate','_raycastVec2','world','handled','normalize','onHorveringBegin','hoveringComponent','_onComponentHoverBeginDelegate','onPointerDownEvent','userData','init','length','onActorDoubleClickDelegate','possess','setFromCamera','focusTo','_onComponentDoubleClickDelegate','pointermove','canvas\x20is\x20null','addEventListener','pointerLeftDownPosition','canvas','onPointerLeave','getFocuingData','handleDoubleClick','getBoundingClientRect','pointerleave','call','button','intersectObjects','1276eBbpYz','getHitResultUnderCursor','956390QflexV','hoveringActor','91VsOAYb','clearHovering','firePointerDownEvent','14815163vOlnbJ','copy','pointerenter','alpha','onHorveringEnd','fireComponentHoverEnd','app','distance','getHitResultFromScreenPoint','clone','addCorePointerListeners','kill','onPointerUpEvent','position','switchPawn','onDoubleClicked','fireActorHoverBegin','_onClickNothingDelegate','clientHeight','isClickEnabled','unpossess','parentActor','raycaster','2751040uNEwqm','leftClickTimer','markRenderStateDirty','stopFocusing','removeCorePointerListeners','_pointButtonIsDown','LYObject','tick','applyQuaternion','isHoverEnabled','onPointerMoveEvent','setTimeout','object','fireActorHoverEnd','pointerup','onPointerMove','onComponentPointerDownDelegate','left','destroy','3145667NwHtSs','_tempVec2','clientY','onPointerEnterEvent','onPointerDown','hit','broadcast','_onComponentHoverEndDelegate','onActorClick','onActorHoverBegin','altKey','camera','onClickNothingDelegate','6BOCdQd','prepareClickComponent','onComponentClickDelegate','prepareClickModifiers','onPointerUp','4140pCzPuJ','pointerPosition','clearClickTimer','_pawn','handleFirstClick','top','_app','removeEventListener','enabled','_onActorHoverEndDelegate','set','fireComponentHoverBegin','_switchPawnTween','delete','getAllHitResultFromScreenPoint','_onActorDoubleClickDelegate','boolean','component'];_0x2ece=function(){return _0x12be49;};return _0x2ece();}function _0x1eb9(_0x52cb57,_0xb1511){_0x52cb57=_0x52cb57-0xb2;const _0x2eceeb=_0x2ece();let _0x1eb92c=_0x2eceeb[_0x52cb57];return _0x1eb92c;}class Controller{get['camera'](){const _0x5398f8=_0x1eb9;return this['_app'][_0x5398f8(0xcd)];}get[_0x276fff(0xff)](){const _0x1869ae=_0x276fff;return this[_0x1869ae(0xda)]['world'];}get[_0x276fff(0xe6)](){const _0x3a3ad2=_0x276fff;return this[_0x3a3ad2(0xda)][_0x3a3ad2(0xe9)];}get[_0x276fff(0x128)](){const _0x13b69a=_0x276fff;return this[_0x13b69a(0xda)];}get['pawn'](){const _0x472119=_0x276fff;if(!this[_0x472119(0xd7)])throw Error('pawn\x20is\x20null');return this[_0x472119(0xd7)];}get[_0x276fff(0xd1)](){const _0x130311=_0x276fff;return this[_0x130311(0xfd)];}get['onComponentDoubleClickDelegate'](){return this['_onComponentDoubleClickDelegate'];}get['onComponentHoverBeginDelegate'](){const _0x1a6cbe=_0x276fff;return this[_0x1a6cbe(0x104)];}get[_0x276fff(0xee)](){const _0x1d61ef=_0x276fff;return this[_0x1d61ef(0xc9)];}get[_0x276fff(0xbf)](){return this['_onComponentPointerDownDelegate'];}get['onActorClickDelegate'](){const _0x24fa8f=_0x276fff;return this[_0x24fa8f(0xf0)];}get[_0x276fff(0x109)](){const _0x272a62=_0x276fff;return this[_0x272a62(0xe3)];}get[_0x276fff(0xfa)](){const _0x1dc0ee=_0x276fff;return this[_0x1dc0ee(0xec)];}get['onActorHoverEndDelegate'](){const _0x59ac0a=_0x276fff;return this[_0x59ac0a(0xdd)];}get[_0x276fff(0xce)](){const _0x384dfe=_0x276fff;return this[_0x384dfe(0x133)];}constructor(_0x4ab410){const _0x2ef30c=_0x276fff;this[_0x2ef30c(0xd7)]=null,this[_0x2ef30c(0xe0)]=null,this['hoveringComponent']=null,this[_0x2ef30c(0x11e)]=null,this[_0x2ef30c(0xd0)]=null,this[_0x2ef30c(0xeb)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this[_0x2ef30c(0xfd)]=new Delegate(),this[_0x2ef30c(0x10d)]=new Delegate(),this[_0x2ef30c(0x104)]=new Delegate(),this[_0x2ef30c(0xc9)]=new Delegate(),this[_0x2ef30c(0xf8)]=new Delegate(),this[_0x2ef30c(0xf0)]=new Delegate(),this[_0x2ef30c(0xe3)]=new Delegate(),this[_0x2ef30c(0xec)]=new Delegate(),this[_0x2ef30c(0xdd)]=new Delegate(),this[_0x2ef30c(0x133)]=new Delegate(),this[_0x2ef30c(0xd5)]=new webgpu.Vector2(),this[_0x2ef30c(0x111)]=new webgpu.Vector2(),this[_0x2ef30c(0xc3)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x2ef30c(0x13a)]=null,this[_0x2ef30c(0xbe)]=_0x7ac9d7=>this['onPointerMoveEvent'](_0x7ac9d7),this['onPointerEnter']=_0x32e058=>this[_0x2ef30c(0xc5)](_0x32e058),this[_0x2ef30c(0x113)]=_0xea3383=>this[_0x2ef30c(0xf9)](_0xea3383),this['onPointerUp']=_0x4aac9a=>this[_0x2ef30c(0x12e)](_0x4aac9a),this[_0x2ef30c(0xc6)]=_0x232dfc=>this[_0x2ef30c(0x105)](_0x232dfc),this['_app']=_0x4ab410,this[_0x2ef30c(0xd7)]=new Orbital(this),this[_0x2ef30c(0xfc)][_0x2ef30c(0x10a)](),this[_0x2ef30c(0x138)]=new webgpu.Raycaster();}[_0x276fff(0x107)](){const _0x223cee=_0x276fff,_0x38cc0b=this[_0x223cee(0xe6)][_0x223cee(0x112)];_0x38cc0b&&(_0x38cc0b[_0x223cee(0x110)](_0x223cee(0x124),this[_0x223cee(0xf4)]),_0x38cc0b[_0x223cee(0x110)](_0x223cee(0x117),this['onPointerLeave']),this[_0x223cee(0x12c)]());}['updateCamera'](){const _0x3f5731=_0x276fff;var _0x15e9cf,_0x2c1f6d;const _0x2d87fa=this[_0x3f5731(0xfc)][_0x3f5731(0xdc)];(_0x15e9cf=this[_0x3f5731(0xd7)])===null||_0x15e9cf===void 0?void 0:_0x15e9cf[_0x3f5731(0x136)](),(_0x2c1f6d=this[_0x3f5731(0xd7)])===null||_0x2c1f6d===void 0?void 0:_0x2c1f6d['destroy'](),this[_0x3f5731(0xd7)]=new Orbital(this),this[_0x3f5731(0xfc)][_0x3f5731(0x10a)](),this[_0x3f5731(0xfc)][_0x3f5731(0xdc)]=_0x2d87fa;}[_0x276fff(0x130)](_0x245b8f,_0x4290f2){const _0x2865be=_0x276fff;var _0x2b26e6,_0x8a9bde,_0x337cf0,_0x12ff83;const _0x617581=_0x4290f2!==null&&_0x4290f2!==void 0?_0x4290f2:0.3,_0x28c217=this[_0x2865be(0xd7)];if(_0x28c217===_0x245b8f)return;this['_switchPawnTween']&&(this[_0x2865be(0xe0)][_0x2865be(0x12d)](),this[_0x2865be(0xe0)]=null);const _0x5ebd1e=(_0x2b26e6=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217['control'])===null||_0x2b26e6===void 0?void 0:_0x2b26e6['enabled'],_0x164ce6=(_0x337cf0=(_0x8a9bde=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0x114)])===null||_0x8a9bde===void 0?void 0:_0x8a9bde[_0x2865be(0x118)](_0x28c217))!==null&&_0x337cf0!==void 0?_0x337cf0:null;(_0x12ff83=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0xb2)])===null||_0x12ff83===void 0?void 0:_0x12ff83['call'](_0x28c217),_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0x136)](),this[_0x2865be(0xd7)]=_0x245b8f;typeof _0x5ebd1e===_0x2865be(0xe4)&&(this[_0x2865be(0xfc)][_0x2865be(0xdc)]=_0x5ebd1e);if(!_0x164ce6)return;if(this['pawn']instanceof Orbital){this[_0x2865be(0xfc)][_0x2865be(0x10a)]();_0x617581>0x0&&this[_0x2865be(0xfc)][_0x2865be(0x10c)](_0x164ce6[_0x2865be(0x12f)],_0x164ce6[_0x2865be(0xf2)],_0x164ce6[_0x2865be(0x129)],_0x617581);return;}if(this[_0x2865be(0xfc)]instanceof FirstPerson){const _0x3f8886=_0x164ce6['position'],_0x36e03a=_0x164ce6[_0x2865be(0xf2)],_0x461047=_0x164ce6[_0x2865be(0x129)],_0x4b471e=new webgpu.Vector3(0x0,0x0,0x1)[_0x2865be(0xb7)](_0x36e03a)['multiplyScalar'](-1)[_0x2865be(0x101)](),_0x4dc6e0=new webgpu.Vector3(_0x3f8886['x']+_0x4b471e['x']*_0x461047*-1,_0x3f8886['y']+_0x4b471e['y']*_0x461047*-1,_0x3f8886['z']+_0x4b471e['z']*_0x461047*-1);if(_0x617581<=0x0){this[_0x2865be(0xcd)][_0x2865be(0x12f)][_0x2865be(0x123)](_0x4dc6e0),this[_0x2865be(0xcd)][_0x2865be(0xf2)]['copy'](_0x36e03a),this['viewPort'][_0x2865be(0x13b)]();return;}const _0x21e49b=this['camera'][_0x2865be(0x12f)][_0x2865be(0x12b)](),_0x5fb99=this[_0x2865be(0xcd)][_0x2865be(0xf2)]['clone'](),_0x5191ae={'alpha':0x0};this[_0x2865be(0xe0)]=gsap.gsap['to'](_0x5191ae,{'duration':_0x617581,'alpha':0x1,'onUpdate':()=>{const _0x1d65f9=_0x2865be,_0x175a6a=_0x5191ae[_0x1d65f9(0x125)];this[_0x1d65f9(0xcd)][_0x1d65f9(0x12f)]['lerpVectors'](_0x21e49b,_0x4dc6e0,_0x175a6a),this[_0x1d65f9(0xcd)][_0x1d65f9(0xf2)][_0x1d65f9(0x123)](_0x5fb99)['slerp'](_0x36e03a,_0x175a6a),this[_0x1d65f9(0xe6)][_0x1d65f9(0x13b)]();},'onComplete':()=>{const _0x3d0628=_0x2865be;this[_0x3d0628(0xe0)]=null,this[_0x3d0628(0xfc)]['possess'](),this[_0x3d0628(0xe6)][_0x3d0628(0x13b)]();}});}}[_0x276fff(0xb6)](_0x39049c){const _0x201417=_0x276fff;this[_0x201417(0xfc)]['tick'](_0x39049c);}[_0x276fff(0xc1)](){const _0x2673f0=_0x276fff;this[_0x2673f0(0xd6)](),this[_0x2673f0(0x120)]();const _0x3aa47e=this[_0x2673f0(0xe6)][_0x2673f0(0x112)];_0x3aa47e&&(_0x3aa47e[_0x2673f0(0xdb)](_0x2673f0(0x124),this['onPointerEnter']),_0x3aa47e['removeEventListener']('pointerleave',this[_0x2673f0(0x113)]),this['removeCorePointerListeners']()),this[_0x2673f0(0xfc)][_0x2673f0(0x136)](),this[_0x2673f0(0xfc)][_0x2673f0(0xc1)](),this[_0x2673f0(0xd7)]=null;}[_0x276fff(0xb9)](_0x4e6d15){const _0x58efe6=_0x276fff;var _0x449165,_0x554762;const _0x40f8b5=this[_0x58efe6(0xe6)][_0x58efe6(0x112)];if(!_0x40f8b5)throw Error(_0x58efe6(0x10f));const _0xef408e=_0x40f8b5[_0x58efe6(0x116)]();this[_0x58efe6(0xd5)]['set']((_0x4e6d15['clientX']-_0xef408e[_0x58efe6(0xc0)])/_0x40f8b5['clientWidth']*0x2-0x1,0x1-(_0x4e6d15[_0x58efe6(0xc4)]-_0xef408e[_0x58efe6(0xd9)])/_0x40f8b5[_0x58efe6(0x134)]*0x2);if(this['_pointButtonIsDown'][_0x58efe6(0xf3)]>0x0)return;const _0x3a43af=this['getHitResultUnderCursor'](),_0x20a0a2=(_0x449165=_0x3a43af===null||_0x3a43af===void 0?void 0:_0x3a43af[_0x58efe6(0xe5)])!==null&&_0x449165!==void 0?_0x449165:null,_0x3d48bd=(_0x554762=_0x20a0a2===null||_0x20a0a2===void 0?void 0:_0x20a0a2[_0x58efe6(0x137)])!==null&&_0x554762!==void 0?_0x554762:null;_0x20a0a2!==this[_0x58efe6(0x103)]&&(this[_0x58efe6(0x103)]&&this[_0x58efe6(0x127)](this[_0x58efe6(0x103)]),_0x20a0a2&&_0x3a43af&&this[_0x58efe6(0xdf)](_0x20a0a2,_0x3a43af[_0x58efe6(0xc7)])),_0x3d48bd!==this['hoveringActor']&&(this[_0x58efe6(0x11e)]&&this[_0x58efe6(0x103)]&&this[_0x58efe6(0xbc)](this[_0x58efe6(0x11e)],this['hoveringComponent']),_0x3d48bd&&_0x20a0a2&&_0x3a43af&&this[_0x58efe6(0x132)](_0x3d48bd,_0x20a0a2,_0x3a43af[_0x58efe6(0xc7)])),this[_0x58efe6(0x103)]=_0x20a0a2,this[_0x58efe6(0x11e)]=_0x3d48bd;}[_0x276fff(0x120)](){const _0x22961a=_0x276fff;this['hoveringComponent']&&this[_0x22961a(0x127)](this['hoveringComponent']),this[_0x22961a(0x11e)]&&this[_0x22961a(0x103)]&&this['fireActorHoverEnd'](this[_0x22961a(0x11e)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}['onPointerUpEvent'](_0x584691){const _0x2cb4be=_0x276fff;this['_pointButtonIsDown'][_0x2cb4be(0xe1)](_0x584691[_0x2cb4be(0x119)]);if(_0x584691['button']!==0x0)return;const _0x7ec3af=this[_0x2cb4be(0xc3)]['subVectors'](this[_0x2cb4be(0x111)],this['pointerPosition'])[_0x2cb4be(0x108)]();if(_0x7ec3af>0.005){this[_0x2cb4be(0xd6)]();return;}this[_0x2cb4be(0xd2)]={'ctrlKey':_0x584691[_0x2cb4be(0xf1)],'shiftKey':_0x584691['shiftKey'],'altKey':_0x584691[_0x2cb4be(0xcc)]},!this[_0x2cb4be(0x13a)]?this[_0x2cb4be(0xd8)]():this['handleDoubleClick']();}[_0x276fff(0xd8)](){const _0x5cb6e8=_0x276fff,_0x2b9520=this['getHitResultUnderCursor'](),_0x32e6db=_0x2b9520===null||_0x2b9520===void 0?void 0:_0x2b9520['component'];_0x32e6db instanceof SceneComponent&&_0x2b9520?(this[_0x5cb6e8(0xd0)]=_0x32e6db,this[_0x5cb6e8(0xeb)]=_0x2b9520[_0x5cb6e8(0xc7)],this[_0x5cb6e8(0x13a)]=window[_0x5cb6e8(0xba)](()=>{const _0xed3bee=_0x5cb6e8;this[_0xed3bee(0x13a)]=null,this['prepareClickComponent']&&this[_0xed3bee(0xeb)]&&(this[_0xed3bee(0xf7)](this[_0xed3bee(0xd0)],this[_0xed3bee(0xeb)],![]),this[_0xed3bee(0xd0)]=null,this['prepareClickHit']=null);},this[_0x5cb6e8(0xe7)])):this[_0x5cb6e8(0x133)][_0x5cb6e8(0xc8)]();}[_0x276fff(0x115)](){const _0x488541=_0x276fff;this[_0x488541(0xd6)](),this['prepareClickComponent']&&this['prepareClickHit']?this[_0x488541(0xf7)](this[_0x488541(0xd0)],this[_0x488541(0xeb)],!![]):this[_0x488541(0x133)][_0x488541(0xc8)](),this['prepareClickComponent']=null,this[_0x488541(0xeb)]=null;}[_0x276fff(0x105)](_0x69cfe0){const _0x1c3321=_0x276fff;this[_0x1c3321(0xb4)]['add'](_0x69cfe0['button']);_0x69cfe0[_0x1c3321(0x119)]===0x0&&this['pointerLeftDownPosition']['copy'](this[_0x1c3321(0xd5)]);const _0x50abc4=this['getHitResultUnderCursor'](),_0x3c8d0a=_0x50abc4===null||_0x50abc4===void 0?void 0:_0x50abc4[_0x1c3321(0xe5)];_0x3c8d0a instanceof SceneComponent&&_0x50abc4&&this[_0x1c3321(0x121)](_0x3c8d0a,_0x50abc4[_0x1c3321(0xc7)],_0x69cfe0[_0x1c3321(0x119)]);}[_0x276fff(0xc5)](_0x3e6d76){const _0x4813d8=_0x276fff;this[_0x4813d8(0x12c)]();}[_0x276fff(0xf9)](_0x5273ea){const _0x5c571c=_0x276fff;this[_0x5c571c(0xb3)]();}['fireComponentHoverBegin'](_0x2e0370,_0x2204b2){const _0x44a2b5=_0x276fff,_0xc76e56={'component':_0x2e0370,'hit':_0x2204b2,'handled':![]};this[_0x44a2b5(0x104)][_0x44a2b5(0xc8)](_0xc76e56),!_0xc76e56[_0x44a2b5(0x100)]&&_0x2e0370[_0x44a2b5(0x102)]();}[_0x276fff(0x127)](_0x33ee4e){const _0x49ebfc=_0x276fff,_0x4309ca={'component':_0x33ee4e,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x49ebfc(0xc8)](_0x4309ca),!_0x4309ca[_0x49ebfc(0x100)]&&_0x33ee4e[_0x49ebfc(0x126)]();}[_0x276fff(0xed)](_0xa9e5fa,_0x13875a,_0x5e688c){const _0x4e6233=_0x276fff,_0x5b89ce=Object['assign']({'component':_0xa9e5fa,'hit':_0x13875a,'handled':![]},this[_0x4e6233(0xd2)]);_0x5e688c?(this['_onComponentDoubleClickDelegate'][_0x4e6233(0xc8)](_0x5b89ce),!_0x5b89ce['handled']&&_0xa9e5fa[_0x4e6233(0x131)]()):(this['_onComponentClickDelegate'][_0x4e6233(0xc8)](_0x5b89ce),!_0x5b89ce[_0x4e6233(0x100)]&&_0xa9e5fa['onClicked']());}[_0x276fff(0x121)](_0x4b1553,_0x31595a,_0xdd66eb){const _0xc0897f=_0x276fff,_0x484bfe={'component':_0x4b1553,'hit':_0x31595a,'button':_0xdd66eb,'handled':![]};this[_0xc0897f(0xf8)][_0xc0897f(0xc8)](_0x484bfe);}[_0x276fff(0x132)](_0x33c159,_0x36c390,_0x5cb753){const _0x358569=_0x276fff,_0x53a281={'actor':_0x33c159,'component':_0x36c390,'hit':_0x5cb753,'handled':![]};this[_0x358569(0xec)]['broadcast'](_0x53a281),!_0x53a281['handled']&&_0x33c159[_0x358569(0xcb)](_0x36c390);}[_0x276fff(0xbc)](_0x5d110c,_0x3245e9){const _0x138d55=_0x276fff,_0x244721={'actor':_0x5d110c,'component':_0x3245e9,'hit':null,'handled':![]};this[_0x138d55(0xdd)][_0x138d55(0xc8)](_0x244721),!_0x244721['handled']&&_0x5d110c['onActorHoverEnd'](_0x3245e9);}['fireActorClick'](_0x220099,_0x26550b,_0x332d2c,_0x45ebed){const _0x193123=_0x276fff,_0x121720=Object[_0x193123(0xfb)]({'actor':_0x220099,'component':_0x26550b,'hit':_0x332d2c,'handled':![]},this[_0x193123(0xd2)]);_0x45ebed?(this[_0x193123(0xe3)][_0x193123(0xc8)](_0x121720),!_0x121720[_0x193123(0x100)]&&_0x220099['onActorDoubleClick'](_0x26550b)):(this['_onActorClickDelegate'][_0x193123(0xc8)](_0x121720),!_0x121720[_0x193123(0x100)]&&_0x220099[_0x193123(0xca)](_0x26550b));}['fireClickEvents'](_0x35c174,_0x10d7e4,_0x386a0d){const _0xc1d2bd=_0x276fff;this[_0xc1d2bd(0xed)](_0x35c174,_0x10d7e4,_0x386a0d);const _0x23db2b=_0x35c174[_0xc1d2bd(0x137)];_0x23db2b&&_0x23db2b[_0xc1d2bd(0x135)]&&this[_0xc1d2bd(0xf6)](_0x23db2b,_0x35c174,_0x10d7e4,_0x386a0d);}[_0x276fff(0xd6)](){const _0x506bb9=_0x276fff;this['leftClickTimer']&&(window['clearTimeout'](this[_0x506bb9(0x13a)]),this[_0x506bb9(0x13a)]=null);}[_0x276fff(0x12c)](){const _0x3d3dde=_0x276fff,_0x54333f=this[_0x3d3dde(0xe6)][_0x3d3dde(0x112)];if(!_0x54333f)return;_0x54333f[_0x3d3dde(0x110)](_0x3d3dde(0x10e),this[_0x3d3dde(0xbe)]),_0x54333f['addEventListener']('pointerup',this[_0x3d3dde(0xd3)]),_0x54333f[_0x3d3dde(0x110)]('pointerdown',this['onPointerDown']);}[_0x276fff(0xb3)](){const _0x1f0304=_0x276fff,_0x6010e4=this[_0x1f0304(0xe6)][_0x1f0304(0x112)];if(!_0x6010e4)return;_0x6010e4[_0x1f0304(0xdb)](_0x1f0304(0x10e),this[_0x1f0304(0xbe)]),_0x6010e4[_0x1f0304(0xdb)](_0x1f0304(0xbd),this['onPointerUp']),_0x6010e4[_0x1f0304(0xdb)]('pointerdown',this[_0x1f0304(0xc6)]);}[_0x276fff(0x11c)](_0x3e0afd=!![]){const _0x40e7e1=_0x276fff;return this[_0x40e7e1(0x12a)](this[_0x40e7e1(0xd5)]['x'],this[_0x40e7e1(0xd5)]['y'],_0x3e0afd);}[_0x276fff(0x12a)](_0x4e55e4,_0x13671b,_0x1af691=!![]){const _0x2e3ec9=_0x276fff;this[_0x2e3ec9(0xfe)]['set'](_0x4e55e4,_0x13671b),this[_0x2e3ec9(0x138)]['setFromCamera'](this[_0x2e3ec9(0xfe)],this[_0x2e3ec9(0xcd)]);const _0x3b431c=this['getAllHitResultFromScreenPoint'](_0x4e55e4,_0x13671b);if(!_0x1af691)return _0x3b431c[0x0]||null;for(const _0x553e0a of _0x3b431c){const _0x39232b=_0x553e0a['component'][_0x2e3ec9(0xb8)]||_0x553e0a[_0x2e3ec9(0xe5)][_0x2e3ec9(0x135)],_0x1d52d4=_0x553e0a[_0x2e3ec9(0xe5)][_0x2e3ec9(0x137)],_0x13deb0=_0x1d52d4&&(_0x1d52d4['isHoverEnabled']||_0x1d52d4['isClickEnabled']);if(_0x39232b||_0x13deb0)return _0x553e0a;}return null;}[_0x276fff(0xe2)](_0x2db6d3,_0x47d32d){const _0xf8bf38=_0x276fff;this[_0xf8bf38(0xfe)][_0xf8bf38(0xde)](_0x2db6d3,_0x47d32d),this[_0xf8bf38(0x138)][_0xf8bf38(0x10b)](this[_0xf8bf38(0xfe)],this[_0xf8bf38(0xcd)]);const _0x35c5bf=this[_0xf8bf38(0x138)][_0xf8bf38(0x11a)](this[_0xf8bf38(0xff)]['scene']['children'],!![]),_0x42113d=[];for(const _0x1cc43a of _0x35c5bf){if(_0x1cc43a[_0xf8bf38(0xbb)]['userData'][_0xf8bf38(0xf5)])continue;const _0x10a4d0=_0x1cc43a[_0xf8bf38(0xbb)][_0xf8bf38(0x106)][_0xf8bf38(0xb5)];if(!_0x10a4d0)continue;_0x42113d['push']({'component':_0x10a4d0,'hit':_0x1cc43a});}return _0x42113d;}[_0x276fff(0x10c)](_0x2940c6,_0x5d3e3a,_0x121cd6,_0x31fa66,_0x10490a=null,_0x201fef=null){const _0x321f3f=_0x276fff;this[_0x321f3f(0xfc)][_0x321f3f(0x10c)](_0x2940c6,_0x5d3e3a,_0x121cd6,_0x31fa66,_0x10490a,_0x201fef);}}
|
|
95
|
+
(function(_0xf41119,_0x31ffd8){const _0x2695ba=_0x59b7,_0x4dc682=_0xf41119();while(!![]){try{const _0x24877e=parseInt(_0x2695ba(0x13c))/0x1+-parseInt(_0x2695ba(0x136))/0x2*(-parseInt(_0x2695ba(0x13a))/0x3)+-parseInt(_0x2695ba(0x138))/0x4+parseInt(_0x2695ba(0x137))/0x5+-parseInt(_0x2695ba(0x13b))/0x6+-parseInt(_0x2695ba(0x135))/0x7+parseInt(_0x2695ba(0x139))/0x8;if(_0x24877e===_0x31ffd8)break;else _0x4dc682['push'](_0x4dc682['shift']());}catch(_0x81691b){_0x4dc682['push'](_0x4dc682['shift']());}}}(_0x23a9,0xca0da));function _0x59b7(_0x1cbef7,_0x1dccca){_0x1cbef7=_0x1cbef7-0x135;const _0x23a92f=_0x23a9();let _0x59b74f=_0x23a92f[_0x1cbef7];return _0x59b74f;}const DefaultWorldParam={'levelActorClass':LevelActor};function _0x23a9(){const _0x9f3b28=['355565QqTIlw','2819116FDCzdE','4556360PGrOdl','2163684qiLIoL','4972368kqwWPu','1533185FaMwnV','8786274JHjNMn','4XIXIdf'];_0x23a9=function(){return _0x9f3b28;};return _0x23a9();}
|
|
76
96
|
|
|
77
|
-
function
|
|
97
|
+
const _0x1f6889=_0x33dd;(function(_0x5dbcec,_0x12b71a){const _0x779c6b=_0x33dd,_0x34a878=_0x5dbcec();while(!![]){try{const _0x327df8=-parseInt(_0x779c6b(0x1cf))/0x1*(-parseInt(_0x779c6b(0x1cb))/0x2)+-parseInt(_0x779c6b(0x1ec))/0x3+parseInt(_0x779c6b(0x1f7))/0x4*(-parseInt(_0x779c6b(0x1e2))/0x5)+parseInt(_0x779c6b(0x1c3))/0x6+-parseInt(_0x779c6b(0x1c8))/0x7+-parseInt(_0x779c6b(0x1e7))/0x8*(parseInt(_0x779c6b(0x1ef))/0x9)+-parseInt(_0x779c6b(0x1f3))/0xa*(-parseInt(_0x779c6b(0x1ce))/0xb);if(_0x327df8===_0x12b71a)break;else _0x34a878['push'](_0x34a878['shift']());}catch(_0x1efee9){_0x34a878['push'](_0x34a878['shift']());}}}(_0x4383$1,0xab344));function _0x33dd(_0x2a5ae4,_0x3d245c){_0x2a5ae4=_0x2a5ae4-0x1c2;const _0x438368=_0x4383$1();let _0x33dd10=_0x438368[_0x2a5ae4];return _0x33dd10;}function _0x4383$1(){const _0x50c15a=['3041769FuvXSb','classes','_camera','2272941hRhlaK','postConstruct','setAnimationLoop','init','11323550NeDaSU','viewportParam','viewport','addTickingFunction','388enUxRp','renderParam','updateProjectionMatrix','removeTickingFunction','clear','world','controller','4067076zsjBWB','appParam','camera','assetManagerClass','splice','6461434PZYTyO','_viewport','broadcast','42LqMxYM','_assetManager','renderer','22jwLQBP','10251FzIOUg','dispose','onWindowResize','aspect','viewportClass','postProcessParam','_world','controllerClass','updataCamera','worldParam','_onCameraChangedDelegate','_controller','tick','onCameraChangedDelegate','clock','getDelta','cameraParam','_appParam','isRenderEveryFrame','13765mxgvcZ','_clock','updateCamera','_tickingFunctions','destroy','8lerIuG','markRenderStateDirty','indexOf','push','worldClass'];_0x4383$1=function(){return _0x50c15a;};return _0x4383$1();}class ThreeJsApp{get[_0x1f6889(0x1c5)](){return this['_camera'];}get[_0x1f6889(0x1dd)](){const _0x34f1ef=_0x1f6889;return this[_0x34f1ef(0x1e3)];}get[_0x1f6889(0x1fc)](){const _0x5bf3a8=_0x1f6889;return this[_0x5bf3a8(0x1d5)];}get[_0x1f6889(0x1f5)](){const _0x985d3a=_0x1f6889;return this[_0x985d3a(0x1c9)];}get[_0x1f6889(0x1c2)](){return this['_controller'];}get['assetManager'](){const _0x18d93c=_0x1f6889;return this[_0x18d93c(0x1cc)];}get[_0x1f6889(0x1c4)](){const _0x3eb19c=_0x1f6889;return this[_0x3eb19c(0x1e0)];}get['onCameraChangedDelegate'](){const _0xb9279d=_0x1f6889;return this[_0xb9279d(0x1d9)];}constructor(_0x3263bf=DefaultAppParam){const _0x3bd6c3=_0x1f6889;this[_0x3bd6c3(0x1e5)]=[],this['_appParam']={'viewportParam':DefaultViewportParam},this[_0x3bd6c3(0x1d9)]=new Delegate(),this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1df)]=_0x3263bf[_0x3bd6c3(0x1df)]?_0x3263bf[_0x3bd6c3(0x1df)]:DefaultCameraParam,this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1f8)]=_0x3263bf[_0x3bd6c3(0x1f8)]?_0x3263bf[_0x3bd6c3(0x1f8)]:DefaultRendererParameters,this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1d4)]=_0x3263bf[_0x3bd6c3(0x1d4)]?_0x3263bf[_0x3bd6c3(0x1d4)]:DefaultPostProcessParam,this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1f4)]=_0x3263bf[_0x3bd6c3(0x1f4)]?_0x3263bf['viewportParam']:DefaultViewportParam,this['_appParam'][_0x3bd6c3(0x1ed)]=_0x3263bf[_0x3bd6c3(0x1ed)]?_0x3263bf['classes']:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1e1)]=_0x3263bf[_0x3bd6c3(0x1e1)],this['_clock']=new webgpu.Clock(),this[_0x3bd6c3(0x1ee)]=CameraFactory['createCamera'](this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1df)]),this['_world']=new this[(_0x3bd6c3(0x1e0))]['classes'][(_0x3bd6c3(0x1eb))](this,this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1d8)]?this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1d8)]:DefaultWorldParam),this['_viewport']=new this['_appParam'][(_0x3bd6c3(0x1ed))][(_0x3bd6c3(0x1d3))](this,this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1f4)],this[_0x3bd6c3(0x1e0)]['renderParam'],this[_0x3bd6c3(0x1e0)][_0x3bd6c3(0x1d4)]),this[_0x3bd6c3(0x1da)]=new this[(_0x3bd6c3(0x1e0))][(_0x3bd6c3(0x1ed))][(_0x3bd6c3(0x1d6))](this),this[_0x3bd6c3(0x1cc)]=new this[(_0x3bd6c3(0x1e0))][(_0x3bd6c3(0x1ed))][(_0x3bd6c3(0x1c6))](this),this[_0x3bd6c3(0x1f5)][_0x3bd6c3(0x1cd)][_0x3bd6c3(0x1f1)](()=>{const _0xb80490=_0x3bd6c3,_0x16a6c8=this[_0xb80490(0x1e3)][_0xb80490(0x1de)]();this['tick'](_0x16a6c8);}),this[_0x3bd6c3(0x1f0)]();}[_0x1f6889(0x1f0)](){const _0x5b5871=_0x1f6889;this[_0x5b5871(0x1c2)]['init'](),this[_0x5b5871(0x1fc)][_0x5b5871(0x1f2)](),this['viewport'][_0x5b5871(0x1f2)]();}[_0x1f6889(0x1f2)](){}[_0x1f6889(0x1db)](_0x517f49){const _0x4e160e=_0x1f6889;this['_controller']['tick'](_0x517f49),this[_0x4e160e(0x1fc)][_0x4e160e(0x1db)](_0x517f49),this[_0x4e160e(0x1e5)]['forEach'](_0x1a4f0d=>{_0x1a4f0d(_0x517f49);}),this['_appParam']['isRenderEveryFrame']&&this[_0x4e160e(0x1f5)][_0x4e160e(0x1e8)](),this[_0x4e160e(0x1f5)]['render']();}[_0x1f6889(0x1f6)](_0x3b5ca5){const _0x2e7ea1=_0x1f6889;this[_0x2e7ea1(0x1e5)][_0x2e7ea1(0x1ea)](_0x3b5ca5);}[_0x1f6889(0x1fa)](_0x4f5665){const _0x1079f9=_0x1f6889,_0x1c0673=this[_0x1079f9(0x1e5)][_0x1079f9(0x1e9)](_0x4f5665);_0x1c0673>=0x0&&this[_0x1079f9(0x1e5)][_0x1079f9(0x1c7)](_0x1c0673,0x1);}[_0x1f6889(0x1e6)](){const _0xf72eca=_0x1f6889;this[_0xf72eca(0x1dc)][_0xf72eca(0x1fb)](),this[_0xf72eca(0x1c2)]['destroy'](),this[_0xf72eca(0x1fc)][_0xf72eca(0x1e6)](),this['viewport']['destroy'](),this[_0xf72eca(0x1cc)][_0xf72eca(0x1d0)]();}[_0x1f6889(0x1e4)](_0x3b2235){const _0xe5d220=_0x1f6889,_0x457129=this[_0xe5d220(0x1c5)];this[_0xe5d220(0x1ee)]=CameraFactory[_0xe5d220(0x1d7)](_0x3b2235,this['camera']),_0x457129!==this['camera']&&(this[_0xe5d220(0x1d9)][_0xe5d220(0x1ca)](),this[_0xe5d220(0x1c2)][_0xe5d220(0x1e4)]()),this[_0xe5d220(0x1ee)]['updateProjectionMatrix'](),this[_0xe5d220(0x1f5)]['markRenderStateDirty']();}[_0x1f6889(0x1d1)](_0x59aa47,_0x3ef5dc){const _0x37d3ce=_0x1f6889;this[_0x37d3ce(0x1c5)]instanceof webgpu.PerspectiveCamera&&(this[_0x37d3ce(0x1c5)][_0x37d3ce(0x1d2)]=_0x59aa47/_0x3ef5dc),this[_0x37d3ce(0x1c5)][_0x37d3ce(0x1f9)]();}async['renderAsImage'](_0x2e6857=0x400,_0xe9fd88=0x400){return await this['viewport']['renderAsImage'](_0x2e6857,_0xe9fd88);}}
|
|
78
98
|
|
|
79
|
-
|
|
99
|
+
function _0x3fc6(_0x32e867,_0x8f4372){_0x32e867=_0x32e867-0x1d9;var _0x361d58=_0x361d();var _0x3fc666=_0x361d58[_0x32e867];return _0x3fc666;}function _0x361d(){var _0x466141=['14494aeqkeI','three\x20object\x20is\x20invalid','getHex','intensity','color','threeObject','495ifDZaz','33ESZfKU','obj','645400oBITaw','707772GOqOvB','5676ZAqPeL','set','946908KeTOCV','1860410FQqGvT','8gXyrAQ','31yrnNAW','LYObject','1006368jfKxdc'];_0x361d=function(){return _0x466141;};return _0x361d();}var _0x5b104f=_0x3fc6;(function(_0x5ef8a6,_0x21511f){var _0x5a0208=_0x3fc6,_0x573cea=_0x5ef8a6();while(!![]){try{var _0x2f254c=parseInt(_0x5a0208(0x1eb))/0x1*(-parseInt(_0x5a0208(0x1db))/0x2)+-parseInt(_0x5a0208(0x1e5))/0x3+-parseInt(_0x5a0208(0x1da))/0x4+-parseInt(_0x5a0208(0x1e1))/0x5*(-parseInt(_0x5a0208(0x1e6))/0x6)+parseInt(_0x5a0208(0x1e4))/0x7+parseInt(_0x5a0208(0x1ea))/0x8*(parseInt(_0x5a0208(0x1e8))/0x9)+parseInt(_0x5a0208(0x1e9))/0xa*(parseInt(_0x5a0208(0x1e2))/0xb);if(_0x2f254c===_0x21511f)break;else _0x573cea['push'](_0x573cea['shift']());}catch(_0x30ee69){_0x573cea['push'](_0x573cea['shift']());}}}(_0x361d,0x21738));class LightComponent extends SceneComponent{get[_0x5b104f(0x1e0)](){var _0x132147=_0x5b104f;if(!this[_0x132147(0x1e3)])throw Error(_0x132147(0x1dc));return this[_0x132147(0x1e3)];}set['threeObject'](_0x1d0427){var _0x267161=_0x5b104f;this['obj']=_0x1d0427,this['obj']&&(this[_0x267161(0x1e3)]['userData'][_0x267161(0x1d9)]=this);}get['color'](){var _0x12ed8e=_0x5b104f;return this['threeObject'][_0x12ed8e(0x1df)][_0x12ed8e(0x1dd)]();}set[_0x5b104f(0x1df)](_0x15095b){var _0x1e2ad7=_0x5b104f;this[_0x1e2ad7(0x1e0)]['color'][_0x1e2ad7(0x1e7)](_0x15095b);}get[_0x5b104f(0x1de)](){var _0x260708=_0x5b104f;return this[_0x260708(0x1e0)][_0x260708(0x1de)];}set[_0x5b104f(0x1de)](_0x1828b8){var _0x15fefb=_0x5b104f;this[_0x15fefb(0x1e0)][_0x15fefb(0x1de)]=_0x1828b8;}constructor(_0x33fa32,_0x14ba77){super(_0x33fa32,_0x14ba77);}}
|
|
80
100
|
|
|
81
|
-
(function(
|
|
101
|
+
var _0x140f48=_0x6205;(function(_0x27a031,_0x45a9f4){var _0x345236=_0x6205,_0x5afffa=_0x27a031();while(!![]){try{var _0x2147ac=parseInt(_0x345236(0x15a))/0x1*(parseInt(_0x345236(0x14a))/0x2)+-parseInt(_0x345236(0x152))/0x3*(-parseInt(_0x345236(0x161))/0x4)+parseInt(_0x345236(0x154))/0x5+-parseInt(_0x345236(0x14d))/0x6*(parseInt(_0x345236(0x160))/0x7)+-parseInt(_0x345236(0x15b))/0x8*(-parseInt(_0x345236(0x149))/0x9)+parseInt(_0x345236(0x147))/0xa+-parseInt(_0x345236(0x151))/0xb;if(_0x2147ac===_0x45a9f4)break;else _0x5afffa['push'](_0x5afffa['shift']());}catch(_0x4bf2ee){_0x5afffa['push'](_0x5afffa['shift']());}}}(_0x4652,0xcacf3));function _0x6205(_0x247f18,_0x190dfd){_0x247f18=_0x247f18-0x146;var _0x46526b=_0x4652();var _0x6205a6=_0x46526b[_0x247f18];return _0x6205a6;}class DirectionalLightComponent extends LightComponent{get[_0x140f48(0x15e)](){var _0x1fd577=_0x140f48;if(!this[_0x1fd577(0x14b)])throw Error(_0x1fd577(0x156));return this[_0x1fd577(0x14b)];}set['threeObject'](_0x48da29){var _0xd9f6e7=_0x140f48;this[_0xd9f6e7(0x14b)]=_0x48da29,this[_0xd9f6e7(0x14b)]&&(this[_0xd9f6e7(0x14b)][_0xd9f6e7(0x148)][_0xd9f6e7(0x14e)]=this);}get[_0x140f48(0x14c)](){var _0x5d01e3=_0x140f48;return this[_0x5d01e3(0x15e)][_0x5d01e3(0x14c)];}set[_0x140f48(0x14c)](_0x1e7262){var _0x4e6856=_0x140f48;this[_0x4e6856(0x15e)][_0x4e6856(0x14c)]=_0x1e7262;}constructor(_0xbfa8b5,_0x31103d=0xffffff,_0x4bd71a=0xa,_0xa3e5b3){var _0x199756=_0x140f48;super(_0xbfa8b5,_0xa3e5b3),this[_0x199756(0x15e)][_0x199756(0x150)][_0x199756(0x15d)](_0x31103d),this['threeObject'][_0x199756(0x15f)]=_0x4bd71a;}[_0x140f48(0x158)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x140f48(0x155)](..._0x41123a){var _0xbde9e4=_0x140f48;_0x41123a[_0xbde9e4(0x14f)]===0x1?super[_0xbde9e4(0x155)](_0x41123a[0x0]):super['setPosition'](_0x41123a[0x0],_0x41123a[0x1],_0x41123a[0x2]),this[_0xbde9e4(0x159)]();}[_0x140f48(0x159)](){var _0xf4115a=_0x140f48;if(this['world'])this[_0xf4115a(0x157)]['viewport'][_0xf4115a(0x153)]();}[_0x140f48(0x15c)](_0x50d306){var _0xcdc4d6=_0x140f48;if(!this[_0xcdc4d6(0x15e)])throw Error(_0xcdc4d6(0x156));super[_0xcdc4d6(0x15c)](_0x50d306);}[_0x140f48(0x146)](){super['destroy']();}}function _0x4652(){var _0x5fb58e=['three\x20object\x20is\x20invalid','world','createDefaultObject','update','22zJfQah','109016ckhIlA','onAddedToWorld','set','threeObject','intensity','3598679prVRAf','4WYzmHO','destroy','1840340jukmPw','userData','288FrveWQ','147686qdnjMY','obj','castShadow','6CxhkUw','LYObject','length','color','19114755ahRBHw','2295147JEJZEp','markRenderStateDirty','364080AUXQuJ','setPosition'];_0x4652=function(){return _0x5fb58e;};return _0x4652();}
|
|
82
102
|
|
|
83
|
-
|
|
103
|
+
var _0x380c29=_0x5a41;(function(_0x50f5cf,_0x2e8e41){var _0x2b9e99=_0x5a41,_0x432284=_0x50f5cf();while(!![]){try{var _0x5eccba=-parseInt(_0x2b9e99(0x153))/0x1+parseInt(_0x2b9e99(0x154))/0x2*(-parseInt(_0x2b9e99(0x15a))/0x3)+parseInt(_0x2b9e99(0x14c))/0x4+parseInt(_0x2b9e99(0x14e))/0x5*(-parseInt(_0x2b9e99(0x158))/0x6)+-parseInt(_0x2b9e99(0x155))/0x7*(parseInt(_0x2b9e99(0x159))/0x8)+parseInt(_0x2b9e99(0x14f))/0x9+-parseInt(_0x2b9e99(0x14d))/0xa*(-parseInt(_0x2b9e99(0x15c))/0xb);if(_0x5eccba===_0x2e8e41)break;else _0x432284['push'](_0x432284['shift']());}catch(_0x27ac5b){_0x432284['push'](_0x432284['shift']());}}}(_0x5012,0x5b802));class DirectionalLightActor extends Actor{constructor(_0x45e828,_0x5c9f7c=0xffffff,_0x3feecf=0x1,_0x2de771){var _0x5eb750=_0x5a41;super(_0x45e828,_0x2de771),this[_0x5eb750(0x150)]=null,this[_0x5eb750(0x150)]=this[_0x5eb750(0x156)],this[_0x5eb750(0x150)]&&(this['lightComponent'][_0x5eb750(0x151)]=_0x5c9f7c,this['lightComponent']['intensity']=_0x3feecf,this[_0x5eb750(0x150)][_0x5eb750(0x152)]=!![]),this[_0x5eb750(0x150)][_0x5eb750(0x152)]=!![];}[_0x380c29(0x15b)](){var _0x177d83=_0x380c29;return new DirectionalLightComponent(this[_0x177d83(0x157)]);}}function _0x5a41(_0x44357b,_0x293347){_0x44357b=_0x44357b-0x14c;var _0x501209=_0x5012();var _0x5a418f=_0x501209[_0x44357b];return _0x5a418f;}function _0x5012(){var _0x5ef5fb=['1624167mmOcDj','lightComponent','color','castShadow','734757PWQred','1594Rhbbpk','70jLyfZR','rootComponent','app','50628yynfOW','122728uJISEw','2463RLzJcg','constructRootComponent','143HmsYoD','319228QcOmBt','1436900HqNpLE','125zshoBz'];_0x5012=function(){return _0x5ef5fb;};return _0x5012();}
|
|
84
104
|
|
|
85
|
-
(function(
|
|
105
|
+
var _0xe620a6=_0x52b8;(function(_0x1ab365,_0x4a4d04){var _0x5b583b=_0x52b8,_0x5a400b=_0x1ab365();while(!![]){try{var _0x4f2d6b=-parseInt(_0x5b583b(0x183))/0x1+parseInt(_0x5b583b(0x184))/0x2+-parseInt(_0x5b583b(0x18d))/0x3+-parseInt(_0x5b583b(0x190))/0x4*(-parseInt(_0x5b583b(0x188))/0x5)+-parseInt(_0x5b583b(0x17f))/0x6*(parseInt(_0x5b583b(0x189))/0x7)+-parseInt(_0x5b583b(0x17b))/0x8*(parseInt(_0x5b583b(0x180))/0x9)+parseInt(_0x5b583b(0x18a))/0xa;if(_0x4f2d6b===_0x4a4d04)break;else _0x5a400b['push'](_0x5a400b['shift']());}catch(_0x38933c){_0x5a400b['push'](_0x5a400b['shift']());}}}(_0x5220,0xc56a9));function _0x5220(){var _0x11dd35=['castShadow','set','12KddbIW','9byoOlK','setPosition','LYObject','1354216ZWUSXF','990010ebSwgb','userData','three\x20object\x20is\x20invalid','update','65bhpfJQ','782642ggAYNv','24655730KXZvGa','world','destroy','2202381XGNZJW','obj','intensity','257916GArdRN','threeObject','markRenderStateDirty','5425864JxOHBC','onAddedToWorld'];_0x5220=function(){return _0x11dd35;};return _0x5220();}function _0x52b8(_0x231864,_0x3052bd){_0x231864=_0x231864-0x179;var _0x522011=_0x5220();var _0x52b80d=_0x522011[_0x231864];return _0x52b80d;}class AmbientLightComponent extends LightComponent{get[_0xe620a6(0x179)](){var _0x394b78=_0xe620a6;if(!this[_0x394b78(0x18e)])throw Error(_0x394b78(0x186));return this[_0x394b78(0x18e)];}set[_0xe620a6(0x179)](_0x47f245){var _0x17bfab=_0xe620a6;this[_0x17bfab(0x18e)]=_0x47f245,this[_0x17bfab(0x18e)]&&(this[_0x17bfab(0x18e)][_0x17bfab(0x185)][_0x17bfab(0x182)]=this);}get[_0xe620a6(0x17d)](){var _0x3e8266=_0xe620a6;return this[_0x3e8266(0x179)][_0x3e8266(0x17d)];}set[_0xe620a6(0x17d)](_0x271a62){var _0x3daf98=_0xe620a6;this[_0x3daf98(0x179)][_0x3daf98(0x17d)]=_0x271a62;}constructor(_0x2cde51,_0x1ad361=0xffffff,_0x37f17a=0xa,_0x20f7b5){var _0x18fb76=_0xe620a6;super(_0x2cde51,_0x20f7b5),this['threeObject']['color'][_0x18fb76(0x17e)](_0x1ad361),this[_0x18fb76(0x179)][_0x18fb76(0x18f)]=_0x37f17a;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}['setPosition'](..._0x33fda2){var _0x5731c2=_0xe620a6;_0x33fda2['length']===0x1?super[_0x5731c2(0x181)](_0x33fda2[0x0]):super[_0x5731c2(0x181)](_0x33fda2[0x0],_0x33fda2[0x1],_0x33fda2[0x2]),this[_0x5731c2(0x187)]();}[_0xe620a6(0x187)](){var _0x39a9e6=_0xe620a6;if(this[_0x39a9e6(0x18b)])this['world']['viewport'][_0x39a9e6(0x17a)]();}[_0xe620a6(0x17c)](_0x436d43){var _0x9be414=_0xe620a6;if(!this[_0x9be414(0x179)])throw Error(_0x9be414(0x186));super[_0x9be414(0x17c)](_0x436d43);}[_0xe620a6(0x18c)](){var _0x438470=_0xe620a6;super[_0x438470(0x18c)]();}}
|
|
86
106
|
|
|
87
|
-
function _0x58d0(_0x3d1fdd,_0x46e60b){_0x3d1fdd=_0x3d1fdd-0x175;const _0x525b6c=_0x525b();let _0x58d0ab=_0x525b6c[_0x3d1fdd];return _0x58d0ab;}const _0xc0f952=_0x58d0;(function(_0x7d2a72,_0x156adc){const _0x30f622=_0x58d0,_0x3e9c9f=_0x7d2a72();while(!![]){try{const _0x3890ca=-parseInt(_0x30f622(0x1c4))/0x1*(-parseInt(_0x30f622(0x1c7))/0x2)+parseInt(_0x30f622(0x17d))/0x3*(parseInt(_0x30f622(0x195))/0x4)+parseInt(_0x30f622(0x1c5))/0x5*(parseInt(_0x30f622(0x1bc))/0x6)+-parseInt(_0x30f622(0x1d0))/0x7+-parseInt(_0x30f622(0x1d8))/0x8+parseInt(_0x30f622(0x19b))/0x9*(parseInt(_0x30f622(0x1a7))/0xa)+-parseInt(_0x30f622(0x17e))/0xb;if(_0x3890ca===_0x156adc)break;else _0x3e9c9f['push'](_0x3e9c9f['shift']());}catch(_0x349276){_0x3e9c9f['push'](_0x3e9c9f['shift']());}}}(_0x525b,0x7d155));function _0x525b(){const _0x5a5155=['LYObject','attachComponent','getScale','removeTickableActor','detachComponent','destroy','onDoubleClickDelegate','has','length','_onHoverEndDelegate','6556dcirWs','app','_onHoverBeginDelegate','constructRootComponent','min','Actor','101178VXJZmx','onAddedToWorld','onActorClick','getBoundsBottomCenterPosition','getWorldRightDirection','setWorldMatrix','push','removeChildActor','rootComponent','name','tick','setRotation','430VZyYRf','threeObject','childActors','isVisible','setVisible','onClickDelegate','getChildActorById','getWorldQuaternion','KeepRelative','onActorDoubleClick','_onClickDelegate','_world','clearComponent','error','isClickEnabled','_rootComponent','getRotation','removeComponent','setScale','childrenComponents','getBounds','4782OdXKCf','forEach','worldToLocal','getComponentById','getWorldForwardDirection','localToWorld','broadcast','getWorldPosition','38McgAyh','2935hDBznt','getQuaternion','26678EPCjzl','onActorHoverEnd','sub','getBoundsCenterPosition','getWorldUpDirection','addTickableActor','markRenderStateDirty','isTickEnabled','size','650916pNXOOk','onActorHoverBegin','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','world','isHoverEnabled','getCenter','getPosition','getWorldMatrix','3437976bwQSTe','onHoverEndDelegate','parent','rootComponent\x20is\x20invalid','delete','_name','userData','setQuaternion','KeepWorld','getWorldScale','onHoverBeginDelegate','39kkzhkO','4887938EmmjZy','destroyChildren','addLocalOffset','addChildComponent','viewport','children','getWorldRotation','setLayers','uuid','setPosition','parentActor','removeFromParent','_onDoubleClickDelegate'];_0x525b=function(){return _0x5a5155;};return _0x525b();}class Actor extends BaseObject{get[_0xc0f952(0x1d3)](){const _0x5b6147=_0xc0f952;return this[_0x5b6147(0x1b2)];}get[_0xc0f952(0x1a4)](){return this['_name'];}set[_0xc0f952(0x1a4)](_0xf757fe){const _0xe837bb=_0xc0f952;this[_0xe837bb(0x177)]=_0xf757fe;}get[_0xc0f952(0x1a3)](){const _0xd5b1ff=_0xc0f952;if(!this[_0xd5b1ff(0x1b6)])throw Error(_0xd5b1ff(0x175));return this[_0xd5b1ff(0x1b6)];}set[_0xc0f952(0x1a3)](_0x566042){const _0x53ec22=_0xc0f952;_0x566042['detachFromParentComponent'](),_0x566042[_0x53ec22(0x188)]=this;if(this[_0x53ec22(0x1b6)]){let _0x9a623c=this[_0x53ec22(0x1a3)][_0x53ec22(0x1ba)];for(let _0x181fda=0x0;_0x181fda<_0x9a623c[_0x53ec22(0x193)];++_0x181fda){_0x566042['addChildComponent'](_0x9a623c[_0x181fda]);}this[_0x53ec22(0x1a3)][_0x53ec22(0x190)]();}this[_0x53ec22(0x1b6)]=_0x566042;}get[_0xc0f952(0x1ba)](){const _0x4e0ea9=_0xc0f952;return this[_0x4e0ea9(0x1a3)][_0x4e0ea9(0x1ba)];}get[_0xc0f952(0x1a9)](){const _0x4e31fc=_0xc0f952;var _0x5cd9f9;let _0x25c619=[];return (_0x5cd9f9=this[_0x4e31fc(0x1a3)][_0x4e31fc(0x1a8)])===null||_0x5cd9f9===void 0?void 0:_0x5cd9f9[_0x4e31fc(0x183)][_0x4e31fc(0x1bd)](_0x50c973=>{const _0x5c15f7=_0x4e31fc;var _0x4ca438;let _0x37650f=(_0x4ca438=_0x50c973[_0x5c15f7(0x178)]['LYObject'])===null||_0x4ca438===void 0?void 0:_0x4ca438[_0x5c15f7(0x188)];_0x37650f!==this&&_0x37650f instanceof Actor&&_0x25c619['push'](_0x37650f);}),_0x25c619;}get[_0xc0f952(0x188)](){const _0x28f3a4=_0xc0f952;var _0x5d0647,_0xe41a3e;let _0x4243b1=(_0xe41a3e=(_0x5d0647=this['rootComponent']['threeObject'])===null||_0x5d0647===void 0?void 0:_0x5d0647[_0x28f3a4(0x1da)])===null||_0xe41a3e===void 0?void 0:_0xe41a3e[_0x28f3a4(0x178)][_0x28f3a4(0x18b)]['parentActor'];return _0x4243b1===this?null:_0x4243b1;}get['isVisible'](){const _0x505784=_0xc0f952;return this[_0x505784(0x1a3)]?this['rootComponent'][_0x505784(0x1aa)]:![];}get[_0xc0f952(0x1ce)](){const _0x2fd462=_0xc0f952;return super[_0x2fd462(0x1ce)];}set['isTickEnabled'](_0x53ef6d){const _0x163eff=_0xc0f952;super[_0x163eff(0x1ce)]=_0x53ef6d,this[_0x163eff(0x1ce)]?this[_0x163eff(0x196)]['world'][_0x163eff(0x1cc)](this):this[_0x163eff(0x196)]['world'][_0x163eff(0x18e)](this);}get[_0xc0f952(0x17c)](){return this['_onHoverBeginDelegate'];}get[_0xc0f952(0x1d9)](){return this['_onHoverEndDelegate'];}get[_0xc0f952(0x1ac)](){const _0x2edb4e=_0xc0f952;return this[_0x2edb4e(0x1b1)];}get[_0xc0f952(0x191)](){const _0x10538f=_0xc0f952;return this[_0x10538f(0x18a)];}constructor(_0x3cfdc0,_0xb80192){const _0x22a7c9=_0xc0f952;super(_0xb80192),this[_0x22a7c9(0x177)]=_0x22a7c9(0x19a),this[_0x22a7c9(0x1b6)]=null,this[_0x22a7c9(0x1b2)]=null,this[_0x22a7c9(0x197)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x22a7c9(0x1b1)]=new Delegate(),this[_0x22a7c9(0x18a)]=new Delegate(),this[_0x22a7c9(0x196)]=_0x3cfdc0,this[_0x22a7c9(0x1a3)]=this['constructRootComponent'](),this[_0x22a7c9(0x1a3)]['parentActor']=this;}[_0xc0f952(0x198)](){const _0x5ad936=_0xc0f952;return new SceneComponent(this[_0x5ad936(0x196)]);}[_0xc0f952(0x1ca)](_0x1c2d10=!![]){const _0x3db5d4=_0xc0f952;let _0x55dbf7=new webgpu.Vector3();return this[_0x3db5d4(0x1bb)]()[_0x3db5d4(0x1d5)](_0x55dbf7),!_0x1c2d10?_0x55dbf7[_0x3db5d4(0x1c9)](this[_0x3db5d4(0x1d6)]()):_0x55dbf7;}['getChildActorById'](_0x4169d7,_0x21baad=!![]){const _0x16c99b=_0xc0f952,_0x181d7f=this[_0x16c99b(0x1a9)];for(const _0x3ffbd6 of _0x181d7f){if(_0x3ffbd6[_0x16c99b(0x186)]===_0x4169d7)return _0x3ffbd6;}if(_0x21baad)for(const _0x5e5f00 of _0x181d7f){const _0x2a28f1=_0x5e5f00[_0x16c99b(0x1ad)](_0x4169d7,!![]);if(_0x2a28f1)return _0x2a28f1;}return null;}['getChildActorsByIds'](_0x495f3d,_0x12eefe=!![]){const _0x1a33b8=_0xc0f952,_0x297074=[],_0x52139d=new Set(_0x495f3d),_0x5debb8=this[_0x1a33b8(0x1a9)];for(const _0x201675 of _0x5debb8){_0x52139d[_0x1a33b8(0x192)](_0x201675[_0x1a33b8(0x186)])&&(_0x297074[_0x1a33b8(0x1a1)](_0x201675),_0x52139d['delete'](_0x201675['uuid']));}if(_0x12eefe&&_0x52139d['size']>0x0)for(const _0x34c23b of _0x5debb8){const _0x997e4f=_0x34c23b['getChildActorsByIds']([..._0x52139d],!![]);for(const _0x159ba7 of _0x997e4f){_0x297074[_0x1a33b8(0x1a1)](_0x159ba7),_0x52139d[_0x1a33b8(0x176)](_0x159ba7[_0x1a33b8(0x186)]);}if(_0x52139d[_0x1a33b8(0x1cf)]===0x0)break;}return _0x297074;}['getComponentById'](_0x2ed987){const _0x3fbabd=_0xc0f952;return this[_0x3fbabd(0x1a3)][_0x3fbabd(0x1bf)](_0x2ed987);}['getBoundsTopCenterPosition'](_0x366556=!![]){const _0x47a52f=_0xc0f952;let _0x133201=new webgpu.Vector3(),_0x2e8fa8=this['rootComponent'][_0x47a52f(0x1bb)]();return _0x2e8fa8[_0x47a52f(0x1d5)](_0x133201),_0x133201['y']=_0x2e8fa8['max']['y'],!_0x366556?_0x133201[_0x47a52f(0x1c9)](this['getPosition']()):_0x133201;}[_0xc0f952(0x19e)](_0x2327ea=!![]){const _0x1659fd=_0xc0f952;let _0x311990=new webgpu.Vector3(),_0x5a734e=this[_0x1659fd(0x1bb)]();return _0x5a734e[_0x1659fd(0x1d5)](_0x311990),_0x311990['y']=_0x5a734e[_0x1659fd(0x199)]['y'],!_0x2327ea?_0x311990[_0x1659fd(0x1c9)](this['getPosition']()):_0x311990;}[_0xc0f952(0x1bb)](){return this['rootComponent']['getBounds']();}[_0xc0f952(0x190)](){const _0x15133e=_0xc0f952;let _0x57c19a=this['childActors'];_0x57c19a[_0x15133e(0x1bd)](_0x48293c=>{const _0x18f1ad=_0x15133e;_0x48293c[_0x18f1ad(0x190)]();}),this[_0x15133e(0x1a3)][_0x15133e(0x190)]();}['setVisible'](_0x2a7e9c){const _0x50a7e0=_0xc0f952;this[_0x50a7e0(0x1a3)][_0x50a7e0(0x1ab)](_0x2a7e9c);}[_0xc0f952(0x185)](_0x4ee010,_0x6c41dd=!![]){const _0x103c39=_0xc0f952;this[_0x103c39(0x1a3)][_0x103c39(0x185)](_0x4ee010),_0x6c41dd&&this[_0x103c39(0x1a9)]['forEach'](_0x14b01b=>{const _0x4391e1=_0x103c39;_0x14b01b[_0x4391e1(0x185)](_0x4ee010,_0x6c41dd);});}[_0xc0f952(0x1a5)](_0x31b1bb){const _0xffebe6=_0xc0f952;if(!this[_0xffebe6(0x1ce)])return;super['tick'](_0x31b1bb),this[_0xffebe6(0x1a3)][_0xffebe6(0x1a5)](_0x31b1bb);}[_0xc0f952(0x1d6)](){const _0x3be192=_0xc0f952;return this['rootComponent'][_0x3be192(0x1d6)]();}[_0xc0f952(0x187)](..._0xa5b70a){const _0x194227=_0xc0f952;_0xa5b70a[_0x194227(0x193)]===0x1?this[_0x194227(0x1a3)]['setPosition'](_0xa5b70a[0x0]):this[_0x194227(0x1a3)][_0x194227(0x187)](_0xa5b70a[0x0],_0xa5b70a[0x1],_0xa5b70a[0x2]);}[_0xc0f952(0x1b7)](){const _0x3688f7=_0xc0f952;return this['rootComponent'][_0x3688f7(0x1b7)]();}[_0xc0f952(0x1a6)](..._0x271c0a){const _0x3d5991=_0xc0f952;_0x271c0a[_0x3d5991(0x193)]===0x1?this['rootComponent'][_0x3d5991(0x1a6)](_0x271c0a[0x0]):this[_0x3d5991(0x1a3)][_0x3d5991(0x1a6)](_0x271c0a[0x0],_0x271c0a[0x1],_0x271c0a[0x2]);}['getQuaternion'](){const _0x24fa04=_0xc0f952;return this['rootComponent'][_0x24fa04(0x1c6)]();}['setQuaternion'](..._0x5a4956){const _0x2080b8=_0xc0f952;_0x5a4956[_0x2080b8(0x193)]===0x1?this[_0x2080b8(0x1a3)][_0x2080b8(0x179)](_0x5a4956[0x0]):this[_0x2080b8(0x1a3)][_0x2080b8(0x179)](_0x5a4956[0x0],_0x5a4956[0x1],_0x5a4956[0x2],_0x5a4956[0x3]);}['getScale'](){const _0x26652c=_0xc0f952;return this[_0x26652c(0x1a3)][_0x26652c(0x18d)]();}[_0xc0f952(0x1b9)](..._0x4568fa){const _0x3acab8=_0xc0f952;_0x4568fa[_0x3acab8(0x193)]===0x1?this[_0x3acab8(0x1a3)][_0x3acab8(0x1b9)](_0x4568fa[0x0]):this[_0x3acab8(0x1a3)][_0x3acab8(0x1b9)](_0x4568fa[0x0],_0x4568fa[0x1],_0x4568fa[0x2]);}[_0xc0f952(0x1d7)](){const _0x5cbd7f=_0xc0f952;return this[_0x5cbd7f(0x1a3)]['getWorldMatrix']();}[_0xc0f952(0x1a0)](_0x281832){const _0x4cb842=_0xc0f952;this['rootComponent'][_0x4cb842(0x1a0)](_0x281832);}[_0xc0f952(0x1c3)](){const _0x1b9eae=_0xc0f952;return this[_0x1b9eae(0x1a3)][_0x1b9eae(0x1c3)]();}[_0xc0f952(0x184)](){const _0x388c4b=_0xc0f952;return this[_0x388c4b(0x1a3)][_0x388c4b(0x184)]();}[_0xc0f952(0x1ae)](){const _0x5381bc=_0xc0f952;return this[_0x5381bc(0x1a3)][_0x5381bc(0x1ae)]();}['getWorldScale'](){const _0x6c65ac=_0xc0f952;return this[_0x6c65ac(0x1a3)][_0x6c65ac(0x17b)]();}['getWorldForwardDirection'](){const _0x34b5fc=_0xc0f952;return this[_0x34b5fc(0x1a3)][_0x34b5fc(0x1c0)]();}[_0xc0f952(0x1cb)](){const _0x2dee8b=_0xc0f952;return this['rootComponent'][_0x2dee8b(0x1cb)]();}[_0xc0f952(0x19f)](){const _0xea652e=_0xc0f952;return this[_0xea652e(0x1a3)][_0xea652e(0x19f)]();}[_0xc0f952(0x180)](_0x2f0abb,_0x111c33){const _0x545ec2=_0xc0f952;let _0x235dd0=this['getPosition']();this[_0x545ec2(0x187)](_0x235dd0['x']+_0x2f0abb['x']*_0x111c33,_0x235dd0['y']+_0x2f0abb['y']*_0x111c33,_0x235dd0['z']+_0x2f0abb['z']*_0x111c33);}[_0xc0f952(0x1be)](_0x38a3ed){const _0x895605=_0xc0f952;return this[_0x895605(0x1a3)][_0x895605(0x1be)](_0x38a3ed);}[_0xc0f952(0x1c1)](_0x9798a3){const _0x52c320=_0xc0f952;return this[_0x52c320(0x1a3)][_0x52c320(0x1c1)](_0x9798a3);}['getComponents'](){const _0x387bab=_0xc0f952;return this[_0x387bab(0x1a3)][_0x387bab(0x1ba)];}['addComponent'](_0x27a2c2,_0x4e7ca1=exports.AttachmentRules[_0xc0f952(0x1af)]){const _0x4c02ea=_0xc0f952;this[_0x4c02ea(0x1a3)][_0x4c02ea(0x181)](_0x27a2c2,_0x4e7ca1),this[_0x4c02ea(0x1b2)]&&_0x27a2c2[_0x4c02ea(0x19c)](this[_0x4c02ea(0x1b2)]);}[_0xc0f952(0x1b8)](_0x56d23f){const _0x48f8e4=_0xc0f952;if(_0x56d23f===this[_0x48f8e4(0x1b6)])return;this[_0x48f8e4(0x1a3)]['removeChildComponent'](_0x56d23f);}[_0xc0f952(0x1b3)](){const _0x19d9ac=_0xc0f952;this['rootComponent'][_0x19d9ac(0x17f)]();}['addChildActor'](_0x23c6a1,_0xb29300=exports.AttachmentRules[_0xc0f952(0x17a)]){const _0x1f3dfb=_0xc0f952;if(!_0x23c6a1[_0x1f3dfb(0x1a3)]){console[_0x1f3dfb(0x1b4)](_0x1f3dfb(0x1d2));return;}if(_0x23c6a1[_0x1f3dfb(0x188)]===this)return;_0xb29300===exports.AttachmentRules['KeepRelative']&&this[_0x1f3dfb(0x1a3)][_0x1f3dfb(0x18c)](_0x23c6a1[_0x1f3dfb(0x1a3)]);if(_0xb29300===exports.AttachmentRules[_0x1f3dfb(0x17a)]){let _0x12da40=_0x23c6a1[_0x1f3dfb(0x1d7)]();this['rootComponent'][_0x1f3dfb(0x18c)](_0x23c6a1[_0x1f3dfb(0x1a3)]),_0x23c6a1['setWorldMatrix'](_0x12da40);}this[_0x1f3dfb(0x1b2)]&&this['_world'][_0x1f3dfb(0x182)][_0x1f3dfb(0x1cd)]();}[_0xc0f952(0x1a2)](_0x582a74){const _0x2f48db=_0xc0f952;let _0x28c1d9=_0x582a74[_0x2f48db(0x1d7)]();this[_0x2f48db(0x1a3)][_0x2f48db(0x18f)](_0x582a74['rootComponent']),_0x582a74['setWorldMatrix'](_0x28c1d9);}[_0xc0f952(0x189)](){const _0x51cbe1=_0xc0f952;this[_0x51cbe1(0x188)]&&this[_0x51cbe1(0x188)]['removeChildActor'](this);}['onAddedToWorld'](_0x35b06f){const _0x464806=_0xc0f952;this['_world']=_0x35b06f,this['rootComponent'][_0x464806(0x19c)](this[_0x464806(0x1b2)]),this['childActors'][_0x464806(0x1bd)](_0x2ca571=>{const _0x114ce1=_0x464806;_0x2ca571[_0x114ce1(0x19c)](_0x35b06f);});}['onRemovedFromWorld'](){this['_world']=null;}get[_0xc0f952(0x1d4)](){const _0x2592b3=_0xc0f952;return this['rootComponent'][_0x2592b3(0x1d4)];}set[_0xc0f952(0x1d4)](_0x3fc85e){const _0x4569bb=_0xc0f952;this[_0x4569bb(0x1a3)][_0x4569bb(0x1d4)]=_0x3fc85e;}get[_0xc0f952(0x1b5)](){const _0x4d306c=_0xc0f952;return this[_0x4d306c(0x1a3)][_0x4d306c(0x1b5)];}set[_0xc0f952(0x1b5)](_0x2db78c){const _0x4b39ea=_0xc0f952;this[_0x4b39ea(0x1a3)]['isClickEnabled']=_0x2db78c;}[_0xc0f952(0x1d1)](_0x3180d4){const _0x4d2d80=_0xc0f952;this['_onHoverBeginDelegate'][_0x4d2d80(0x1c2)](_0x3180d4);}[_0xc0f952(0x1c8)](_0x258e62){const _0x154c92=_0xc0f952;this[_0x154c92(0x194)][_0x154c92(0x1c2)](_0x258e62);}[_0xc0f952(0x19d)](_0x4622d6){const _0xd4be46=_0xc0f952;this[_0xd4be46(0x1b1)][_0xd4be46(0x1c2)](_0x4622d6);}[_0xc0f952(0x1b0)](_0x308fec){const _0x13735e=_0xc0f952;this['_onDoubleClickDelegate'][_0x13735e(0x1c2)](_0x308fec);}}
|
|
107
|
+
var _0x52c80e=_0x35e6;(function(_0x4fc3fc,_0x2a3354){var _0x191727=_0x35e6,_0x3626bc=_0x4fc3fc();while(!![]){try{var _0x494f92=parseInt(_0x191727(0x9f))/0x1*(-parseInt(_0x191727(0xa2))/0x2)+parseInt(_0x191727(0xa3))/0x3*(-parseInt(_0x191727(0xa5))/0x4)+parseInt(_0x191727(0x9a))/0x5+-parseInt(_0x191727(0xa8))/0x6*(-parseInt(_0x191727(0xa0))/0x7)+-parseInt(_0x191727(0x99))/0x8+parseInt(_0x191727(0x98))/0x9*(-parseInt(_0x191727(0x9d))/0xa)+-parseInt(_0x191727(0xaa))/0xb*(-parseInt(_0x191727(0x9b))/0xc);if(_0x494f92===_0x2a3354)break;else _0x3626bc['push'](_0x3626bc['shift']());}catch(_0x48be73){_0x3626bc['push'](_0x3626bc['shift']());}}}(_0x4108,0xdeeb0));function _0x4108(){var _0x5122df=['constructRootComponent','1188242SQajcc','774VSpLcq','4832872uamJlB','5508190sgkTmO','228ZOqrVt','lightComponent','2550GJfkYs','castShadow','1qwLkbA','377594wQgbxQ','app','1744054mJXzOD','62523WboHsn','color','184rYAHWU','intensity','rootComponent','24HeZHSB'];_0x4108=function(){return _0x5122df;};return _0x4108();}function _0x35e6(_0x3d5409,_0x470e91){_0x3d5409=_0x3d5409-0x98;var _0x410894=_0x4108();var _0x35e628=_0x410894[_0x3d5409];return _0x35e628;}class AmbientLightActor extends Actor{constructor(_0x2173fc,_0xfe0f26=0xffffff,_0x1fe8bf=0x1,_0x10f4f3){var _0x13391a=_0x35e6;super(_0x2173fc,_0x10f4f3),this[_0x13391a(0x9c)]=null,this[_0x13391a(0x9c)]=this[_0x13391a(0xa7)],this[_0x13391a(0x9c)]&&(this[_0x13391a(0x9c)][_0x13391a(0xa4)]=_0xfe0f26,this[_0x13391a(0x9c)][_0x13391a(0xa6)]=_0x1fe8bf,this[_0x13391a(0x9c)][_0x13391a(0x9e)]=!![]),this[_0x13391a(0x9c)][_0x13391a(0x9e)]=!![];}[_0x52c80e(0xa9)](){var _0x37897f=_0x52c80e;return new AmbientLightComponent(this[_0x37897f(0xa1)]);}}
|
|
88
108
|
|
|
89
|
-
|
|
109
|
+
(function(_0x594067,_0x314422){var _0x42aa22=_0x5654,_0x174321=_0x594067();while(!![]){try{var _0x44e3b0=-parseInt(_0x42aa22(0xf2))/0x1*(-parseInt(_0x42aa22(0xef))/0x2)+parseInt(_0x42aa22(0xed))/0x3+-parseInt(_0x42aa22(0xf1))/0x4*(parseInt(_0x42aa22(0xf4))/0x5)+-parseInt(_0x42aa22(0xec))/0x6+parseInt(_0x42aa22(0xf0))/0x7+parseInt(_0x42aa22(0xf3))/0x8+-parseInt(_0x42aa22(0xee))/0x9;if(_0x44e3b0===_0x314422)break;else _0x174321['push'](_0x174321['shift']());}catch(_0x4a7e25){_0x174321['push'](_0x174321['shift']());}}}(_0x266a,0xe67bd));function _0x266a(){var _0x16bee8=['624612wNUIMW','488833mARYmM','7481568JsXCHl','10SpERAv','2053470AmUEOK','4890267ZropPc','13184874nqpbfd','2ebxyIS','66360uUQFvP'];_0x266a=function(){return _0x16bee8;};return _0x266a();}function _0x5654(_0x4114cb,_0x4977de){_0x4114cb=_0x4114cb-0xec;var _0x266a88=_0x266a();var _0x5654cd=_0x266a88[_0x4114cb];return _0x5654cd;}class BoxComponent extends MeshComponent{constructor(_0x355c43,_0x4ddc62=0x1,_0x1a8325=0x1,_0x2194bf=0x1,_0x2879f0=0x1,_0x1e5c45=0x1,_0x29edb2=0x1,_0x851c17=new webgpu.MeshStandardMaterial(),_0x6574cf){super(_0x355c43,new webgpu.BoxGeometry(_0x4ddc62,_0x1a8325,_0x2194bf,_0x2879f0,_0x1e5c45,_0x29edb2),_0x851c17,_0x6574cf);}}
|
|
90
110
|
|
|
91
|
-
var
|
|
111
|
+
var _0x43c96e=_0x5d11;(function(_0x526737,_0x40b6fe){var _0x2afbb3=_0x5d11,_0x389a61=_0x526737();while(!![]){try{var _0x257611=-parseInt(_0x2afbb3(0x193))/0x1+parseInt(_0x2afbb3(0x19b))/0x2*(-parseInt(_0x2afbb3(0x192))/0x3)+parseInt(_0x2afbb3(0x195))/0x4+-parseInt(_0x2afbb3(0x194))/0x5+-parseInt(_0x2afbb3(0x196))/0x6*(-parseInt(_0x2afbb3(0x199))/0x7)+parseInt(_0x2afbb3(0x19c))/0x8*(parseInt(_0x2afbb3(0x19a))/0x9)+parseInt(_0x2afbb3(0x197))/0xa;if(_0x257611===_0x40b6fe)break;else _0x389a61['push'](_0x389a61['shift']());}catch(_0x2f56a0){_0x389a61['push'](_0x389a61['shift']());}}}(_0x314c,0xe1042));function _0x5d11(_0x46b8fe,_0x532881){_0x46b8fe=_0x46b8fe-0x192;var _0x314c42=_0x314c();var _0x5d11b8=_0x314c42[_0x46b8fe];return _0x5d11b8;}function _0x314c(){var _0xafe582=['4595550vprjjz','1103984ISHrhY','1062276SeRZmw','4779250AWFXsa','constructRootComponent','56FBeczN','18FjlNYg','114370FBAHwM','1956072cYkwqZ','21ZBgbml','418236TnZvBX'];_0x314c=function(){return _0xafe582;};return _0x314c();}class BoxActor extends Actor{constructor(_0x22ca9c,_0x95b1eb){super(_0x22ca9c,_0x95b1eb);}[_0x43c96e(0x198)](){return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this['uuid']);}}
|
|
92
112
|
|
|
93
|
-
|
|
113
|
+
const _0x423438=_0x1c41;(function(_0x47d39d,_0x205fe3){const _0x1445de=_0x1c41,_0x552ca6=_0x47d39d();while(!![]){try{const _0x40479d=-parseInt(_0x1445de(0xb9))/0x1+-parseInt(_0x1445de(0xa6))/0x2*(parseInt(_0x1445de(0xbe))/0x3)+-parseInt(_0x1445de(0xa7))/0x4+parseInt(_0x1445de(0xb0))/0x5+parseInt(_0x1445de(0xc1))/0x6*(-parseInt(_0x1445de(0xb2))/0x7)+-parseInt(_0x1445de(0xb8))/0x8*(parseInt(_0x1445de(0xbf))/0x9)+parseInt(_0x1445de(0xc2))/0xa;if(_0x40479d===_0x205fe3)break;else _0x552ca6['push'](_0x552ca6['shift']());}catch(_0x3c951a){_0x552ca6['push'](_0x552ca6['shift']());}}}(_0x44ca,0xcff65));function _0x1c41(_0x51d143,_0x1022e8){_0x51d143=_0x51d143-0xa5;const _0x44caff=_0x44ca();let _0x1c4124=_0x44caff[_0x51d143];return _0x1c4124;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x423438(0xac)](){const _0x5e6d1e=_0x423438;if(!this[_0x5e6d1e(0xbb)])throw Error(_0x5e6d1e(0xba));return this[_0x5e6d1e(0xbb)];}set['threeObject'](_0x9f2829){const _0x4f4f2e=_0x423438;this[_0x4f4f2e(0xbb)]=_0x9f2829,this[_0x4f4f2e(0xbb)]&&(this['obj']['userData']['LYObject']=this);}constructor(_0x59075f,_0x3bcc1f,_0x2ba6df){const _0x489dad=_0x423438;super(_0x59075f,_0x2ba6df),this[_0x489dad(0xa9)]=DefaultSkyParam,this['sunPosition']=new webgpu.Vector3(),_0x3bcc1f&&(this[_0x489dad(0xa9)]=_0x3bcc1f),this[_0x489dad(0xab)]();}[_0x423438(0xa8)](){return new SkyMesh_js.SkyMesh();}[_0x423438(0xab)](){const _0x394869=_0x423438;var _0x29ead4,_0x4938d5;this[_0x394869(0xac)][_0x394869(0xb7)][_0x394869(0xb1)]=this[_0x394869(0xa9)][_0x394869(0xb7)],this[_0x394869(0xac)][_0x394869(0xb3)][_0x394869(0xb1)]=this[_0x394869(0xa9)][_0x394869(0xb3)],this[_0x394869(0xac)][_0x394869(0xbc)]['value']=this[_0x394869(0xa9)][_0x394869(0xbc)],this['threeObject'][_0x394869(0xaa)][_0x394869(0xb1)]=this[_0x394869(0xa9)][_0x394869(0xaa)];const _0xe0cf7f=webgpu.MathUtils[_0x394869(0xb4)](0x5a-this[_0x394869(0xa9)][_0x394869(0xae)]),_0x5c2423=webgpu.MathUtils[_0x394869(0xb4)](this['skyParam']['azimuth']);this['sunPosition'][_0x394869(0xb5)](0x1,_0xe0cf7f,_0x5c2423),this['threeObject']['sunPosition'][_0x394869(0xb1)][_0x394869(0xa5)](this[_0x394869(0xb6)]),(_0x4938d5=(_0x29ead4=this[_0x394869(0xbd)])===null||_0x29ead4===void 0?void 0:_0x29ead4['viewport'])===null||_0x4938d5===void 0?void 0:_0x4938d5[_0x394869(0xad)]();}[_0x423438(0xaf)](){const _0x31325c=_0x423438;this[_0x31325c(0xbb)]&&ThreeObjectLibrary[_0x31325c(0xc0)](this[_0x31325c(0xac)]);}}function _0x44ca(){const _0x2db3c2=['183584qeVYnD','1981920EDNgqy','createDefaultObject','skyParam','mieDirectionalG','updateSky','threeObject','markRenderStateDirty','elevation','destroyObject','6225485jPatsZ','value','7yBXuXP','rayleigh','degToRad','setFromSphericalCoords','sunPosition','turbidity','3312208RlfpJH','854586LuAnaE','three\x20object\x20is\x20invalid','obj','mieCoefficient','world','39kDsEAe','36mLsrWZ','disposeMeshResource','7263294BzZRWD','50167310SJrkhk','copy'];_0x44ca=function(){return _0x2db3c2;};return _0x44ca();}
|
|
94
114
|
|
|
95
|
-
(function(
|
|
115
|
+
var _0x7b90d4=_0x270a;function _0x270a(_0x58ac11,_0x1d8b32){_0x58ac11=_0x58ac11-0x15e;var _0x36b6a4=_0x36b6();var _0x270a4e=_0x36b6a4[_0x58ac11];return _0x270a4e;}(function(_0x496345,_0x4813c4){var _0x41a2fb=_0x270a,_0x49c199=_0x496345();while(!![]){try{var _0x5a1f58=-parseInt(_0x41a2fb(0x160))/0x1+-parseInt(_0x41a2fb(0x163))/0x2*(-parseInt(_0x41a2fb(0x15e))/0x3)+parseInt(_0x41a2fb(0x164))/0x4*(-parseInt(_0x41a2fb(0x169))/0x5)+-parseInt(_0x41a2fb(0x167))/0x6+-parseInt(_0x41a2fb(0x162))/0x7*(parseInt(_0x41a2fb(0x15f))/0x8)+-parseInt(_0x41a2fb(0x168))/0x9+parseInt(_0x41a2fb(0x165))/0xa*(parseInt(_0x41a2fb(0x16e))/0xb);if(_0x5a1f58===_0x4813c4)break;else _0x49c199['push'](_0x49c199['shift']());}catch(_0xa3699b){_0x49c199['push'](_0x49c199['shift']());}}}(_0x36b6,0xb1067));function _0x36b6(){var _0x1cf3ce=['6848676PXLLdX','9145557qxNPdF','5YiseeJ','_name','skyComponent','setScale','rootComponent','35563McaXvf','SkyActor','constructRootComponent','(Root)','276TDaMmz','13464lTaTMw','435675omxYpQ','name','1841wRdrtX','13622WgljIj','4054132hjyUaf','12830ZhSljJ','app'];_0x36b6=function(){return _0x1cf3ce;};return _0x36b6();}class SkyActor extends Actor{constructor(_0x52743d,_0xf4478){var _0x560fb5=_0x270a;super(_0x52743d,_0xf4478),this[_0x560fb5(0x16a)]=_0x560fb5(0x16f),this['skyComponent']=null,this[_0x560fb5(0x161)]=_0x560fb5(0x16f),this[_0x560fb5(0x16b)]=this[_0x560fb5(0x16d)],this[_0x560fb5(0x16d)][_0x560fb5(0x161)]=this[_0x560fb5(0x16d)][_0x560fb5(0x161)]+_0x560fb5(0x171),this[_0x560fb5(0x16c)](0xafc8,0xafc8,0xafc8);}[_0x7b90d4(0x170)](){var _0x8af120=_0x7b90d4;return new SkyComponent(this[_0x8af120(0x166)]);}}
|
|
96
116
|
|
|
97
|
-
|
|
117
|
+
(function(_0x86947c,_0x58e3df){var _0xa5869=_0x2082,_0x3801a7=_0x86947c();while(!![]){try{var _0x49c296=parseInt(_0xa5869(0x1c4))/0x1+-parseInt(_0xa5869(0x1be))/0x2*(parseInt(_0xa5869(0x1c3))/0x3)+parseInt(_0xa5869(0x1c7))/0x4*(-parseInt(_0xa5869(0x1bf))/0x5)+parseInt(_0xa5869(0x1c1))/0x6+-parseInt(_0xa5869(0x1c6))/0x7+parseInt(_0xa5869(0x1c5))/0x8*(-parseInt(_0xa5869(0x1c0))/0x9)+parseInt(_0xa5869(0x1c2))/0xa;if(_0x49c296===_0x58e3df)break;else _0x3801a7['push'](_0x3801a7['shift']());}catch(_0x312173){_0x3801a7['push'](_0x3801a7['shift']());}}}(_0x5bb6,0xce79f));function _0x2082(_0x50b9ec,_0x4bee61){_0x50b9ec=_0x50b9ec-0x1be;var _0x5bb6e3=_0x5bb6();var _0x208265=_0x5bb6e3[_0x50b9ec];return _0x208265;}class PlaneComponent extends MeshComponent{constructor(_0x3b1db3,_0x1a792e,_0x21bc9c,_0x378be4,_0x7acc61=0x1,_0x11afc2=0x1,_0x67fdfd){super(_0x3b1db3,new webgpu.PlaneGeometry(_0x1a792e,_0x21bc9c,_0x7acc61,_0x11afc2),_0x378be4,_0x67fdfd);}}function _0x5bb6(){var _0x48a7e0=['1377506raKNmQ','1798000wLQPmK','428729dXZhXV','172InNRiS','10qaaNBm','47410YGnvWc','9SrvISt','1695288KtmJgt','4416810gFgUUQ','337371eOwwOG'];_0x5bb6=function(){return _0x48a7e0;};return _0x5bb6();}
|
|
98
118
|
|
|
99
|
-
function
|
|
119
|
+
function _0x2720(){var _0x5ba999=['2787294itLCTL','144641GXtBBc','uuid','56QkolhV','1079110BUiRdB','1288629YEiUxw','destroy','58502XKnOMJ','app','11568555fUeKah','1549704GWrFfS','4kgNNaA'];_0x2720=function(){return _0x5ba999;};return _0x2720();}var _0x5c486f=_0x1b65;(function(_0x19c613,_0x21ea03){var _0x188289=_0x1b65,_0x27192f=_0x19c613();while(!![]){try{var _0x5f32f7=-parseInt(_0x188289(0xd6))/0x1*(parseInt(_0x188289(0xd2))/0x2)+parseInt(_0x188289(0xd0))/0x3+parseInt(_0x188289(0xd5))/0x4+parseInt(_0x188289(0xcf))/0x5+parseInt(_0x188289(0xd7))/0x6+parseInt(_0x188289(0xd8))/0x7*(parseInt(_0x188289(0xce))/0x8)+-parseInt(_0x188289(0xd4))/0x9;if(_0x5f32f7===_0x21ea03)break;else _0x27192f['push'](_0x27192f['shift']());}catch(_0x3a72f5){_0x27192f['push'](_0x27192f['shift']());}}}(_0x2720,0x3a7de));function _0x1b65(_0x4bfcdc,_0x3729a6){_0x4bfcdc=_0x4bfcdc-0xce;var _0x272084=_0x2720();var _0x1b6547=_0x272084[_0x4bfcdc];return _0x1b6547;}class PlaneActor extends Actor{constructor(_0x1395a5,_0x91ab7e){super(_0x1395a5,_0x91ab7e);}['constructRootComponent'](){var _0x2f3caf=_0x1b65;return new PlaneComponent(this[_0x2f3caf(0xd3)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x2f3caf(0xd9)]);}[_0x5c486f(0xd1)](){var _0x5568ac=_0x5c486f;super[_0x5568ac(0xd1)]();}}
|
|
100
120
|
|
|
101
|
-
var _0x15fda2=_0x92dc;(function(_0x2d1842,_0x430484){var _0x2e2ad7=_0x92dc,_0x1fe24b=_0x2d1842();while(!![]){try{var _0x13816f=parseInt(_0x2e2ad7(0x97))/0x1+-parseInt(_0x2e2ad7(0xa1))/0x2+-parseInt(_0x2e2ad7(0xa3))/0x3+-parseInt(_0x2e2ad7(0x99))/0x4*(-parseInt(_0x2e2ad7(0x9a))/0x5)+parseInt(_0x2e2ad7(0xa4))/0x6*(-parseInt(_0x2e2ad7(0xa9))/0x7)+parseInt(_0x2e2ad7(0xa6))/0x8*(parseInt(_0x2e2ad7(0xa2))/0x9)+parseInt(_0x2e2ad7(0x9e))/0xa;if(_0x13816f===_0x430484)break;else _0x1fe24b['push'](_0x1fe24b['shift']());}catch(_0x2221bd){_0x1fe24b['push'](_0x1fe24b['shift']());}}}(_0x4d1a,0x40264));function _0x4d1a(){var _0x409556=['95103hBAXAx','1053561IfYJAR','24pDHAYv','onAddedToWorld','304tTrzFn','three\x20object\x20is\x20invalid','world','629923sANrVu','length','userData','setPosition','color','update','LYObject','markRenderStateDirty','intensity','460318qNlpZD','castShadow','305248vvBGBO','25MalcyS','viewport','set','destroy','1750310TQtEco','threeObject','obj','889112EQCfPt'];_0x4d1a=function(){return _0x409556;};return _0x4d1a();}function _0x92dc(_0x111211,_0x1bde12){_0x111211=_0x111211-0x94;var _0x4d1ac9=_0x4d1a();var _0x92dcec=_0x4d1ac9[_0x111211];return _0x92dcec;}class DirectionalLightComponent extends LightComponent{get[_0x15fda2(0x9f)](){var _0x55e2cc=_0x15fda2;if(!this[_0x55e2cc(0xa0)])throw Error(_0x55e2cc(0xa7));return this[_0x55e2cc(0xa0)];}set[_0x15fda2(0x9f)](_0x535de5){var _0x26b4a9=_0x15fda2;this[_0x26b4a9(0xa0)]=_0x535de5,this[_0x26b4a9(0xa0)]&&(this[_0x26b4a9(0xa0)][_0x26b4a9(0xab)][_0x26b4a9(0x94)]=this);}get[_0x15fda2(0x98)](){var _0xc8f79a=_0x15fda2;return this[_0xc8f79a(0x9f)][_0xc8f79a(0x98)];}set['castShadow'](_0x31d2fa){var _0xaf5885=_0x15fda2;this[_0xaf5885(0x9f)]['castShadow']=_0x31d2fa;}constructor(_0x23e1c6,_0x3c020b=0xffffff,_0x3f5814=0xa,_0x2cdef6){var _0x196f35=_0x15fda2;super(_0x23e1c6,_0x2cdef6),this[_0x196f35(0x9f)][_0x196f35(0xad)][_0x196f35(0x9c)](_0x3c020b),this[_0x196f35(0x9f)][_0x196f35(0x96)]=_0x3f5814;}['createDefaultObject'](){return new webgpu.DirectionalLight(0xffffff,0xa);}['setPosition'](..._0x561f31){var _0x4be828=_0x15fda2;_0x561f31[_0x4be828(0xaa)]===0x1?super['setPosition'](_0x561f31[0x0]):super[_0x4be828(0xac)](_0x561f31[0x0],_0x561f31[0x1],_0x561f31[0x2]),this[_0x4be828(0xae)]();}['update'](){var _0x37548b=_0x15fda2;if(this[_0x37548b(0xa8)])this[_0x37548b(0xa8)][_0x37548b(0x9b)][_0x37548b(0x95)]();}[_0x15fda2(0xa5)](_0x25967f){var _0x511c15=_0x15fda2;if(!this[_0x511c15(0x9f)])throw Error(_0x511c15(0xa7));super[_0x511c15(0xa5)](_0x25967f);}[_0x15fda2(0x9d)](){super['destroy']();}}
|
|
121
|
+
const _0x2030bf=_0x593b;function _0x593b(_0x47d5a3,_0x151d40){_0x47d5a3=_0x47d5a3-0x1d5;const _0x6df5a9=_0x6df5();let _0x593bc8=_0x6df5a9[_0x47d5a3];return _0x593bc8;}function _0x6df5(){const _0x3b71bb=['14230cHftki','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','reverse','meshData','addMaterialAsset','calculatePolygonArea','getCenter','1023666sHhUWR','getValue','warn','name','destroyObject','viewport','_geometryPtr','geometry','addRef','1581933WPTavf','113316hxzOQX','5sGERcc','252GTizYV','colors','material','geometryPtr\x20is\x20null','castShadow','LYObject','1382ZeScRk','CustomMeshComponent','threeObject','world','setAttribute','min','indices','97UxhFdP','vertices','error','setIndex','normals','max','push','_meshData','135616uiFTmd','CustomMeshComponent:\x20Invalid\x20vertices\x20data','map','_materialPtr','length','getBoundsTopCenterPosition','receiveShadow','6160lMChUK','createDefaultObject','app','materialPtr\x20is\x20null','position','material\x20is\x20null','assetManager','markRenderStateDirty','getBoundsBottomCenterPosition','1677180sVjZsr','getBoundsCenterPosition','geometryPtr','obj','clone','getBounds','removeFromParent','CustomMeshComponent:\x20threeObject\x20is\x20null','uvs','addGeometryAsset','constructGeometry','release','computeUVs','materialPtr'];_0x6df5=function(){return _0x3b71bb;};return _0x6df5();}(function(_0x33264b,_0x590281){const _0x1cf2a0=_0x593b,_0x39acd0=_0x33264b();while(!![]){try{const _0x31ead7=-parseInt(_0x1cf2a0(0x1d7))/0x1*(-parseInt(_0x1cf2a0(0x216))/0x2)+parseInt(_0x1cf2a0(0x20d))/0x3+parseInt(_0x1cf2a0(0x20e))/0x4+-parseInt(_0x1cf2a0(0x20f))/0x5*(-parseInt(_0x1cf2a0(0x1ef))/0x6)+-parseInt(_0x1cf2a0(0x204))/0x7+-parseInt(_0x1cf2a0(0x1df))/0x8*(-parseInt(_0x1cf2a0(0x210))/0x9)+parseInt(_0x1cf2a0(0x1fd))/0xa*(-parseInt(_0x1cf2a0(0x1e6))/0xb);if(_0x31ead7===_0x590281)break;else _0x39acd0['push'](_0x39acd0['shift']());}catch(_0x4c5a3){_0x39acd0['push'](_0x39acd0['shift']());}}}(_0x6df5,0x69e47));class CustomMeshComponent extends SceneComponent{get[_0x2030bf(0x218)](){const _0x4ffebf=_0x2030bf;if(!this[_0x4ffebf(0x1f2)])throw new Error(_0x4ffebf(0x1f6));return this[_0x4ffebf(0x1f2)];}set['threeObject'](_0x27a65e){const _0x350b7=_0x2030bf;this['obj']=_0x27a65e,this[_0x350b7(0x1f2)]&&(this[_0x350b7(0x1f2)]['userData'][_0x350b7(0x215)]=this);}get['geometry'](){const _0x41b4ab=_0x2030bf;if(!this['_geometryPtr'])throw new Error(_0x41b4ab(0x213));return this[_0x41b4ab(0x20a)][_0x41b4ab(0x205)]();}set[_0x2030bf(0x20b)](_0x22401b){const _0x2de2d4=_0x2030bf;let _0x26456d=this['app'][_0x2de2d4(0x1ec)][_0x2de2d4(0x1f8)](_0x22401b);this['geometryPtr']=_0x26456d;}get[_0x2030bf(0x1f1)](){const _0x32b7b2=_0x2030bf;if(!this[_0x32b7b2(0x20a)])throw new Error('geometryPtr\x20is\x20null');return this[_0x32b7b2(0x20a)];}set['geometryPtr'](_0x3f82da){const _0x141b3c=_0x2030bf;this[_0x141b3c(0x20a)]&&(this[_0x141b3c(0x20a)][_0x141b3c(0x1fa)](),this[_0x141b3c(0x20a)]=null);this[_0x141b3c(0x20a)]=_0x3f82da;let _0x55068f=_0x3f82da[_0x141b3c(0x205)]();this[_0x141b3c(0x218)]&&_0x55068f&&(this[_0x141b3c(0x218)][_0x141b3c(0x20b)]=_0x55068f);}get[_0x2030bf(0x212)](){const _0xfba6af=_0x2030bf;if(!this[_0xfba6af(0x1e2)])throw new Error(_0xfba6af(0x1e9));let _0x2a8274=this[_0xfba6af(0x1e2)][_0xfba6af(0x205)]();if(!_0x2a8274)throw new Error(_0xfba6af(0x1eb));return _0x2a8274;}get[_0x2030bf(0x1fc)](){const _0x40245b=_0x2030bf;if(!this[_0x40245b(0x1e2)])throw new Error(_0x40245b(0x1e9));return this['_materialPtr'];}set[_0x2030bf(0x212)](_0x4bba58){const _0x13c725=_0x2030bf;let _0x9fae09=this[_0x13c725(0x1e8)][_0x13c725(0x1ec)][_0x13c725(0x201)](_0x4bba58);this[_0x13c725(0x1fc)]=_0x9fae09;}set[_0x2030bf(0x1fc)](_0x423830){const _0x1638bc=_0x2030bf;this[_0x1638bc(0x1e2)]&&(this[_0x1638bc(0x1e2)][_0x1638bc(0x1fa)](),this[_0x1638bc(0x1e2)]=null);this[_0x1638bc(0x1e2)]=_0x423830;let _0xaecf59=_0x423830[_0x1638bc(0x205)]();_0x423830[_0x1638bc(0x20c)](),this[_0x1638bc(0x218)]&&_0xaecf59&&(this[_0x1638bc(0x218)][_0x1638bc(0x212)]=_0xaecf59);}constructor(_0x1e0fd2,_0x510e71,_0x59f817,_0x5da1dc){const _0x41dc1f=_0x2030bf;super(_0x1e0fd2,_0x5da1dc),this[_0x41dc1f(0x1de)]=_0x510e71;let _0x203345=_0x1e0fd2[_0x41dc1f(0x1ec)]['addMaterialAsset'](_0x59f817);this[_0x41dc1f(0x1e2)]=_0x203345,_0x203345[_0x41dc1f(0x20c)]();const _0x4b6ef7=this[_0x41dc1f(0x1f9)](_0x510e71);this['_geometryPtr']=_0x1e0fd2['assetManager'][_0x41dc1f(0x1f8)](_0x4b6ef7),this[_0x41dc1f(0x218)][_0x41dc1f(0x212)]=_0x59f817,this[_0x41dc1f(0x218)]['geometry']=_0x4b6ef7,this[_0x41dc1f(0x207)]=_0x41dc1f(0x217),this[_0x41dc1f(0x214)]=!![],this[_0x41dc1f(0x1e5)]=!![];}[_0x2030bf(0x1fb)](_0x4fca14){const _0x4324d4=_0x2030bf,_0xc1ff65=new Float32Array(_0x4fca14['length']*0x2);if(_0x4fca14['length']===0x0)return _0xc1ff65;let _0x10d505=Infinity,_0x4fbeb8=-Infinity,_0x1da623=Infinity,_0x56d518=-Infinity,_0x4b769b=Infinity,_0x582690=-Infinity;for(const _0x5a7d24 of _0x4fca14){_0x10d505=Math['min'](_0x10d505,_0x5a7d24['x']),_0x4fbeb8=Math[_0x4324d4(0x1dc)](_0x4fbeb8,_0x5a7d24['x']),_0x1da623=Math[_0x4324d4(0x1d5)](_0x1da623,_0x5a7d24['y']),_0x56d518=Math[_0x4324d4(0x1dc)](_0x56d518,_0x5a7d24['y']),_0x4b769b=Math[_0x4324d4(0x1d5)](_0x4b769b,_0x5a7d24['z']),_0x582690=Math['max'](_0x582690,_0x5a7d24['z']);}const _0x10d13e=_0x4fbeb8-_0x10d505,_0xa598d3=_0x56d518-_0x1da623,_0x4c15e4=_0x582690-_0x4b769b;let _0x26d469,_0xddca47,_0x3319cb,_0x24e726,_0x2e3af6,_0xe73bc6;if(_0x10d13e<=_0xa598d3&&_0x10d13e<=_0x4c15e4)_0x26d469='y',_0xddca47='z',_0x3319cb=_0x1da623,_0x24e726=_0xa598d3,_0x2e3af6=_0x4b769b,_0xe73bc6=_0x4c15e4;else _0xa598d3<=_0x10d13e&&_0xa598d3<=_0x4c15e4?(_0x26d469='x',_0xddca47='z',_0x3319cb=_0x10d505,_0x24e726=_0x10d13e,_0x2e3af6=_0x4b769b,_0xe73bc6=_0x4c15e4):(_0x26d469='x',_0xddca47='y',_0x3319cb=_0x10d505,_0x24e726=_0x10d13e,_0x2e3af6=_0x1da623,_0xe73bc6=_0xa598d3);if(_0x24e726===0x0)_0x24e726=0x1;if(_0xe73bc6===0x0)_0xe73bc6=0x1;for(let _0x5c976d=0x0;_0x5c976d<_0x4fca14[_0x4324d4(0x1e3)];_0x5c976d++){const _0x5d6c0c=_0x4fca14[_0x5c976d],_0x12290f=(_0x5d6c0c[_0x26d469]-_0x3319cb)/_0x24e726,_0x37c25a=(_0x5d6c0c[_0xddca47]-_0x2e3af6)/_0xe73bc6;_0xc1ff65[_0x5c976d*0x2]=_0x12290f,_0xc1ff65[_0x5c976d*0x2+0x1]=_0x37c25a;}return _0xc1ff65;}[_0x2030bf(0x202)](_0x10731d){const _0x180b73=_0x2030bf;let _0x3527bd=0x0;const _0x326d7a=_0x10731d[_0x180b73(0x1e3)]/0x2;for(let _0x58f7c3=0x0;_0x58f7c3<_0x326d7a;_0x58f7c3++){const _0x792467=(_0x58f7c3+0x1)%_0x326d7a,_0x14a70a=_0x10731d[_0x58f7c3*0x2],_0x364f1b=_0x10731d[_0x58f7c3*0x2+0x1],_0x2555a2=_0x10731d[_0x792467*0x2],_0x52bf2e=_0x10731d[_0x792467*0x2+0x1];_0x3527bd+=_0x14a70a*_0x52bf2e-_0x2555a2*_0x364f1b;}return _0x3527bd/0x2;}[_0x2030bf(0x1f9)](_0xa52866){const _0x838299=_0x2030bf,_0x227a6b=new webgpu.BufferGeometry();if(!_0xa52866[_0x838299(0x1d8)]||_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)]===0x0)return console[_0x838299(0x1d9)](_0x838299(0x1e0)),_0x227a6b;const _0x17de79=new Float32Array(_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)]*0x3);for(let _0x54ad53=0x0;_0x54ad53<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x54ad53++){_0x17de79[_0x54ad53*0x3]=_0xa52866['vertices'][_0x54ad53]['x'],_0x17de79[_0x54ad53*0x3+0x1]=_0xa52866[_0x838299(0x1d8)][_0x54ad53]['y'],_0x17de79[_0x54ad53*0x3+0x2]=_0xa52866['vertices'][_0x54ad53]['z'];}_0x227a6b[_0x838299(0x21a)](_0x838299(0x1ea),new webgpu.Float32BufferAttribute(_0x17de79,0x3));if(_0xa52866['indices']&&_0xa52866[_0x838299(0x1d6)][_0x838299(0x1e3)]>0x0)_0x227a6b[_0x838299(0x1da)](_0xa52866[_0x838299(0x1d6)]);else {const _0x9cb9be=[];let _0x1aac3c=Infinity,_0x184f05=-Infinity,_0x5733ae=Infinity,_0x2de9d4=-Infinity,_0x5bcad0=Infinity,_0x38814b=-Infinity;for(let _0x160d0a=0x0;_0x160d0a<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x160d0a++){const _0x537f6f=_0xa52866[_0x838299(0x1d8)][_0x160d0a];_0x5733ae=Math[_0x838299(0x1d5)](_0x5733ae,_0x537f6f['x']),_0x2de9d4=Math['max'](_0x2de9d4,_0x537f6f['x']),_0x1aac3c=Math[_0x838299(0x1d5)](_0x1aac3c,_0x537f6f['y']),_0x184f05=Math['max'](_0x184f05,_0x537f6f['y']),_0x5bcad0=Math[_0x838299(0x1d5)](_0x5bcad0,_0x537f6f['z']),_0x38814b=Math[_0x838299(0x1dc)](_0x38814b,_0x537f6f['z']);}const _0x5d5d84=_0x2de9d4-_0x5733ae,_0x48bdcb=_0x184f05-_0x1aac3c,_0x28477f=_0x38814b-_0x5bcad0;if(_0x48bdcb<=_0x5d5d84&&_0x48bdcb<=_0x28477f){for(let _0x24848c=0x0;_0x24848c<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0x24848c++){_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0x24848c]['x']),_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0x24848c]['z']);}}else {if(_0x5d5d84<=_0x48bdcb&&_0x5d5d84<=_0x28477f){for(let _0xf790e0=0x0;_0xf790e0<_0xa52866[_0x838299(0x1d8)][_0x838299(0x1e3)];_0xf790e0++){_0x9cb9be[_0x838299(0x1dd)](_0xa52866[_0x838299(0x1d8)][_0xf790e0]['y']),_0x9cb9be['push'](_0xa52866[_0x838299(0x1d8)][_0xf790e0]['z']);}}else {for(let _0x1a14e5=0x0;_0x1a14e5<_0xa52866[_0x838299(0x1d8)]['length'];_0x1a14e5++){_0x9cb9be['push'](_0xa52866[_0x838299(0x1d8)][_0x1a14e5]['x']),_0x9cb9be[_0x838299(0x1dd)](_0xa52866['vertices'][_0x1a14e5]['y']);}}}const _0x478aca=this['calculatePolygonArea'](_0x9cb9be),_0x38ca5d=_0x478aca<0x0;if(_0x38ca5d){console[_0x838299(0x206)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x9cb9be[_0x838299(0x1ff)]();const _0x3edb93=[];for(let _0x5d6988=_0x9cb9be[_0x838299(0x1e3)]-0x2;_0x5d6988>=0x0;_0x5d6988-=0x2){_0x3edb93['push'](_0x9cb9be[_0x5d6988],_0x9cb9be[_0x5d6988+0x1]);}_0x9cb9be[_0x838299(0x1e3)]=0x0,_0x9cb9be[_0x838299(0x1dd)](..._0x3edb93);}try{const _0x27c075=_0x6b09cc(_0x9cb9be,undefined,0x2);if(_0x27c075&&_0x27c075['length']>0x0){if(_0x38ca5d)for(let _0x186cf1=0x0;_0x186cf1<_0x27c075[_0x838299(0x1e3)];_0x186cf1+=0x3){const _0x4c1ed9=_0x27c075[_0x186cf1];_0x27c075[_0x186cf1]=_0x27c075[_0x186cf1+0x2],_0x27c075[_0x186cf1+0x2]=_0x4c1ed9;}_0x227a6b[_0x838299(0x1da)](_0x27c075);}else console[_0x838299(0x206)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x48e4fd){console[_0x838299(0x1d9)](_0x838299(0x1fe),_0x48e4fd);}}if(_0xa52866[_0x838299(0x1db)]&&_0xa52866[_0x838299(0x1db)][_0x838299(0x1e3)]===_0xa52866['vertices']['length']){const _0x4a26b6=new Float32Array(_0xa52866['normals'][_0x838299(0x1e3)]*0x3);for(let _0x4dd05e=0x0;_0x4dd05e<_0xa52866[_0x838299(0x1db)][_0x838299(0x1e3)];_0x4dd05e++){_0x4a26b6[_0x4dd05e*0x3]=_0xa52866['normals'][_0x4dd05e]['x'],_0x4a26b6[_0x4dd05e*0x3+0x1]=_0xa52866[_0x838299(0x1db)][_0x4dd05e]['y'],_0x4a26b6[_0x4dd05e*0x3+0x2]=_0xa52866[_0x838299(0x1db)][_0x4dd05e]['z'];}_0x227a6b[_0x838299(0x21a)]('normal',new webgpu.Float32BufferAttribute(_0x4a26b6,0x3));}else _0x227a6b['computeVertexNormals']();if(_0xa52866[_0x838299(0x1f7)]&&_0xa52866[_0x838299(0x1f7)][_0x838299(0x1e3)]>0x0){const _0x5b6559=new Float32Array(_0xa52866['uvs'][_0x838299(0x1e3)]*0x2);for(let _0x18fad0=0x0;_0x18fad0<_0xa52866['uvs']['length'];_0x18fad0++){_0x5b6559[_0x18fad0*0x2]=_0xa52866['uvs'][_0x18fad0]['x'],_0x5b6559[_0x18fad0*0x2+0x1]=_0xa52866[_0x838299(0x1f7)][_0x18fad0]['y'];}_0x227a6b[_0x838299(0x21a)]('uv',new webgpu.Float32BufferAttribute(_0x5b6559,0x2));}else {const _0x3dd851=this[_0x838299(0x1fb)](_0xa52866['vertices']);_0x227a6b[_0x838299(0x21a)]('uv',new webgpu.Float32BufferAttribute(_0x3dd851,0x2));}if(_0xa52866[_0x838299(0x211)]&&_0xa52866[_0x838299(0x211)][_0x838299(0x1e3)]===_0xa52866['vertices']['length']){const _0x30b74e=new Float32Array(_0xa52866['colors']['length']*0x3);for(let _0x37d376=0x0;_0x37d376<_0xa52866[_0x838299(0x211)]['length'];_0x37d376++){_0x30b74e[_0x37d376*0x3]=_0xa52866[_0x838299(0x211)][_0x37d376]['r'],_0x30b74e[_0x37d376*0x3+0x1]=_0xa52866['colors'][_0x37d376]['g'],_0x30b74e[_0x37d376*0x3+0x2]=_0xa52866[_0x838299(0x211)][_0x37d376]['b'];}_0x227a6b[_0x838299(0x21a)]('color',new webgpu.Float32BufferAttribute(_0x30b74e,0x3));}return _0x227a6b;}set[_0x2030bf(0x200)](_0x57922b){const _0x2ee89b=_0x2030bf;var _0x2e8f99,_0x2adb2d,_0x46b69c;this[_0x2ee89b(0x20a)]&&this['_geometryPtr']['release']();const _0x3fa558=this['constructGeometry'](_0x57922b);this[_0x2ee89b(0x20a)]=this[_0x2ee89b(0x1e8)][_0x2ee89b(0x1ec)][_0x2ee89b(0x1f8)](_0x3fa558),this[_0x2ee89b(0x218)]['geometry']=_0x3fa558,this[_0x2ee89b(0x1de)]={'vertices':_0x57922b[_0x2ee89b(0x1d8)][_0x2ee89b(0x1e1)](_0x4e9ac0=>_0x4e9ac0[_0x2ee89b(0x1f3)]()),'indices':_0x57922b[_0x2ee89b(0x1d6)]?[..._0x57922b[_0x2ee89b(0x1d6)]]:undefined,'normals':(_0x2e8f99=_0x57922b['normals'])===null||_0x2e8f99===void 0?void 0:_0x2e8f99[_0x2ee89b(0x1e1)](_0x3377f7=>_0x3377f7[_0x2ee89b(0x1f3)]()),'uvs':(_0x2adb2d=_0x57922b[_0x2ee89b(0x1f7)])===null||_0x2adb2d===void 0?void 0:_0x2adb2d['map'](_0x1407d4=>_0x1407d4['clone']()),'colors':(_0x46b69c=_0x57922b[_0x2ee89b(0x211)])===null||_0x46b69c===void 0?void 0:_0x46b69c['map'](_0x192db3=>_0x192db3[_0x2ee89b(0x1f3)]())},this['world']&&this[_0x2ee89b(0x219)][_0x2ee89b(0x209)][_0x2ee89b(0x1ed)]();}get[_0x2030bf(0x200)](){const _0x1f02b5=_0x2030bf;return this[_0x1f02b5(0x1de)];}[_0x2030bf(0x1e7)](){return new webgpu.Mesh();}set[_0x2030bf(0x214)](_0x37cc1a){const _0x47200d=_0x2030bf;if(this[_0x47200d(0x218)])this['threeObject'][_0x47200d(0x214)]=_0x37cc1a;}get[_0x2030bf(0x214)](){const _0x4c378c=_0x2030bf;return this[_0x4c378c(0x218)]?this[_0x4c378c(0x218)][_0x4c378c(0x214)]:![];}set[_0x2030bf(0x1e5)](_0x50e3be){const _0x49f9e9=_0x2030bf;if(!this[_0x49f9e9(0x218)])return;this[_0x49f9e9(0x218)][_0x49f9e9(0x1e5)]=_0x50e3be;}get[_0x2030bf(0x1e5)](){const _0x1ba4de=_0x2030bf;return this['threeObject']?this[_0x1ba4de(0x218)]['receiveShadow']:![];}[_0x2030bf(0x1f0)](){const _0xdf7e95=_0x2030bf;let _0x9770ae=new webgpu.Vector3();return this[_0xdf7e95(0x1f4)]()[_0xdf7e95(0x203)](_0x9770ae),_0x9770ae;}[_0x2030bf(0x1e4)](){const _0xb26f0=_0x2030bf;let _0x3c6102=new webgpu.Vector3(),_0x5d3750=this['getBounds']();return _0x5d3750[_0xb26f0(0x203)](_0x3c6102),_0x3c6102['y']=_0x5d3750[_0xb26f0(0x1dc)]['y'],_0x3c6102;}[_0x2030bf(0x1ee)](){const _0x229fba=_0x2030bf;let _0x3f9381=new webgpu.Vector3(),_0x1dd317=this['getBounds']();return _0x1dd317[_0x229fba(0x203)](_0x3f9381),_0x3f9381['y']=_0x1dd317[_0x229fba(0x1d5)]['y'],_0x3f9381;}[_0x2030bf(0x208)](){const _0x41f944=_0x2030bf;var _0x4ea405,_0x2b1b12;this['threeObject']&&this[_0x41f944(0x218)][_0x41f944(0x1f5)](),(_0x4ea405=this[_0x41f944(0x20a)])===null||_0x4ea405===void 0?void 0:_0x4ea405[_0x41f944(0x1fa)](),(_0x2b1b12=this['_materialPtr'])===null||_0x2b1b12===void 0?void 0:_0x2b1b12[_0x41f944(0x1fa)](),super[_0x41f944(0x208)]();}}
|
|
102
122
|
|
|
103
|
-
|
|
123
|
+
(function(_0x456b01,_0xa91648){var _0x250346=_0x23b8,_0x158db2=_0x456b01();while(!![]){try{var _0x3b58fa=parseInt(_0x250346(0x6b))/0x1*(-parseInt(_0x250346(0x67))/0x2)+-parseInt(_0x250346(0x64))/0x3*(-parseInt(_0x250346(0x6f))/0x4)+parseInt(_0x250346(0x65))/0x5*(-parseInt(_0x250346(0x6a))/0x6)+parseInt(_0x250346(0x68))/0x7+parseInt(_0x250346(0x6e))/0x8+-parseInt(_0x250346(0x6d))/0x9*(parseInt(_0x250346(0x6c))/0xa)+parseInt(_0x250346(0x69))/0xb*(parseInt(_0x250346(0x66))/0xc);if(_0x3b58fa===_0xa91648)break;else _0x158db2['push'](_0x158db2['shift']());}catch(_0x537c56){_0x158db2['push'](_0x158db2['shift']());}}}(_0x7300,0xa9f60));function _0x7300(){var _0x54aa1a=['2532SKPBCW','2158126GSlzyf','5199992pAIHEj','88187gneKGc','221364RuaQws','1OjCcpP','50jfLcaV','1652949WJhaou','6500800hSxaQt','344204GhOnZN','9XzWtju','110wJXxxX'];_0x7300=function(){return _0x54aa1a;};return _0x7300();}function _0x23b8(_0x2a454d,_0x393aa2){_0x2a454d=_0x2a454d-0x64;var _0x7300d3=_0x7300();var _0x23b858=_0x7300d3[_0x2a454d];return _0x23b858;}class SphereComponent extends MeshComponent{constructor(_0x297ccf,_0x121fb7,_0x3945cf=new webgpu.MeshBasicMaterial(),_0x3086d3=0x20,_0x91d938=0x10,_0x639d01){super(_0x297ccf,new webgpu.SphereGeometry(_0x121fb7,_0x3086d3,_0x91d938),_0x3945cf,_0x639d01);}}
|
|
104
124
|
|
|
105
|
-
|
|
125
|
+
var _0x2de89e=_0x2a41;(function(_0x39e3fa,_0x313422){var _0x27fddf=_0x2a41,_0x2f7fca=_0x39e3fa();while(!![]){try{var _0x57d142=parseInt(_0x27fddf(0x106))/0x1*(parseInt(_0x27fddf(0x104))/0x2)+parseInt(_0x27fddf(0x10b))/0x3*(parseInt(_0x27fddf(0x103))/0x4)+parseInt(_0x27fddf(0xfd))/0x5+-parseInt(_0x27fddf(0x114))/0x6+-parseInt(_0x27fddf(0x10d))/0x7*(-parseInt(_0x27fddf(0x10c))/0x8)+-parseInt(_0x27fddf(0x105))/0x9*(-parseInt(_0x27fddf(0xff))/0xa)+parseInt(_0x27fddf(0x100))/0xb*(-parseInt(_0x27fddf(0x10f))/0xc);if(_0x57d142===_0x313422)break;else _0x2f7fca['push'](_0x2f7fca['shift']());}catch(_0x2f19f8){_0x2f7fca['push'](_0x2f7fca['shift']());}}}(_0x47c5,0x3440f));function _0x47c5(){var _0x3b8c46=['threeObject','390CVuBLl','5791379JOjLHm','element','setVisible','2080mIHWEI','6662WHilbt','7074CSEfHB','23wDNXqm','obj','copy','remove','destroy','1866fnGtnO','680PBNJQB','19439ERDxQq','LYObject','12HRLyCb','isHoverEnabled','isClickEnabled','userData','innerHTML','214488TNgpTk','547580nUtNvQ'];_0x47c5=function(){return _0x3b8c46;};return _0x47c5();}function _0x2a41(_0x3986d0,_0x2dc211){_0x3986d0=_0x3986d0-0xfd;var _0x47c595=_0x47c5();var _0x2a4121=_0x47c595[_0x3986d0];return _0x2a4121;}class LabelComponent extends SceneComponent{get[_0x2de89e(0xfe)](){var _0x4e964e=_0x2de89e;return this[_0x4e964e(0x107)];}set[_0x2de89e(0xfe)](_0x2a8369){var _0x310fb5=_0x2de89e;this[_0x310fb5(0x107)]=_0x2a8369,this[_0x310fb5(0x107)]&&(this[_0x310fb5(0x107)][_0x310fb5(0x112)][_0x310fb5(0x10e)]=this);}constructor(_0x4a9269,_0x10be15,_0x5098ed=new webgpu.Vector2(0.5,0x1),_0x127d4d){var _0x4557ce=_0x2de89e;super(_0x4a9269,_0x127d4d),this[_0x4557ce(0x107)]=new CSS2DRenderer_js.CSS2DObject(_0x10be15),this[_0x4557ce(0x107)]['center'][_0x4557ce(0x108)](_0x5098ed);}set[_0x2de89e(0x110)](_0x7ca177){return;}set[_0x2de89e(0x111)](_0x187a3d){return;}[_0x2de89e(0x102)](_0x2bf829){var _0x47b62e=_0x2de89e;super[_0x47b62e(0x102)](_0x2bf829);}[_0x2de89e(0x10a)](){var _0x39dc1b=_0x2de89e;this[_0x39dc1b(0xfe)][_0x39dc1b(0x101)]&&this[_0x39dc1b(0xfe)][_0x39dc1b(0x101)]['parentNode']&&(this[_0x39dc1b(0xfe)][_0x39dc1b(0x101)][_0x39dc1b(0x113)]='',this['threeObject'][_0x39dc1b(0x101)][_0x39dc1b(0x109)]()),super[_0x39dc1b(0x10a)]();}}
|
|
106
126
|
|
|
107
|
-
var _0x12ae18=_0x162b;(function(_0x1c2df0,_0xb75f1){var _0x1738b7=_0x162b,_0x4c5086=_0x1c2df0();while(!![]){try{var _0x5303e2=parseInt(_0x1738b7(0x1eb))/0x1+-parseInt(_0x1738b7(0x1df))/0x2+-parseInt(_0x1738b7(0x1dd))/0x3*(parseInt(_0x1738b7(0x1e1))/0x4)+parseInt(_0x1738b7(0x1e9))/0x5*(-parseInt(_0x1738b7(0x1e4))/0x6)+-parseInt(_0x1738b7(0x1e3))/0x7*(parseInt(_0x1738b7(0x1e6))/0x8)+-parseInt(_0x1738b7(0x1e7))/0x9+-parseInt(_0x1738b7(0x1e0))/0xa*(-parseInt(_0x1738b7(0x1e8))/0xb);if(_0x5303e2===_0xb75f1)break;else _0x4c5086['push'](_0x4c5086['shift']());}catch(_0x41a326){_0x4c5086['push'](_0x4c5086['shift']());}}}(_0x5e91,0xd4440));function _0x162b(_0x5a20fe,_0x386fc2){_0x5a20fe=_0x5a20fe-0x1dc;var _0x5e9194=_0x5e91();var _0x162b42=_0x5e9194[_0x5a20fe];return _0x162b42;}function _0x5e91(){var _0x349be0=['125951VsQlHW','2418804ijaVkZ','intensity','296ogTQyu','478323PbBgJT','11oNvhga','5mNQKPX','constructRootComponent','1473743wYTSFR','color','20742FFqOum','lightComponent','1119704cnhycE','11121410glzbOf','20UcQytg','castShadow'];_0x5e91=function(){return _0x349be0;};return _0x5e91();}class AmbientLightActor extends Actor{constructor(_0x23c638,_0x491e1f=0xffffff,_0x193bd0=0x1,_0x5ce8ca){var _0x3e1dda=_0x162b;super(_0x23c638,_0x5ce8ca),this[_0x3e1dda(0x1de)]=null,this[_0x3e1dda(0x1de)]=this['rootComponent'],this[_0x3e1dda(0x1de)]&&(this[_0x3e1dda(0x1de)][_0x3e1dda(0x1dc)]=_0x491e1f,this['lightComponent'][_0x3e1dda(0x1e5)]=_0x193bd0,this['lightComponent'][_0x3e1dda(0x1e2)]=!![]),this['lightComponent'][_0x3e1dda(0x1e2)]=!![];}[_0x12ae18(0x1ea)](){return new AmbientLightComponent(this['app']);}}
|
|
127
|
+
function _0x39ea(){const _0x55aefc=['scale','raycaster','__alpha_punch','getSize','floor','polygonOffsetFactor','max','width','destroy','position','blendSrc','sort','startsWith','fromBufferAttribute','setAttribute','parent','1859417hVPUuV','includes','5xdGWrx','loading','receiveShadow','lyCameraDragging','userData','canvas','crossVectors','createDefaultObject','traverse','isArray','needsUpdate','alphaPunchMeshes','pointerEvents','threeObject','backfaceVisibility','lengthSq','cameraWorldPos','dataset','getIndex','src','occlusionCandidates','depthMaskMeshes','push','overflow','outer','meshes','10EalDcZ','set','add','wrapper','boundingBox','normalize','object','getWorldPosition','toneMapped','abs','blendEquation','distance','__depth_mask','count','__css3d_web','LYObject','2971542LnEEwf','tickFunc','setupMasks','allow','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','obj','24ojKMbv','polygonOffset','removeFromParent','blendDstAlpha','2341562VAtFNl','targetMesh','wallboard','visible','rayDir','name','subVectors','527658MGCSaT','min','remove','isMesh','computeBoundingBox','world','iframe','depthTest','getX','allowfullscreen','material','appendChild','background','setupOcclusionTick','scene','27454995OPnFQu','createElement','renderOrder','blendSrcAlpha','divideScalar','blendDst','style','castShadow','height','normal','blending','geometry','auto','panelWorldPos','3251772GQhKcF','quaternion','depthWrite','hidden','getAttribute','true','transparent','about:blank','dispose','colorWrite','app','polygonOffsetUnits','rayIgnored','test','167741DNeyHW','div','length','round','opacity','100%','CSS3DWebPanelComponent','fog','addTickingFunction'];_0x39ea=function(){return _0x55aefc;};return _0x39ea();}const _0x51863c=_0x59cf;(function(_0x1175f8,_0x1decc9){const _0x600550=_0x59cf,_0x3fc2a0=_0x1175f8();while(!![]){try{const _0x409f0c=-parseInt(_0x600550(0xdb))/0x1+parseInt(_0x600550(0xa9))/0x2+parseInt(_0x600550(0x9f))/0x3+parseInt(_0x600550(0xcd))/0x4+-parseInt(_0x600550(0xf6))/0x5*(-parseInt(_0x600550(0xb0))/0x6)+parseInt(_0x600550(0xf4))/0x7*(parseInt(_0x600550(0xa5))/0x8)+-parseInt(_0x600550(0xbf))/0x9*(parseInt(_0x600550(0x110))/0xa);if(_0x409f0c===_0x1decc9)break;else _0x3fc2a0['push'](_0x3fc2a0['shift']());}catch(_0x5be63a){_0x3fc2a0['push'](_0x3fc2a0['shift']());}}}(_0x39ea,0x9c70a));function _0x59cf(_0x492630,_0x10d838){_0x492630=_0x492630-0x96;const _0x39ea1b=_0x39ea();let _0x59cf1e=_0x39ea1b[_0x492630];return _0x59cf1e;}function normalizeAssetUrl(_0x53dcc2){const _0x9f95ec=_0x59cf,_0x5ad3ce=String(_0x53dcc2!==null&&_0x53dcc2!==void 0?_0x53dcc2:'')['trim']();if(!_0x5ad3ce)return '';if(/^https?:\/\//i[_0x9f95ec(0xda)](_0x5ad3ce))return _0x5ad3ce;if(_0x5ad3ce[_0x9f95ec(0xf0)]('/'))return _0x5ad3ce;return '/'+_0x5ad3ce;}function getMeshPlaneLocalSize(_0x5572cc){const _0x48dbfd=_0x59cf,_0x4cb8c0=_0x5572cc[_0x48dbfd(0xca)];if(!_0x4cb8c0)return {'width':0x1,'height':0x1};if(!_0x4cb8c0[_0x48dbfd(0x114)])_0x4cb8c0[_0x48dbfd(0xb4)]();const _0x42e169=_0x4cb8c0[_0x48dbfd(0x114)];if(!_0x42e169)return {'width':0x1,'height':0x1};const _0x3fa747=_0x42e169[_0x48dbfd(0xe7)](new three.Vector3()),_0x1c4fdc=[Math['abs'](_0x3fa747['x']),Math[_0x48dbfd(0x98)](_0x3fa747['y']),Math[_0x48dbfd(0x98)](_0x3fa747['z'])][_0x48dbfd(0xef)]((_0x2cf0e4,_0xe6df76)=>_0xe6df76-_0x2cf0e4),_0x33c81e=Math[_0x48dbfd(0xea)](0.0001,_0x1c4fdc[0x0]||0x1),_0x27a8df=Math['max'](0.0001,_0x1c4fdc[0x1]||_0x33c81e);return {'width':_0x33c81e,'height':_0x27a8df};}function getMeshLocalNormal(_0x334107){const _0x528c89=_0x59cf,_0x35a068=_0x334107[_0x528c89(0xca)];if(!_0x35a068)return new three.Vector3(0x0,0x0,0x1);const _0x10b2eb=_0x35a068[_0x528c89(0xd1)](_0x528c89(0xc8));if(_0x10b2eb&&_0x10b2eb[_0x528c89(0x9c)]>0x0){const _0x44f39d=new three.Vector3(),_0x1a7399=new three.Vector3();for(let _0x46250d=0x0;_0x46250d<_0x10b2eb[_0x528c89(0x9c)];_0x46250d++){_0x1a7399[_0x528c89(0xf1)](_0x10b2eb,_0x46250d),_0x44f39d[_0x528c89(0x112)](_0x1a7399);}if(_0x44f39d[_0x528c89(0x105)]()>1e-12)return _0x44f39d['normalize']();}const _0x383157=_0x35a068[_0x528c89(0xd1)](_0x528c89(0xed));if(!_0x383157||_0x383157[_0x528c89(0x9c)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x19e16d=_0x35a068[_0x528c89(0x108)](),_0x336ead=new three.Vector3(),_0x5a52f8=new three.Vector3(),_0x881ff3=new three.Vector3(),_0x3b7f21=new three.Vector3(),_0x526f24=new three.Vector3(),_0x168fe3=new three.Vector3(),_0x116b4d=new three.Vector3(),_0x1d6a41=_0x19e16d?Math[_0x528c89(0xe8)](_0x19e16d['count']/0x3):Math[_0x528c89(0xe8)](_0x383157[_0x528c89(0x9c)]/0x3);for(let _0x2059c5=0x0;_0x2059c5<_0x1d6a41;_0x2059c5++){const _0xf04394=_0x19e16d?_0x19e16d[_0x528c89(0xb8)](_0x2059c5*0x3+0x0):_0x2059c5*0x3+0x0,_0x51d4e0=_0x19e16d?_0x19e16d['getX'](_0x2059c5*0x3+0x1):_0x2059c5*0x3+0x1,_0x18dc8d=_0x19e16d?_0x19e16d[_0x528c89(0xb8)](_0x2059c5*0x3+0x2):_0x2059c5*0x3+0x2;_0x336ead['fromBufferAttribute'](_0x383157,_0xf04394),_0x5a52f8[_0x528c89(0xf1)](_0x383157,_0x51d4e0),_0x881ff3[_0x528c89(0xf1)](_0x383157,_0x18dc8d),_0x3b7f21[_0x528c89(0xaf)](_0x5a52f8,_0x336ead),_0x526f24[_0x528c89(0xaf)](_0x881ff3,_0x336ead),_0x116b4d[_0x528c89(0xfc)](_0x3b7f21,_0x526f24);if(_0x116b4d[_0x528c89(0x105)]()<1e-14)continue;_0x168fe3['add'](_0x116b4d);}if(_0x168fe3[_0x528c89(0x105)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x168fe3[_0x528c89(0x115)]();}function collectOcclusionMeshes(_0xac99){const _0x3afd16=_0x59cf,_0x576f8f=[];return _0xac99[_0x3afd16(0xfe)](_0x2a41c0=>{const _0x3995f3=_0x3afd16;var _0x140b55;const _0x97fa17=_0x2a41c0;if(!(_0x97fa17===null||_0x97fa17===void 0?void 0:_0x97fa17[_0x3995f3(0xb3)]))return;if(!_0x2a41c0['visible'])return;if((_0x140b55=_0x2a41c0[_0x3995f3(0xfa)])===null||_0x140b55===void 0?void 0:_0x140b55['rayIgnored'])return;_0x576f8f[_0x3995f3(0x10c)](_0x2a41c0);}),_0x576f8f;}class CSS3DWebPanelComponent extends SceneComponent{get['threeObject'](){const _0x2bfdbd=_0x59cf;if(!this[_0x2bfdbd(0xa4)])throw new Error('threeObject\x20is\x20null');return this['obj'];}set['threeObject'](_0x1da485){const _0x466015=_0x59cf;this[_0x466015(0xa4)]=_0x1da485,this[_0x466015(0xa4)]&&(this[_0x466015(0xa4)][_0x466015(0xfa)][_0x466015(0x9e)]=this);}constructor(_0x1a1180,_0x39b848,_0x2698ec,_0x1dd29e){const _0x561fe5=_0x59cf;super(_0x1a1180,_0x1dd29e),this[_0x561fe5(0x113)]=null,this['iframe']=null,this[_0x561fe5(0xaa)]=null,this[_0x561fe5(0x10b)]=[],this['alphaPunchMeshes']=[],this[_0x561fe5(0xa0)]=null,this[_0x561fe5(0x106)]=new three.Vector3(),this['panelWorldPos']=new three.Vector3(),this[_0x561fe5(0xad)]=new three.Vector3(),this[_0x561fe5(0xe5)]=new three.Raycaster(),this['occlusionCandidates']=[],this[_0x561fe5(0xae)]=_0x561fe5(0xe1),this[_0x561fe5(0x10f)]=_0x39b848['filter'](_0x2faa2f=>!!_0x2faa2f);const _0x53580a=normalizeAssetUrl(_0x2698ec);if(!_0x53580a||!this['meshes']['length'])return;this['targetMesh']=this[_0x561fe5(0x10f)][0x0];const _0x2a62e2=getMeshPlaneLocalSize(this[_0x561fe5(0xaa)]),_0x5659c5=0x4b0,_0x487b04=Math['max'](0x200,Math[_0x561fe5(0xb1)](0x1000,Math[_0x561fe5(0xde)](_0x2a62e2[_0x561fe5(0xeb)]*_0x5659c5))),_0x50a758=Math[_0x561fe5(0xea)](0x200,Math[_0x561fe5(0xb1)](0x1000,Math[_0x561fe5(0xde)](_0x2a62e2['height']*_0x5659c5))),_0x38ea3d=document[_0x561fe5(0xc0)](_0x561fe5(0xdc));_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0xeb)]=_0x487b04+'px',_0x38ea3d[_0x561fe5(0xc5)]['height']=_0x50a758+'px',_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0x102)]='auto',_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0x10d)]=_0x561fe5(0xd0),_0x38ea3d[_0x561fe5(0xc5)][_0x561fe5(0xbc)]=_0x561fe5(0xd3),_0x38ea3d['style'][_0x561fe5(0x104)]=_0x561fe5(0xd0),this[_0x561fe5(0x113)]=_0x38ea3d;const _0x37169a=document[_0x561fe5(0xc0)](_0x561fe5(0xb6));_0x37169a[_0x561fe5(0x109)]=_0x53580a,_0x37169a[_0x561fe5(0xc5)][_0x561fe5(0xeb)]=_0x561fe5(0xe0),_0x37169a[_0x561fe5(0xc5)][_0x561fe5(0xc7)]=_0x561fe5(0xe0),_0x37169a[_0x561fe5(0xc5)]['border']='0',_0x37169a[_0x561fe5(0xc5)]['background']=_0x561fe5(0xd3),_0x37169a[_0x561fe5(0xc5)]['pointerEvents']=_0x561fe5(0xcb),_0x37169a[_0x561fe5(0xc5)]['backfaceVisibility']=_0x561fe5(0xd0),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xa2),_0x561fe5(0xa3)),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xb9),_0x561fe5(0xd2)),_0x37169a[_0x561fe5(0xf2)](_0x561fe5(0xf7),'lazy'),_0x38ea3d[_0x561fe5(0xbb)](_0x37169a),this[_0x561fe5(0xb6)]=_0x37169a;const _0x210196=new Addons_js.CSS3DObject(_0x38ea3d);_0x210196[_0x561fe5(0xae)]=(this[_0x561fe5(0xaa)]['name']||_0x561fe5(0xab))+_0x561fe5(0x9d),_0x210196[_0x561fe5(0xed)]['set'](0x0,0x0,0.001),_0x210196[_0x561fe5(0xce)]['setFromUnitVectors'](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x561fe5(0xaa)])),_0x210196[_0x561fe5(0xe4)][_0x561fe5(0x111)](_0x2a62e2['width']/_0x487b04,_0x2a62e2[_0x561fe5(0xc7)]/_0x50a758,0x1),this[_0x561fe5(0x103)]=_0x210196,this[_0x561fe5(0xaa)][_0x561fe5(0x112)](_0x210196),this[_0x561fe5(0xa1)](),this[_0x561fe5(0x10a)]=collectOcclusionMeshes(this[_0x561fe5(0xd7)][_0x561fe5(0xb5)][_0x561fe5(0xbe)]),this[_0x561fe5(0xbd)]();}[_0x51863c(0xfd)](){const _0x427e1d=_0x51863c;return new Addons_js.CSS3DObject(document[_0x427e1d(0xc0)](_0x427e1d(0xdc)));}[_0x51863c(0xa1)](){const _0x451c79=_0x51863c;var _0x20aaa0;for(const _0x20f505 of this[_0x451c79(0x10f)]){_0x20f505[_0x451c79(0xc1)]=Math['min']((_0x20aaa0=_0x20f505['renderOrder'])!==null&&_0x20aaa0!==void 0?_0x20aaa0:0x0,-1e3),_0x20f505[_0x451c79(0xc6)]=![],_0x20f505[_0x451c79(0xf8)]=![];const _0x2882fa=Array[_0x451c79(0xff)](_0x20f505['material'])?_0x20f505[_0x451c79(0xba)]:[_0x20f505[_0x451c79(0xba)]];for(const _0x1258ad of _0x2882fa){const _0x44e172=_0x1258ad;if(!_0x44e172)continue;_0x44e172[_0x451c79(0xd3)]=!![],_0x44e172[_0x451c79(0xdf)]=0x0,_0x44e172[_0x451c79(0xd6)]=![],_0x44e172[_0x451c79(0xb7)]=![],_0x44e172[_0x451c79(0xcf)]=![],_0x44e172[_0x451c79(0x100)]=!![];}const _0xabea1d=_0x20f505[_0x451c79(0xca)];if(!_0xabea1d)continue;const _0x137861=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x137861['colorWrite']=![],_0x137861[_0x451c79(0x97)]=![],_0x137861[_0x451c79(0xe2)]=![],_0x137861[_0x451c79(0xc9)]=three.NoBlending,_0x137861[_0x451c79(0xa6)]=!![],_0x137861[_0x451c79(0xe9)]=-4,_0x137861[_0x451c79(0xd8)]=-4;const _0xbd3944=new three.Mesh(_0xabea1d,_0x137861);_0xbd3944[_0x451c79(0xae)]=(_0x20f505[_0x451c79(0xae)]||_0x451c79(0xfb))+_0x451c79(0x9b),_0xbd3944[_0x451c79(0xfa)][_0x451c79(0xd9)]=!![],_0xbd3944['renderOrder']=Math[_0x451c79(0xb1)](_0x20f505[_0x451c79(0xc1)]-0x1,-2e3),_0xbd3944[_0x451c79(0xed)][_0x451c79(0x111)](0x0,0x0,0x0),_0xbd3944[_0x451c79(0xce)]['set'](0x0,0x0,0x0,0x1),_0xbd3944['scale']['set'](0x1,0x1,0x1),_0x20f505[_0x451c79(0x112)](_0xbd3944),this['depthMaskMeshes'][_0x451c79(0x10c)](_0xbd3944);const _0x1eb229=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x1eb229[_0x451c79(0x97)]=![],_0x1eb229[_0x451c79(0xe2)]=![],_0x1eb229[_0x451c79(0x99)]=three.AddEquation,_0x1eb229[_0x451c79(0xee)]=three.ZeroFactor,_0x1eb229[_0x451c79(0xc4)]=three.OneFactor,_0x1eb229[_0x451c79(0xc2)]=three.ZeroFactor,_0x1eb229[_0x451c79(0xa8)]=three.ZeroFactor;const _0x3cca93=new three.Mesh(_0xabea1d,_0x1eb229);_0x3cca93[_0x451c79(0xae)]=(_0x20f505[_0x451c79(0xae)]||_0x451c79(0xfb))+_0x451c79(0xe6),_0x3cca93[_0x451c79(0xfa)]['rayIgnored']=!![],_0x3cca93[_0x451c79(0xc1)]=Math[_0x451c79(0xea)](_0x20f505[_0x451c79(0xc1)]+0x3e8,0x3e8),_0x3cca93[_0x451c79(0xed)][_0x451c79(0x111)](0x0,0x0,0x0),_0x3cca93[_0x451c79(0xce)][_0x451c79(0x111)](0x0,0x0,0x0,0x1),_0x3cca93[_0x451c79(0xe4)][_0x451c79(0x111)](0x1,0x1,0x1),_0x20f505[_0x451c79(0x112)](_0x3cca93),this[_0x451c79(0x101)][_0x451c79(0x10c)](_0x3cca93);}}[_0x51863c(0xbd)](){const _0x37144a=_0x51863c;let _0x5280d5=0x0;this['tickFunc']=_0x4a87a5=>{const _0x4e7f4b=_0x59cf;var _0x1d0885;if(!this['targetMesh']||!this[_0x4e7f4b(0x113)]||!this['iframe'])return;_0x5280d5+=_0x4a87a5;if(_0x5280d5<0.05)return;_0x5280d5=0x0;const _0x3bb9ac=this[_0x4e7f4b(0xd7)]['camera'];_0x3bb9ac[_0x4e7f4b(0x96)](this[_0x4e7f4b(0x106)]),this[_0x4e7f4b(0xaa)][_0x4e7f4b(0x96)](this['panelWorldPos']),this[_0x4e7f4b(0xad)][_0x4e7f4b(0xaf)](this[_0x4e7f4b(0xcc)],this[_0x4e7f4b(0x106)]);const _0x3a3fb0=this[_0x4e7f4b(0xad)][_0x4e7f4b(0xdd)]();if(_0x3a3fb0<=0.00001)return;this['rayDir'][_0x4e7f4b(0xc3)](_0x3a3fb0),this['raycaster']['set'](this[_0x4e7f4b(0x106)],this[_0x4e7f4b(0xad)]);const _0x2b7144=this['raycaster']['intersectObjects'](this[_0x4e7f4b(0x10a)],!![]);let _0x47d9e0=![];const _0x1ff65d=_0x3a3fb0-0.02;for(const _0x2b8f09 of _0x2b7144){if(_0x2b8f09[_0x4e7f4b(0x9a)]>=_0x1ff65d)break;let _0x3f3362=_0x2b8f09['object'],_0x36f501=!![];while(_0x3f3362){if(!_0x3f3362[_0x4e7f4b(0xac)]){_0x36f501=![];break;}_0x3f3362=_0x3f3362[_0x4e7f4b(0xf3)];}if(!_0x36f501)continue;_0x3f3362=_0x2b8f09[_0x4e7f4b(0x116)];let _0x4fc4a9=![];while(_0x3f3362){if(this[_0x4e7f4b(0x10f)][_0x4e7f4b(0xf5)](_0x3f3362)){_0x4fc4a9=!![];break;}_0x3f3362=_0x3f3362[_0x4e7f4b(0xf3)];}if(_0x4fc4a9)continue;_0x47d9e0=!![];break;}const _0x1503e3=((_0x1d0885=this[_0x4e7f4b(0xd7)]['viewport'][_0x4e7f4b(0x10e)])===null||_0x1d0885===void 0?void 0:_0x1d0885[_0x4e7f4b(0x107)][_0x4e7f4b(0xf9)])==='1',_0x54296a=_0x1503e3||_0x47d9e0?'none':_0x4e7f4b(0xcb);this[_0x4e7f4b(0x113)]['style'][_0x4e7f4b(0x102)]!==_0x54296a&&(this[_0x4e7f4b(0x113)][_0x4e7f4b(0xc5)]['pointerEvents']=_0x54296a),this['iframe'][_0x4e7f4b(0xc5)][_0x4e7f4b(0x102)]!==_0x54296a&&(this[_0x4e7f4b(0xb6)]['style'][_0x4e7f4b(0x102)]=_0x54296a);},this['app'][_0x37144a(0xe3)](this[_0x37144a(0xa0)]);}[_0x51863c(0xec)](){const _0x50c84e=_0x51863c;this[_0x50c84e(0xa0)]&&(this[_0x50c84e(0xd7)]['removeTickingFunction'](this['tickFunc']),this[_0x50c84e(0xa0)]=null);for(const _0x56e23 of this['depthMaskMeshes']){_0x56e23[_0x50c84e(0xa7)]();const _0x3ec089=_0x56e23[_0x50c84e(0xba)];if(Array['isArray'](_0x3ec089)){for(const _0x57f61a of _0x3ec089)_0x57f61a===null||_0x57f61a===void 0?void 0:_0x57f61a[_0x50c84e(0xd5)]();}else _0x3ec089===null||_0x3ec089===void 0?void 0:_0x3ec089['dispose']();}this['depthMaskMeshes'][_0x50c84e(0xdd)]=0x0;for(const _0x1e82aa of this[_0x50c84e(0x101)]){_0x1e82aa[_0x50c84e(0xa7)]();const _0x317bb7=_0x1e82aa[_0x50c84e(0xba)];if(Array['isArray'](_0x317bb7)){for(const _0x2f603a of _0x317bb7)_0x2f603a===null||_0x2f603a===void 0?void 0:_0x2f603a['dispose']();}else _0x317bb7===null||_0x317bb7===void 0?void 0:_0x317bb7[_0x50c84e(0xd5)]();}this[_0x50c84e(0x101)][_0x50c84e(0xdd)]=0x0,this[_0x50c84e(0xb6)]&&(this[_0x50c84e(0xb6)][_0x50c84e(0x109)]=_0x50c84e(0xd4),this[_0x50c84e(0xb6)]=null),this['wrapper']&&(this[_0x50c84e(0x113)][_0x50c84e(0xb2)](),this['wrapper']=null),this[_0x50c84e(0xaa)]=null,this[_0x50c84e(0x10a)]=[],super[_0x50c84e(0xec)]();}}
|
|
108
128
|
|
|
109
|
-
(function(
|
|
129
|
+
const _0x5c0425=_0x3184;(function(_0x3cf6a8,_0x17ec3f){const _0x2831f6=_0x3184,_0x2dbb0c=_0x3cf6a8();while(!![]){try{const _0x5255f6=-parseInt(_0x2831f6(0x15c))/0x1+-parseInt(_0x2831f6(0x15d))/0x2+-parseInt(_0x2831f6(0x158))/0x3+parseInt(_0x2831f6(0x175))/0x4*(-parseInt(_0x2831f6(0x16c))/0x5)+-parseInt(_0x2831f6(0x154))/0x6+-parseInt(_0x2831f6(0x157))/0x7+parseInt(_0x2831f6(0x152))/0x8;if(_0x5255f6===_0x17ec3f)break;else _0x2dbb0c['push'](_0x2dbb0c['shift']());}catch(_0x5431cc){_0x2dbb0c['push'](_0x2dbb0c['shift']());}}}(_0x485d,0x4b0d8));function _0x3184(_0x49dfec,_0x2855e6){_0x49dfec=_0x49dfec-0x137;const _0x485d16=_0x485d();let _0x31846d=_0x485d16[_0x49dfec];return _0x31846d;}function _0x485d(){const _0x16cba5=['dispose','_bevelOffset','remove','_group','obj','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','min','bevelThickness','isArray','_mesh','_bevelSize','loadFontAndRefresh','LYObject','curveSegments','_text','geometry','material','world','computeBoundingBox','max','#ffffff','bevelSize','translate','Failed\x20to\x20load\x20font\x20from\x20','19282856ENhlJN','refreshGeometry','2383128otASGa','bevelEnabled','height','2277730NpBmSE','907380ixOzuD','_bevelThickness','destroy','_isUnlit','304901pajkiR','650988HjnkRb','add','Text','text','boundingBox','set','_fontCache','sideColor','_size','size','userData','_curveSegments','_font','_fontUrl','_bevelSegments','85JCMPwv','_height','isUnlit','get','_sideColor','_fontLoader','bevelOffset','_bevelEnabled','bevelSegments','105296TpLKca','updateMaterial','markRenderStateDirty','fontUrl','color','_color'];_0x485d=function(){return _0x16cba5;};return _0x485d();}class Text3DComponent extends SceneComponent{constructor(_0x44e241,_0x535343,_0x466bc1){const _0x57bca2=_0x3184;super(_0x44e241,_0x466bc1),this[_0x57bca2(0x148)]=_0x57bca2(0x15f),this[_0x57bca2(0x16a)]=_0x57bca2(0x13f),this[_0x57bca2(0x165)]=0x1,this[_0x57bca2(0x16d)]=0.2,this[_0x57bca2(0x168)]=0xc,this[_0x57bca2(0x173)]=![],this[_0x57bca2(0x159)]=0.03,this[_0x57bca2(0x144)]=0.02,this[_0x57bca2(0x13b)]=0x0,this[_0x57bca2(0x16b)]=0x5,this[_0x57bca2(0x139)]=_0x57bca2(0x14e),this['_sideColor']=_0x57bca2(0x14e),this['_isUnlit']=!![],this[_0x57bca2(0x169)]=null,this[_0x57bca2(0x143)]=null,this[_0x57bca2(0x13d)]=this[_0x57bca2(0x13e)];if(_0x535343){if(_0x535343[_0x57bca2(0x160)]!==undefined)this[_0x57bca2(0x148)]=_0x535343['text'];if(_0x535343[_0x57bca2(0x137)]!==undefined)this[_0x57bca2(0x16a)]=_0x535343['fontUrl'];if(_0x535343[_0x57bca2(0x166)]!==undefined)this[_0x57bca2(0x165)]=_0x535343[_0x57bca2(0x166)];if(_0x535343[_0x57bca2(0x156)]!==undefined)this[_0x57bca2(0x16d)]=_0x535343[_0x57bca2(0x156)];if(_0x535343['curveSegments']!==undefined)this[_0x57bca2(0x168)]=_0x535343[_0x57bca2(0x147)];if(_0x535343[_0x57bca2(0x155)]!==undefined)this[_0x57bca2(0x173)]=_0x535343[_0x57bca2(0x155)];if(_0x535343[_0x57bca2(0x141)]!==undefined)this['_bevelThickness']=_0x535343[_0x57bca2(0x141)];if(_0x535343[_0x57bca2(0x14f)]!==undefined)this[_0x57bca2(0x144)]=_0x535343['bevelSize'];if(_0x535343[_0x57bca2(0x172)]!==undefined)this[_0x57bca2(0x13b)]=_0x535343[_0x57bca2(0x172)];if(_0x535343['bevelSegments']!==undefined)this[_0x57bca2(0x16b)]=_0x535343[_0x57bca2(0x174)];_0x535343[_0x57bca2(0x138)]!==undefined&&(this[_0x57bca2(0x139)]=_0x535343[_0x57bca2(0x138)],this['_sideColor']=_0x535343['color']);if(_0x535343['sideColor']!==undefined)this[_0x57bca2(0x170)]=_0x535343['sideColor'];if(_0x535343[_0x57bca2(0x16e)]!==undefined)this[_0x57bca2(0x15b)]=_0x535343[_0x57bca2(0x16e)];}this[_0x57bca2(0x145)]();}['createDefaultObject'](){return new webgpu.Group();}get[_0x5c0425(0x160)](){const _0x28ed6f=_0x5c0425;return this[_0x28ed6f(0x148)];}set[_0x5c0425(0x160)](_0x25ebd6){const _0x43dbac=_0x5c0425;this[_0x43dbac(0x148)]!==_0x25ebd6&&(this[_0x43dbac(0x148)]=_0x25ebd6,this[_0x43dbac(0x153)]());}get['color'](){return this['_color'];}set['color'](_0x4ad526){const _0x4e3e1c=_0x5c0425;this[_0x4e3e1c(0x139)]!==_0x4ad526&&(this['_color']=_0x4ad526,this[_0x4e3e1c(0x176)]());}get[_0x5c0425(0x164)](){return this['_sideColor'];}set[_0x5c0425(0x164)](_0x57587b){const _0x294341=_0x5c0425;this['_sideColor']!==_0x57587b&&(this['_sideColor']=_0x57587b,this[_0x294341(0x176)]());}get['size'](){const _0x2dd636=_0x5c0425;return this[_0x2dd636(0x165)];}set[_0x5c0425(0x166)](_0x4a0c1d){const _0xe0a368=_0x5c0425;this[_0xe0a368(0x165)]!==_0x4a0c1d&&(this[_0xe0a368(0x165)]=_0x4a0c1d,this[_0xe0a368(0x153)]());}get[_0x5c0425(0x156)](){return this['_height'];}set[_0x5c0425(0x156)](_0x1ff4e6){const _0x1d8609=_0x5c0425;this[_0x1d8609(0x16d)]!==_0x1ff4e6&&(this['_height']=_0x1ff4e6,this[_0x1d8609(0x153)]());}get['fontUrl'](){return this['_fontUrl'];}set['fontUrl'](_0x443e39){const _0x548d70=_0x5c0425;this[_0x548d70(0x16a)]!==_0x443e39&&(this[_0x548d70(0x16a)]=_0x443e39,this[_0x548d70(0x145)]());}async[_0x5c0425(0x145)](){const _0x39c79b=_0x5c0425;if(Text3DComponent[_0x39c79b(0x163)]['has'](this[_0x39c79b(0x16a)])){this[_0x39c79b(0x169)]=Text3DComponent['_fontCache'][_0x39c79b(0x16f)](this[_0x39c79b(0x16a)]),this[_0x39c79b(0x153)]();return;}try{const _0x19f3ad=await Text3DComponent[_0x39c79b(0x171)]['loadAsync'](this[_0x39c79b(0x16a)]);Text3DComponent[_0x39c79b(0x163)][_0x39c79b(0x162)](this[_0x39c79b(0x16a)],_0x19f3ad),this[_0x39c79b(0x169)]=_0x19f3ad,this[_0x39c79b(0x153)]();}catch(_0x49b912){console['error'](_0x39c79b(0x151)+this[_0x39c79b(0x16a)]+':',_0x49b912);}}[_0x5c0425(0x153)](){const _0x5ea2e9=_0x5c0425;if(!this['_font'])return;if(this[_0x5ea2e9(0x143)]){if(this[_0x5ea2e9(0x143)][_0x5ea2e9(0x149)])this['_mesh'][_0x5ea2e9(0x149)]['dispose']();this[_0x5ea2e9(0x13d)][_0x5ea2e9(0x13c)](this[_0x5ea2e9(0x143)]);}const _0x57b831=new Addons_js.TextGeometry(this['_text'],{'font':this['_font'],'size':this['_size'],'depth':this[_0x5ea2e9(0x16d)],'curveSegments':this[_0x5ea2e9(0x168)],'bevelEnabled':this[_0x5ea2e9(0x173)],'bevelThickness':this['_bevelThickness'],'bevelSize':this[_0x5ea2e9(0x144)],'bevelOffset':this[_0x5ea2e9(0x13b)],'bevelSegments':this['_bevelSegments']});_0x57b831[_0x5ea2e9(0x14c)]();if(_0x57b831[_0x5ea2e9(0x161)]){const _0x359f76=-0.5*(_0x57b831[_0x5ea2e9(0x161)][_0x5ea2e9(0x14d)]['x']-_0x57b831[_0x5ea2e9(0x161)][_0x5ea2e9(0x140)]['x']),_0x4183f5=-0.5*(_0x57b831['boundingBox'][_0x5ea2e9(0x14d)]['y']-_0x57b831[_0x5ea2e9(0x161)][_0x5ea2e9(0x140)]['y']);_0x57b831[_0x5ea2e9(0x150)](_0x359f76,_0x4183f5,0x0);}let _0x3066e4;this[_0x5ea2e9(0x15b)]?_0x3066e4=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x5ea2e9(0x139)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this['_sideColor']),'side':webgpu.DoubleSide})]:_0x3066e4=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x5ea2e9(0x139)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this['_sideColor']),'side':webgpu.DoubleSide})],this[_0x5ea2e9(0x143)]=new webgpu.Mesh(_0x57b831,_0x3066e4),this[_0x5ea2e9(0x143)][_0x5ea2e9(0x167)][_0x5ea2e9(0x146)]=this,this[_0x5ea2e9(0x13d)][_0x5ea2e9(0x15e)](this['_mesh']),this[_0x5ea2e9(0x14b)]&&this[_0x5ea2e9(0x14b)]['viewport'][_0x5ea2e9(0x177)]();}[_0x5c0425(0x176)](){const _0x7a22f8=_0x5c0425;if(!this[_0x7a22f8(0x143)])return;if(Array['isArray'](this[_0x7a22f8(0x143)]['material'])){const _0x141f64=this['_mesh'][_0x7a22f8(0x14a)];_0x141f64['length']>=0x2&&(_0x141f64[0x0]['color']['set'](this[_0x7a22f8(0x139)]),_0x141f64[0x1][_0x7a22f8(0x138)][_0x7a22f8(0x162)](this['_sideColor']));}else {const _0x3b13c8=this[_0x7a22f8(0x143)][_0x7a22f8(0x14a)];_0x3b13c8['color'][_0x7a22f8(0x162)](this[_0x7a22f8(0x139)]);}this['world']&&this[_0x7a22f8(0x14b)]['viewport'][_0x7a22f8(0x177)]();}[_0x5c0425(0x15a)](){const _0x1b80f7=_0x5c0425;if(this[_0x1b80f7(0x143)]){if(this[_0x1b80f7(0x143)][_0x1b80f7(0x149)])this[_0x1b80f7(0x143)][_0x1b80f7(0x149)][_0x1b80f7(0x13a)]();Array[_0x1b80f7(0x142)](this[_0x1b80f7(0x143)][_0x1b80f7(0x14a)])?this['_mesh'][_0x1b80f7(0x14a)]['forEach'](_0x418642=>_0x418642[_0x1b80f7(0x13a)]()):this[_0x1b80f7(0x143)][_0x1b80f7(0x14a)][_0x1b80f7(0x13a)]();}super[_0x1b80f7(0x15a)]();}}Text3DComponent[_0x5c0425(0x171)]=new Addons_js.FontLoader(),Text3DComponent[_0x5c0425(0x163)]=new Map();
|
|
110
130
|
|
|
111
|
-
(function(
|
|
131
|
+
function _0x1ed4(_0x12ab69,_0x630cac){_0x12ab69=_0x12ab69-0x7c;const _0xd9ff56=_0xd9ff();let _0x1ed471=_0xd9ff56[_0x12ab69];return _0x1ed471;}const _0x3afb03=_0x1ed4;(function(_0xcac79a,_0x447bc9){const _0x138bee=_0x1ed4,_0x5c9bf2=_0xcac79a();while(!![]){try{const _0x214afb=-parseInt(_0x138bee(0x84))/0x1*(-parseInt(_0x138bee(0x7d))/0x2)+parseInt(_0x138bee(0x7c))/0x3+-parseInt(_0x138bee(0x7f))/0x4*(parseInt(_0x138bee(0x85))/0x5)+-parseInt(_0x138bee(0x82))/0x6+-parseInt(_0x138bee(0x81))/0x7*(parseInt(_0x138bee(0x87))/0x8)+parseInt(_0x138bee(0x86))/0x9*(parseInt(_0x138bee(0x80))/0xa)+parseInt(_0x138bee(0x7e))/0xb;if(_0x214afb===_0x447bc9)break;else _0x5c9bf2['push'](_0x5c9bf2['shift']());}catch(_0x1b31d2){_0x5c9bf2['push'](_0x5c9bf2['shift']());}}}(_0xd9ff,0x5ecc0));function _0xd9ff(){const _0x5a0963=['3562098skiLgi','ScreenSpaceReflection','1skzvuE','55FfVqyo','81kxjKDG','13760aBBEDh','1119255QqntuF','584770qhLJWE','13312728ikTAfF','144888WNloMl','135750nDOTXL','2513EradtD'];_0xd9ff=function(){return _0x5a0963;};return _0xd9ff();}const DefaultSSRParam={'type':exports.PostProcessStepType[_0x3afb03(0x83)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
112
132
|
|
|
113
|
-
|
|
133
|
+
const _0x2c149e=_0x243e;(function(_0x325a55,_0x50962c){const _0x4b5c2a=_0x243e,_0x17db43=_0x325a55();while(!![]){try{const _0x34a866=-parseInt(_0x4b5c2a(0x155))/0x1*(-parseInt(_0x4b5c2a(0x158))/0x2)+-parseInt(_0x4b5c2a(0x154))/0x3*(-parseInt(_0x4b5c2a(0x14f))/0x4)+parseInt(_0x4b5c2a(0x156))/0x5*(-parseInt(_0x4b5c2a(0x14d))/0x6)+-parseInt(_0x4b5c2a(0x152))/0x7+parseInt(_0x4b5c2a(0x150))/0x8*(-parseInt(_0x4b5c2a(0x14c))/0x9)+parseInt(_0x4b5c2a(0x159))/0xa*(parseInt(_0x4b5c2a(0x153))/0xb)+-parseInt(_0x4b5c2a(0x14e))/0xc*(-parseInt(_0x4b5c2a(0x151))/0xd);if(_0x34a866===_0x50962c)break;else _0x17db43['push'](_0x17db43['shift']());}catch(_0x5851df){_0x17db43['push'](_0x17db43['shift']());}}}(_0x1e54,0xe8335));function _0x243e(_0x26a2e5,_0x32d379){_0x26a2e5=_0x26a2e5-0x14c;const _0x1e546c=_0x1e54();let _0x243e19=_0x1e546c[_0x26a2e5];return _0x243e19;}function _0x1e54(){const _0x45add1=['6356225GmsAtd','fxaa','189742SmmcvM','10VysnvM','54PTRRMA','6QQAOJO','535452PoEVUp','248WeXzSX','2273912dmytFy','325PJAnzz','2376080uYiNSG','12375737zEXxQE','61338aLKZWf','8xqMXBJ'];_0x1e54=function(){return _0x45add1;};return _0x1e54();}const DefaultAAParams={'type':exports.PostProcessStepType['Antialiasing'],'method':_0x2c149e(0x157)};
|
|
114
134
|
|
|
115
|
-
|
|
135
|
+
const _0x4a95e9=_0x3d9a;(function(_0x25636a,_0x4fe641){const _0x805476=_0x3d9a,_0x5753b4=_0x25636a();while(!![]){try{const _0x2ba781=parseInt(_0x805476(0x1cd))/0x1*(parseInt(_0x805476(0x1b7))/0x2)+parseInt(_0x805476(0x1cc))/0x3+parseInt(_0x805476(0x1db))/0x4+-parseInt(_0x805476(0x1ae))/0x5*(parseInt(_0x805476(0x1af))/0x6)+parseInt(_0x805476(0x1a8))/0x7*(-parseInt(_0x805476(0x1c0))/0x8)+-parseInt(_0x805476(0x1b4))/0x9+parseInt(_0x805476(0x1b2))/0xa*(parseInt(_0x805476(0x1ab))/0xb);if(_0x2ba781===_0x4fe641)break;else _0x5753b4['push'](_0x5753b4['shift']());}catch(_0x54ff71){_0x5753b4['push'](_0x5753b4['shift']());}}}(_0x5f2d,0x99c59));function _0x3d9a(_0x101e9c,_0x4ccd24){_0x101e9c=_0x101e9c-0x19f;const _0x5f2d74=_0x5f2d();let _0x3d9aa0=_0x5f2d74[_0x101e9c];return _0x3d9aa0;}class ColliderComponent extends SceneComponent{get[_0x4a95e9(0x1a2)](){const _0x1b97a4=_0x4a95e9;return this[_0x1b97a4(0x1d4)];}set[_0x4a95e9(0x1a2)](_0x24b337){const _0x1e5264=_0x4a95e9;var _0x26f924,_0x880ee7,_0x2332c2;if(this['_debugEnabled']===_0x24b337)return;this[_0x1e5264(0x1d4)]=_0x24b337,this['_debugEnabled']?this[_0x1e5264(0x1c9)]():this[_0x1e5264(0x1c2)](),(_0x2332c2=(_0x880ee7=(_0x26f924=this[_0x1e5264(0x1a1)])===null||_0x26f924===void 0?void 0:_0x26f924[_0x1e5264(0x1ba)])===null||_0x880ee7===void 0?void 0:_0x880ee7[_0x1e5264(0x19f)])===null||_0x2332c2===void 0?void 0:_0x2332c2[_0x1e5264(0x1d6)](_0x880ee7);}get[_0x4a95e9(0x1c5)](){return this['_debugColor'];}set['debugColor'](_0xb73767){const _0x2d9003=_0x4a95e9;this['_debugColor']=_0xb73767,this[_0x2d9003(0x1d4)]&&this['onDebugStyleChanged']();}get[_0x4a95e9(0x1d1)](){const _0x35954b=_0x4a95e9;return this[_0x35954b(0x1b6)];}set[_0x4a95e9(0x1d1)](_0x5c1b9f){const _0xb0216=_0x4a95e9;this['_debugOpacity']=_0x5c1b9f,this[_0xb0216(0x1d4)]&&this[_0xb0216(0x1be)]();}get[_0x4a95e9(0x1b9)](){const _0x277e0b=_0x4a95e9;return this[_0x277e0b(0x1bd)];}set[_0x4a95e9(0x1b9)](_0xb394cd){const _0x175ff3=_0x4a95e9;this[_0x175ff3(0x1bd)]=_0xb394cd;}get['generateOverlapEvents'](){const _0x1e8b18=_0x4a95e9;return this[_0x1e8b18(0x1d2)];}set[_0x4a95e9(0x1bf)](_0x5a1815){const _0x474b00=_0x4a95e9;this[_0x474b00(0x1d2)]=_0x5a1815;}get[_0x4a95e9(0x1aa)](){const _0x223444=_0x4a95e9;return this[_0x223444(0x1b1)];}set[_0x4a95e9(0x1aa)](_0x6bdc16){const _0x5ec628=_0x4a95e9;this[_0x5ec628(0x1b1)]=_0x6bdc16;}get[_0x4a95e9(0x1cb)](){const _0x4c1628=_0x4a95e9;return this[_0x4c1628(0x1d8)];}set[_0x4a95e9(0x1cb)](_0x3bf6d3){this['_objectType']=_0x3bf6d3;}get['onBeginOverlapDelegate'](){return this['_onBeginOverlapDelegate'];}get[_0x4a95e9(0x1da)](){const _0x2b8fbe=_0x4a95e9;return this[_0x2b8fbe(0x1ac)];}get[_0x4a95e9(0x1cf)](){const _0x21ab0e=_0x4a95e9;return this[_0x21ab0e(0x1d7)];}constructor(_0x54439b,_0x1fec86){const _0x1246f7=_0x4a95e9;super(_0x54439b,_0x1fec86),this[_0x1246f7(0x1bd)]=!![],this[_0x1246f7(0x1d2)]=!![],this[_0x1246f7(0x1b1)]=!![],this[_0x1246f7(0x1d8)]=exports.CollisionChannel['WorldDynamic'],this['_responseMap']={},this[_0x1246f7(0x1c3)]=new Delegate(),this[_0x1246f7(0x1ac)]=new Delegate(),this[_0x1246f7(0x1d7)]=new Delegate(),this[_0x1246f7(0x1d0)]=![],this[_0x1246f7(0x1d4)]=![],this[_0x1246f7(0x1a9)]=0xff00,this['_debugOpacity']=0.25,this[_0x1246f7(0x1b5)]=null,this[_0x1246f7(0x1ad)]=_0x1246f7(0x1c1);}[_0x4a95e9(0x1c4)](_0x30e4fa,_0x520d17){this['_responseMap'][_0x30e4fa]=_0x520d17;}['setCollisionResponses'](_0x2db21e){const _0x10b56b=_0x4a95e9;this[_0x10b56b(0x1ce)]=Object[_0x10b56b(0x1c8)]({},_0x2db21e);}[_0x4a95e9(0x1b3)](_0xdd474a){const _0x3dd709=_0x4a95e9;var _0x2ab436;return (_0x2ab436=this[_0x3dd709(0x1ce)][_0xdd474a])!==null&&_0x2ab436!==void 0?_0x2ab436:exports.CollisionResponse[_0x3dd709(0x1c6)];}['getMutualResponse'](_0x3223e4){const _0x74794a=_0x4a95e9,_0x499927=this[_0x74794a(0x1b3)](_0x3223e4[_0x74794a(0x1cb)]),_0x43f1e8=_0x3223e4[_0x74794a(0x1b3)](this[_0x74794a(0x1cb)]);if(_0x499927===exports.CollisionResponse[_0x74794a(0x1bc)]||_0x43f1e8===exports.CollisionResponse['Ignore'])return exports.CollisionResponse[_0x74794a(0x1bc)];if(_0x499927===exports.CollisionResponse[_0x74794a(0x1c6)]||_0x43f1e8===exports.CollisionResponse[_0x74794a(0x1c6)])return exports.CollisionResponse[_0x74794a(0x1c6)];return exports.CollisionResponse['Overlap'];}[_0x4a95e9(0x1c7)](_0x38ff32){const _0x100438=_0x4a95e9;super[_0x100438(0x1c7)](_0x38ff32),this[_0x100438(0x1d4)]&&this[_0x100438(0x1a7)](_0x38ff32);}['onAddedToWorld'](_0x21998b){const _0x5ee0f8=_0x4a95e9;super[_0x5ee0f8(0x1d9)](_0x21998b),!this[_0x5ee0f8(0x1d0)]&&(this['world'][_0x5ee0f8(0x1a5)][_0x5ee0f8(0x1dc)](this),this['_registeredInWorld']=!![]);}[_0x4a95e9(0x1b8)](){const _0x29eef4=_0x4a95e9;this[_0x29eef4(0x1d4)]&&(this['disableDebug'](),this[_0x29eef4(0x1d4)]=![]),this['_registeredInWorld']&&(this[_0x29eef4(0x1a1)][_0x29eef4(0x1a5)]['unregisterCollider'](this),this[_0x29eef4(0x1d0)]=![]),super[_0x29eef4(0x1b8)]();}[_0x4a95e9(0x1a4)](){const _0x35e037=_0x4a95e9;return this[_0x35e037(0x1a6)];}[_0x4a95e9(0x1a3)](){return null;}[_0x4a95e9(0x1ca)](_0x1ff7ac){return;}['onDebugTick'](_0x5e5962){return;}[_0x4a95e9(0x1be)](){return;}['enableDebug'](){const _0x46e6fe=_0x4a95e9;if(this[_0x46e6fe(0x1b5)])return;const _0x2a818a=this[_0x46e6fe(0x1a4)](),_0x269e3f=this[_0x46e6fe(0x1a3)]();if(!_0x269e3f)return;this[_0x46e6fe(0x1b5)]=_0x269e3f,_0x269e3f['traverse'](_0x3e06a1=>{const _0x15f08d=_0x46e6fe;_0x3e06a1[_0x15f08d(0x1d5)][_0x15f08d(0x1bb)]=!![];}),_0x2a818a&&_0x2a818a[_0x46e6fe(0x1d3)](_0x269e3f),this[_0x46e6fe(0x1be)]();}[_0x4a95e9(0x1c2)](){const _0x19e83d=_0x4a95e9,_0x51c14d=this[_0x19e83d(0x1b5)];if(!_0x51c14d)return;this[_0x19e83d(0x1ca)](_0x51c14d),_0x51c14d[_0x19e83d(0x1a0)]&&_0x51c14d[_0x19e83d(0x1a0)][_0x19e83d(0x1b0)](_0x51c14d),this[_0x19e83d(0x1b5)]=null;}}function _0x5f2d(){const _0x428029=['_onHitDelegate','_objectType','onAddedToWorld','onEndOverlapDelegate','1299424eEUVxV','registerCollider','markRenderStateDirty','parent','world','debugEnabled','createDebugObject','getDebugAttachParent','physics','threeObject','onDebugTick','28kvHCFi','_debugColor','generateHitEvents','223564eKQXHf','_onEndOverlapDelegate','name','45PJVFkw','256326liGnmc','remove','_generateHitEvents','780ssauoB','getCollisionResponse','10488249VuEbFe','_debugObject','_debugOpacity','48164vRMBDA','destroy','collisionEnabled','viewport','rayIgnored','Ignore','_collisionEnabled','onDebugStyleChanged','generateOverlapEvents','716448wJJBVM','ColliderComponent','disableDebug','_onBeginOverlapDelegate','setCollisionResponse','debugColor','Block','tick','assign','enableDebug','destroyDebugObject','objectType','1377663bjUnNg','7UwkGoK','_responseMap','onHitDelegate','_registeredInWorld','debugOpacity','_generateOverlapEvents','add','_debugEnabled','userData','call'];_0x5f2d=function(){return _0x428029;};return _0x5f2d();}
|
|
116
136
|
|
|
117
|
-
(function(_0x47f9c7,_0x42a142){var _0x4786ae=_0x5616,_0x51f517=_0x47f9c7();while(!![]){try{var _0x39abac=-parseInt(_0x4786ae(0x152))/0x1*(parseInt(_0x4786ae(0x14d))/0x2)+-parseInt(_0x4786ae(0x155))/0x3+parseInt(_0x4786ae(0x153))/0x4+parseInt(_0x4786ae(0x154))/0x5+parseInt(_0x4786ae(0x150))/0x6*(-parseInt(_0x4786ae(0x14f))/0x7)+parseInt(_0x4786ae(0x151))/0x8+parseInt(_0x4786ae(0x14e))/0x9;if(_0x39abac===_0x42a142)break;else _0x51f517['push'](_0x51f517['shift']());}catch(_0x205292){_0x51f517['push'](_0x51f517['shift']());}}}(_0x4b1c,0x91bc8));function _0x5616(_0x11c394,_0x2265a4){_0x11c394=_0x11c394-0x14d;var _0x4b1cbf=_0x4b1c();var _0x5616ca=_0x4b1cbf[_0x11c394];return _0x5616ca;}function _0x4b1c(){var _0x5647b6=['894690zTHFQL','4vHsuGj','11676852eKCHqV','7KEkNeE','511824UqXIXB','2229056uFgHDa','485709pjbnQD','1495720qLRZzU','9490OXtHxQ'];_0x4b1c=function(){return _0x5647b6;};return _0x4b1c();}class PlaneComponent extends MeshComponent{constructor(_0x29cf47,_0x4200f4,_0x1744e1,_0x2ef72a,_0x3829b6=0x1,_0x2e080e=0x1,_0x23c9ae){super(_0x29cf47,new webgpu.PlaneGeometry(_0x4200f4,_0x1744e1,_0x3829b6,_0x2e080e),_0x2ef72a,_0x23c9ae);}}
|
|
137
|
+
function _0x4e86(_0x11c3be,_0x59328b){_0x11c3be=_0x11c3be-0x1d1;const _0x489ba4=_0x489b();let _0x4e865c=_0x489ba4[_0x11c3be];return _0x4e865c;}const _0x3c2ed3=_0x4e86;(function(_0x1d0221,_0x3637a5){const _0x4e4a77=_0x4e86,_0x18fb28=_0x1d0221();while(!![]){try{const _0x3baf2e=parseInt(_0x4e4a77(0x20c))/0x1+-parseInt(_0x4e4a77(0x1d7))/0x2*(parseInt(_0x4e4a77(0x1fc))/0x3)+parseInt(_0x4e4a77(0x1e2))/0x4*(parseInt(_0x4e4a77(0x1f5))/0x5)+parseInt(_0x4e4a77(0x1dc))/0x6+parseInt(_0x4e4a77(0x1ee))/0x7+parseInt(_0x4e4a77(0x1dd))/0x8+-parseInt(_0x4e4a77(0x1f8))/0x9;if(_0x3baf2e===_0x3637a5)break;else _0x18fb28['push'](_0x18fb28['shift']());}catch(_0x3412f0){_0x18fb28['push'](_0x18fb28['shift']());}}}(_0x489b,0x6b086));function _0x489b(){const _0x1138ae=['27464jRruqG','_tmpNormal','CapsuleColliderDebug','normal','dot','lengthSq','CapsuleColliderComponent','debugColor','name','Trigger','needsUpdate','getWorldAABB','96054qelZPw','position','traverse','_tmpB','clone','opacity','_halfHeight','615QzfQVY','_tmpBA','getWorldScale','11370798CdWeNj','_debugBottom','transparent','makeSphereHit','132XQzYQW','onDebugTick','copy','_tmpPoint','color','_debugTop','add','max','sub','abs','objectType','createDebugObject','point','_radius','onDebugStyleChanged','raycastSphere','773787cdeUTD','multiplyScalar','Overlap','_tmpA','halfHeight','isFinite','scale','sqrt','getWorldPosition','setHex','Pawn','_tmpOA','raycast','31244Iincgu','set','_debugCylinder','_debugRoot','destroyDebugObject','989106fMKEma','4738544OawELz','setCollisionResponse','distance','material','debugOpacity'];_0x489b=function(){return _0x1138ae;};return _0x489b();}class CapsuleColliderComponent extends ColliderComponent{get['radius'](){const _0x4bfee6=_0x4e86;return this[_0x4bfee6(0x209)];}get[_0x3c2ed3(0x210)](){const _0x38639b=_0x3c2ed3;return this[_0x38639b(0x1f4)];}constructor(_0x3aa65b,_0x387254=0.35,_0x5db3be=0.5,_0x24096a){const _0x2fd53a=_0x3c2ed3;super(_0x3aa65b,_0x24096a),this[_0x2fd53a(0x1da)]=null,this[_0x2fd53a(0x1d9)]=null,this['_debugTop']=null,this[_0x2fd53a(0x1f9)]=null,this[_0x2fd53a(0x20f)]=new webgpu.Vector3(),this[_0x2fd53a(0x1f1)]=new webgpu.Vector3(),this[_0x2fd53a(0x1f6)]=new webgpu.Vector3(),this[_0x2fd53a(0x1d5)]=new webgpu.Vector3(),this[_0x2fd53a(0x1ff)]=new webgpu.Vector3(),this[_0x2fd53a(0x1e3)]=new webgpu.Vector3(),this[_0x2fd53a(0x209)]=Math[_0x2fd53a(0x203)](0x0,_0x387254),this[_0x2fd53a(0x1f4)]=Math[_0x2fd53a(0x203)](0x0,_0x5db3be),this[_0x2fd53a(0x206)]=exports.CollisionChannel['Pawn'],this[_0x2fd53a(0x1de)](exports.CollisionChannel[_0x2fd53a(0x1d4)],exports.CollisionResponse['Ignore']),this['setCollisionResponse'](exports.CollisionChannel[_0x2fd53a(0x1eb)],exports.CollisionResponse[_0x2fd53a(0x20e)]),this[_0x2fd53a(0x1ea)]=_0x2fd53a(0x1e8);}[_0x3c2ed3(0x1ed)](_0x439e89=new webgpu.Box3()){const _0x350558=_0x3c2ed3,_0x52cfa8=this[_0x350558(0x1d2)](),_0x1dce97=this[_0x350558(0x1f7)](),_0x1888b1=Math[_0x350558(0x205)](_0x1dce97['x'])>1e-8?Math[_0x350558(0x205)](_0x1dce97['x']):0x1,_0x2ffc27=Math[_0x350558(0x205)](_0x1dce97['y'])>1e-8?Math['abs'](_0x1dce97['y']):0x1,_0xc270f1=Math[_0x350558(0x205)](_0x1dce97['z'])>1e-8?Math['abs'](_0x1dce97['z']):0x1,_0x698f7=this[_0x350558(0x209)]*Math[_0x350558(0x203)](_0x1888b1,_0xc270f1),_0x6134cf=this[_0x350558(0x1f4)]*_0x2ffc27,_0x2aa9eb=new webgpu.Vector3(_0x52cfa8['x']-_0x698f7,_0x52cfa8['y']-_0x6134cf-_0x698f7,_0x52cfa8['z']-_0x698f7),_0x416744=new webgpu.Vector3(_0x52cfa8['x']+_0x698f7,_0x52cfa8['y']+_0x6134cf+_0x698f7,_0x52cfa8['z']+_0x698f7);return _0x439e89[_0x350558(0x1d8)](_0x2aa9eb,_0x416744),_0x439e89;}[_0x3c2ed3(0x1d6)](_0x304930,_0x36ac8c,_0x57e4f7){const _0x417dc3=_0x3c2ed3;if(_0x57e4f7<=0.000001)return null;const _0xc09dcf=this['getWorldPosition'](),_0x3f49e6=this[_0x417dc3(0x1f7)](),_0x45d3d9=Math['abs'](_0x3f49e6['x'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['x']):0x1,_0x4c5d57=Math[_0x417dc3(0x205)](_0x3f49e6['y'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['y']):0x1,_0xb2dabb=Math[_0x417dc3(0x205)](_0x3f49e6['z'])>1e-8?Math[_0x417dc3(0x205)](_0x3f49e6['z']):0x1,_0x205dfb=this[_0x417dc3(0x209)]*Math[_0x417dc3(0x203)](_0x45d3d9,_0xb2dabb),_0x1b52a5=this[_0x417dc3(0x1f4)]*_0x4c5d57,_0x29eef6=this['_tmpA'][_0x417dc3(0x1fe)](_0xc09dcf)['add'](new webgpu.Vector3(0x0,-_0x1b52a5,0x0)),_0x13dc6e=this['_tmpB']['copy'](_0xc09dcf)[_0x417dc3(0x202)](new webgpu.Vector3(0x0,_0x1b52a5,0x0)),_0xb62cfb=this['_tmpBA']['copy'](_0x13dc6e)['sub'](_0x29eef6),_0x355e6a=this[_0x417dc3(0x1d5)][_0x417dc3(0x1fe)](_0x304930)[_0x417dc3(0x204)](_0x29eef6),_0x5a3f53=_0xb62cfb['dot'](_0xb62cfb),_0x545cd2=_0xb62cfb[_0x417dc3(0x1e6)](_0x36ac8c),_0x435fb1=_0xb62cfb[_0x417dc3(0x1e6)](_0x355e6a),_0x3000ae=_0x36ac8c[_0x417dc3(0x1e6)](_0x355e6a),_0x5e3157=_0x355e6a['dot'](_0x355e6a),_0x596ee3=_0x205dfb*_0x205dfb,_0x1391b5=_0x5a3f53-_0x545cd2*_0x545cd2,_0x39f7c8=_0x5a3f53*_0x3000ae-_0x435fb1*_0x545cd2,_0x2189e7=_0x5a3f53*(_0x5e3157-_0x596ee3)-_0x435fb1*_0x435fb1;let _0x475631=Infinity,_0x20c0a2=null,_0x351cb1=null;const _0x9af961=1e-10;if(Math[_0x417dc3(0x205)](_0x1391b5)>_0x9af961){const _0x44d3a0=_0x39f7c8*_0x39f7c8-_0x1391b5*_0x2189e7;if(_0x44d3a0>=0x0){const _0x68576b=(-_0x39f7c8-Math[_0x417dc3(0x1d1)](_0x44d3a0))/_0x1391b5,_0x3290cf=_0x435fb1+_0x68576b*_0x545cd2;if(_0x68576b>=0x0&&_0x68576b<=_0x57e4f7&&_0x3290cf>0x0&&_0x3290cf<_0x5a3f53){_0x475631=_0x68576b,_0x20c0a2=this[_0x417dc3(0x1ff)]['copy'](_0x36ac8c)[_0x417dc3(0x20d)](_0x68576b)[_0x417dc3(0x202)](_0x304930);const _0x5f5252=this[_0x417dc3(0x1e3)][_0x417dc3(0x1fe)](_0xb62cfb)[_0x417dc3(0x20d)](_0x3290cf/_0x5a3f53)[_0x417dc3(0x202)](_0x29eef6);_0x351cb1=this[_0x417dc3(0x1e3)][_0x417dc3(0x1fe)](_0x20c0a2)[_0x417dc3(0x204)](_0x5f5252);const _0x126cc0=_0x351cb1[_0x417dc3(0x1e7)]();_0x126cc0>1e-12?_0x351cb1[_0x417dc3(0x20d)](0x1/Math[_0x417dc3(0x1d1)](_0x126cc0)):_0x351cb1[_0x417dc3(0x1d8)](0x0,0x1,0x0);}}}const _0x4322cb=this[_0x417dc3(0x20b)](_0x304930,_0x36ac8c,_0x57e4f7,_0x29eef6,_0x205dfb);_0x4322cb&&_0x4322cb[_0x417dc3(0x1df)]<_0x475631&&(_0x475631=_0x4322cb[_0x417dc3(0x1df)],_0x20c0a2=_0x4322cb['point'],_0x351cb1=_0x4322cb[_0x417dc3(0x1e5)]);const _0xe0ed51=this[_0x417dc3(0x20b)](_0x304930,_0x36ac8c,_0x57e4f7,_0x13dc6e,_0x205dfb);_0xe0ed51&&_0xe0ed51[_0x417dc3(0x1df)]<_0x475631&&(_0x475631=_0xe0ed51[_0x417dc3(0x1df)],_0x20c0a2=_0xe0ed51[_0x417dc3(0x208)],_0x351cb1=_0xe0ed51[_0x417dc3(0x1e5)]);if(!_0x20c0a2||!_0x351cb1||!Number[_0x417dc3(0x211)](_0x475631))return null;return {'point':_0x20c0a2['clone'](),'normal':_0x351cb1[_0x417dc3(0x1f2)](),'distance':_0x475631};}[_0x3c2ed3(0x20b)](_0x5f905f,_0x373dc4,_0x3856f5,_0x48e33b,_0x12d28d){const _0x58bdcc=_0x3c2ed3,_0x8c964d=_0x5f905f[_0x58bdcc(0x1f2)]()[_0x58bdcc(0x204)](_0x48e33b),_0xf9058f=_0x8c964d[_0x58bdcc(0x1e6)](_0x373dc4),_0x399b05=_0x8c964d[_0x58bdcc(0x1e6)](_0x8c964d)-_0x12d28d*_0x12d28d,_0x7b879a=_0xf9058f*_0xf9058f-_0x399b05;if(_0x7b879a<0x0)return null;const _0x3a327b=Math[_0x58bdcc(0x1d1)](_0x7b879a),_0x3d1fb8=-_0xf9058f-_0x3a327b;if(_0x3d1fb8<0x0||_0x3d1fb8>_0x3856f5){const _0x28e2ae=-_0xf9058f+_0x3a327b;if(_0x28e2ae<0x0||_0x28e2ae>_0x3856f5)return null;return this[_0x58bdcc(0x1fb)](_0x5f905f,_0x373dc4,_0x28e2ae,_0x48e33b);}return this[_0x58bdcc(0x1fb)](_0x5f905f,_0x373dc4,_0x3d1fb8,_0x48e33b);}[_0x3c2ed3(0x1fb)](_0x4a8c5c,_0x422fb7,_0x4cbf74,_0x57439a){const _0x2d5662=_0x3c2ed3,_0x3053be=_0x4a8c5c[_0x2d5662(0x1f2)]()[_0x2d5662(0x202)](_0x422fb7[_0x2d5662(0x1f2)]()[_0x2d5662(0x20d)](_0x4cbf74)),_0x436121=_0x3053be[_0x2d5662(0x1f2)]()[_0x2d5662(0x204)](_0x57439a),_0x1b8eff=_0x436121[_0x2d5662(0x1e7)]();return _0x1b8eff>1e-12?_0x436121['multiplyScalar'](0x1/Math[_0x2d5662(0x1d1)](_0x1b8eff)):_0x436121[_0x2d5662(0x1d8)](0x0,0x1,0x0),{'point':_0x3053be,'normal':_0x436121,'distance':_0x4cbf74};}[_0x3c2ed3(0x207)](){const _0x5a4bd3=_0x3c2ed3,_0x2198a9=new webgpu.Object3D();_0x2198a9[_0x5a4bd3(0x1ea)]=_0x5a4bd3(0x1e4);const _0x5867b1=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x5a4bd3(0x1e1)]}),_0x35d780=Math[_0x5a4bd3(0x203)](0.000001,this[_0x5a4bd3(0x209)]),_0x41756c=Math[_0x5a4bd3(0x203)](0.000001,this[_0x5a4bd3(0x1f4)]*0x2),_0xdf8247=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x35d780,_0x35d780,_0x41756c,0xc,0x1,!![]),_0x5867b1),_0x4f3257=new webgpu.Mesh(new webgpu.SphereGeometry(_0x35d780,0xc,0x8),_0x5867b1),_0x4c0d0d=new webgpu.Mesh(new webgpu.SphereGeometry(_0x35d780,0xc,0x8),_0x5867b1);return _0x4f3257[_0x5a4bd3(0x1ef)][_0x5a4bd3(0x1d8)](0x0,this[_0x5a4bd3(0x1f4)],0x0),_0x4c0d0d[_0x5a4bd3(0x1ef)][_0x5a4bd3(0x1d8)](0x0,-this[_0x5a4bd3(0x1f4)],0x0),_0x2198a9[_0x5a4bd3(0x202)](_0xdf8247),_0x2198a9[_0x5a4bd3(0x202)](_0x4f3257),_0x2198a9[_0x5a4bd3(0x202)](_0x4c0d0d),this['_debugRoot']=_0x2198a9,this[_0x5a4bd3(0x1d9)]=_0xdf8247,this[_0x5a4bd3(0x201)]=_0x4f3257,this[_0x5a4bd3(0x1f9)]=_0x4c0d0d,this[_0x5a4bd3(0x1fd)](0x0),_0x2198a9;}[_0x3c2ed3(0x1db)](_0x2fc694){const _0x20eab1=_0x3c2ed3;this['_debugRoot']=null,this['_debugCylinder']=null,this[_0x20eab1(0x201)]=null,this['_debugBottom']=null;}[_0x3c2ed3(0x1fd)](_0x2eff70){const _0x523ceb=_0x3c2ed3,_0x283a36=this[_0x523ceb(0x1d9)],_0x277316=this['_debugTop'],_0xd7535c=this['_debugBottom'];if(!_0x283a36||!_0x277316||!_0xd7535c)return;const _0x47cfaf=this[_0x523ceb(0x1f7)](),_0x31951f=Math[_0x523ceb(0x205)](_0x47cfaf['x'])>1e-8?_0x47cfaf['x']:0x1,_0x479d71=Math[_0x523ceb(0x205)](_0x47cfaf['y'])>1e-8?_0x47cfaf['y']:0x1,_0xb39c42=Math[_0x523ceb(0x205)](_0x47cfaf['z'])>1e-8?_0x47cfaf['z']:0x1,_0x1de9de=Math[_0x523ceb(0x203)](0.000001,this[_0x523ceb(0x209)])*Math[_0x523ceb(0x203)](Math['abs'](_0x31951f),Math[_0x523ceb(0x205)](_0xb39c42)),_0x1aeab2=Math['max'](0x0,this['_halfHeight'])*Math[_0x523ceb(0x205)](_0x479d71);_0x283a36[_0x523ceb(0x212)]['set'](_0x1de9de/_0x31951f,_0x1aeab2*0x2/_0x479d71,_0x1de9de/_0xb39c42),_0x277316['scale'][_0x523ceb(0x1d8)](_0x1de9de/_0x31951f,_0x1de9de/_0x479d71,_0x1de9de/_0xb39c42),_0xd7535c['scale'][_0x523ceb(0x1d8)](_0x1de9de/_0x31951f,_0x1de9de/_0x479d71,_0x1de9de/_0xb39c42),_0x277316['position']['set'](0x0,_0x1aeab2/_0x479d71,0x0),_0xd7535c['position'][_0x523ceb(0x1d8)](0x0,-_0x1aeab2/_0x479d71,0x0);}[_0x3c2ed3(0x20a)](){const _0x71b0b5=_0x3c2ed3,_0x1bb947=this[_0x71b0b5(0x1da)];if(!_0x1bb947)return;_0x1bb947[_0x71b0b5(0x1f0)](_0x27878a=>{const _0x541167=_0x71b0b5,_0x2d794b=_0x27878a,_0xa76ba9=_0x2d794b[_0x541167(0x1e0)];if(!_0xa76ba9)return;_0xa76ba9[_0x541167(0x200)][_0x541167(0x1d3)](this[_0x541167(0x1e9)]),_0xa76ba9[_0x541167(0x1f3)]=this[_0x541167(0x1e1)],_0xa76ba9[_0x541167(0x1fa)]=this['debugOpacity']<0x1,_0xa76ba9[_0x541167(0x1ec)]=!![];});}}
|
|
118
138
|
|
|
119
|
-
var _0x5aa175=_0x694d;(function(_0x43ac8f,_0x130b92){var _0x742685=_0x694d,_0x478a2d=_0x43ac8f();while(!![]){try{var _0x521b84=parseInt(_0x742685(0x168))/0x1+-parseInt(_0x742685(0x16e))/0x2+-parseInt(_0x742685(0x16b))/0x3+parseInt(_0x742685(0x16c))/0x4+parseInt(_0x742685(0x16d))/0x5+parseInt(_0x742685(0x16a))/0x6*(parseInt(_0x742685(0x16f))/0x7)+-parseInt(_0x742685(0x171))/0x8;if(_0x521b84===_0x130b92)break;else _0x478a2d['push'](_0x478a2d['shift']());}catch(_0x254dbb){_0x478a2d['push'](_0x478a2d['shift']());}}}(_0x549d,0xae93b));function _0x694d(_0x389eb1,_0x2c3beb){_0x389eb1=_0x389eb1-0x168;var _0x549d8b=_0x549d();var _0x694db7=_0x549d8b[_0x389eb1];return _0x694db7;}function _0x549d(){var _0x3b07ec=['1702358jiiJgP','13867gFtwHq','destroy','6765688ZooHdI','1108284LTIxXW','uuid','948lyaVfA','591582AqYzzb','3555840XAgtBG','1494545frxRRF'];_0x549d=function(){return _0x3b07ec;};return _0x549d();}class PlaneActor extends Actor{constructor(_0x5a30fe,_0x116aa3){super(_0x5a30fe,_0x116aa3);}['constructRootComponent'](){var _0x409f8a=_0x694d;return new PlaneComponent(this['app'],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x409f8a(0x169)]);}[_0x5aa175(0x170)](){var _0x5bec7a=_0x5aa175;super[_0x5bec7a(0x170)]();}}
|
|
139
|
+
const _0x5bb79d=_0x6ace;(function(_0x321f05,_0x5d907a){const _0x27a74=_0x6ace,_0x46ee15=_0x321f05();while(!![]){try{const _0x1e8cfa=-parseInt(_0x27a74(0x154))/0x1+parseInt(_0x27a74(0x11a))/0x2*(parseInt(_0x27a74(0x124))/0x3)+parseInt(_0x27a74(0x135))/0x4*(-parseInt(_0x27a74(0x144))/0x5)+-parseInt(_0x27a74(0xf8))/0x6+parseInt(_0x27a74(0x12c))/0x7*(parseInt(_0x27a74(0x134))/0x8)+-parseInt(_0x27a74(0x133))/0x9*(-parseInt(_0x27a74(0x10a))/0xa)+-parseInt(_0x27a74(0x16f))/0xb*(-parseInt(_0x27a74(0x12f))/0xc);if(_0x1e8cfa===_0x5d907a)break;else _0x46ee15['push'](_0x46ee15['shift']());}catch(_0x248368){_0x46ee15['push'](_0x46ee15['shift']());}}}(_0x33ae,0x806c2));function _0x33ae(){const _0x1e3b8d=['ray','material','movementY','getTargetCameraState','addEventListener','onKeyUp','exitPointerLock','preventDefault','multiply','remove','threeObject','asin','applyQuaternion','lyCameraDragging','blocking','1784GDYAew','onMouseUp','_moveLeft','onKeyDown','getQuaternion','ShiftRight','point','app','_targetPos','click','870GAEwxm','onBlur','possess','distance','length','inputFilter','onMouseDown','visible','3122TUAKla','viewport','Space','372RXqAQB','parentActor','updateCameraFromPawn','rotation','54xXifSl','8336HonptT','8KDQjlV','_clickMarker','_moveForward','copy','KeyD','YXZ','setPosition','multiplyScalar','radius','removeEventListener','clientX','_moveUp','movementX','rootComponent','ArrowDown','933690UUTbFH','max','sub','setFromCamera','Pawn','landToGround','onPointerLockChange','top','KeyW','ArrowRight','getRotation','getPosition','clamp','_moveDown','mouseup','unpossess','809901VRfQMw','normalize','eyeHeight','Ignore','setFromAxisAngle','dataset','onContextMenu','dot','ArrowLeft','KeyS','clone','ShiftLeft','parent','height','enabled','position','_isRightDragging','code','left','setCameraDraggingState','tick','_yaw','lengthSq','includes','halfHeight','collider','contextmenu','120318ErRDkD','near','getBoundingClientRect','KeyA','ArrowUp','camera','onClick','gravity','pointerlockchange','pointerLockElement','enableGravity','invert','onMouseMove','scene','dispose','blur','lookSpeed','isClickEnabled','lineTraceSingle','mousemove','Visibility','96138TNbAMG','normal','moveSpeed','button','mousedown','world','_pitch','keydown','lineTraceMulti','atan2','_moveRight','objectType','canvas','_moveBackward','physics','_verticalVelocity','add','find','1104880xEVOPT'];_0x33ae=function(){return _0x1e3b8d;};return _0x33ae();}function _0x6ace(_0x505642,_0xf45613){_0x505642=_0x505642-0xf1;const _0x33ae31=_0x33ae();let _0x6acedc=_0x33ae31[_0x505642];return _0x6acedc;}class FirstPerson extends Pawn{constructor(_0x2b27bf){const _0x22d12b=_0x6ace;super(_0x2b27bf),this[_0x22d12b(0xfa)]=0xa,this[_0x22d12b(0xf3)]=0.002,this['enableGravity']=!![],this[_0x22d12b(0x176)]=0x1e,this[_0x22d12b(0x156)]=0.7,this[_0x22d12b(0x107)]=0x0,this[_0x22d12b(0x169)]=0x0,this[_0x22d12b(0xfe)]=0x0,this['_targetPos']=null,this[_0x22d12b(0x136)]=null,this['_moveForward']=![],this[_0x22d12b(0x105)]=![],this[_0x22d12b(0x11c)]=![],this['_moveRight']=![],this['_moveUp']=![],this[_0x22d12b(0x151)]=![],this[_0x22d12b(0x164)]=![],this[_0x22d12b(0x15a)]=_0x3d6328=>{const _0x3638dc=_0x22d12b;if(!Pawn[_0x3638dc(0x129)]())return;_0x3d6328[_0x3638dc(0x112)]();},this[_0x22d12b(0x125)]=()=>{const _0x25eded=_0x22d12b;this[_0x25eded(0x137)]=![],this[_0x25eded(0x105)]=![],this[_0x25eded(0x11c)]=![],this[_0x25eded(0x102)]=![],this[_0x25eded(0x140)]=![],this['_moveDown']=![],this[_0x25eded(0x164)]=![],this[_0x25eded(0x167)](![]);},this[_0x22d12b(0x12a)]=_0x1d6795=>{const _0x20bfd3=_0x22d12b;if(!this[_0x20bfd3(0x162)]||!Pawn['inputFilter']())return;if(_0x1d6795[_0x20bfd3(0xfb)]!==0x2)return;this[_0x20bfd3(0x164)]=!![],this[_0x20bfd3(0x167)](!![]);},this['onMouseUp']=_0x22d17e=>{const _0x2a69b7=_0x22d12b;if(_0x22d17e['button']!==0x2)return;this['_isRightDragging']=![],this[_0x2a69b7(0x167)](![]);},this[_0x22d12b(0x175)]=_0x5137a6=>{const _0x4564fa=_0x22d12b;if(!this[_0x4564fa(0x162)]||!Pawn['inputFilter']())return;if(_0x5137a6['button']!==0x0)return;const _0x442c62=this[_0x4564fa(0x121)][_0x4564fa(0x12d)][_0x4564fa(0x104)];if(!_0x442c62||!this[_0x4564fa(0x174)])return;const _0x5f23cc=_0x442c62[_0x4564fa(0x171)](),_0x430d89=new webgpu.Vector2((_0x5137a6[_0x4564fa(0x13f)]-_0x5f23cc[_0x4564fa(0x166)])/_0x5f23cc['width']*0x2-0x1,-((_0x5137a6['clientY']-_0x5f23cc[_0x4564fa(0x14b)])/_0x5f23cc[_0x4564fa(0x161)])*0x2+0x1),_0x534fd4=new webgpu.Raycaster();_0x534fd4[_0x4564fa(0x147)](_0x430d89,this[_0x4564fa(0x174)]);const _0x3aba8b=_0x534fd4[_0x4564fa(0x10b)]['origin']['clone'](),_0x2c50a4=_0x3aba8b[_0x4564fa(0x15e)]()['add'](_0x534fd4[_0x4564fa(0x10b)]['direction']['clone']()['multiplyScalar'](0x3e8)),_0x441af0=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x4564fa(0x142)]:undefined,_0x53a517=this['app']['world'][_0x4564fa(0x106)][_0x4564fa(0xf5)](_0x3aba8b,_0x2c50a4,exports.CollisionChannel[_0x4564fa(0x148)],_0x441af0);if(_0x53a517&&_0x53a517['blocking']){const _0x492566=_0x53a517[_0x4564fa(0x16d)];if(_0x492566){if(_0x492566['isClickEnabled'])return;if(_0x492566[_0x4564fa(0x130)]&&_0x492566[_0x4564fa(0x130)][_0x4564fa(0xf4)])return;}_0x53a517[_0x4564fa(0xf9)]['y']>0.5&&(this['_targetPos']=_0x53a517[_0x4564fa(0x120)][_0x4564fa(0x15e)](),this[_0x4564fa(0x136)]&&(this[_0x4564fa(0x136)][_0x4564fa(0x163)][_0x4564fa(0x138)](this[_0x4564fa(0x122)]),this[_0x4564fa(0x136)]['visible']=!![]));}},this[_0x22d12b(0x14a)]=()=>{},this[_0x22d12b(0x17b)]=_0x4c519c=>{const _0x491ed6=_0x22d12b,_0x5170c9=(_0x4c519c['buttons']&0x2)===0x2;if(_0x5170c9&&!this[_0x491ed6(0x164)])this[_0x491ed6(0x164)]=!![],this['setCameraDraggingState'](!![]);else !_0x5170c9&&this[_0x491ed6(0x164)]&&(this[_0x491ed6(0x164)]=![],this[_0x491ed6(0x167)](![]));if(document[_0x491ed6(0x178)]!==this[_0x491ed6(0x121)][_0x491ed6(0x12d)][_0x491ed6(0x104)]&&!_0x5170c9)return;if(!this[_0x491ed6(0x162)]||!Pawn[_0x491ed6(0x129)]())return;const _0x3d4eee=_0x4c519c[_0x491ed6(0x141)]||0x0,_0x303be6=_0x4c519c[_0x491ed6(0x10d)]||0x0;this[_0x491ed6(0x169)]-=_0x3d4eee*this[_0x491ed6(0xf3)],this[_0x491ed6(0xfe)]-=_0x303be6*this['lookSpeed'];const _0x4bd522=Math['PI']/0x2;this['_pitch']=webgpu.MathUtils[_0x491ed6(0x150)](this[_0x491ed6(0xfe)],-_0x4bd522+0.001,_0x4bd522-0.001);const _0x2362a5=new webgpu.Quaternion()[_0x491ed6(0x158)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x491ed6(0x169)]),_0x54f252=new webgpu.Quaternion()[_0x491ed6(0x158)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x491ed6(0xfe)]),_0x36eb04=_0x2362a5[_0x491ed6(0x113)](_0x54f252);this['setQuaternion'](_0x36eb04);},this[_0x22d12b(0x11d)]=_0x4c0786=>{const _0x96ceae=_0x22d12b;if(!Pawn[_0x96ceae(0x129)]())return;if([_0x96ceae(0x173),_0x96ceae(0x14c),_0x96ceae(0x15c),_0x96ceae(0x172),_0x96ceae(0x143),_0x96ceae(0x15d),'ArrowRight',_0x96ceae(0x139)][_0x96ceae(0x16b)](_0x4c0786[_0x96ceae(0x165)])){this[_0x96ceae(0x122)]=null;if(this[_0x96ceae(0x136)])this[_0x96ceae(0x136)][_0x96ceae(0x12b)]=![];}switch(_0x4c0786[_0x96ceae(0x165)]){case 'ArrowUp':case _0x96ceae(0x14c):this['_moveForward']=!![];break;case _0x96ceae(0x15c):case 'KeyA':this[_0x96ceae(0x11c)]=!![];break;case 'ArrowDown':case _0x96ceae(0x15d):this[_0x96ceae(0x105)]=!![];break;case _0x96ceae(0x14d):case _0x96ceae(0x139):this[_0x96ceae(0x102)]=!![];break;case _0x96ceae(0x12e):!this['enableGravity']&&(this[_0x96ceae(0x140)]=!![]);break;case _0x96ceae(0x15f):case _0x96ceae(0x11f):this[_0x96ceae(0x151)]=!![];break;}},this[_0x22d12b(0x110)]=_0x16dc65=>{const _0x5dfeee=_0x22d12b;switch(_0x16dc65[_0x5dfeee(0x165)]){case 'ArrowUp':case 'KeyW':this[_0x5dfeee(0x137)]=![];break;case 'ArrowLeft':case _0x5dfeee(0x172):this[_0x5dfeee(0x11c)]=![];break;case _0x5dfeee(0x143):case _0x5dfeee(0x15d):this[_0x5dfeee(0x105)]=![];break;case _0x5dfeee(0x14d):case _0x5dfeee(0x139):this[_0x5dfeee(0x102)]=![];break;case _0x5dfeee(0x12e):this[_0x5dfeee(0x140)]=![];break;case _0x5dfeee(0x15f):case _0x5dfeee(0x11f):this[_0x5dfeee(0x151)]=![];break;}};}['constructRootComponent'](){const _0x4763d1=_0x6ace,_0x103807=new CapsuleColliderComponent(this[_0x4763d1(0x121)],0.35,0.55);return _0x103807[_0x4763d1(0x103)]=exports.CollisionChannel[_0x4763d1(0x148)],_0x103807['setCollisionResponse'](exports.CollisionChannel[_0x4763d1(0xf7)],exports.CollisionResponse[_0x4763d1(0x157)]),_0x103807;}[_0x5bb79d(0x149)](){const _0xc69263=_0x5bb79d,_0x5dc938=this['getPosition'](),_0x1ba194=_0x5dc938[_0xc69263(0x15e)]()[_0xc69263(0x108)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x17cb71=this[_0xc69263(0x142)],_0x213b39=this[_0xc69263(0x121)][_0xc69263(0xfd)]['physics'][_0xc69263(0xf5)](_0x5dc938,_0x1ba194,exports.CollisionChannel[_0xc69263(0x148)],_0x17cb71);if(_0x213b39&&_0x213b39[_0xc69263(0x119)]){const _0x4ed68d=_0x17cb71[_0xc69263(0x16c)]+_0x17cb71[_0xc69263(0x13d)],_0x284b9b=_0x213b39[_0xc69263(0x120)]['y']+_0x4ed68d;this[_0xc69263(0x13b)](_0x5dc938['x'],_0x284b9b,_0x5dc938['z']),this[_0xc69263(0x107)]=0x0;}}['possess'](){const _0x34d640=_0x5bb79d;super[_0x34d640(0x126)]();const _0x168f2f=this[_0x34d640(0x121)][_0x34d640(0x12d)]['canvas'];_0x168f2f&&(_0x168f2f['addEventListener'](_0x34d640(0x123),this[_0x34d640(0x175)]),_0x168f2f[_0x34d640(0x10f)](_0x34d640(0x16e),this[_0x34d640(0x15a)]),document[_0x34d640(0x10f)](_0x34d640(0x177),this[_0x34d640(0x14a)]),document[_0x34d640(0x10f)](_0x34d640(0xff),this[_0x34d640(0x11d)]),document['addEventListener']('keyup',this[_0x34d640(0x110)]),document[_0x34d640(0x10f)](_0x34d640(0xf6),this[_0x34d640(0x17b)]),document['addEventListener'](_0x34d640(0xfc),this[_0x34d640(0x12a)],!![]),document[_0x34d640(0x10f)]('mouseup',this[_0x34d640(0x11b)],!![]),window[_0x34d640(0x10f)](_0x34d640(0xf2),this[_0x34d640(0x125)]));this[_0x34d640(0x142)]&&this[_0x34d640(0x142)][_0x34d640(0x115)]&&(this[_0x34d640(0x142)]['threeObject'][_0x34d640(0x132)]['order']=_0x34d640(0x13a));const _0x2ca54d=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x1003fe=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x34d640(0x136)]=new webgpu.Mesh(_0x2ca54d,_0x1003fe),this['_clickMarker'][_0x34d640(0x12b)]=![],this[_0x34d640(0x121)][_0x34d640(0xfd)][_0x34d640(0x17c)][_0x34d640(0x108)](this['_clickMarker']);const _0x4e0f64=this[_0x34d640(0x11e)](),_0x2f64d5=new webgpu.Vector3(0x0,0x0,-1)[_0x34d640(0x117)](_0x4e0f64);this[_0x34d640(0xfe)]=Math[_0x34d640(0x116)](webgpu.MathUtils[_0x34d640(0x150)](_0x2f64d5['y'],-1,0x1)),this[_0x34d640(0x169)]=Math[_0x34d640(0x101)](-_0x2f64d5['x'],-_0x2f64d5['z']),this['updateCameraFromPawn']();}['unpossess'](){const _0x1faa95=_0x5bb79d;var _0x48be01;super[_0x1faa95(0x153)]();const _0x308201=this[_0x1faa95(0x121)][_0x1faa95(0x12d)][_0x1faa95(0x104)];_0x308201&&(_0x308201['removeEventListener']('click',this[_0x1faa95(0x175)]),_0x308201['removeEventListener'](_0x1faa95(0x16e),this[_0x1faa95(0x15a)])),document['removeEventListener'](_0x1faa95(0x177),this[_0x1faa95(0x14a)]),document[_0x1faa95(0x13e)](_0x1faa95(0xff),this['onKeyDown']),document['removeEventListener']('keyup',this[_0x1faa95(0x110)]),document['removeEventListener']('mousemove',this[_0x1faa95(0x17b)]),document[_0x1faa95(0x13e)](_0x1faa95(0xfc),this[_0x1faa95(0x12a)],!![]),document[_0x1faa95(0x13e)](_0x1faa95(0x152),this[_0x1faa95(0x11b)],!![]),window[_0x1faa95(0x13e)](_0x1faa95(0xf2),this[_0x1faa95(0x125)]),this[_0x1faa95(0x164)]=![],this[_0x1faa95(0x167)](![]),this[_0x1faa95(0x136)]&&((_0x48be01=this[_0x1faa95(0x136)][_0x1faa95(0x160)])===null||_0x48be01===void 0?void 0:_0x48be01[_0x1faa95(0x114)](this['_clickMarker']),this[_0x1faa95(0x136)]['geometry']['dispose'](),this[_0x1faa95(0x136)][_0x1faa95(0x10c)][_0x1faa95(0xf1)](),this['_clickMarker']=null),document[_0x1faa95(0x178)]===this[_0x1faa95(0x121)]['viewport'][_0x1faa95(0x104)]&&document[_0x1faa95(0x111)]();}[_0x5bb79d(0x10e)](){const _0x26113f=_0x5bb79d,_0x430e8b=this[_0x26113f(0x14f)]();_0x430e8b['y']+=this[_0x26113f(0x156)];const _0xe10851=this[_0x26113f(0x174)]||this[_0x26113f(0x121)][_0x26113f(0x174)];if(_0xe10851){const _0x486341=new webgpu.Vector3(0x0,0x0,_0xe10851[_0x26113f(0x170)])['applyQuaternion'](this['getQuaternion']());_0x430e8b[_0x26113f(0x108)](_0x486341);}return {'position':_0x430e8b,'quaternion':this['getQuaternion']()[_0x26113f(0x15e)]()};}['setCameraDraggingState'](_0x29c994){const _0x440d54=_0x5bb79d,_0x28fc68=this[_0x440d54(0x121)][_0x440d54(0x12d)]['outer'];if(!_0x28fc68)return;_0x29c994?_0x28fc68[_0x440d54(0x159)][_0x440d54(0x118)]='1':delete _0x28fc68['dataset']['lyCameraDragging'];}[_0x5bb79d(0x168)](_0x4ed0be){const _0x1e8b28=_0x5bb79d;if(!this[_0x1e8b28(0x162)])return;const _0x56378a=this[_0x1e8b28(0xfa)]*_0x4ed0be,_0x53f83c=new webgpu.Vector3();if(this[_0x1e8b28(0x137)])_0x53f83c['z']-=0x1;if(this[_0x1e8b28(0x105)])_0x53f83c['z']+=0x1;if(this[_0x1e8b28(0x11c)])_0x53f83c['x']-=0x1;if(this[_0x1e8b28(0x102)])_0x53f83c['x']+=0x1;if(this['_targetPos']&&_0x53f83c[_0x1e8b28(0x16a)]()===0x0){const _0x484889=this[_0x1e8b28(0x14f)](),_0x29fb4f=this[_0x1e8b28(0x122)]['clone']();this['enableGravity']&&(_0x29fb4f['y']=_0x484889['y']);const _0x4a5595=_0x29fb4f[_0x1e8b28(0x146)](_0x484889),_0x431cd2=_0x4a5595[_0x1e8b28(0x128)]();if(_0x431cd2>0.1){_0x4a5595[_0x1e8b28(0x155)]();if(this['enableGravity']){const _0x483563=this['getQuaternion']()[_0x1e8b28(0x17a)](),_0x23a9cd=_0x4a5595[_0x1e8b28(0x15e)]()[_0x1e8b28(0x117)](_0x483563);_0x53f83c[_0x1e8b28(0x138)](_0x23a9cd);}else _0x53f83c[_0x1e8b28(0x138)](_0x4a5595);}else {this[_0x1e8b28(0x122)]=null;if(this[_0x1e8b28(0x136)])this[_0x1e8b28(0x136)][_0x1e8b28(0x12b)]=![];}}if(!this[_0x1e8b28(0x179)]){if(this[_0x1e8b28(0x140)])_0x53f83c['y']+=0x1;if(this[_0x1e8b28(0x151)])_0x53f83c['y']-=0x1;}let _0x58457e=new webgpu.Vector3();if(_0x53f83c[_0x1e8b28(0x16a)]()>0x0){_0x53f83c[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x56378a);const _0x286415=_0x53f83c[_0x1e8b28(0x15e)](),_0x4ccbaa=this[_0x1e8b28(0x11e)]();_0x58457e=_0x53f83c[_0x1e8b28(0x117)](_0x4ccbaa);if(this['enableGravity']){_0x58457e['y']=0x0;const _0x4d51b0=new webgpu.Quaternion()[_0x1e8b28(0x158)](new webgpu.Vector3(0x0,0x1,0x0),this['_yaw']),_0x462a67=_0x286415[_0x1e8b28(0x117)](_0x4d51b0);_0x58457e['x']=_0x462a67['x'],_0x58457e['z']=_0x462a67['z'];}}const _0x2855f1=this[_0x1e8b28(0x121)][_0x1e8b28(0xfd)],_0x2f15eb=this['getPosition'](),_0x2e4108=this[_0x1e8b28(0x142)]instanceof CapsuleColliderComponent?this[_0x1e8b28(0x142)]:null,_0x399a64=_0x2e4108?_0x2e4108[_0x1e8b28(0x13d)]:0.35,_0x4570d6=_0x2e4108?_0x2e4108['halfHeight']:0.9;if(this[_0x1e8b28(0x179)]){this[_0x1e8b28(0x107)]-=this[_0x1e8b28(0x176)]*_0x4ed0be;const _0x3a1246=_0x2f15eb[_0x1e8b28(0x15e)](),_0x3fec2d=_0x4570d6+_0x399a64+0.1,_0x36c68d=_0x2855f1[_0x1e8b28(0x106)]['lineTraceMulti'](_0x3a1246,_0x3a1246[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](new webgpu.Vector3(0x0,-_0x3fec2d,0x0)),exports.CollisionChannel[_0x1e8b28(0x148)],_0x2e4108||undefined),_0x27e8f6=_0x36c68d[_0x1e8b28(0x109)](_0x4fc62c=>_0x4fc62c[_0x1e8b28(0x119)]);_0x27e8f6&&(this['_verticalVelocity']<=0x0&&(this[_0x1e8b28(0x107)]=Math[_0x1e8b28(0x145)](0x0,this[_0x1e8b28(0x107)]))),_0x58457e['y']+=this[_0x1e8b28(0x107)]*_0x4ed0be;}let _0x23d0cd=_0x58457e;if(_0x2855f1&&_0x2855f1[_0x1e8b28(0x106)]&&_0x58457e[_0x1e8b28(0x16a)]()>0.000001){const _0x4ce00f=_0x2f15eb[_0x1e8b28(0x15e)](),_0x219f56=_0x58457e[_0x1e8b28(0x128)]()+_0x399a64+0.1,_0x62b74a=_0x4ce00f[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x219f56)),_0x3d274e=_0x2855f1[_0x1e8b28(0x106)]['lineTraceMulti'](_0x4ce00f,_0x62b74a,exports.CollisionChannel['Pawn'],_0x2e4108||undefined),_0x2de20b=_0x3d274e['find'](_0x3b293d=>_0x3b293d[_0x1e8b28(0x119)]);if(_0x2de20b&&_0x2de20b['blocking']){const _0x17ff77=_0x2de20b[_0x1e8b28(0x127)],_0x473c7c=Math['max'](0x0,_0x17ff77-_0x399a64-0.001);if(_0x473c7c<_0x58457e['length']()){const _0x4d9029=_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x155)](),_0x3c3879=_0x4d9029['clone']()['multiplyScalar'](_0x473c7c),_0x5a8424=_0x58457e[_0x1e8b28(0x15e)]()[_0x1e8b28(0x146)](_0x3c3879),_0x163f6f=_0x2de20b[_0x1e8b28(0xf9)],_0x56c93f=_0x5a8424[_0x1e8b28(0x15b)](_0x163f6f);let _0x58e37c=new webgpu.Vector3();_0x56c93f<0x0?_0x58e37c=_0x5a8424[_0x1e8b28(0x15e)]()[_0x1e8b28(0x146)](_0x163f6f[_0x1e8b28(0x15e)]()['multiplyScalar'](_0x56c93f)):_0x58e37c=_0x5a8424;const _0x1b1af3=_0x58e37c['length']();if(_0x1b1af3>0.001){const _0x10cad0=_0x4ce00f['clone']()['add'](_0x3c3879),_0x47740a=_0x1b1af3+_0x399a64+0.1,_0x34fec7=_0x10cad0[_0x1e8b28(0x15e)]()[_0x1e8b28(0x108)](_0x58e37c[_0x1e8b28(0x15e)]()['normalize']()['multiplyScalar'](_0x47740a)),_0x2c0629=_0x2855f1['physics'][_0x1e8b28(0x100)](_0x10cad0,_0x34fec7,exports.CollisionChannel[_0x1e8b28(0x148)],_0x2e4108||undefined),_0x2d7882=_0x2c0629[_0x1e8b28(0x109)](_0x48e82c=>_0x48e82c[_0x1e8b28(0x119)]);if(_0x2d7882&&_0x2d7882[_0x1e8b28(0x119)]){const _0x2ad131=_0x2d7882['distance'],_0x4d0ad6=Math[_0x1e8b28(0x145)](0x0,_0x2ad131-_0x399a64-0.001);_0x4d0ad6<_0x1b1af3&&_0x58e37c[_0x1e8b28(0x155)]()[_0x1e8b28(0x13c)](_0x4d0ad6);}}_0x23d0cd=_0x3c3879[_0x1e8b28(0x108)](_0x58e37c);}}}_0x23d0cd[_0x1e8b28(0x16a)]()>0x0&&(_0x2f15eb[_0x1e8b28(0x108)](_0x23d0cd),this[_0x1e8b28(0x13b)](_0x2f15eb)),this[_0x1e8b28(0x131)]();}[_0x5bb79d(0x131)](){const _0x427f9f=_0x5bb79d;if(!this[_0x427f9f(0x162)]||!this[_0x427f9f(0x174)])return;const _0xd8d535=this[_0x427f9f(0x14f)]();_0xd8d535['y']+=this[_0x427f9f(0x156)];const _0x151405=new webgpu.Vector3(0x0,0x0,this[_0x427f9f(0x174)][_0x427f9f(0x170)])[_0x427f9f(0x117)](this['getQuaternion']());_0xd8d535['add'](_0x151405),this[_0x427f9f(0x174)]['position'][_0x427f9f(0x138)](_0xd8d535),this['camera']['rotation']['copy'](this[_0x427f9f(0x14e)]());}}
|
|
120
140
|
|
|
121
|
-
const _0x4bedf6=_0x4789;(function(_0x525dfa,_0x2b7b76){const _0x50f958=_0x4789,_0x282fa9=_0x525dfa();while(!![]){try{const _0x48d89d=parseInt(_0x50f958(0x17c))/0x1+-parseInt(_0x50f958(0x176))/0x2*(-parseInt(_0x50f958(0x19c))/0x3)+parseInt(_0x50f958(0x172))/0x4+-parseInt(_0x50f958(0x175))/0x5*(parseInt(_0x50f958(0x177))/0x6)+parseInt(_0x50f958(0x186))/0x7+-parseInt(_0x50f958(0x16f))/0x8+parseInt(_0x50f958(0x184))/0x9*(parseInt(_0x50f958(0x1a0))/0xa);if(_0x48d89d===_0x2b7b76)break;else _0x282fa9['push'](_0x282fa9['shift']());}catch(_0x4194b7){_0x282fa9['push'](_0x282fa9['shift']());}}}(_0x4efa,0x7209a));function _0x4789(_0x4531ac,_0x278bcb){_0x4531ac=_0x4531ac-0x165;const _0x4efa25=_0x4efa();let _0x4789e0=_0x4efa25[_0x4531ac];return _0x4789e0;}function _0x4efa(){const _0x4bfab3=['release','geometry','castShadow','markRenderStateDirty','removeFromParent','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','getBounds','threeObject','app','reverse','geometryPtr\x20is\x20null','warn','push','colors','5986800DSiMHk','name','getCenter','3045480QYXrXP','CustomMeshComponent','computeUVs','379685iXoWDy','159742KgwZed','66uqMjWz','calculatePolygonArea','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','length','getBoundsCenterPosition','231605rNEkdo','abs','min','addRef','computeVertexNormals','vertices','_meshData','assetManager','9aMzpRu','constructGeometry','3368449qjKKdI','CustomMeshComponent:\x20Invalid\x20vertices\x20data','CustomMeshComponent:\x20threeObject\x20is\x20null','destroyObject','obj','material\x20is\x20null','geometryPtr','max','viewport','indices','getBoundsBottomCenterPosition','meshData','setAttribute','receiveShadow','error','normals','_materialPtr','materialPtr\x20is\x20null','normal','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','setIndex','world','3WNqsWg','log','material','uvs','4967020KXEzli','getValue','map','materialPtr','LYObject','addMaterialAsset','_geometryPtr','clone'];_0x4efa=function(){return _0x4bfab3;};return _0x4efa();}class CustomMeshComponent extends SceneComponent{get[_0x4bedf6(0x168)](){const _0x21ce85=_0x4bedf6;if(!this[_0x21ce85(0x18a)])throw new Error(_0x21ce85(0x188));return this[_0x21ce85(0x18a)];}set['threeObject'](_0x512842){const _0x3c5eb9=_0x4bedf6;this[_0x3c5eb9(0x18a)]=_0x512842,this[_0x3c5eb9(0x18a)]&&(this['obj']['userData'][_0x3c5eb9(0x1a4)]=this);}get[_0x4bedf6(0x1a9)](){const _0x3a2e44=_0x4bedf6;if(!this[_0x3a2e44(0x1a6)])throw new Error(_0x3a2e44(0x16b));return this['_geometryPtr'][_0x3a2e44(0x1a1)]();}set['geometry'](_0x3fc824){const _0x164ad2=_0x4bedf6;let _0x4dd95a=this[_0x164ad2(0x169)][_0x164ad2(0x183)]['addGeometryAsset'](_0x3fc824);this[_0x164ad2(0x18c)]=_0x4dd95a;}get[_0x4bedf6(0x18c)](){const _0x299307=_0x4bedf6;if(!this[_0x299307(0x1a6)])throw new Error(_0x299307(0x16b));return this[_0x299307(0x1a6)];}set[_0x4bedf6(0x18c)](_0x5659ea){const _0x12b7b8=_0x4bedf6;this[_0x12b7b8(0x1a6)]&&(this[_0x12b7b8(0x1a6)][_0x12b7b8(0x1a8)](),this['_geometryPtr']=null);this[_0x12b7b8(0x1a6)]=_0x5659ea;let _0x5a9bfe=_0x5659ea[_0x12b7b8(0x1a1)]();this[_0x12b7b8(0x168)]&&_0x5a9bfe&&(this['threeObject']['geometry']=_0x5a9bfe);}get['material'](){const _0xa237e4=_0x4bedf6;if(!this[_0xa237e4(0x196)])throw new Error(_0xa237e4(0x197));let _0x2f5f0f=this[_0xa237e4(0x196)][_0xa237e4(0x1a1)]();if(!_0x2f5f0f)throw new Error(_0xa237e4(0x18b));return _0x2f5f0f;}get[_0x4bedf6(0x1a3)](){const _0x39d060=_0x4bedf6;if(!this[_0x39d060(0x196)])throw new Error(_0x39d060(0x197));return this[_0x39d060(0x196)];}set['material'](_0x5164be){const _0x211aaf=_0x4bedf6;let _0x5ae0f9=this['app'][_0x211aaf(0x183)][_0x211aaf(0x1a5)](_0x5164be);this[_0x211aaf(0x1a3)]=_0x5ae0f9;}set['materialPtr'](_0x52bfdb){const _0x114e76=_0x4bedf6;this['_materialPtr']&&(this[_0x114e76(0x196)][_0x114e76(0x1a8)](),this['_materialPtr']=null);this[_0x114e76(0x196)]=_0x52bfdb;let _0x5985e0=_0x52bfdb['getValue']();_0x52bfdb['addRef'](),this[_0x114e76(0x168)]&&_0x5985e0&&(this['threeObject'][_0x114e76(0x19e)]=_0x5985e0);}constructor(_0x5db338,_0x156a10,_0x1bf196,_0x595c3a){const _0x1a84b1=_0x4bedf6;super(_0x5db338,_0x595c3a),this['_meshData']=_0x156a10;let _0xb3a92e=_0x5db338[_0x1a84b1(0x183)][_0x1a84b1(0x1a5)](_0x1bf196);this[_0x1a84b1(0x196)]=_0xb3a92e,_0xb3a92e[_0x1a84b1(0x17f)]();const _0x594b35=this['constructGeometry'](_0x156a10);this[_0x1a84b1(0x1a6)]=_0x5db338[_0x1a84b1(0x183)]['addGeometryAsset'](_0x594b35),this[_0x1a84b1(0x168)][_0x1a84b1(0x19e)]=_0x1bf196,this[_0x1a84b1(0x168)][_0x1a84b1(0x1a9)]=_0x594b35,this[_0x1a84b1(0x170)]=_0x1a84b1(0x173),this[_0x1a84b1(0x1aa)]=!![],this[_0x1a84b1(0x193)]=!![];}[_0x4bedf6(0x174)](_0x204969){const _0x51241c=_0x4bedf6,_0x116437=new Float32Array(_0x204969[_0x51241c(0x17a)]*0x2);if(_0x204969['length']===0x0)return _0x116437;let _0x425253=Infinity,_0x1d8612=-Infinity,_0x1807ca=Infinity,_0x764951=-Infinity,_0x32d117=Infinity,_0x2cc965=-Infinity;for(const _0x2048cc of _0x204969){_0x425253=Math[_0x51241c(0x17e)](_0x425253,_0x2048cc['x']),_0x1d8612=Math[_0x51241c(0x18d)](_0x1d8612,_0x2048cc['x']),_0x1807ca=Math[_0x51241c(0x17e)](_0x1807ca,_0x2048cc['y']),_0x764951=Math['max'](_0x764951,_0x2048cc['y']),_0x32d117=Math[_0x51241c(0x17e)](_0x32d117,_0x2048cc['z']),_0x2cc965=Math[_0x51241c(0x18d)](_0x2cc965,_0x2048cc['z']);}const _0x29dadf=_0x1d8612-_0x425253,_0x289904=_0x764951-_0x1807ca,_0x2d73d2=_0x2cc965-_0x32d117;let _0x3f01e0,_0x4f284c,_0x589544,_0x30966d,_0x5385a3,_0x462c2c;if(_0x29dadf<=_0x289904&&_0x29dadf<=_0x2d73d2)_0x3f01e0='y',_0x4f284c='z',_0x589544=_0x1807ca,_0x30966d=_0x289904,_0x5385a3=_0x32d117,_0x462c2c=_0x2d73d2;else _0x289904<=_0x29dadf&&_0x289904<=_0x2d73d2?(_0x3f01e0='x',_0x4f284c='z',_0x589544=_0x425253,_0x30966d=_0x29dadf,_0x5385a3=_0x32d117,_0x462c2c=_0x2d73d2):(_0x3f01e0='x',_0x4f284c='y',_0x589544=_0x425253,_0x30966d=_0x29dadf,_0x5385a3=_0x1807ca,_0x462c2c=_0x289904);if(_0x30966d===0x0)_0x30966d=0x1;if(_0x462c2c===0x0)_0x462c2c=0x1;for(let _0x173d9a=0x0;_0x173d9a<_0x204969[_0x51241c(0x17a)];_0x173d9a++){const _0x43e9fe=_0x204969[_0x173d9a],_0x2234a1=(_0x43e9fe[_0x3f01e0]-_0x589544)/_0x30966d,_0xabdfa8=(_0x43e9fe[_0x4f284c]-_0x5385a3)/_0x462c2c;_0x116437[_0x173d9a*0x2]=_0x2234a1,_0x116437[_0x173d9a*0x2+0x1]=_0xabdfa8;}return _0x116437;}['calculatePolygonArea'](_0x53e93b){const _0x2f1e79=_0x4bedf6;let _0x34efaf=0x0;const _0x2413f4=_0x53e93b[_0x2f1e79(0x17a)]/0x2;for(let _0x3385ed=0x0;_0x3385ed<_0x2413f4;_0x3385ed++){const _0x355c17=(_0x3385ed+0x1)%_0x2413f4,_0xc98a7=_0x53e93b[_0x3385ed*0x2],_0x3771a=_0x53e93b[_0x3385ed*0x2+0x1],_0x2f31bd=_0x53e93b[_0x355c17*0x2],_0x23f1da=_0x53e93b[_0x355c17*0x2+0x1];_0x34efaf+=_0xc98a7*_0x23f1da-_0x2f31bd*_0x3771a;}return _0x34efaf/0x2;}[_0x4bedf6(0x185)](_0x33a87c){const _0x51b814=_0x4bedf6,_0x51fb73=new webgpu.BufferGeometry();if(!_0x33a87c[_0x51b814(0x181)]||_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]===0x0)return console[_0x51b814(0x194)](_0x51b814(0x187)),_0x51fb73;const _0x51f047=new Float32Array(_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]*0x3);for(let _0x2f7f31=0x0;_0x2f7f31<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x2f7f31++){_0x51f047[_0x2f7f31*0x3]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['x'],_0x51f047[_0x2f7f31*0x3+0x1]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['y'],_0x51f047[_0x2f7f31*0x3+0x2]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['z'];}_0x51fb73[_0x51b814(0x192)]('position',new webgpu.Float32BufferAttribute(_0x51f047,0x3));if(_0x33a87c[_0x51b814(0x18f)]&&_0x33a87c[_0x51b814(0x18f)][_0x51b814(0x17a)]>0x0)_0x51fb73['setIndex'](_0x33a87c[_0x51b814(0x18f)]);else {const _0x2c7133=[];let _0x465848=Infinity,_0x4349d3=-Infinity,_0x5306a3=Infinity,_0x106afc=-Infinity,_0x28e1cc=Infinity,_0xd6f945=-Infinity;for(let _0x2113f1=0x0;_0x2113f1<_0x33a87c[_0x51b814(0x181)]['length'];_0x2113f1++){const _0x375523=_0x33a87c[_0x51b814(0x181)][_0x2113f1];_0x5306a3=Math[_0x51b814(0x17e)](_0x5306a3,_0x375523['x']),_0x106afc=Math[_0x51b814(0x18d)](_0x106afc,_0x375523['x']),_0x465848=Math[_0x51b814(0x17e)](_0x465848,_0x375523['y']),_0x4349d3=Math[_0x51b814(0x18d)](_0x4349d3,_0x375523['y']),_0x28e1cc=Math['min'](_0x28e1cc,_0x375523['z']),_0xd6f945=Math[_0x51b814(0x18d)](_0xd6f945,_0x375523['z']);}const _0x1f8661=_0x106afc-_0x5306a3,_0x36d63c=_0x4349d3-_0x465848,_0x4d1484=_0xd6f945-_0x28e1cc;let _0x4ccfaf='XY';if(_0x36d63c<=_0x1f8661&&_0x36d63c<=_0x4d1484){_0x4ccfaf='XZ';for(let _0x5b9180=0x0;_0x5b9180<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x5b9180++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x5b9180]['x']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x5b9180]['z']);}}else {if(_0x1f8661<=_0x36d63c&&_0x1f8661<=_0x4d1484){_0x4ccfaf='YZ';for(let _0x1a579f=0x0;_0x1a579f<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x1a579f++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x1a579f]['y']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x1a579f]['z']);}}else {_0x4ccfaf='XY';for(let _0x173f68=0x0;_0x173f68<_0x33a87c[_0x51b814(0x181)]['length'];_0x173f68++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x173f68]['x']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x173f68]['y']);}}}const _0x5672e5=this[_0x51b814(0x178)](_0x2c7133),_0x4f6cf9=_0x5672e5<0x0;if(_0x4f6cf9){console[_0x51b814(0x16c)](_0x51b814(0x179)),_0x2c7133[_0x51b814(0x16a)]();const _0x1c27d7=[];for(let _0x5a824d=_0x2c7133[_0x51b814(0x17a)]-0x2;_0x5a824d>=0x0;_0x5a824d-=0x2){_0x1c27d7[_0x51b814(0x16d)](_0x2c7133[_0x5a824d],_0x2c7133[_0x5a824d+0x1]);}_0x2c7133[_0x51b814(0x17a)]=0x0,_0x2c7133['push'](..._0x1c27d7);}try{const _0x9ba52a=_0x4f7708(_0x2c7133,undefined,0x2);if(_0x9ba52a&&_0x9ba52a[_0x51b814(0x17a)]>0x0){if(_0x4f6cf9)for(let _0x21f419=0x0;_0x21f419<_0x9ba52a[_0x51b814(0x17a)];_0x21f419+=0x3){const _0x186586=_0x9ba52a[_0x21f419];_0x9ba52a[_0x21f419]=_0x9ba52a[_0x21f419+0x2],_0x9ba52a[_0x21f419+0x2]=_0x186586;}_0x51fb73[_0x51b814(0x19a)](_0x9ba52a),console[_0x51b814(0x19d)](_0x51b814(0x166),{'planeType':_0x4ccfaf,'vertexCount':_0x33a87c[_0x51b814(0x181)]['length'],'triangleCount':_0x9ba52a['length']/0x3,'area':Math[_0x51b814(0x17d)](_0x5672e5),'wasClockwise':_0x4f6cf9,'indices':Array['from'](_0x9ba52a)});}else console['warn']('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x5b35e1){console['error'](_0x51b814(0x199),_0x5b35e1);}}if(_0x33a87c[_0x51b814(0x195)]&&_0x33a87c[_0x51b814(0x195)][_0x51b814(0x17a)]===_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]){const _0x2b53c9=new Float32Array(_0x33a87c['normals']['length']*0x3);for(let _0x134cde=0x0;_0x134cde<_0x33a87c[_0x51b814(0x195)][_0x51b814(0x17a)];_0x134cde++){_0x2b53c9[_0x134cde*0x3]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['x'],_0x2b53c9[_0x134cde*0x3+0x1]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['y'],_0x2b53c9[_0x134cde*0x3+0x2]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['z'];}_0x51fb73[_0x51b814(0x192)](_0x51b814(0x198),new webgpu.Float32BufferAttribute(_0x2b53c9,0x3));}else _0x51fb73[_0x51b814(0x180)]();if(_0x33a87c[_0x51b814(0x19f)]&&_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)]>0x0){const _0x2bc0fe=new Float32Array(_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)]*0x2);for(let _0x443a09=0x0;_0x443a09<_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)];_0x443a09++){_0x2bc0fe[_0x443a09*0x2]=_0x33a87c[_0x51b814(0x19f)][_0x443a09]['x'],_0x2bc0fe[_0x443a09*0x2+0x1]=_0x33a87c['uvs'][_0x443a09]['y'];}_0x51fb73[_0x51b814(0x192)]('uv',new webgpu.Float32BufferAttribute(_0x2bc0fe,0x2));}else {const _0x4645bc=this['computeUVs'](_0x33a87c[_0x51b814(0x181)]);_0x51fb73['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x4645bc,0x2));}if(_0x33a87c[_0x51b814(0x16e)]&&_0x33a87c[_0x51b814(0x16e)][_0x51b814(0x17a)]===_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]){const _0x46c0c3=new Float32Array(_0x33a87c[_0x51b814(0x16e)]['length']*0x3);for(let _0x2fc5a4=0x0;_0x2fc5a4<_0x33a87c[_0x51b814(0x16e)][_0x51b814(0x17a)];_0x2fc5a4++){_0x46c0c3[_0x2fc5a4*0x3]=_0x33a87c[_0x51b814(0x16e)][_0x2fc5a4]['r'],_0x46c0c3[_0x2fc5a4*0x3+0x1]=_0x33a87c[_0x51b814(0x16e)][_0x2fc5a4]['g'],_0x46c0c3[_0x2fc5a4*0x3+0x2]=_0x33a87c['colors'][_0x2fc5a4]['b'];}_0x51fb73[_0x51b814(0x192)]('color',new webgpu.Float32BufferAttribute(_0x46c0c3,0x3));}return _0x51fb73;}set[_0x4bedf6(0x191)](_0x49f790){const _0x31a185=_0x4bedf6;var _0x5358d8,_0x2d40eb,_0x18cf1c;this[_0x31a185(0x1a6)]&&this[_0x31a185(0x1a6)]['release']();const _0x1e509c=this[_0x31a185(0x185)](_0x49f790);this[_0x31a185(0x1a6)]=this[_0x31a185(0x169)][_0x31a185(0x183)]['addGeometryAsset'](_0x1e509c),this[_0x31a185(0x168)]['geometry']=_0x1e509c,this[_0x31a185(0x182)]={'vertices':_0x49f790[_0x31a185(0x181)]['map'](_0x1b7b02=>_0x1b7b02[_0x31a185(0x1a7)]()),'indices':_0x49f790[_0x31a185(0x18f)]?[..._0x49f790[_0x31a185(0x18f)]]:undefined,'normals':(_0x5358d8=_0x49f790[_0x31a185(0x195)])===null||_0x5358d8===void 0?void 0:_0x5358d8['map'](_0x2d4973=>_0x2d4973['clone']()),'uvs':(_0x2d40eb=_0x49f790[_0x31a185(0x19f)])===null||_0x2d40eb===void 0?void 0:_0x2d40eb[_0x31a185(0x1a2)](_0x27d2bf=>_0x27d2bf[_0x31a185(0x1a7)]()),'colors':(_0x18cf1c=_0x49f790[_0x31a185(0x16e)])===null||_0x18cf1c===void 0?void 0:_0x18cf1c[_0x31a185(0x1a2)](_0x126f63=>_0x126f63[_0x31a185(0x1a7)]())},this[_0x31a185(0x19b)]&&this[_0x31a185(0x19b)][_0x31a185(0x18e)][_0x31a185(0x1ab)]();}get[_0x4bedf6(0x191)](){const _0x4ad393=_0x4bedf6;return this[_0x4ad393(0x182)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x4bedf6(0x1aa)](_0x3b572f){const _0x1ef3a8=_0x4bedf6;if(this['threeObject'])this[_0x1ef3a8(0x168)][_0x1ef3a8(0x1aa)]=_0x3b572f;}get[_0x4bedf6(0x1aa)](){const _0x1dfd9e=_0x4bedf6;return this[_0x1dfd9e(0x168)]?this[_0x1dfd9e(0x168)][_0x1dfd9e(0x1aa)]:![];}set[_0x4bedf6(0x193)](_0x52d1fd){const _0x28ed0c=_0x4bedf6;if(!this[_0x28ed0c(0x168)])return;this['threeObject'][_0x28ed0c(0x193)]=_0x52d1fd;}get[_0x4bedf6(0x193)](){const _0x2371a8=_0x4bedf6;return this[_0x2371a8(0x168)]?this[_0x2371a8(0x168)]['receiveShadow']:![];}[_0x4bedf6(0x17b)](){const _0x2c0d33=_0x4bedf6;let _0x5448ab=new webgpu.Vector3();return this[_0x2c0d33(0x167)]()[_0x2c0d33(0x171)](_0x5448ab),_0x5448ab;}['getBoundsTopCenterPosition'](){const _0x48d165=_0x4bedf6;let _0x4cfa85=new webgpu.Vector3(),_0x156f20=this['getBounds']();return _0x156f20[_0x48d165(0x171)](_0x4cfa85),_0x4cfa85['y']=_0x156f20[_0x48d165(0x18d)]['y'],_0x4cfa85;}[_0x4bedf6(0x190)](){const _0x3c940c=_0x4bedf6;let _0x289a8a=new webgpu.Vector3(),_0x3d242b=this[_0x3c940c(0x167)]();return _0x3d242b['getCenter'](_0x289a8a),_0x289a8a['y']=_0x3d242b[_0x3c940c(0x17e)]['y'],_0x289a8a;}[_0x4bedf6(0x189)](){const _0x51a0d1=_0x4bedf6;var _0x42a0b7,_0x54da9a;this['threeObject']&&this[_0x51a0d1(0x168)][_0x51a0d1(0x165)](),(_0x42a0b7=this[_0x51a0d1(0x1a6)])===null||_0x42a0b7===void 0?void 0:_0x42a0b7[_0x51a0d1(0x1a8)](),(_0x54da9a=this[_0x51a0d1(0x196)])===null||_0x54da9a===void 0?void 0:_0x54da9a[_0x51a0d1(0x1a8)](),super['destroyObject']();}}
|
|
141
|
+
function _0x5999(){const _0x1b8bc3=['4430528qgetED','6766290YNuRpd','enabled','unpossess','clone','639666PbVjIw','moveSpeed','threeObject','YXZ','51mnAHPA','getTargetCameraState','eyeHeight','viewport','exitPointerLock','camera','3600474tNIPxU','80MqlzIt','getPosition','app','order','pointerLockElement','rotation','lookSpeed','54065jFyJKu','rootComponent','153316YIwWLk','7IGfsTv','position','possess','copy','getQuaternion','6660GTLnmh','1739247dTwnKY','getRotation','updateCameraFromPawn'];_0x5999=function(){return _0x1b8bc3;};return _0x5999();}const _0x5e2313=_0x4e2a;function _0x4e2a(_0x38f443,_0xdf1cf8){_0x38f443=_0x38f443-0x123;const _0x59997c=_0x5999();let _0x4e2ae7=_0x59997c[_0x38f443];return _0x4e2ae7;}(function(_0x322d17,_0x5f5cde){const _0x29e151=_0x4e2a,_0x284b64=_0x322d17();while(!![]){try{const _0x34a223=parseInt(_0x29e151(0x136))/0x1+parseInt(_0x29e151(0x12f))/0x2*(-parseInt(_0x29e151(0x142))/0x3)+parseInt(_0x29e151(0x139))/0x4+parseInt(_0x29e151(0x13a))/0x5+parseInt(_0x29e151(0x125))/0x6*(parseInt(_0x29e151(0x130))/0x7)+parseInt(_0x29e151(0x126))/0x8*(parseInt(_0x29e151(0x13e))/0x9)+parseInt(_0x29e151(0x135))/0xa*(-parseInt(_0x29e151(0x12d))/0xb);if(_0x34a223===_0x5f5cde)break;else _0x284b64['push'](_0x284b64['shift']());}catch(_0x312943){_0x284b64['push'](_0x284b64['shift']());}}}(_0x5999,0xe41ec));class Spectator extends Pawn{constructor(_0x4cbf32){const _0x3a3640=_0x4e2a;super(_0x4cbf32),this[_0x3a3640(0x13f)]=0xa,this[_0x3a3640(0x12c)]=0.002,this[_0x3a3640(0x144)]=0.7;}['constructRootComponent'](){const _0x187f09=_0x4e2a;return new SceneComponent(this[_0x187f09(0x128)]);}[_0x5e2313(0x132)](){const _0x472114=_0x5e2313;super[_0x472114(0x132)](),this[_0x472114(0x12e)]&&this[_0x472114(0x12e)][_0x472114(0x140)]&&(this[_0x472114(0x12e)][_0x472114(0x140)]['rotation'][_0x472114(0x129)]=_0x472114(0x141)),this[_0x472114(0x138)]();}[_0x5e2313(0x13c)](){const _0x554294=_0x5e2313;super[_0x554294(0x13c)](),document[_0x554294(0x12a)]===this['app'][_0x554294(0x145)]['canvas']&&document[_0x554294(0x123)]();}[_0x5e2313(0x143)](){const _0x3ef9bb=_0x5e2313,_0x57667d=this[_0x3ef9bb(0x127)]();return _0x57667d['y']+=this['eyeHeight'],{'position':_0x57667d,'quaternion':this[_0x3ef9bb(0x134)]()[_0x3ef9bb(0x13d)]()};}['tick'](_0x1baca3){const _0xffc42=_0x5e2313;if(!this[_0xffc42(0x13b)])return;this[_0xffc42(0x138)]();}[_0x5e2313(0x138)](){const _0x30d5a9=_0x5e2313;if(!this['enabled']||!this[_0x30d5a9(0x124)])return;const _0x55c973=this[_0x30d5a9(0x127)]();_0x55c973['y']+=this[_0x30d5a9(0x144)],this[_0x30d5a9(0x124)][_0x30d5a9(0x131)][_0x30d5a9(0x133)](_0x55c973),this[_0x30d5a9(0x124)][_0x30d5a9(0x12b)][_0x30d5a9(0x133)](this[_0x30d5a9(0x137)]());}}
|
|
122
142
|
|
|
123
|
-
(function(
|
|
143
|
+
const _0x565bef=_0x1fad;(function(_0x2b5b80,_0x1369a9){const _0x5e865c=_0x1fad,_0x3daa44=_0x2b5b80();while(!![]){try{const _0x4ecc65=parseInt(_0x5e865c(0xbb))/0x1+parseInt(_0x5e865c(0xc1))/0x2*(-parseInt(_0x5e865c(0x93))/0x3)+parseInt(_0x5e865c(0xb4))/0x4+-parseInt(_0x5e865c(0xa0))/0x5+-parseInt(_0x5e865c(0x94))/0x6+-parseInt(_0x5e865c(0xa2))/0x7+parseInt(_0x5e865c(0x98))/0x8;if(_0x4ecc65===_0x1369a9)break;else _0x3daa44['push'](_0x3daa44['shift']());}catch(_0x1abe4f){_0x3daa44['push'](_0x3daa44['shift']());}}}(_0xf061,0xd23ee));function _0x1fad(_0x3ee5df,_0x31cb55){_0x3ee5df=_0x3ee5df-0x93;const _0xf06129=_0xf061();let _0x1faddb=_0xf06129[_0x3ee5df];return _0x1faddb;}class TransformGizmo extends Pawn{get[_0x565bef(0xc9)](){const _0x2712a0=_0x565bef;if(!this[_0x2712a0(0xca)])throw new Error(_0x2712a0(0xa6));return this['_control'];}constructor(_0x4c8192,_0x2136d5){const _0x2da1b9=_0x565bef;var _0x24c52d;super(_0x4c8192),this[_0x2da1b9(0xca)]=null,this[_0x2da1b9(0xb2)]=new webgpu.Object3D(),this[_0x2da1b9(0xc2)]=[],this[_0x2da1b9(0xe2)]=null,this[_0x2da1b9(0xba)]=new Map(),this[_0x2da1b9(0xc3)]=null,this[_0x2da1b9(0xda)]=_0x318966=>{const _0x4580cc=_0x2da1b9;this[_0x4580cc(0xb3)](_0x318966);},this[_0x2da1b9(0xdb)]=()=>{const _0x1a929a=_0x2da1b9;this[_0x1a929a(0xcd)]();},this[_0x2da1b9(0xe4)]=()=>{const _0x410706=_0x2da1b9;this[_0x410706(0xbd)]();},this[_0x2da1b9(0xa7)]=null,this[_0x2da1b9(0xcc)]=null;let _0x467c5a=_0x4c8192[_0x2da1b9(0xaa)]['canvas'];if(!_0x467c5a)throw new Error(_0x2da1b9(0x99));this[_0x2da1b9(0xca)]=new TransformControls_js.TransformControls(_0x4c8192[_0x2da1b9(0xe0)],_0x467c5a),this[_0x2da1b9(0xc9)][_0x2da1b9(0x9e)]()[_0x2da1b9(0xc0)](_0x20b5ae=>{const _0x19f200=_0x2da1b9;_0x20b5ae[_0x19f200(0xd0)]['rayIgnored']=!![];}),this['helperObject']['name']='TransformHelperObject',this[_0x2da1b9(0xc3)]=(_0x24c52d=_0x2136d5===null||_0x2136d5===void 0?void 0:_0x2136d5['helperScene'])!==null&&_0x24c52d!==void 0?_0x24c52d:null;}[_0x565bef(0xbc)](){const _0x49db45=_0x565bef;var _0x5ac79b;return (_0x5ac79b=this['gizmoScene'])!==null&&_0x5ac79b!==void 0?_0x5ac79b:this[_0x49db45(0x9f)][_0x49db45(0xcf)]['scene'];}[_0x565bef(0xc8)](){const _0x4dbb3d=_0x565bef,_0x18e369=this['getTargetScene']();_0x18e369[_0x4dbb3d(0xbf)](this[_0x4dbb3d(0xb2)]),_0x18e369[_0x4dbb3d(0xbf)](this[_0x4dbb3d(0xc9)][_0x4dbb3d(0x9e)]()),this['control'][_0x4dbb3d(0xdc)](this[_0x4dbb3d(0xb2)]),this['control'][_0x4dbb3d(0xb7)](_0x4dbb3d(0xce),this[_0x4dbb3d(0xe4)]),this[_0x4dbb3d(0xc9)][_0x4dbb3d(0xb7)](_0x4dbb3d(0xa8),this[_0x4dbb3d(0xda)]),this['control'][_0x4dbb3d(0xb7)](_0x4dbb3d(0xc7),this[_0x4dbb3d(0xdb)]);}[_0x565bef(0x97)](){const _0x38d908=_0x565bef;this[_0x38d908(0xc9)][_0x38d908(0xab)]('change',this['onChangeEvent']),this[_0x38d908(0xc9)][_0x38d908(0xab)](_0x38d908(0xa8),this[_0x38d908(0xda)]),this[_0x38d908(0xc9)][_0x38d908(0xab)](_0x38d908(0xc7),this[_0x38d908(0xdb)]),this['control'][_0x38d908(0xa1)]();const _0x569760=this[_0x38d908(0xbc)]();_0x569760[_0x38d908(0x9d)](this[_0x38d908(0xb2)]),_0x569760[_0x38d908(0x9d)](this[_0x38d908(0xc9)]['getHelper']());}[_0x565bef(0xd1)](){const _0x3670ef=_0x565bef;return {'position':this[_0x3670ef(0xe0)][_0x3670ef(0xe3)][_0x3670ef(0xe5)](),'quaternion':this['camera']['quaternion']['clone']()};}[_0x565bef(0xd3)](){const _0x19c4f9=_0x565bef;if(!this[_0x19c4f9(0xe2)])return;this['control']['detach']();const _0xb6c9c=this[_0x19c4f9(0xbc)]();_0xb6c9c[_0x19c4f9(0x9d)](this[_0x19c4f9(0xb2)]),this[_0x19c4f9(0xba)]['clear']();let _0x2425b8=this['primaryTarget'][_0x19c4f9(0xbe)]();_0x2425b8[_0x19c4f9(0xb5)](this[_0x19c4f9(0xb2)][_0x19c4f9(0xe3)],this[_0x19c4f9(0xb2)][_0x19c4f9(0xc4)],this[_0x19c4f9(0xb2)][_0x19c4f9(0xa3)]),_0xb6c9c[_0x19c4f9(0xbf)](this[_0x19c4f9(0xc9)][_0x19c4f9(0x9e)]()),_0xb6c9c['add'](this['helperObject']),this['control'][_0x19c4f9(0xdc)](this[_0x19c4f9(0xb2)]),this[_0x19c4f9(0xc2)][_0x19c4f9(0xc6)](_0x1340f1=>{const _0x4e988f=_0x19c4f9,_0x5220a0=_0x1340f1[_0x4e988f(0xbe)](),_0x5596ac=_0x2425b8[_0x4e988f(0xe5)]()['invert']()[_0x4e988f(0xd9)](_0x5220a0);this[_0x4e988f(0xba)][_0x4e988f(0xb8)](_0x1340f1,_0x5596ac);});}[_0x565bef(0xbd)](){const _0x494f77=_0x565bef;this[_0x494f77(0x9f)]['viewPort'][_0x494f77(0xd4)]();}['onDraggingChanged'](_0x563e0f){const _0x348421=_0x565bef;if(this[_0x348421(0xe2)]){let _0x16d00a=this[_0x348421(0xe2)][_0x348421(0xbe)]();_0x16d00a[_0x348421(0xb5)](this[_0x348421(0xb2)]['position'],this[_0x348421(0xb2)]['quaternion'],this[_0x348421(0xb2)]['scale']);}this[_0x348421(0xcc)]&&this['onDraggingFunction'](_0x563e0f['value']);}[_0x565bef(0xcd)](){const _0x3ee76a=_0x565bef;if(this['primaryTarget']){this['helperObject']['updateMatrixWorld'](!![]);const _0x294931=this['helperObject'][_0x3ee76a(0xa4)][_0x3ee76a(0xe5)]();this[_0x3ee76a(0xe2)][_0x3ee76a(0xde)](_0x294931),this['targets']['forEach'](_0x432625=>{const _0x5e7306=_0x3ee76a,_0xdb245f=this['targetMatrixMap'][_0x5e7306(0xb0)](_0x432625);if(_0xdb245f){const _0xecb116=new webgpu.Matrix4()[_0x5e7306(0xa5)](_0x294931,_0xdb245f);_0x432625['onTransforming'](_0xecb116);}});}this['onUpdateFunction']&&this[_0x3ee76a(0xa7)]();}set[_0x565bef(0xc5)](_0x36d683){const _0x30ce4d=_0x565bef;this[_0x30ce4d(0xc9)][_0x30ce4d(0xae)]=_0x36d683;}[_0x565bef(0xdf)](_0x5ef5e0,_0x5a9045,_0x4be27f=null,_0x63cb5c=null){const _0x4fc652=_0x565bef;this[_0x4fc652(0xba)][_0x4fc652(0xb9)]();let _0x4baaea=_0x5ef5e0[_0x4fc652(0xbe)]();_0x4baaea[_0x4fc652(0xb5)](this[_0x4fc652(0xb2)][_0x4fc652(0xe3)],this['helperObject'][_0x4fc652(0xc4)],this[_0x4fc652(0xb2)][_0x4fc652(0xa3)]);const _0x4da6e9=this[_0x4fc652(0xbc)]();_0x4da6e9['add'](this[_0x4fc652(0xc9)]['getHelper']()),this[_0x4fc652(0xe2)]=_0x5ef5e0,this[_0x4fc652(0xc2)]=_0x5a9045,this[_0x4fc652(0xc2)][_0x4fc652(0xc6)](_0x259042=>{const _0x5eee17=_0x4fc652,_0x4c34e4=_0x259042[_0x5eee17(0xbe)](),_0x21f724=_0x4baaea[_0x5eee17(0xe5)]()[_0x5eee17(0xd5)]()[_0x5eee17(0xd9)](_0x4c34e4);this['targetMatrixMap'][_0x5eee17(0xb8)](_0x259042,_0x21f724);}),_0x4be27f&&(this['onUpdateFunction']=_0x4be27f),_0x63cb5c&&(this['onDraggingFunction']=_0x63cb5c),this['isTickEnabled']=!![];}[_0x565bef(0xcb)](){const _0x2b7723=_0x565bef;return this[_0x2b7723(0xc9)][_0x2b7723(0xcb)]();}[_0x565bef(0x9a)](_0x16c5ee){const _0x58a5b9=_0x565bef;this[_0x58a5b9(0xc9)]['setMode'](_0x16c5ee);}[_0x565bef(0xac)](_0x52d31c){const _0x4472ee=_0x565bef;this['control'][_0x4472ee(0xac)](_0x52d31c);}[_0x565bef(0xd7)](_0x491219){const _0x166f6c=_0x565bef;this[_0x166f6c(0xc9)][_0x166f6c(0x96)]=_0x491219?_0x491219===null||_0x491219===void 0?void 0:_0x491219[_0x166f6c(0xe6)]('X'):![],this[_0x166f6c(0xc9)][_0x166f6c(0xd8)]=_0x491219?_0x491219===null||_0x491219===void 0?void 0:_0x491219[_0x166f6c(0xe6)]('Y'):![],this[_0x166f6c(0xc9)][_0x166f6c(0x9b)]=_0x491219?_0x491219===null||_0x491219===void 0?void 0:_0x491219[_0x166f6c(0xe6)]('Z'):![];}[_0x565bef(0xad)](_0x1d70e5){const _0x2591c7=_0x565bef;this[_0x2591c7(0xc9)]['setSize'](_0x1d70e5);}[_0x565bef(0xa9)](){return this['control']['translationSnap'];}[_0x565bef(0xaf)](_0x293b28){const _0x47fbd2=_0x565bef;this[_0x47fbd2(0xc9)]['setTranslationSnap'](_0x293b28);}[_0x565bef(0xe1)](){const _0x5f509f=_0x565bef;return this[_0x5f509f(0xc9)][_0x5f509f(0x95)];}[_0x565bef(0xd2)](_0xdd5963){const _0x5d8613=_0x565bef;this[_0x5d8613(0xc9)][_0x5d8613(0xd2)](_0xdd5963);}[_0x565bef(0xd6)](){const _0x16f4d1=_0x565bef;return this[_0x16f4d1(0xc9)]['scaleSnap'];}[_0x565bef(0xb6)](_0x28b400){const _0x42707d=_0x565bef;this[_0x42707d(0xc9)]['setScaleSnap'](_0x28b400);}[_0x565bef(0x9c)](){const _0x117087=_0x565bef;var _0x1bdac4;this[_0x117087(0xdd)]=![],this[_0x117087(0x97)](),this[_0x117087(0xba)][_0x117087(0xb9)](),this[_0x117087(0xc2)]=[],this[_0x117087(0xe2)]=null,this[_0x117087(0xa7)]=null,this[_0x117087(0xcc)]=null,(_0x1bdac4=this[_0x117087(0xca)])===null||_0x1bdac4===void 0?void 0:_0x1bdac4[_0x117087(0xb1)](),this[_0x117087(0xca)]=null,super[_0x117087(0x9c)]();}}function _0xf061(){const _0x583684=['quaternion','enable','forEach','objectChange','possess','control','_control','getMode','onDraggingFunction','onObjectChanged','change','world','userData','getTargetCameraState','setRotationSnap','refresh','markRenderStateDirty','invert','getScaleSnap','setAxis','showY','multiply','onDraggingChangedEvent','onObjectChangeEvent','attach','isTickEnabled','onTransforming','setTarget','camera','getRotationnSnap','primaryTarget','position','onChangeEvent','clone','includes','21njoDtF','7085028lDTTBp','rotationSnap','showX','unpossess','31099408NDrheD','TransformGizmo:Canvas\x20not\x20found','setMode','showZ','destroy','remove','getHelper','controller','7366300jJhisE','detach','9869587lYrHzJ','scale','matrixWorld','multiplyMatrices','Control\x20not\x20initialized','onUpdateFunction','dragging-changed','getTranslationSnap','viewport','removeEventListener','setSpace','setSize','enabled','setTranslationSnap','get','dispose','helperObject','onDraggingChanged','2196664mCidYV','decompose','setScaleSnap','addEventListener','set','clear','targetMatrixMap','1431926DnCUhY','getTargetScene','onChange','getMatrixInWorld','add','traverse','269518nufASb','targets','gizmoScene'];_0xf061=function(){return _0x583684;};return _0xf061();}
|
|
124
144
|
|
|
125
|
-
|
|
145
|
+
const _0x33d4d7=_0x1be0;function _0x1be0(_0x528289,_0x1001a4){_0x528289=_0x528289-0x132;const _0x14719e=_0x1471();let _0x1be053=_0x14719e[_0x528289];return _0x1be053;}(function(_0x4d5c77,_0xd681b9){const _0x513c7b=_0x1be0,_0x3d7e87=_0x4d5c77();while(!![]){try{const _0x1cf84f=parseInt(_0x513c7b(0x13c))/0x1*(parseInt(_0x513c7b(0x148))/0x2)+parseInt(_0x513c7b(0x157))/0x3*(parseInt(_0x513c7b(0x144))/0x4)+-parseInt(_0x513c7b(0x154))/0x5*(parseInt(_0x513c7b(0x146))/0x6)+parseInt(_0x513c7b(0x153))/0x7+parseInt(_0x513c7b(0x14d))/0x8*(parseInt(_0x513c7b(0x143))/0x9)+-parseInt(_0x513c7b(0x132))/0xa+-parseInt(_0x513c7b(0x14a))/0xb*(parseInt(_0x513c7b(0x156))/0xc);if(_0x1cf84f===_0xd681b9)break;else _0x3d7e87['push'](_0x3d7e87['shift']());}catch(_0x4010f6){_0x3d7e87['push'](_0x3d7e87['shift']());}}}(_0x1471,0xb1c70));function _0x1471(){const _0x1bb8ff=['abs','32qaHbGu','onDebugTick','11NbWavN','subVectors','scale','8cePGHA','createDebugObject','clone','raycast','transformDirection','transpose','6361873nrAXJZ','3105845NCCcFo','negate','15409404RGUJkX','141030QMlEPD','halfExtents','BoxColliderComponent','set','8916740XwVplj','applyMatrix4','name','_halfExtents','invert','add','multiplyScalar','getWorldMatrix','threeObject','matrixWorld','51776cXYgLc','destroyDebugObject','normalize','makeEmpty','intersectRayAabbRaw','getWorldAABB','_debugMesh','4667499HwbHRS','108hCXmPt','normal','6GSzUyI'];_0x1471=function(){return _0x1bb8ff;};return _0x1471();}class BoxColliderComponent extends ColliderComponent{get[_0x33d4d7(0x158)](){const _0x47bd94=_0x33d4d7;return this[_0x47bd94(0x135)];}constructor(_0x2e2035,_0x349391=new webgpu.Vector3(0.5,0.5,0.5),_0x1d58aa){const _0x12da2c=_0x33d4d7;super(_0x2e2035,_0x1d58aa),this[_0x12da2c(0x142)]=null,this['_halfExtents']=new webgpu.Vector3(_0x349391['x'],_0x349391['y'],_0x349391['z']),this[_0x12da2c(0x134)]=_0x12da2c(0x159);}[_0x33d4d7(0x141)](_0x27927c=new webgpu.Box3()){const _0xc89c44=_0x33d4d7,_0x447722=this[_0xc89c44(0x139)](),_0x41b3de=this[_0xc89c44(0x135)]['x'],_0x22199b=this['_halfExtents']['y'],_0xef705e=this['_halfExtents']['z'];_0x27927c[_0xc89c44(0x13f)]();const _0x426355=[new webgpu.Vector3(-_0x41b3de,-_0x22199b,-_0xef705e),new webgpu.Vector3(-_0x41b3de,-_0x22199b,_0xef705e),new webgpu.Vector3(-_0x41b3de,_0x22199b,-_0xef705e),new webgpu.Vector3(-_0x41b3de,_0x22199b,_0xef705e),new webgpu.Vector3(_0x41b3de,-_0x22199b,-_0xef705e),new webgpu.Vector3(_0x41b3de,-_0x22199b,_0xef705e),new webgpu.Vector3(_0x41b3de,_0x22199b,-_0xef705e),new webgpu.Vector3(_0x41b3de,_0x22199b,_0xef705e)];for(const _0x46c350 of _0x426355){_0x46c350['applyMatrix4'](_0x447722),_0x27927c['expandByPoint'](_0x46c350);}return _0x27927c;}[_0x33d4d7(0x14e)](){const _0x175d89=_0x33d4d7,_0x17d734=new webgpu.Object3D();_0x17d734[_0x175d89(0x134)]='BoxColliderDebug';const _0x19698e=new webgpu.BoxGeometry(0x1,0x1,0x1),_0xf0de0a=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x4d7dbd=new webgpu.Mesh(_0x19698e,_0xf0de0a);return _0x4d7dbd[_0x175d89(0x134)]='BoxColliderDebugMesh',_0x17d734[_0x175d89(0x137)](_0x4d7dbd),this[_0x175d89(0x142)]=_0x4d7dbd,this[_0x175d89(0x149)](0x0),_0x17d734;}[_0x33d4d7(0x13d)](_0x18b077){this['_debugMesh']=null;}[_0x33d4d7(0x149)](_0x4e9641){const _0x55d1e2=_0x33d4d7;if(!this['_debugMesh'])return;this[_0x55d1e2(0x142)][_0x55d1e2(0x14c)][_0x55d1e2(0x15a)](this[_0x55d1e2(0x135)]['x']*0x2,this[_0x55d1e2(0x135)]['y']*0x2,this[_0x55d1e2(0x135)]['z']*0x2);}[_0x33d4d7(0x150)](_0x4cd798,_0x4f7348,_0xd6d661){const _0x55a893=_0x33d4d7;if(!this['threeObject'])return null;const _0x3d18b9=this[_0x55a893(0x13a)][_0x55a893(0x13b)][_0x55a893(0x14f)]()[_0x55a893(0x136)](),_0x960d57=_0x4cd798[_0x55a893(0x14f)]()[_0x55a893(0x133)](_0x3d18b9),_0x5972ef=_0x4f7348['clone']()[_0x55a893(0x151)](_0x3d18b9),_0x2d7790=_0x4cd798['clone']()[_0x55a893(0x137)](_0x4f7348),_0xc75b90=_0x2d7790[_0x55a893(0x133)](_0x3d18b9);_0x5972ef[_0x55a893(0x14b)](_0xc75b90,_0x960d57);const _0x425f9f=this[_0x55a893(0x135)]['clone']()[_0x55a893(0x155)](),_0x278fd9=this[_0x55a893(0x135)][_0x55a893(0x14f)](),_0xade92a=this[_0x55a893(0x140)](_0x960d57,_0x5972ef,_0x425f9f,_0x278fd9);if(!_0xade92a)return null;if(_0xade92a['t']>_0xd6d661)return null;const _0x3898a9=_0x4cd798[_0x55a893(0x14f)]()[_0x55a893(0x137)](_0x4f7348[_0x55a893(0x14f)]()[_0x55a893(0x138)](_0xade92a['t'])),_0x1babdb=_0xade92a[_0x55a893(0x145)],_0x361da6=new webgpu.Matrix4()['copy'](this[_0x55a893(0x13a)]['matrixWorld'])[_0x55a893(0x136)]()[_0x55a893(0x152)](),_0x233586=_0x1babdb[_0x55a893(0x133)](_0x361da6)[_0x55a893(0x13e)]();return {'point':_0x3898a9,'normal':_0x233586,'distance':_0xade92a['t']};}['intersectRayAabbRaw'](_0x4f753f,_0xad7fe,_0x8eefab,_0x1fb413){const _0x5e8b94=_0x33d4d7;let _0x262fc8=-Infinity,_0x8f79b0=Infinity;const _0xa02944=new webgpu.Vector3(),_0x4ff080=1e-8,_0x67ba73=_0x3b0b24=>{const _0x4c8f20=_0x1be0,_0x2af476=_0x4f753f[_0x3b0b24],_0x124317=_0xad7fe[_0x3b0b24],_0x18f52b=_0x8eefab[_0x3b0b24],_0x4d0f1b=_0x1fb413[_0x3b0b24];if(Math[_0x4c8f20(0x147)](_0x124317)<_0x4ff080){if(_0x2af476<_0x18f52b||_0x2af476>_0x4d0f1b)return ![];return !![];}const _0x1dde44=0x1/_0x124317;let _0x2be90a=(_0x18f52b-_0x2af476)*_0x1dde44,_0x4b9d98=(_0x4d0f1b-_0x2af476)*_0x1dde44;if(_0x2be90a>_0x4b9d98){const _0x3e10a2=_0x2be90a;_0x2be90a=_0x4b9d98,_0x4b9d98=_0x3e10a2;}if(_0x2be90a>_0x262fc8){_0x262fc8=_0x2be90a,_0xa02944[_0x4c8f20(0x15a)](0x0,0x0,0x0),_0xa02944[_0x3b0b24]=_0x124317<0x0?0x1:-1;if(_0x124317>0x0)_0xa02944[_0x3b0b24]=-1;else _0xa02944[_0x3b0b24]=0x1;}_0x4b9d98<_0x8f79b0&&(_0x8f79b0=_0x4b9d98);if(_0x262fc8>_0x8f79b0)return ![];return !![];};if(!_0x67ba73('x')||!_0x67ba73('y')||!_0x67ba73('z'))return null;if(_0x8f79b0<0x0)return null;if(_0x262fc8<0x0)return {'t':0x0,'normal':_0xad7fe[_0x5e8b94(0x14f)]()[_0x5e8b94(0x155)]()['normalize']()};return {'t':_0x262fc8,'normal':_0xa02944};}}
|
|
126
146
|
|
|
127
|
-
const
|
|
147
|
+
function _0x23f8(_0x6ab07e,_0xda1d55){_0x6ab07e=_0x6ab07e-0x1e7;const _0x257c8f=_0x257c();let _0x23f856=_0x257c8f[_0x6ab07e];return _0x23f856;}const _0x3e5ab7=_0x23f8;(function(_0x1d7e90,_0x5cdca0){const _0x501b28=_0x23f8,_0x56bd0c=_0x1d7e90();while(!![]){try{const _0x3ee98c=-parseInt(_0x501b28(0x1ed))/0x1*(-parseInt(_0x501b28(0x1ec))/0x2)+-parseInt(_0x501b28(0x1e8))/0x3*(parseInt(_0x501b28(0x20b))/0x4)+parseInt(_0x501b28(0x1ea))/0x5+parseInt(_0x501b28(0x208))/0x6+-parseInt(_0x501b28(0x1e7))/0x7*(-parseInt(_0x501b28(0x1ef))/0x8)+parseInt(_0x501b28(0x1eb))/0x9+-parseInt(_0x501b28(0x1f6))/0xa*(parseInt(_0x501b28(0x1fc))/0xb);if(_0x3ee98c===_0x5cdca0)break;else _0x56bd0c['push'](_0x56bd0c['shift']());}catch(_0x5b1115){_0x56bd0c['push'](_0x56bd0c['shift']());}}}(_0x257c,0x41c25));function _0x257c(){const _0xa0497e=['11852sDdrcx','43VKEhkq','getWorldScale','1822584ERblCm','debugColor','_radius','set','opacity','needsUpdate','max','10xydtgq','transparent','radius','debugOpacity','getWorldAABB','name','15647698smlpJl','_debugMesh','add','setHex','getWorldPosition','onDebugTick','material','color','setFromCenterAndSize','onDebugStyleChanged','abs','SphereColliderComponent','3108972USteGe','SphereColliderDebug','scale','611332FvlvyF','14uuJlqz','9AlIGqf','createDebugObject','1949930EcDNCE','4785786mFBDiw'];_0x257c=function(){return _0xa0497e;};return _0x257c();}class SphereColliderComponent extends ColliderComponent{get[_0x3e5ab7(0x1f8)](){const _0xabbd76=_0x3e5ab7;return this[_0xabbd76(0x1f1)];}constructor(_0x471a8e,_0x2dc9bc=0.5,_0x3c90db){const _0x149199=_0x3e5ab7;super(_0x471a8e,_0x3c90db),this[_0x149199(0x1fd)]=null,this['_radius']=_0x2dc9bc,this['name']=_0x149199(0x207);}[_0x3e5ab7(0x1fa)](_0x1251d2=new webgpu.Box3()){const _0x1b4eca=_0x3e5ab7,_0x2a2dae=this[_0x1b4eca(0x200)](),_0x4a9995=this[_0x1b4eca(0x1ee)](),_0x2ec01e=Math[_0x1b4eca(0x1f5)](Math[_0x1b4eca(0x206)](_0x4a9995['x']),Math[_0x1b4eca(0x206)](_0x4a9995['y']),Math[_0x1b4eca(0x206)](_0x4a9995['z'])),_0x512679=Math[_0x1b4eca(0x1f5)](0x0,this[_0x1b4eca(0x1f1)])*_0x2ec01e,_0x2bdf5e=new webgpu.Vector3(_0x512679*0x2,_0x512679*0x2,_0x512679*0x2);return _0x1251d2[_0x1b4eca(0x204)](_0x2a2dae,_0x2bdf5e),_0x1251d2;}[_0x3e5ab7(0x1e9)](){const _0x983c14=_0x3e5ab7,_0x518994=new webgpu.Object3D();_0x518994['name']=_0x983c14(0x209);const _0xc8b8a=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x289276=new webgpu.MeshBasicMaterial({'color':this[_0x983c14(0x1f0)],'wireframe':!![],'transparent':!![],'opacity':this[_0x983c14(0x1f9)]}),_0x28e7b9=new webgpu.Mesh(_0xc8b8a,_0x289276);return _0x28e7b9[_0x983c14(0x1fb)]='SphereColliderDebugMesh',_0x518994[_0x983c14(0x1fe)](_0x28e7b9),this['_debugMesh']=_0x28e7b9,this[_0x983c14(0x201)](0x0),_0x518994;}['destroyDebugObject'](_0x188fa4){const _0x4527ce=_0x3e5ab7;this[_0x4527ce(0x1fd)]=null;}[_0x3e5ab7(0x201)](_0x6657d3){const _0x167487=_0x3e5ab7,_0x3737d4=this[_0x167487(0x1fd)];if(!_0x3737d4)return;const _0x1fd2d2=this[_0x167487(0x1ee)](),_0xc6f35c=Math[_0x167487(0x206)](_0x1fd2d2['x'])>1e-8?_0x1fd2d2['x']:0x1,_0x10366f=Math[_0x167487(0x206)](_0x1fd2d2['y'])>1e-8?_0x1fd2d2['y']:0x1,_0x43fb28=Math['abs'](_0x1fd2d2['z'])>1e-8?_0x1fd2d2['z']:0x1,_0x902972=Math[_0x167487(0x1f5)](Math[_0x167487(0x206)](_0xc6f35c),Math[_0x167487(0x206)](_0x10366f),Math['abs'](_0x43fb28)),_0x540859=Math[_0x167487(0x1f5)](0x0,this[_0x167487(0x1f1)])*_0x902972;_0x3737d4[_0x167487(0x20a)][_0x167487(0x1f2)](_0x540859/_0xc6f35c,_0x540859/_0x10366f,_0x540859/_0x43fb28);}[_0x3e5ab7(0x205)](){const _0xbfb615=_0x3e5ab7,_0x4a1341=this[_0xbfb615(0x1fd)];if(!_0x4a1341)return;const _0x40803c=_0x4a1341[_0xbfb615(0x202)];_0x40803c[_0xbfb615(0x203)][_0xbfb615(0x1ff)](this[_0xbfb615(0x1f0)]),_0x40803c[_0xbfb615(0x1f3)]=this[_0xbfb615(0x1f9)],_0x40803c[_0xbfb615(0x1f7)]=this['debugOpacity']<0x1,_0x40803c[_0xbfb615(0x1f4)]=!![];}}
|
|
128
148
|
|
|
129
|
-
const _0x57bc9e=_0x3921;(function(_0x1cb388,_0x221ac4){const _0x1b830c=_0x3921,_0xe52765=_0x1cb388();while(!![]){try{const _0x41d3a7=-parseInt(_0x1b830c(0x84))/0x1+-parseInt(_0x1b830c(0x80))/0x2*(parseInt(_0x1b830c(0x7d))/0x3)+-parseInt(_0x1b830c(0x83))/0x4+parseInt(_0x1b830c(0x7f))/0x5+parseInt(_0x1b830c(0x81))/0x6*(parseInt(_0x1b830c(0x82))/0x7)+parseInt(_0x1b830c(0x87))/0x8+parseInt(_0x1b830c(0x85))/0x9*(parseInt(_0x1b830c(0x86))/0xa);if(_0x41d3a7===_0x221ac4)break;else _0xe52765['push'](_0xe52765['shift']());}catch(_0x151e50){_0xe52765['push'](_0xe52765['shift']());}}}(_0x213b,0x7b8d7));function _0x213b(){const _0x2d99ea=['5302232TBlJja','671931pFhzYV','Antialiasing','3775105nOuqWK','2RKNaSd','1500XeKwrv','15414WxQIzl','2696460xPImav','882728ZDkmIL','351QatsPb','81690RiwTJU'];_0x213b=function(){return _0x2d99ea;};return _0x213b();}function _0x3921(_0x42ff9f,_0x24e5cb){_0x42ff9f=_0x42ff9f-0x7d;const _0x213b7b=_0x213b();let _0x392130=_0x213b7b[_0x42ff9f];return _0x392130;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x57bc9e(0x7e)],'method':'fxaa'};
|
|
149
|
+
const _0x1d35fc=_0x4383;(function(_0x39cfa8,_0x1e89d5){const _0x492f3e=_0x4383,_0x503e37=_0x39cfa8();while(!![]){try{const _0x1b32b9=parseInt(_0x492f3e(0x14a))/0x1+parseInt(_0x492f3e(0x16a))/0x2+parseInt(_0x492f3e(0x15f))/0x3*(parseInt(_0x492f3e(0x1a1))/0x4)+-parseInt(_0x492f3e(0x194))/0x5*(parseInt(_0x492f3e(0x175))/0x6)+parseInt(_0x492f3e(0x168))/0x7*(-parseInt(_0x492f3e(0x163))/0x8)+-parseInt(_0x492f3e(0x165))/0x9*(parseInt(_0x492f3e(0x17d))/0xa)+parseInt(_0x492f3e(0x16b))/0xb*(parseInt(_0x492f3e(0x198))/0xc);if(_0x1b32b9===_0x1e89d5)break;else _0x503e37['push'](_0x503e37['shift']());}catch(_0x400f84){_0x503e37['push'](_0x503e37['shift']());}}}(_0x1a86,0xd286c));function _0x1a86(){const _0x2ffa26=['obj','_tmpAabb','min','_tmpN','length','getX','_debugEntries','threeObject','count','remove','sub','getDebugAttachParent','normal','_tmpC','isMesh','set','_tmpCorner','MeshColliderComponent','add','777cxGcjX','_tmpBoxCorner','color','setSourceObject','16srQEtr','multiplyScalar','1017xgzJSq','index','getZ','5472355AFmZAh','_tmpA','1759364LUAQBg','99lKpNwg','_tmpMat','destroy','clone','getWorldAABB','_tmpB','dot','raycast','crossVectors','name','327642bMDnof','max','from','distance','intersectRayAabb','makeEmpty','onDebugStyleChanged','_tmpT','89840iRPkCE','attributes','intersectRayTriangle','geometry','push','sourceObject','destroyDebugObject','setHex','position','debugEnabled','addScaledVector','computeBoundingBox','setIndex','transparent','matrixWorld','MeshColliderDebug','setAttribute','_mesh','floor','_tmpEdge2','sqrt','_tmpQ','updateWorldMatrix','15dKULgw','expandByPoint','array','_debugMaterial','1872972YCJyPx','invert','_sourceObject','debugColor','opacity','dispose','applyMatrix4','needsUpdate','getY','9332UhIUmA','traverse','abs','copy','multiply','_tmpP','716201kZAMHk','boundingBox'];_0x1a86=function(){return _0x2ffa26;};return _0x1a86();}function _0x4383(_0x3dca76,_0x1ac651){_0x3dca76=_0x3dca76-0x149;const _0x1a8602=_0x1a86();let _0x43836d=_0x1a8602[_0x3dca76];return _0x43836d;}class MeshColliderComponent extends ColliderComponent{get[_0x1d35fc(0x182)](){const _0x72ad4d=_0x1d35fc;return this[_0x72ad4d(0x19a)];}constructor(_0x33cc04,_0x308b1a=null,_0x2557fd){const _0x45167c=_0x1d35fc;super(_0x33cc04,_0x2557fd),this[_0x45167c(0x19a)]=null,this[_0x45167c(0x18e)]=null,this[_0x45167c(0x152)]=[],this['_debugMaterial']=null,this['_tmpAabb']=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x45167c(0x177)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x45167c(0x169)]=new webgpu.Vector3(),this[_0x45167c(0x170)]=new webgpu.Vector3(),this[_0x45167c(0x159)]=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this[_0x45167c(0x190)]=new webgpu.Vector3(),this[_0x45167c(0x149)]=new webgpu.Vector3(),this[_0x45167c(0x17c)]=new webgpu.Vector3(),this[_0x45167c(0x192)]=new webgpu.Vector3(),this[_0x45167c(0x14f)]=new webgpu.Vector3(),this[_0x45167c(0x174)]=_0x45167c(0x15d),this[_0x45167c(0x162)](_0x308b1a);}['setSourceObject'](_0x39c1d4){const _0x8a8a21=_0x1d35fc,_0x261140=this[_0x8a8a21(0x186)];_0x261140&&(this[_0x8a8a21(0x186)]=![]);this[_0x8a8a21(0x19a)]=_0x39c1d4;this[_0x8a8a21(0x18e)]&&(this[_0x8a8a21(0x18e)]['geometry'][_0x8a8a21(0x19d)](),this['_mesh']=null);if(!_0x39c1d4){_0x261140&&(this['debugEnabled']=!![]);return;}const _0x4cf500=[];_0x39c1d4[_0x8a8a21(0x193)](!![],!![]);const _0x1b87f4=_0x39c1d4[_0x8a8a21(0x18b)]['clone']()[_0x8a8a21(0x199)]();_0x39c1d4[_0x8a8a21(0x1a2)](_0x40ca52=>{const _0x1e7d69=_0x8a8a21;if(_0x40ca52[_0x1e7d69(0x15a)]){const _0x130251=_0x40ca52;if(_0x130251[_0x1e7d69(0x180)]){const _0x4607a1=_0x130251['geometry'][_0x1e7d69(0x16e)](),_0x37a795=_0x1b87f4[_0x1e7d69(0x16e)]()[_0x1e7d69(0x1a5)](_0x130251[_0x1e7d69(0x18b)]);_0x4607a1[_0x1e7d69(0x19e)](_0x37a795),_0x4cf500[_0x1e7d69(0x181)](_0x4607a1);}}});if(_0x4cf500[_0x8a8a21(0x150)]>0x0){const _0x4d2494=this['mergeGeometries'](_0x4cf500);if(_0x4d2494){const _0x93732=new webgpu.Mesh(_0x4d2494);this[_0x8a8a21(0x18e)]=_0x93732;}}_0x261140&&(this[_0x8a8a21(0x186)]=!![]);}['mergeGeometries'](_0x5efbd6){const _0x55824d=_0x1d35fc;if(_0x5efbd6['length']===0x0)return null;if(_0x5efbd6[_0x55824d(0x150)]===0x1)return _0x5efbd6[0x0];let _0x2e1736=0x0,_0x41f524=0x0;for(const _0x1dccd4 of _0x5efbd6){_0x2e1736+=_0x1dccd4[_0x55824d(0x17e)]['position'][_0x55824d(0x154)],_0x1dccd4[_0x55824d(0x166)]?_0x41f524+=_0x1dccd4[_0x55824d(0x166)][_0x55824d(0x154)]:_0x41f524+=_0x1dccd4['attributes'][_0x55824d(0x185)]['count'];}const _0x21ef26=new Float32Array(_0x2e1736*0x3),_0x354551=new Uint32Array(_0x41f524);let _0x215b1c=0x0,_0x3c96ae=0x0;for(const _0x4a54f9 of _0x5efbd6){const _0x5e541f=_0x4a54f9[_0x55824d(0x17e)]['position'][_0x55824d(0x196)],_0xc6f547=_0x4a54f9['attributes']['position'][_0x55824d(0x154)];for(let _0x2a1ba6=0x0;_0x2a1ba6<_0xc6f547*0x3;_0x2a1ba6++){_0x21ef26[_0x215b1c*0x3+_0x2a1ba6]=_0x5e541f[_0x2a1ba6];}if(_0x4a54f9[_0x55824d(0x166)]){const _0xb04f6d=_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x196)];for(let _0x1d1baf=0x0;_0x1d1baf<_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x154)];_0x1d1baf++){_0x354551[_0x3c96ae+_0x1d1baf]=_0xb04f6d[_0x1d1baf]+_0x215b1c;}_0x3c96ae+=_0x4a54f9[_0x55824d(0x166)][_0x55824d(0x154)];}else {for(let _0x1362a8=0x0;_0x1362a8<_0xc6f547;_0x1362a8++){_0x354551[_0x3c96ae+_0x1362a8]=_0x1362a8+_0x215b1c;}_0x3c96ae+=_0xc6f547;}_0x215b1c+=_0xc6f547;}const _0x2525c3=new webgpu.BufferGeometry();return _0x2525c3[_0x55824d(0x18d)](_0x55824d(0x185),new webgpu.BufferAttribute(_0x21ef26,0x3)),_0x2525c3[_0x55824d(0x189)](new webgpu.BufferAttribute(_0x354551,0x1)),_0x2525c3;}[_0x1d35fc(0x16d)](){const _0x1d88d6=_0x1d35fc;this[_0x1d88d6(0x186)]=![],this[_0x1d88d6(0x18e)]&&(this[_0x1d88d6(0x18e)][_0x1d88d6(0x180)][_0x1d88d6(0x19d)](),this[_0x1d88d6(0x18e)]=null),this[_0x1d88d6(0x19a)]=null,super['destroy']();}[_0x1d35fc(0x16f)](_0x3364ce=new webgpu.Box3()){const _0x3be304=_0x1d35fc;_0x3364ce[_0x3be304(0x17a)]();if(!this[_0x3be304(0x19a)])return _0x3364ce;this[_0x3be304(0x19a)][_0x3be304(0x193)](!![],!![]);const _0x30417c=this[_0x3be304(0x160)];if(this[_0x3be304(0x18e)]){const _0x7fe3bd=this[_0x3be304(0x18e)];_0x7fe3bd[_0x3be304(0x18b)][_0x3be304(0x1a4)](this[_0x3be304(0x19a)][_0x3be304(0x18b)]);const _0x44481a=_0x7fe3bd[_0x3be304(0x180)];if(_0x44481a){!_0x44481a[_0x3be304(0x14b)]&&_0x44481a[_0x3be304(0x188)]();const _0x190288=_0x44481a[_0x3be304(0x14b)];if(_0x190288){this[_0x3be304(0x16c)][_0x3be304(0x1a4)](_0x7fe3bd[_0x3be304(0x18b)]);const _0x271f2c=_0x190288[_0x3be304(0x14e)],_0x2d1a7d=_0x190288['max'];_0x30417c[0x0][_0x3be304(0x15b)](_0x271f2c['x'],_0x271f2c['y'],_0x271f2c['z']),_0x30417c[0x1][_0x3be304(0x15b)](_0x271f2c['x'],_0x271f2c['y'],_0x2d1a7d['z']),_0x30417c[0x2]['set'](_0x271f2c['x'],_0x2d1a7d['y'],_0x271f2c['z']),_0x30417c[0x3][_0x3be304(0x15b)](_0x271f2c['x'],_0x2d1a7d['y'],_0x2d1a7d['z']),_0x30417c[0x4]['set'](_0x2d1a7d['x'],_0x271f2c['y'],_0x271f2c['z']),_0x30417c[0x5][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x271f2c['y'],_0x2d1a7d['z']),_0x30417c[0x6][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x2d1a7d['y'],_0x271f2c['z']),_0x30417c[0x7][_0x3be304(0x15b)](_0x2d1a7d['x'],_0x2d1a7d['y'],_0x2d1a7d['z']);for(const _0x3c5db3 of _0x30417c){_0x3c5db3[_0x3be304(0x19e)](this['_tmpMat']),_0x3364ce[_0x3be304(0x195)](_0x3c5db3);}}}}return _0x3364ce;}[_0x1d35fc(0x172)](_0x569a05,_0x9d355a,_0x28a038){const _0xf72af=_0x1d35fc;if(!this[_0xf72af(0x19a)])return null;this['_sourceObject'][_0xf72af(0x193)](!![],!![]);let _0x475498=Infinity;const _0x261884=new webgpu.Vector3(),_0x18ba8d=new webgpu.Vector3();if(this[_0xf72af(0x18e)]){const _0x47b36e=this[_0xf72af(0x18e)];_0x47b36e[_0xf72af(0x18b)][_0xf72af(0x1a4)](this[_0xf72af(0x19a)]['matrixWorld']);const _0x244f2d=_0x47b36e[_0xf72af(0x180)];if(_0x244f2d){!_0x244f2d[_0xf72af(0x14b)]&&_0x244f2d[_0xf72af(0x188)]();const _0x13d724=_0x244f2d[_0xf72af(0x14b)];if(_0x13d724){const _0x335729=this[_0xf72af(0x14d)][_0xf72af(0x1a4)](_0x13d724)[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]);if(this[_0xf72af(0x179)](_0x569a05,_0x9d355a,Math['min'](_0x28a038,_0x475498),_0x335729)){const _0x2d0d40=_0x244f2d['getAttribute'](_0xf72af(0x185));if(_0x2d0d40){const _0x23de59=_0x244f2d['getIndex'](),_0xeb25fd=_0x23de59?Math[_0xf72af(0x18f)](_0x23de59[_0xf72af(0x154)]/0x3):Math[_0xf72af(0x18f)](_0x2d0d40[_0xf72af(0x154)]/0x3);for(let _0x51ec49=0x0;_0x51ec49<_0xeb25fd;_0x51ec49++){const _0x161127=_0x23de59?_0x23de59['getX'](_0x51ec49*0x3+0x0):_0x51ec49*0x3+0x0,_0x305d29=_0x23de59?_0x23de59[_0xf72af(0x151)](_0x51ec49*0x3+0x1):_0x51ec49*0x3+0x1,_0x1b7b46=_0x23de59?_0x23de59[_0xf72af(0x151)](_0x51ec49*0x3+0x2):_0x51ec49*0x3+0x2;this[_0xf72af(0x169)]['set'](_0x2d0d40[_0xf72af(0x151)](_0x161127),_0x2d0d40[_0xf72af(0x1a0)](_0x161127),_0x2d0d40['getZ'](_0x161127))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]),this[_0xf72af(0x170)][_0xf72af(0x15b)](_0x2d0d40[_0xf72af(0x151)](_0x305d29),_0x2d0d40[_0xf72af(0x1a0)](_0x305d29),_0x2d0d40[_0xf72af(0x167)](_0x305d29))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]),this['_tmpC'][_0xf72af(0x15b)](_0x2d0d40[_0xf72af(0x151)](_0x1b7b46),_0x2d0d40['getY'](_0x1b7b46),_0x2d0d40['getZ'](_0x1b7b46))[_0xf72af(0x19e)](_0x47b36e[_0xf72af(0x18b)]);const _0x2d8918=this[_0xf72af(0x17f)](_0x569a05,_0x9d355a,this[_0xf72af(0x169)],this['_tmpB'],this[_0xf72af(0x159)],Math[_0xf72af(0x14e)](_0x28a038,_0x475498));if(!_0x2d8918)continue;_0x2d8918[_0xf72af(0x178)]<_0x475498&&(_0x475498=_0x2d8918[_0xf72af(0x178)],_0x261884[_0xf72af(0x1a4)](_0x2d8918['point']),_0x18ba8d['copy'](_0x2d8918[_0xf72af(0x158)]));}}}}}}if(!Number['isFinite'](_0x475498))return null;return {'point':_0x261884,'normal':_0x18ba8d,'distance':_0x475498};}[_0x1d35fc(0x179)](_0x4608be,_0x932ff6,_0x2d6fb5,_0xdeb86b){const _0x507626=_0x1d35fc;let _0x56c183=0x0,_0x1c46dc=_0x2d6fb5;const _0x406ce=1e-8,_0x5a48cf=_0x3b9194=>{const _0x21ddcc=_0x4383,_0x46b099=_0x4608be[_0x3b9194],_0x3aed23=_0x932ff6[_0x3b9194],_0x1d0c1f=_0xdeb86b[_0x21ddcc(0x14e)][_0x3b9194],_0xf7a03c=_0xdeb86b[_0x21ddcc(0x176)][_0x3b9194];if(Math[_0x21ddcc(0x1a3)](_0x3aed23)<_0x406ce)return _0x46b099>=_0x1d0c1f&&_0x46b099<=_0xf7a03c;const _0xc60739=0x1/_0x3aed23;let _0x569b47,_0x6032a5;return _0x3aed23>=0x0?(_0x569b47=(_0x1d0c1f-_0x46b099)*_0xc60739,_0x6032a5=(_0xf7a03c-_0x46b099)*_0xc60739):(_0x569b47=(_0xf7a03c-_0x46b099)*_0xc60739,_0x6032a5=(_0x1d0c1f-_0x46b099)*_0xc60739),_0x569b47>_0x56c183&&(_0x56c183=_0x569b47),_0x6032a5<_0x1c46dc&&(_0x1c46dc=_0x6032a5),_0x56c183<=_0x1c46dc;};if(!_0x5a48cf('x')||!_0x5a48cf('y')||!_0x5a48cf('z'))return ![];const _0x3552d2=Math[_0x507626(0x176)](0x0,_0x56c183);return _0x3552d2<=_0x2d6fb5;}[_0x1d35fc(0x17f)](_0x138fb9,_0x57dece,_0x4131c3,_0x339fad,_0x1904ac,_0x28867c){const _0x540e5a=_0x1d35fc,_0x40669d=1e-8,_0x409ea8=this['_tmpEdge1']['copy'](_0x339fad)['sub'](_0x4131c3),_0x2e9ae6=this[_0x540e5a(0x190)]['copy'](_0x1904ac)[_0x540e5a(0x156)](_0x4131c3),_0x382174=this[_0x540e5a(0x149)][_0x540e5a(0x173)](_0x57dece,_0x2e9ae6),_0x20e0f3=_0x409ea8[_0x540e5a(0x171)](_0x382174);if(Math['abs'](_0x20e0f3)<_0x40669d)return null;const _0x272694=0x1/_0x20e0f3,_0xc5f28d=this[_0x540e5a(0x17c)]['copy'](_0x138fb9)['sub'](_0x4131c3),_0x3a727a=_0xc5f28d['dot'](_0x382174)*_0x272694;if(_0x3a727a<0x0||_0x3a727a>0x1)return null;const _0x2ca638=this['_tmpQ'][_0x540e5a(0x173)](_0xc5f28d,_0x409ea8),_0x45489e=_0x57dece[_0x540e5a(0x171)](_0x2ca638)*_0x272694;if(_0x45489e<0x0||_0x3a727a+_0x45489e>0x1)return null;const _0x76db83=_0x2e9ae6[_0x540e5a(0x171)](_0x2ca638)*_0x272694;if(_0x76db83<0x0||_0x76db83>_0x28867c)return null;const _0x1d9785=this['_tmpN'][_0x540e5a(0x173)](_0x409ea8,_0x2e9ae6),_0x56c36d=_0x1d9785['lengthSq']();_0x56c36d>_0x40669d&&_0x1d9785['multiplyScalar'](0x1/Math[_0x540e5a(0x191)](_0x56c36d));_0x1d9785[_0x540e5a(0x171)](_0x57dece)>0x0&&_0x1d9785[_0x540e5a(0x164)](-1);const _0x48180f=this[_0x540e5a(0x15c)][_0x540e5a(0x1a4)](_0x138fb9)[_0x540e5a(0x187)](_0x57dece,_0x76db83);return {'point':_0x48180f,'normal':_0x1d9785,'distance':_0x76db83};}[_0x1d35fc(0x157)](){const _0x273c7b=_0x1d35fc;return this[_0x273c7b(0x153)];}['createDebugObject'](){const _0xabbff=_0x1d35fc;if(!this[_0xabbff(0x19a)])return null;const _0x30a4f3=new webgpu.Object3D();_0x30a4f3[_0xabbff(0x174)]=_0xabbff(0x18c),this[_0xabbff(0x152)]=[],this[_0xabbff(0x197)]=new webgpu.MeshBasicMaterial({'color':this[_0xabbff(0x19b)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this['_mesh']){const _0x567fe4=this['_mesh'],_0x4c18a8=_0x567fe4['geometry'];if(_0x4c18a8){const _0x4b8a65=new webgpu.Mesh(_0x4c18a8,this[_0xabbff(0x197)]);_0x30a4f3[_0xabbff(0x15e)](_0x4b8a65),this[_0xabbff(0x152)]['push']({'parent':_0x30a4f3,'obj':_0x4b8a65});}}return _0x30a4f3;}[_0x1d35fc(0x183)](_0x4868a7){const _0x2887f9=_0x1d35fc;for(const _0x1b4832 of this['_debugEntries']){_0x1b4832['parent'][_0x2887f9(0x155)](_0x1b4832[_0x2887f9(0x14c)]);}this[_0x2887f9(0x152)]=[],this[_0x2887f9(0x197)]=null;}[_0x1d35fc(0x17b)](){const _0x11c0e0=_0x1d35fc;if(!this['_debugMaterial'])return;this[_0x11c0e0(0x197)][_0x11c0e0(0x161)][_0x11c0e0(0x184)](this[_0x11c0e0(0x19b)]),this[_0x11c0e0(0x197)][_0x11c0e0(0x19c)]=this['debugOpacity'],this[_0x11c0e0(0x197)][_0x11c0e0(0x18a)]=this['debugOpacity']<0x1,this[_0x11c0e0(0x197)][_0x11c0e0(0x19f)]=!![];}}
|
|
130
150
|
|
|
131
|
-
|
|
151
|
+
(function(_0x36fb01,_0x4f4e1f){var _0x1ca3fc=_0x1678,_0x189656=_0x36fb01();while(!![]){try{var _0x579699=parseInt(_0x1ca3fc(0x1ce))/0x1*(parseInt(_0x1ca3fc(0x1d6))/0x2)+-parseInt(_0x1ca3fc(0x1cf))/0x3*(parseInt(_0x1ca3fc(0x1d1))/0x4)+-parseInt(_0x1ca3fc(0x1d2))/0x5*(-parseInt(_0x1ca3fc(0x1d5))/0x6)+parseInt(_0x1ca3fc(0x1cb))/0x7*(parseInt(_0x1ca3fc(0x1cd))/0x8)+parseInt(_0x1ca3fc(0x1d0))/0x9+parseInt(_0x1ca3fc(0x1d3))/0xa+parseInt(_0x1ca3fc(0x1cc))/0xb*(-parseInt(_0x1ca3fc(0x1d4))/0xc);if(_0x579699===_0x4f4e1f)break;else _0x189656['push'](_0x189656['shift']());}catch(_0x4e7e0d){_0x189656['push'](_0x189656['shift']());}}}(_0x5870,0x28140));function _0x5870(){var _0x650b94=['4520CBsmrp','96221RWiMbM','30tAibJo','2895327NWnEaU','228UXOhCH','755qAAZqN','1092240PrZymm','42492zlzRBD','8184XukNlI','2SkTULE','1820rmZieN','2222opSWsx'];_0x5870=function(){return _0x650b94;};return _0x5870();}function _0x1678(_0x2255ea,_0x246bba){_0x2255ea=_0x2255ea-0x1cb;var _0x5870f3=_0x5870();var _0x167828=_0x5870f3[_0x2255ea];return _0x167828;}
|
|
132
152
|
|
|
133
|
-
(function(
|
|
153
|
+
(function(_0x59cb95,_0x1731da){var _0x290ac8=_0xf6dc,_0x2534f7=_0x59cb95();while(!![]){try{var _0x38460b=parseInt(_0x290ac8(0x187))/0x1+-parseInt(_0x290ac8(0x18a))/0x2+-parseInt(_0x290ac8(0x18b))/0x3+parseInt(_0x290ac8(0x18c))/0x4+parseInt(_0x290ac8(0x189))/0x5+-parseInt(_0x290ac8(0x18d))/0x6*(parseInt(_0x290ac8(0x188))/0x7)+parseInt(_0x290ac8(0x186))/0x8*(parseInt(_0x290ac8(0x18e))/0x9);if(_0x38460b===_0x1731da)break;else _0x2534f7['push'](_0x2534f7['shift']());}catch(_0x4f38ef){_0x2534f7['push'](_0x2534f7['shift']());}}}(_0x39a1,0x94d06));function _0xf6dc(_0x5b1826,_0x1f2d54){_0x5b1826=_0x5b1826-0x186;var _0x39a1f7=_0x39a1();var _0xf6dca5=_0x39a1f7[_0x5b1826];return _0xf6dca5;}function _0x39a1(){var _0x41ad95=['2051895xlBOIc','3966644OaqwEh','234768fuUoxZ','83304XTLmCC','184XuMlAQ','514886sABygX','91oUUxaU','3088295nCNWND','1069846HCMMUE'];_0x39a1=function(){return _0x41ad95;};return _0x39a1();}
|
|
134
154
|
|
|
135
155
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
136
156
|
exports.Actor = Actor;
|
|
@@ -138,7 +158,11 @@ exports.AmbientLightActor = AmbientLightActor;
|
|
|
138
158
|
exports.AmbientLightComponent = AmbientLightComponent;
|
|
139
159
|
exports.AssetManager = AssetManager;
|
|
140
160
|
exports.BoxActor = BoxActor;
|
|
161
|
+
exports.BoxColliderComponent = BoxColliderComponent;
|
|
141
162
|
exports.BoxComponent = BoxComponent;
|
|
163
|
+
exports.CSS3DWebPanelComponent = CSS3DWebPanelComponent;
|
|
164
|
+
exports.CapsuleColliderComponent = CapsuleColliderComponent;
|
|
165
|
+
exports.ColliderComponent = ColliderComponent;
|
|
142
166
|
exports.Controller = Controller;
|
|
143
167
|
exports.CustomMeshComponent = CustomMeshComponent;
|
|
144
168
|
exports.DefaultAAParams = DefaultAAParams;
|
|
@@ -168,17 +192,23 @@ exports.LabelComponent = LabelComponent;
|
|
|
168
192
|
exports.LevelActor = LevelActor;
|
|
169
193
|
exports.LevelComponent = LevelComponent;
|
|
170
194
|
exports.MaterialAssetPointer = MaterialAssetPointer;
|
|
195
|
+
exports.MeshColliderComponent = MeshColliderComponent;
|
|
171
196
|
exports.MeshComponent = MeshComponent;
|
|
172
197
|
exports.Orbital = Orbital;
|
|
198
|
+
exports.Pawn = Pawn;
|
|
199
|
+
exports.PhysicsWorld = PhysicsWorld;
|
|
173
200
|
exports.PlaneActor = PlaneActor;
|
|
174
201
|
exports.PlaneComponent = PlaneComponent;
|
|
175
202
|
exports.PostProcessManager = PostProcessManager;
|
|
176
203
|
exports.SceneComponent = SceneComponent;
|
|
177
204
|
exports.SkyActor = SkyActor;
|
|
178
205
|
exports.SkyComponent = SkyComponent;
|
|
206
|
+
exports.Spectator = Spectator;
|
|
207
|
+
exports.SphereColliderComponent = SphereColliderComponent;
|
|
179
208
|
exports.SphereComponent = SphereComponent;
|
|
180
209
|
exports.TAssetPointer = TAssetPointer;
|
|
181
210
|
exports.TSmartPointer = TSmartPointer;
|
|
211
|
+
exports.Text3DComponent = Text3DComponent;
|
|
182
212
|
exports.TextureAssetPointer = TextureAssetPointer;
|
|
183
213
|
exports.ThreeJsApp = ThreeJsApp;
|
|
184
214
|
exports.ThreeObjectLibrary = ThreeObjectLibrary;
|