@splinetool/runtime 2.0.31 → 2.0.33
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/build/hana-ui.js +44 -34
- package/build/hana-ui.js.br +0 -0
- package/build/hana-ui.js.gz +0 -0
- package/build/hana-ui.wasm +0 -0
- package/build/hana-ui.wasm.br +0 -0
- package/build/hana-ui.wasm.gz +0 -0
- package/build/{runtime-aiAssistant-CYJ626R5.js → runtime-aiAssistant-O2CXSPWK.js} +1 -1
- package/build/runtime-aiAssistant-O2CXSPWK.js.br +0 -0
- package/build/runtime-aiAssistant-O2CXSPWK.js.gz +0 -0
- package/build/{runtime-apiServices-QWPNWK6X.js → runtime-apiServices-332YME3N.js} +1 -1
- package/build/runtime-apiServices-332YME3N.js.br +0 -0
- package/build/runtime-apiServices-332YME3N.js.gz +0 -0
- package/build/{runtime-audio-CZNFK3LE.js → runtime-audio-W35MH46I.js} +1 -1
- package/build/runtime-audio-W35MH46I.js.br +0 -0
- package/build/runtime-audio-W35MH46I.js.gz +0 -0
- package/build/{runtime-chunk-3JKX2EOM.js → runtime-chunk-45XEVQ3G.js} +1 -1
- package/build/runtime-chunk-45XEVQ3G.js.br +0 -0
- package/build/runtime-chunk-45XEVQ3G.js.gz +0 -0
- package/build/{runtime-chunk-KKPKCVQ5.js → runtime-chunk-4PWCQGEO.js} +1 -1
- package/build/runtime-chunk-4PWCQGEO.js.br +0 -0
- package/build/runtime-chunk-4PWCQGEO.js.gz +0 -0
- package/build/runtime-chunk-5FPQ5FYG.js +1 -0
- package/build/runtime-chunk-5FPQ5FYG.js.br +0 -0
- package/build/runtime-chunk-5FPQ5FYG.js.gz +0 -0
- package/build/{runtime-chunk-5GMVJ265.js → runtime-chunk-67LSERUX.js} +1 -1
- package/build/{runtime-chunk-5GMVJ265.js.br → runtime-chunk-67LSERUX.js.br} +0 -0
- package/build/runtime-chunk-67LSERUX.js.gz +0 -0
- package/build/runtime-chunk-76ASHNH5.js +1 -0
- package/build/runtime-chunk-76ASHNH5.js.br +0 -0
- package/build/runtime-chunk-76ASHNH5.js.gz +0 -0
- package/build/{runtime-chunk-TGE5PZ3T.js → runtime-chunk-7KG76FNY.js} +1 -1
- package/build/runtime-chunk-7KG76FNY.js.br +0 -0
- package/build/runtime-chunk-7KG76FNY.js.gz +0 -0
- package/build/{runtime-chunk-DCZ6G5ZD.js → runtime-chunk-AN7KRN56.js} +1 -1
- package/build/runtime-chunk-AN7KRN56.js.br +0 -0
- package/build/runtime-chunk-AN7KRN56.js.gz +0 -0
- package/build/{runtime-chunk-J7HO7GPT.js → runtime-chunk-B5IERHDJ.js} +1 -1
- package/build/runtime-chunk-B5IERHDJ.js.br +0 -0
- package/build/runtime-chunk-B5IERHDJ.js.gz +0 -0
- package/build/{runtime-chunk-BIWIAWFP.js → runtime-chunk-DETJAPEW.js} +1 -1
- package/build/runtime-chunk-DETJAPEW.js.br +0 -0
- package/build/runtime-chunk-DETJAPEW.js.gz +0 -0
- package/build/{runtime-chunk-FR2TTCTG.js → runtime-chunk-E6DD5XGN.js} +1 -1
- package/build/runtime-chunk-E6DD5XGN.js.br +0 -0
- package/build/runtime-chunk-E6DD5XGN.js.gz +0 -0
- package/build/{runtime-chunk-Q76LQIFB.js → runtime-chunk-FYZZPPDQ.js} +1 -1
- package/build/runtime-chunk-FYZZPPDQ.js.br +0 -0
- package/build/runtime-chunk-FYZZPPDQ.js.gz +0 -0
- package/build/{runtime-chunk-SN33PRER.js → runtime-chunk-GD6DXFXU.js} +1 -1
- package/build/runtime-chunk-GD6DXFXU.js.br +0 -0
- package/build/runtime-chunk-GD6DXFXU.js.gz +0 -0
- package/build/{runtime-chunk-7KLCJQ5I.js → runtime-chunk-GMD2NH74.js} +1 -1
- package/build/runtime-chunk-GMD2NH74.js.br +0 -0
- package/build/runtime-chunk-GMD2NH74.js.gz +0 -0
- package/build/{runtime-chunk-3V2AM6QU.js → runtime-chunk-H5PVAACQ.js} +1 -1
- package/build/runtime-chunk-H5PVAACQ.js.br +0 -0
- package/build/runtime-chunk-H5PVAACQ.js.gz +0 -0
- package/build/{runtime-chunk-DHZVCYH4.js → runtime-chunk-K3MJM76A.js} +1 -1
- package/build/runtime-chunk-K3MJM76A.js.br +0 -0
- package/build/runtime-chunk-K3MJM76A.js.gz +0 -0
- package/build/{runtime-chunk-OIGLTIRH.js → runtime-chunk-LDOZDZC7.js} +1 -1
- package/build/runtime-chunk-LDOZDZC7.js.br +0 -0
- package/build/runtime-chunk-LDOZDZC7.js.gz +0 -0
- package/build/{runtime-chunk-PS6GXDSS.js → runtime-chunk-NCJON2ZQ.js} +1 -1
- package/build/runtime-chunk-NCJON2ZQ.js.br +0 -0
- package/build/runtime-chunk-NCJON2ZQ.js.gz +0 -0
- package/build/{runtime-chunk-DLRDNEQC.js → runtime-chunk-PBQNNEHM.js} +1 -1
- package/build/runtime-chunk-PBQNNEHM.js.br +0 -0
- package/build/runtime-chunk-PBQNNEHM.js.gz +0 -0
- package/build/{runtime-chunk-TOMFQJJI.js → runtime-chunk-PWCPVKZV.js} +1 -1
- package/build/runtime-chunk-PWCPVKZV.js.br +0 -0
- package/build/runtime-chunk-PWCPVKZV.js.gz +0 -0
- package/build/{runtime-chunk-D2P6DMLH.js → runtime-chunk-Q2NJ34WP.js} +1 -1
- package/build/runtime-chunk-Q2NJ34WP.js.br +0 -0
- package/build/runtime-chunk-Q2NJ34WP.js.gz +0 -0
- package/build/{runtime-chunk-V25PONPW.js → runtime-chunk-RYZ5Y2UD.js} +1 -1
- package/build/runtime-chunk-RYZ5Y2UD.js.br +0 -0
- package/build/runtime-chunk-RYZ5Y2UD.js.gz +0 -0
- package/build/runtime-chunk-SB5SNGGM.js +1 -0
- package/build/runtime-chunk-SB5SNGGM.js.br +0 -0
- package/build/runtime-chunk-SB5SNGGM.js.gz +0 -0
- package/build/{runtime-chunk-HMU6EGSH.js → runtime-chunk-T5W7UUKQ.js} +1 -1
- package/build/runtime-chunk-T5W7UUKQ.js.br +0 -0
- package/build/runtime-chunk-T5W7UUKQ.js.gz +0 -0
- package/build/{runtime-chunk-MOM2QMSV.js → runtime-chunk-TT2F77QZ.js} +1 -1
- package/build/runtime-chunk-TT2F77QZ.js.br +0 -0
- package/build/runtime-chunk-TT2F77QZ.js.gz +0 -0
- package/build/runtime-chunk-VDZLCK3P.js +1 -0
- package/build/runtime-chunk-VDZLCK3P.js.br +0 -0
- package/build/runtime-chunk-VDZLCK3P.js.gz +0 -0
- package/build/{runtime-chunk-ERO2V667.js → runtime-chunk-VKFSHS4O.js} +1 -1
- package/build/runtime-chunk-VKFSHS4O.js.br +0 -0
- package/build/runtime-chunk-VKFSHS4O.js.gz +0 -0
- package/build/{runtime-chunk-INDD2IUU.js → runtime-chunk-WTHIEJBK.js} +1 -1
- package/build/runtime-chunk-WTHIEJBK.js.br +0 -0
- package/build/runtime-chunk-WTHIEJBK.js.gz +0 -0
- package/build/{runtime-chunk-TDRWIO4R.js → runtime-chunk-XKVJRGT3.js} +1 -1
- package/build/runtime-chunk-XKVJRGT3.js.br +0 -0
- package/build/runtime-chunk-XKVJRGT3.js.gz +0 -0
- package/build/runtime-chunk-Y5OIIRGT.js +1 -0
- package/build/runtime-chunk-Y5OIIRGT.js.br +0 -0
- package/build/runtime-chunk-Y5OIIRGT.js.gz +0 -0
- package/build/runtime-chunk-ZE3Y3273.js +1 -0
- package/build/runtime-chunk-ZE3Y3273.js.br +0 -0
- package/build/runtime-chunk-ZE3Y3273.js.gz +0 -0
- package/build/{runtime-classicRuntime-5ZYB6A6C.js → runtime-classicRuntime-G2NHV252.js} +1 -1
- package/build/runtime-classicRuntime-G2NHV252.js.br +0 -0
- package/build/runtime-classicRuntime-G2NHV252.js.gz +0 -0
- package/build/runtime-cloners-DXUA5B7Z.js +1 -0
- package/build/runtime-cloners-DXUA5B7Z.js.br +1 -0
- package/build/runtime-cloners-DXUA5B7Z.js.gz +0 -0
- package/build/{runtime-components-P5NOGHPV.js → runtime-components-RN6FVN37.js} +1 -1
- package/build/runtime-components-RN6FVN37.js.br +0 -0
- package/build/runtime-components-RN6FVN37.js.gz +0 -0
- package/build/{runtime-conditional-PP2DVNTQ.js → runtime-conditional-RPHIH6FU.js} +1 -1
- package/build/runtime-conditional-RPHIH6FU.js.br +0 -0
- package/build/runtime-conditional-RPHIH6FU.js.gz +0 -0
- package/build/{runtime-createDestroy-PBQ25AU3.js → runtime-createDestroy-DF5QEIQ3.js} +1 -1
- package/build/runtime-createDestroy-DF5QEIQ3.js.br +0 -0
- package/build/runtime-createDestroy-DF5QEIQ3.js.gz +0 -0
- package/build/{runtime-dragDrop-LLBFO2Z3.js → runtime-dragDrop-BIHQ5KZR.js} +1 -1
- package/build/runtime-dragDrop-BIHQ5KZR.js.br +0 -0
- package/build/runtime-dragDrop-BIHQ5KZR.js.gz +0 -0
- package/build/{runtime-fxBloom-6IFM7HAH.js → runtime-fxBloom-76KMQOQQ.js} +1 -1
- package/build/runtime-fxBloom-76KMQOQQ.js.br +0 -0
- package/build/runtime-fxBloom-76KMQOQQ.js.gz +0 -0
- package/build/{runtime-fxDepthOfField-7GNESKXY.js → runtime-fxDepthOfField-72TWLFER.js} +1 -1
- package/build/runtime-fxDepthOfField-72TWLFER.js.br +0 -0
- package/build/runtime-fxDepthOfField-72TWLFER.js.gz +0 -0
- package/build/{runtime-gameControls-AJLKUT72.js → runtime-gameControls-66ZOCHBQ.js} +1 -1
- package/build/runtime-gameControls-66ZOCHBQ.js.br +0 -0
- package/build/runtime-gameControls-66ZOCHBQ.js.gz +0 -0
- package/build/runtime-hair-MA6FN35D.js +1 -0
- package/build/runtime-hair-MA6FN35D.js.br +0 -0
- package/build/runtime-hair-MA6FN35D.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-PS3WDC7F.js → runtime-mergeStaticGeometries-HHUXK4BW.js} +1 -1
- package/build/runtime-mergeStaticGeometries-HHUXK4BW.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-HHUXK4BW.js.gz +0 -0
- package/build/{runtime-miscActions-ZA42POZ5.js → runtime-miscActions-24ZVLPRO.js} +1 -1
- package/build/runtime-miscActions-24ZVLPRO.js.br +0 -0
- package/build/runtime-miscActions-24ZVLPRO.js.gz +0 -0
- package/build/{runtime-mouseHover-H3YYT2RA.js → runtime-mouseHover-3G4E5GAF.js} +1 -1
- package/build/runtime-mouseHover-3G4E5GAF.js.br +0 -0
- package/build/runtime-mouseHover-3G4E5GAF.js.gz +0 -0
- package/build/{runtime-particles-7XJ2SXF2.js → runtime-particles-PN3EYBDA.js} +1 -1
- package/build/runtime-particles-PN3EYBDA.js.br +0 -0
- package/build/runtime-particles-PN3EYBDA.js.gz +0 -0
- package/build/{runtime-paths-ME2M4R7X.js → runtime-paths-GSK2JZMU.js} +1 -1
- package/build/runtime-paths-GSK2JZMU.js.br +0 -0
- package/build/runtime-paths-GSK2JZMU.js.gz +0 -0
- package/build/{runtime-resize-BOSMJSAG.js → runtime-resize-UW73Z5IN.js} +1 -1
- package/build/runtime-resize-UW73Z5IN.js.br +0 -0
- package/build/runtime-resize-UW73Z5IN.js.gz +0 -0
- package/build/{runtime-sceneTransition-3UDCZSVK.js → runtime-sceneTransition-LPS7ZHS4.js} +1 -1
- package/build/runtime-sceneTransition-LPS7ZHS4.js.br +0 -0
- package/build/runtime-sceneTransition-LPS7ZHS4.js.gz +0 -0
- package/build/{runtime-scroll-GHZEG4L4.js → runtime-scroll-2RACPF3L.js} +1 -1
- package/build/runtime-scroll-2RACPF3L.js.br +0 -0
- package/build/runtime-scroll-2RACPF3L.js.gz +0 -0
- package/build/runtime-shapeBlends-W3UDTX47.js +1 -0
- package/build/runtime-shapeBlends-W3UDTX47.js.br +0 -0
- package/build/runtime-shapeBlends-W3UDTX47.js.gz +0 -0
- package/build/{runtime-text-ZMRMHZQC.js → runtime-text-CGWVXLNC.js} +1 -1
- package/build/runtime-text-CGWVXLNC.js.br +0 -0
- package/build/runtime-text-CGWVXLNC.js.gz +0 -0
- package/build/{runtime-textInputs-DHCVWHXQ.js → runtime-textInputs-C5RWG2TR.js} +1 -1
- package/build/runtime-textInputs-C5RWG2TR.js.br +0 -0
- package/build/runtime-textInputs-C5RWG2TR.js.gz +0 -0
- package/build/{runtime-timeline-HDBREC6O.js → runtime-timeline-3NEYLJHX.js} +1 -1
- package/build/runtime-timeline-3NEYLJHX.js.br +0 -0
- package/build/runtime-timeline-3NEYLJHX.js.gz +0 -0
- package/build/{runtime-tracking-YA6A2GWY.js → runtime-tracking-4J3G5NE6.js} +1 -1
- package/build/runtime-tracking-4J3G5NE6.js.br +0 -0
- package/build/runtime-tracking-4J3G5NE6.js.gz +0 -0
- package/build/{runtime-transitions-EQYPCNDH.js → runtime-transitions-6WCGNZX7.js} +1 -1
- package/build/runtime-transitions-6WCGNZX7.js.br +0 -0
- package/build/runtime-transitions-6WCGNZX7.js.gz +0 -0
- package/build/{runtime-ui2d-2GWNKF5Y.js → runtime-ui2d-Q7BEDZKY.js} +1 -1
- package/build/runtime-ui2d-Q7BEDZKY.js.br +0 -0
- package/build/runtime-ui2d-Q7BEDZKY.js.gz +0 -0
- package/build/{runtime-updater-2CFDVEWY.js → runtime-updater-7DBCK2D5.js} +1 -1
- package/build/runtime-updater-7DBCK2D5.js.br +1 -0
- package/build/runtime-updater-7DBCK2D5.js.gz +0 -0
- package/build/{runtime-variables-S7QUT7HH.js → runtime-variables-WUE23WSE.js} +1 -1
- package/build/runtime-variables-WUE23WSE.js.br +0 -0
- package/build/runtime-variables-WUE23WSE.js.gz +0 -0
- package/build/{runtime-vectorShapes-XOE7MSEE.js → runtime-vectorShapes-6XWTTMQC.js} +1 -1
- package/build/runtime-vectorShapes-6XWTTMQC.js.br +0 -0
- package/build/runtime-vectorShapes-6XWTTMQC.js.gz +0 -0
- package/build/{runtime-video-SBFWLQQT.js → runtime-video-3WYFSQFW.js} +1 -1
- package/build/runtime-video-3WYFSQFW.js.br +0 -0
- package/build/runtime-video-3WYFSQFW.js.gz +0 -0
- package/build/runtime-webgpu-TEJIPT3H.js +1 -0
- package/build/runtime-webgpu-TEJIPT3H.js.br +0 -0
- package/build/runtime-webgpu-TEJIPT3H.js.gz +0 -0
- package/build/runtime.cjs +398 -398
- package/build/runtime.js +1 -1
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -1
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -1
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -1
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -1
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -1
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/package.json +1 -1
- package/build/runtime-aiAssistant-CYJ626R5.js.br +0 -0
- package/build/runtime-aiAssistant-CYJ626R5.js.gz +0 -0
- package/build/runtime-apiServices-QWPNWK6X.js.br +0 -0
- package/build/runtime-apiServices-QWPNWK6X.js.gz +0 -0
- package/build/runtime-audio-CZNFK3LE.js.br +0 -0
- package/build/runtime-audio-CZNFK3LE.js.gz +0 -0
- package/build/runtime-chunk-2GJZ6HVO.js +0 -1
- package/build/runtime-chunk-2GJZ6HVO.js.br +0 -0
- package/build/runtime-chunk-2GJZ6HVO.js.gz +0 -0
- package/build/runtime-chunk-3JKX2EOM.js.br +0 -0
- package/build/runtime-chunk-3JKX2EOM.js.gz +0 -0
- package/build/runtime-chunk-3V2AM6QU.js.br +0 -0
- package/build/runtime-chunk-3V2AM6QU.js.gz +0 -0
- package/build/runtime-chunk-5GMVJ265.js.gz +0 -0
- package/build/runtime-chunk-7KLCJQ5I.js.br +0 -0
- package/build/runtime-chunk-7KLCJQ5I.js.gz +0 -0
- package/build/runtime-chunk-AIWIOLR6.js +0 -1
- package/build/runtime-chunk-AIWIOLR6.js.br +0 -0
- package/build/runtime-chunk-AIWIOLR6.js.gz +0 -0
- package/build/runtime-chunk-ASOMKSTV.js +0 -1
- package/build/runtime-chunk-ASOMKSTV.js.br +0 -0
- package/build/runtime-chunk-ASOMKSTV.js.gz +0 -0
- package/build/runtime-chunk-BIWIAWFP.js.br +0 -0
- package/build/runtime-chunk-BIWIAWFP.js.gz +0 -0
- package/build/runtime-chunk-D2P6DMLH.js.br +0 -0
- package/build/runtime-chunk-D2P6DMLH.js.gz +0 -0
- package/build/runtime-chunk-DCZ6G5ZD.js.br +0 -0
- package/build/runtime-chunk-DCZ6G5ZD.js.gz +0 -0
- package/build/runtime-chunk-DHZVCYH4.js.br +0 -0
- package/build/runtime-chunk-DHZVCYH4.js.gz +0 -0
- package/build/runtime-chunk-DLRDNEQC.js.br +0 -0
- package/build/runtime-chunk-DLRDNEQC.js.gz +0 -0
- package/build/runtime-chunk-ERO2V667.js.br +0 -0
- package/build/runtime-chunk-ERO2V667.js.gz +0 -0
- package/build/runtime-chunk-FR2TTCTG.js.br +0 -0
- package/build/runtime-chunk-FR2TTCTG.js.gz +0 -0
- package/build/runtime-chunk-HMU6EGSH.js.br +0 -0
- package/build/runtime-chunk-HMU6EGSH.js.gz +0 -0
- package/build/runtime-chunk-INDD2IUU.js.br +0 -0
- package/build/runtime-chunk-INDD2IUU.js.gz +0 -0
- package/build/runtime-chunk-J7HO7GPT.js.br +0 -0
- package/build/runtime-chunk-J7HO7GPT.js.gz +0 -0
- package/build/runtime-chunk-KKPKCVQ5.js.br +0 -0
- package/build/runtime-chunk-KKPKCVQ5.js.gz +0 -0
- package/build/runtime-chunk-MOM2QMSV.js.br +0 -0
- package/build/runtime-chunk-MOM2QMSV.js.gz +0 -0
- package/build/runtime-chunk-OC2KKQYZ.js +0 -1
- package/build/runtime-chunk-OC2KKQYZ.js.br +0 -0
- package/build/runtime-chunk-OC2KKQYZ.js.gz +0 -0
- package/build/runtime-chunk-OIGLTIRH.js.br +0 -0
- package/build/runtime-chunk-OIGLTIRH.js.gz +0 -0
- package/build/runtime-chunk-PS6GXDSS.js.br +0 -0
- package/build/runtime-chunk-PS6GXDSS.js.gz +0 -0
- package/build/runtime-chunk-Q76LQIFB.js.br +0 -0
- package/build/runtime-chunk-Q76LQIFB.js.gz +0 -0
- package/build/runtime-chunk-SN33PRER.js.br +0 -0
- package/build/runtime-chunk-SN33PRER.js.gz +0 -0
- package/build/runtime-chunk-TDRWIO4R.js.br +0 -0
- package/build/runtime-chunk-TDRWIO4R.js.gz +0 -0
- package/build/runtime-chunk-TGE5PZ3T.js.br +0 -0
- package/build/runtime-chunk-TGE5PZ3T.js.gz +0 -0
- package/build/runtime-chunk-TOMFQJJI.js.br +0 -0
- package/build/runtime-chunk-TOMFQJJI.js.gz +0 -0
- package/build/runtime-chunk-V25PONPW.js.br +0 -0
- package/build/runtime-chunk-V25PONPW.js.gz +0 -0
- package/build/runtime-chunk-XWPU6QZZ.js +0 -1
- package/build/runtime-chunk-XWPU6QZZ.js.br +0 -0
- package/build/runtime-chunk-XWPU6QZZ.js.gz +0 -0
- package/build/runtime-chunk-ZK434IQC.js +0 -1
- package/build/runtime-chunk-ZK434IQC.js.br +0 -0
- package/build/runtime-chunk-ZK434IQC.js.gz +0 -0
- package/build/runtime-classicRuntime-5ZYB6A6C.js.br +0 -0
- package/build/runtime-classicRuntime-5ZYB6A6C.js.gz +0 -0
- package/build/runtime-cloners-7GF2XLXZ.js +0 -1
- package/build/runtime-cloners-7GF2XLXZ.js.br +0 -0
- package/build/runtime-cloners-7GF2XLXZ.js.gz +0 -0
- package/build/runtime-components-P5NOGHPV.js.br +0 -0
- package/build/runtime-components-P5NOGHPV.js.gz +0 -0
- package/build/runtime-conditional-PP2DVNTQ.js.br +0 -0
- package/build/runtime-conditional-PP2DVNTQ.js.gz +0 -0
- package/build/runtime-createDestroy-PBQ25AU3.js.br +0 -0
- package/build/runtime-createDestroy-PBQ25AU3.js.gz +0 -0
- package/build/runtime-dragDrop-LLBFO2Z3.js.br +0 -0
- package/build/runtime-dragDrop-LLBFO2Z3.js.gz +0 -0
- package/build/runtime-fxBloom-6IFM7HAH.js.br +0 -0
- package/build/runtime-fxBloom-6IFM7HAH.js.gz +0 -0
- package/build/runtime-fxDepthOfField-7GNESKXY.js.br +0 -0
- package/build/runtime-fxDepthOfField-7GNESKXY.js.gz +0 -0
- package/build/runtime-gameControls-AJLKUT72.js.br +0 -0
- package/build/runtime-gameControls-AJLKUT72.js.gz +0 -0
- package/build/runtime-hair-F2F2WEXR.js +0 -1
- package/build/runtime-hair-F2F2WEXR.js.br +0 -2
- package/build/runtime-hair-F2F2WEXR.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-PS3WDC7F.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-PS3WDC7F.js.gz +0 -0
- package/build/runtime-miscActions-ZA42POZ5.js.br +0 -0
- package/build/runtime-miscActions-ZA42POZ5.js.gz +0 -0
- package/build/runtime-mouseHover-H3YYT2RA.js.br +0 -0
- package/build/runtime-mouseHover-H3YYT2RA.js.gz +0 -0
- package/build/runtime-particles-7XJ2SXF2.js.br +0 -0
- package/build/runtime-particles-7XJ2SXF2.js.gz +0 -0
- package/build/runtime-paths-ME2M4R7X.js.br +0 -0
- package/build/runtime-paths-ME2M4R7X.js.gz +0 -0
- package/build/runtime-resize-BOSMJSAG.js.br +0 -0
- package/build/runtime-resize-BOSMJSAG.js.gz +0 -0
- package/build/runtime-sceneTransition-3UDCZSVK.js.br +0 -0
- package/build/runtime-sceneTransition-3UDCZSVK.js.gz +0 -0
- package/build/runtime-scroll-GHZEG4L4.js.br +0 -0
- package/build/runtime-scroll-GHZEG4L4.js.gz +0 -0
- package/build/runtime-shapeBlends-D3EUWES3.js +0 -1
- package/build/runtime-shapeBlends-D3EUWES3.js.br +0 -0
- package/build/runtime-shapeBlends-D3EUWES3.js.gz +0 -0
- package/build/runtime-text-ZMRMHZQC.js.br +0 -0
- package/build/runtime-text-ZMRMHZQC.js.gz +0 -0
- package/build/runtime-textInputs-DHCVWHXQ.js.br +0 -0
- package/build/runtime-textInputs-DHCVWHXQ.js.gz +0 -0
- package/build/runtime-timeline-HDBREC6O.js.br +0 -0
- package/build/runtime-timeline-HDBREC6O.js.gz +0 -0
- package/build/runtime-tracking-YA6A2GWY.js.br +0 -0
- package/build/runtime-tracking-YA6A2GWY.js.gz +0 -0
- package/build/runtime-transitions-EQYPCNDH.js.br +0 -0
- package/build/runtime-transitions-EQYPCNDH.js.gz +0 -0
- package/build/runtime-ui2d-2GWNKF5Y.js.br +0 -0
- package/build/runtime-ui2d-2GWNKF5Y.js.gz +0 -0
- package/build/runtime-updater-2CFDVEWY.js.br +0 -0
- package/build/runtime-updater-2CFDVEWY.js.gz +0 -0
- package/build/runtime-variables-S7QUT7HH.js.br +0 -0
- package/build/runtime-variables-S7QUT7HH.js.gz +0 -0
- package/build/runtime-vectorShapes-XOE7MSEE.js.br +0 -0
- package/build/runtime-vectorShapes-XOE7MSEE.js.gz +0 -0
- package/build/runtime-video-SBFWLQQT.js.br +0 -0
- package/build/runtime-video-SBFWLQQT.js.gz +0 -0
- package/build/runtime-webgpu-YHFBSU5I.js +0 -1
- package/build/runtime-webgpu-YHFBSU5I.js.br +0 -0
- package/build/runtime-webgpu-YHFBSU5I.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./runtime-chunk-
|
|
1
|
+
import{d as s}from"./runtime-chunk-FYZZPPDQ.js";import{a as t,b as i}from"./runtime-chunk-TT2F77QZ.js";import{Fc as a,Tc as o,Te as e,We as h,Xc as r,ze as d}from"./runtime-chunk-BVVSZMXD.js";var n=class extends(t(e)){constructor(s,t=15,i=6710886){super(s,t,i),this.object=s,this.name=`PointLightHelper: ${s.uuid}`}raycast(s,t){i(this.object,n.geometryHelper,s,t)}},p=class extends(s(d,n)){constructor(s,t,i){super(),this.super_Entity(s,t),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.fov=90,e.aspect=1,e.near=100,e.far=2500;let d=new a(-e.far+this.position.x,-e.far+this.position.y,-e.far+this.position.z),n=new a(e.far+this.position.x,e.far+this.position.y,e.far+this.position.z),p=new r(d,n),c=new h(p,new o(16755200));c.visible=!1,this.gizmos.shadowmap=c,this.update()}update(){if(this.shadow&&(this.shadow.camera.updateProjectionMatrix(),this.gizmos))for(let s in this.gizmos){let t=this.gizmos[s];if(t instanceof h){let s=this.shadow.camera,i=new a(-s.far+this.position.x,-s.far+this.position.y,-s.far+this.position.z),o=new a(s.far+this.position.x,s.far+this.position.y,s.far+this.position.z);t.box.set(i,o),t.updateMatrixWorld(!0)}}}updateMatrixWorld(s){super.updateMatrixWorld(s),this.objectHelper&&this.objectHelper.update()}updateState(s,t){this.updateState_Light(s,t),void 0!==s.distance&&(this.distance=s.distance),void 0!==s.decay&&(this.decay=s.decay),void 0!==s.shadowRadius&&(this.shadow.radius=s.shadowRadius),void 0!==s.shadowResolution&&(this.shadow.mapSize.set(s.shadowResolution,s.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-
|
|
1
|
+
import{a as e}from"./runtime-chunk-DETJAPEW.js";import{ea as t}from"./runtime-chunk-VDZLCK3P.js";import{h as a}from"./runtime-chunk-T5W7UUKQ.js";import{c as s,e as i,f as o}from"./runtime-chunk-2PT2WH66.js";import{b as r}from"./runtime-chunk-K3MJM76A.js";import{Ca as n,v as d}from"./runtime-chunk-ZE3Y3273.js";import{Fc as c}from"./runtime-chunk-BVVSZMXD.js";var l=new c;function u(e,t,s=!1){let i=[],c=a=>{let s=a.data;delete a.states,a.currentState=null,a.reversibleToState=null,a.currentTransitionEvent=null;for(let e of s.states){let t={...e.data};a.states||(a.states={}),a.states[e.id]=r.patch(s,t)}p(e.scene,a,null,t,void 0!==s.events.find(e=>"Follow"===e.data.type||"LookAt"===e.data.type)),f(e)};e.scene.traverse2D(c),e.traverseChildren(r=>{if(s&&(r.rigidBody?.setTranslation(r.position0,!0),r.rigidBody?.setRotation(r.rotation0,!0),r.rigidBody?.setLinvel(l,!0),r.rigidBody?.setAngvel(l,!0)),!a.is(r))return;let u=r.uuid,f=r.data;if(delete r.states,r.uuid===d)return;let m=!1;i.some(t=>e.scene.find(u)?.isDescendantOf(t))?m=!0:!0===f.physics?.fusedBody&&"dynamic"===f.physics.rigidBody&&i.push(u),r.data=f,r.currentState=null,r.reversibleToState=null,r.currentTransitionEvent=null,r.transitionState={settled:!0,state:null};for(let t of f.states){let a={...t.data};!0===e.data.globalPhysics.usePhysics&&f.physics&&("dynamic"===f.physics.rigidBody||m)&&(void 0!==t.data.position&&delete a.position,void 0!==t.data.rotation&&delete a.rotation,void 0!==t.data.hiddenMatrix&&delete a.hiddenMatrix),r.states||(r.states={}),r.states[t.id]=n.patch(f,a)}p(e.scene,r,null,t,void 0!==f.events.find(e=>"Follow"===e.data.type||"LookAt"===e.data.type)),o(r)&&r.frame&&(r.frame.traverse(e=>c(e)),r.uiCanvas?.applySize())}),f(e),e.frame&&(e.frame.traverse(e=>c(e)),e.uiCanvas?.applySize())}function f(e){e.traverseEntity(t=>{for(let a of t.data.events){let t=[];switch(a.data.type){case"Follow":case"MouseHover":case"Scroll":case"MouseDown":case"MouseUp":case"MousePress":case"KeyUp":case"KeyDown":case"KeyPress":case"Collision":t.push(...a.data.actions);break;case"GameControl":for(let e of Object.values(a.data.gameActions))t.push(...e);break;case"DragDrop":t.push(...a.data.dragDropActions.drag,...a.data.dragDropActions.drop);break;case"Conditional":t.push(...a.data.inActions,...a.data.outActions)}for(let a of t)if("Create"===a.data.type&&"Yes"===a.data.hideBase){let t=e.scene.find(a.data.object);t&&(t.visible=!1)}}})}function p(a,o,r,n,d=!1){if(a.markShadowsDirty(),o instanceof t&&!s(o)&&o.removeInteractionGeometry(n),i(o)?o.changeSelectedState(r,{shared:n},d):o.changeSelectedState(r,{scene:a,shared:n},d),o instanceof t&&o.updateGeometryGroupsIfNeeded(),o instanceof e&&o.updateCameraState(o.dataPatched,{scene:a,shared:n}),!i(o)){if(o.cloner){let e=!1;for(let t of o.cloner.children)t.playModeVisible=void 0,void 0!==t.transformOverride&&(t.transformOverride=void 0,e=!0);e&&a.addPendingUpdateCloner(o),o.cloner.syncInstanceMatrices()}o.updateVisible()}}export{u as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ea as e,g as t}from"./runtime-chunk-
|
|
1
|
+
import{ea as e,g as t}from"./runtime-chunk-VDZLCK3P.js";import{Cc as r,Fc as a,Zc as o,bd as n}from"./runtime-chunk-BVVSZMXD.js";function i(r){if(Array.isArray(r.material)){for(let e of r.material)if(0===e.getLayersOfType("outline").length)return}else if(!t(r.material)||0===r.material.getLayersOfType("outline").length)return;r instanceof e&&r.is2DAndNoDepth?function(e){if(e.geometry.attributes.extrudeNormals||!e.geometry.attributes.position)return;let t=e.geometry.attributes.position.array,r=new Float32Array(t.length),o=new a;for(let e=0;e<t.length;e+=3)o.set(t[e],t[e+1],t[e+2]).normalize(),r[e]=o.x,r[e+1]=o.y,r[e+2]=o.z;e.geometry.setAttribute("extrudeNormal",new n(r,3))}(r):function(e){if(e.geometry.attributes.extrudeNormal||!e.geometry.attributes.position||!e.geometry.attributes.normal)return;let t=new Map,r=e.geometry.attributes,o=r.position.array,i=r.normal.array,l=new Float32Array(o.length);for(let e=0;e<o.length;e+=3){let r=`${o[e]}_${o[e+1]}_${o[e+2]}`,n=new a(i[e],i[e+1],i[e+2]);t.has(r)?t.get(r)?.normals.push(n):t.set(r,{normals:[n],result:new a})}t.forEach((e,t)=>{for(let t of e.normals)e.result.add(t);e.result.divideScalar(e.normals.length)});for(let e=0;e<o.length;e+=3){let r=`${o[e]}_${o[e+1]}_${o[e+2]}`,a=t.get(r)?.result;a&&(l[e]=a.x,l[e+1]=a.y,l[e+2]=a.z)}e.geometry.setAttribute("extrudeNormal",new n(l,3))}(r)}function l(e){return Math.min(2047,Math.max(1,Math.round(2048*e)))/2048}function s(e){if(!e.geometry.attributes.position)return;let t=e.geometry.attributes,a=t.position.array,n=t.randomColor;if(void 0!==n&&3*n.count===a.length)return;let i=new Float32Array(a.length),s=parseInt(e.uuid.replace(/\D/g,"")),u=[l(r.seededRandom(s)),l(r.seededRandom(s+1e4)),l(r.seededRandom(s+2e4))];for(let e=0;e<a.length;e++)i[e]=u[e%3];e.geometry.setAttribute("randomColor",new o(i,3))}export{i as a,s as b};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as e,d as r}from"./runtime-chunk-MOM2QMSV.js";import{f as i}from"./runtime-chunk-RTLL6WIB.js";import{J as a,xa as o}from"./runtime-chunk-AIWIOLR6.js";import{Ae as s,Ec as n,Fc as p,Oc as h,Rc as c,Tc as m,bd as f,dd as u,ud as d,wd as l,we as g,xe as v}from"./runtime-chunk-BVVSZMXD.js";var C=new p,j=new g,T=class extends l{constructor(t){let e=new u,r=new d({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],a=[],o={},s=new m(15711266),n=new m(15711266),p=new m(2857471);function h(t,e,r){c(t,r),c(e,r)}function c(t,e){i.push(0,0,0),a.push(e.r,e.g,e.b),void 0===o[t]&&(o[t]=[]),o[t].push(i.length/3-1)}h("n1","n2",s),h("n2","n4",s),h("n4","n3",s),h("n3","n1",s),h("f1","f2",s),h("f2","f4",s),h("f4","f3",s),h("f3","f1",s),h("n1","f1",s),h("n2","f2",s),h("n3","f3",s),h("n4","f4",s),h("p","n1",n),h("p","n2",n),h("p","n3",n),h("p","n4",n),h("u1","u2",p),h("u2","u3",p),h("u3","u1",p),e.setAttribute("position",new f(i,3)),e.setAttribute("color",new f(a,3)),super(e,r),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let t=this.geometry,e=this.pointMap;j.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;y("n1",e,t,j,-1,-1,r),y("n2",e,t,j,1,-1,r),y("n3",e,t,j,-1,1,r),y("n4",e,t,j,1,1,r);let i=r;y("f1",e,t,j,-1,-1,i),y("f2",e,t,j,1,-1,i),y("f3",e,t,j,-1,1,i),y("f4",e,t,j,1,1,i);let a=i;y("u1",e,t,j,.35,1.1,a),y("u2",e,t,j,-.35,1.1,a),y("u3",e,t,j,0,1.55,a),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function y(t,e,r,i,a,o,s){C.set(a,o,s).unproject(i);let n=e[t];if(void 0!==n){let t=r.getAttribute("position");for(let e=0,r=n.length;e<r;e++)t.setXYZ(n[e],C.x,C.y,C.z)}}var w=class extends(t(T)){constructor(t){super(t),this.object=t,this.name=`CombinedCameraHelper: ${t.uuid}`}updateMatrixWorld(t){super.updateMatrixWorld(t),this.updateTarget()}updateTarget(){let t=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(t)}raycast(t,r){e(this.object,this.geometry,t,r,!0)}};function P(t){return 1-Math.pow(1-t,3)}var x=new p,b=new p,M=new n,_=new p,O=new p,F=new p,A=class extends(r(g,w)){constructor(t="",e={...o.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=a.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let t=this._projectionTransition;if(void 0===t)return;if(this.disposed)return void this._endProjectionTransition();t.raf=requestAnimationFrame(this._tickProjectionTransition);let e=A.projectionTransitionRequestRender??t.requestRender;this.updateProjectionMatrix(),e?.()},this.super_Entity(t,e),this.previousProjectionMatrix=new h,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new s(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new v(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(t){let e=A.projectionTransitionsEnabled;A.projectionTransitionsEnabled=!1;try{return t()}finally{A.projectionTransitionsEnabled=e}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(t){this.perspCamera.fov=t}get fov(){return this.perspCamera.fov}setNear(t,e){"PerspectiveCamera"===t?this.perspCamera.near=e:this.orthoCamera.near=e}setZoom(t,e){e>=0&&("PerspectiveCamera"===t?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}set cameraType(t){"PerspectiveCamera"===t?this.toPerspective():"OrthographicCamera"===t&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(t){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=t:this.orthoCamera.near=t}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(t){t>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}lookAt(t,e,r){"number"==typeof t&&(t=new p(t,e,r)),super.lookAt(t),this.getWorldPosition(x),this.targetOffset=x.distanceTo(t)}getTarget(t=new p){return this.getWorldDirection(b),this.getWorldPosition(x),b.multiplyScalar(this.targetOffset),t.copy(x).add(b),t}getDistanceToTarget(){let t=this.getTarget();return this.getWorldPosition(x),x.distanceTo(t)}updateUp(){this.getWorldQuaternion(M),_.set(0,0,1).applyQuaternion(M),O.copy(c.DEFAULT_UP),this.isUpVectorFlipped&&O.negate(),O.applyQuaternion(M),F.copy(c.DEFAULT_UP).projectOnPlane(_),this.angleOffsetFromUp=F.angleTo(O),this.angleOffsetFromUp*=F.cross(O).dot(_)>=0?1:-1}updateTransformState(t,e){let r=super.updateTransformState(t,e);return void 0!==t.isUpVectorFlipped&&(this.isUpVectorFlipped=t.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(t){let e=t.getWorldPosition(new p),r=t.getWorldDirection(new p).multiplyScalar(this.targetOffset);return{position:e.clone().add(r),target:e}}getViewToTarget(t){let e=this.getWorldDirection(new p).multiplyScalar(this.targetOffset);return{position:t.clone().sub(e),target:t}}getViewToObject(t){let e=new p;return t.getWorldPosition(e),this.getViewToTarget(e)}setViewplaneSize(t,e,r=!1){if(this.aspect=t/e,r){let r=t>e?this.aspect:1,i=t>e?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-t,this.right=.5*t,this.top=.5*e,this.bottom=.5*-e;this.updateProjectionMatrix()}copyViewPlaneSize(t){this.aspect=t.aspect,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let t=this._projectionTransition;if(void 0===t)return 1;let e=(performance.now()-t.start)/t.duration;return e>=1?1:e<=0?0:P(e)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return A.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=A.projectionTransitionMinAgeMs}_beginProjectionTransition(t){let e=this._projectionTransition;void 0===e&&(e={from:new h,blend:new h,blendInverse:new h,start:0,duration:A.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:t},this._projectionTransition=e),e.from.copy(this.projectionMatrix),e.start=performance.now(),e.duration=A.projectionTransitionDuration,e.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,t&&(e.requestRender=t),0!==e.raf&&cancelAnimationFrame(e.raf),e.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let t=this._projectionTransition;if(void 0===t)return;let e=(performance.now()-t.start)/t.duration;if(e>=1)return void this._endProjectionTransition();let r=P(e),i=t.from.elements,a=this._activeSubCamera.projectionMatrix.elements,o=t.blend.elements,s=t.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*s),p=r*n/(r*n+(1-r)*Math.max(1e-6,a[15]-a[11]*s));for(let t=0;t<16;t++)o[t]=i[t]+(a[t]-i[t])*p;t.blendInverse.copy(t.blend).invert(),this.projectionMatrix=t.blend,this.projectionMatrixInverse=t.blendInverse}_endProjectionTransition(){let t=this._projectionTransition;if(void 0===t)return;0!==t.raf&&cancelAnimationFrame(t.raf),this._projectionTransition=void 0;let e=this._activeSubCamera;this.projectionMatrix=e.projectionMatrix,this.projectionMatrixInverse=e.projectionMatrixInverse}_syncProjectionTransition(t){let e=t._projectionTransition;if(void 0===e)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new h,blend:new h,blendInverse:new h,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(e.from),r.start=e.start,r.duration=e.duration,r.referenceDepth=e.referenceDepth,this._applyProjectionTransition()}setFocalLength(t){this.perspCamera.setFocalLength(t),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(t,e,r,i,a,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(t,e,r,i,a,o):this.orthoCamera.setViewOffset(t,e,r,i,a,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(t,e){return super.copy(t,e),this.parent=t.parent,this.orthoCamera.copy(t.orthoCamera),this.perspCamera.copy(t.perspCamera),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.far=t.far,this.view=null===t.view?null:Object.assign({},t.view),this._cameraType=t._cameraType,this.aspect=t.aspect,this.fov=t.fov,this.focus=t.focus,this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this.targetOffset=a.sanitizeTargetOffset(t.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(t),this}toCameraState(t=[]){let e={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return i(e,t)}updateCameraSubtype(t,e){let r="perspective"===t?"PerspectiveCamera":"OrthographicCamera";void 0!==e.zoom&&this.setZoom(r,e.zoom),void 0!==e.near&&this.setNear(r,e.near),void 0!==e.fov&&"PerspectiveCamera"===r&&(this.fov=e.fov)}updateState(t,e){this.updateCameraState(t,e)}updateCameraState(t,e){this.updateState_Entity(t,e),void 0!==t.far&&(this.far=t.far),void 0!==t.orthographic&&this.updateCameraSubtype("orthographic",t.orthographic),void 0!==t.perspective&&this.updateCameraSubtype("perspective",t.perspective),void 0!==t.type&&(t.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(e?.shared.requestRender),this.cameraType=t.type),void 0!==t.up&&this.up.fromArray(t.up.map(t=>"number"==typeof t?t:0)),void 0!==t.targetOffset&&(this.targetOffset=a.sanitizeTargetOffset(t.targetOffset)),void 0!==t.isUpVectorFlipped&&(this.isUpVectorFlipped=t.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(t,e,r){super.updateByPatchedOp(t,e,r),1===t.path.length&&0===t.type&&this.updateCameraSubtype(t.path[0],t.props)}toState(t){return{...super.toState(t),...this.toCameraState(t),type:this.cameraType}}},V=A;V.projectionTransitionsEnabled=!1,V.projectionTransitionDuration=350,V.projectionTransitionMinAgeMs=1e3;export{V as a};
|
|
1
|
+
import{a as t,b as e,d as r}from"./runtime-chunk-TT2F77QZ.js";import{f as i}from"./runtime-chunk-RTLL6WIB.js";import{J as a,xa as o}from"./runtime-chunk-ZE3Y3273.js";import{Ae as s,Ec as n,Fc as p,Oc as h,Rc as c,Tc as m,bd as f,dd as u,ud as d,wd as l,we as g,xe as v}from"./runtime-chunk-BVVSZMXD.js";var C=new p,j=new g,T=class extends l{constructor(t){let e=new u,r=new d({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],a=[],o={},s=new m(15711266),n=new m(15711266),p=new m(2857471);function h(t,e,r){c(t,r),c(e,r)}function c(t,e){i.push(0,0,0),a.push(e.r,e.g,e.b),void 0===o[t]&&(o[t]=[]),o[t].push(i.length/3-1)}h("n1","n2",s),h("n2","n4",s),h("n4","n3",s),h("n3","n1",s),h("f1","f2",s),h("f2","f4",s),h("f4","f3",s),h("f3","f1",s),h("n1","f1",s),h("n2","f2",s),h("n3","f3",s),h("n4","f4",s),h("p","n1",n),h("p","n2",n),h("p","n3",n),h("p","n4",n),h("u1","u2",p),h("u2","u3",p),h("u3","u1",p),e.setAttribute("position",new f(i,3)),e.setAttribute("color",new f(a,3)),super(e,r),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let t=this.geometry,e=this.pointMap;j.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;y("n1",e,t,j,-1,-1,r),y("n2",e,t,j,1,-1,r),y("n3",e,t,j,-1,1,r),y("n4",e,t,j,1,1,r);let i=r;y("f1",e,t,j,-1,-1,i),y("f2",e,t,j,1,-1,i),y("f3",e,t,j,-1,1,i),y("f4",e,t,j,1,1,i);let a=i;y("u1",e,t,j,.35,1.1,a),y("u2",e,t,j,-.35,1.1,a),y("u3",e,t,j,0,1.55,a),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function y(t,e,r,i,a,o,s){C.set(a,o,s).unproject(i);let n=e[t];if(void 0!==n){let t=r.getAttribute("position");for(let e=0,r=n.length;e<r;e++)t.setXYZ(n[e],C.x,C.y,C.z)}}var w=class extends(t(T)){constructor(t){super(t),this.object=t,this.name=`CombinedCameraHelper: ${t.uuid}`}updateMatrixWorld(t){super.updateMatrixWorld(t),this.updateTarget()}updateTarget(){let t=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(t)}raycast(t,r){e(this.object,this.geometry,t,r,!0)}};function P(t){return 1-Math.pow(1-t,3)}var x=new p,b=new p,_=new n,M=new p,O=new p,F=new p,A=class extends(r(g,w)){constructor(t="",e={...o.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=a.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let t=this._projectionTransition;if(void 0===t)return;if(this.disposed)return void this._endProjectionTransition();t.raf=requestAnimationFrame(this._tickProjectionTransition);let e=A.projectionTransitionRequestRender??t.requestRender;this.updateProjectionMatrix(),e?.()},this.super_Entity(t,e),this.previousProjectionMatrix=new h,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new s(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new v(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(t){let e=A.projectionTransitionsEnabled;A.projectionTransitionsEnabled=!1;try{return t()}finally{A.projectionTransitionsEnabled=e}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(t){this.perspCamera.fov=t}get fov(){return this.perspCamera.fov}setNear(t,e){"PerspectiveCamera"===t?this.perspCamera.near=e:this.orthoCamera.near=e}setZoom(t,e){e>=0&&("PerspectiveCamera"===t?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}set cameraType(t){"PerspectiveCamera"===t?this.toPerspective():"OrthographicCamera"===t&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(t){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=t:this.orthoCamera.near=t}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(t){t>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}lookAt(t,e,r){"number"==typeof t&&(t=new p(t,e,r)),super.lookAt(t),this.getWorldPosition(x),this.targetOffset=x.distanceTo(t)}getTarget(t=new p){return this.getWorldDirection(b),this.getWorldPosition(x),b.multiplyScalar(this.targetOffset),t.copy(x).add(b),t}getDistanceToTarget(){let t=this.getTarget();return this.getWorldPosition(x),x.distanceTo(t)}updateUp(){this.getWorldQuaternion(_),M.set(0,0,1).applyQuaternion(_),O.copy(c.DEFAULT_UP),this.isUpVectorFlipped&&O.negate(),O.applyQuaternion(_),F.copy(c.DEFAULT_UP).projectOnPlane(M),this.angleOffsetFromUp=F.angleTo(O),this.angleOffsetFromUp*=F.cross(O).dot(M)>=0?1:-1}updateTransformState(t,e){let r=super.updateTransformState(t,e);return void 0!==t.isUpVectorFlipped&&(this.isUpVectorFlipped=t.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(t){let e=t.getWorldPosition(new p),r=t.getWorldDirection(new p).multiplyScalar(this.targetOffset);return{position:e.clone().add(r),target:e}}getViewToTarget(t){let e=this.getWorldDirection(new p).multiplyScalar(this.targetOffset);return{position:t.clone().sub(e),target:t}}getViewToObject(t){let e=new p;return t.getWorldPosition(e),this.getViewToTarget(e)}setViewplaneSize(t,e,r=!1){if(this.aspect=t/e,r){let r=t>e?this.aspect:1,i=t>e?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-t,this.right=.5*t,this.top=.5*e,this.bottom=.5*-e;this.updateProjectionMatrix()}copyViewPlaneSize(t){this.aspect=t.aspect,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let t=this._projectionTransition;if(void 0===t)return 1;let e=(performance.now()-t.start)/t.duration;return e>=1?1:e<=0?0:P(e)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return A.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=A.projectionTransitionMinAgeMs}_beginProjectionTransition(t){let e=this._projectionTransition;void 0===e&&(e={from:new h,blend:new h,blendInverse:new h,start:0,duration:A.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:t},this._projectionTransition=e),e.from.copy(this.projectionMatrix),e.start=performance.now(),e.duration=A.projectionTransitionDuration,e.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,t&&(e.requestRender=t),0!==e.raf&&cancelAnimationFrame(e.raf),e.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let t=this._projectionTransition;if(void 0===t)return;let e=(performance.now()-t.start)/t.duration;if(e>=1)return void this._endProjectionTransition();let r=P(e),i=t.from.elements,a=this._activeSubCamera.projectionMatrix.elements,o=t.blend.elements,s=t.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*s),p=r*n/(r*n+(1-r)*Math.max(1e-6,a[15]-a[11]*s));for(let t=0;t<16;t++)o[t]=i[t]+(a[t]-i[t])*p;t.blendInverse.copy(t.blend).invert(),this.projectionMatrix=t.blend,this.projectionMatrixInverse=t.blendInverse}_endProjectionTransition(){let t=this._projectionTransition;if(void 0===t)return;0!==t.raf&&cancelAnimationFrame(t.raf),this._projectionTransition=void 0;let e=this._activeSubCamera;this.projectionMatrix=e.projectionMatrix,this.projectionMatrixInverse=e.projectionMatrixInverse}_syncProjectionTransition(t){let e=t._projectionTransition;if(void 0===e)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new h,blend:new h,blendInverse:new h,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(e.from),r.start=e.start,r.duration=e.duration,r.referenceDepth=e.referenceDepth,this._applyProjectionTransition()}setFocalLength(t){this.perspCamera.setFocalLength(t),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(t,e,r,i,a,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(t,e,r,i,a,o):this.orthoCamera.setViewOffset(t,e,r,i,a,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(t,e){return super.copy(t,e),this.parent=t.parent,this.orthoCamera.copy(t.orthoCamera),this.perspCamera.copy(t.perspCamera),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.far=t.far,this.view=null===t.view?null:Object.assign({},t.view),this._cameraType=t._cameraType,this.aspect=t.aspect,this.fov=t.fov,this.focus=t.focus,this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this.targetOffset=a.sanitizeTargetOffset(t.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(t),this}toCameraState(t=[]){let e={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return i(e,t)}updateCameraSubtype(t,e){let r="perspective"===t?"PerspectiveCamera":"OrthographicCamera";void 0!==e.zoom&&this.setZoom(r,e.zoom),void 0!==e.near&&this.setNear(r,e.near),void 0!==e.fov&&"PerspectiveCamera"===r&&(this.fov=e.fov)}updateState(t,e){this.updateCameraState(t,e)}updateCameraState(t,e){this.updateState_Entity(t,e),void 0!==t.far&&(this.far=t.far),void 0!==t.orthographic&&this.updateCameraSubtype("orthographic",t.orthographic),void 0!==t.perspective&&this.updateCameraSubtype("perspective",t.perspective),void 0!==t.type&&(t.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(e?.shared.requestRender),this.cameraType=t.type),void 0!==t.up&&this.up.fromArray(t.up.map(t=>"number"==typeof t?t:0)),void 0!==t.targetOffset&&(this.targetOffset=a.sanitizeTargetOffset(t.targetOffset)),void 0!==t.isUpVectorFlipped&&(this.isUpVectorFlipped=t.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(t,e,r){super.updateByPatchedOp(t,e,r),1===t.path.length&&0===t.type&&this.updateCameraSubtype(t.path[0],t.props)}toState(t){return{...super.toState(t),...this.toCameraState(t),type:this.cameraType}}},V=A;V.projectionTransitionsEnabled=!1,V.projectionTransitionDuration=350,V.projectionTransitionMinAgeMs=1e3;export{V as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./runtime-chunk-
|
|
1
|
+
import{d as t}from"./runtime-chunk-FYZZPPDQ.js";import{a as s,b as a}from"./runtime-chunk-TT2F77QZ.js";import{Be as e,Cc as i,Ec as o,Fc as h,Se as r,Ue as d,Ve as n,ye as c}from"./runtime-chunk-BVVSZMXD.js";var l=class extends(s(d)){constructor(t,s=15,a=10066329){super(t,s,a),this.object=t,this.added=!1,this.name=`DirectionalLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,l.geometryHelper,t,s)}},p=class extends(t(e,l)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=2048,this.shadow.mapSize.height=2048,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.top=1250,e.bottom=-1250,e.right=1250,e.left=-1250,e.near=-1e4,e.far=2500;let i=new n(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s);let a=void 0!==t.depth&&t.depth!==this.shadow.camera.far||void 0!==t.size&&t.size/2!==this.shadow.camera.right;void 0!==t.size&&function(t,s){t.shadow.camera.right=s/2,t.shadow.camera.left=-s/2,t.shadow.camera.top=s/2,t.shadow.camera.bottom=-s/2,t.shadow.needsUpdate=!0}(this,t.size),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null)),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),a&&this.update()}},m=class extends(s(r)){constructor(t,s=6710886){super(t,s),this.object=t,this.matrix=t.matrixWorld,this.name=`SpotLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,m.geometryHelper,t,s)}update(){if(void 0!==this.object){let t=m._vector,s=this.object.distance?this.object.distance:1e3,a=s*Math.tan(this.object.angle);this.cone.scale.set(a,a,s),t.setFromMatrixPosition(this.object.target.matrixWorld),this.cone.lookAt(t);let e=void 0!==this.color?this.color:this.light.color;if(this.cone.material instanceof Array)for(let t=0,s=this.cone.material.length;t<s;t++)this.cone.material[t].color.set(e);else this.cone.material.color.set(e)}}},u=m;u._vector=new h;var w=new h,b=new h,g=new o,v=class extends(t(c,u)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.fov=2*i.RAD2DEG*this.angle,e.aspect=1,e.near=100,e.far=2500;let o=new n(this.shadow.camera);o.visible=!1,this.gizmos.shadowmap=o,this.update()}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),b.setFromMatrixPosition(this.matrixWorld),g.setFromRotationMatrix(this.matrixWorld),w.copy(this.up).applyQuaternion(g).negate().multiplyScalar(this.distance),this.target.position.copy(b).add(w),this.target.updateMatrixWorld(),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.angle&&(this.angle=t.angle),void 0!==t.penumbra&&(this.penumbra=t.penumbra),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a,v as b};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./runtime-chunk-
|
|
1
|
+
import{a as e,b as t}from"./runtime-chunk-B5IERHDJ.js";import{c as s,d as o}from"./runtime-chunk-TT2F77QZ.js";import{da as r}from"./runtime-chunk-VDZLCK3P.js";import{h as i,o as a,p as n,q as d,r as h,s as l,t as m,v as p}from"./runtime-chunk-T5W7UUKQ.js";import{i as u}from"./runtime-chunk-2PT2WH66.js";import{Oc as c,bd as y,dd as g,ue as f}from"./runtime-chunk-BVVSZMXD.js";var b=new c,A=new c,M=new c,S=new c,v=new c;function w(e){let t=!1;return e.scene.objects.traverse((e,s)=>{"BooleanGeometry"===s.geometry?.type&&(t=!0)}),t}function D(e,t){let s=e.cloner;return void 0!==s&&s.parent===t?s:void 0}var x=new Float32Array(0);function B(e,t,s,o){let r=16*(t.children.length+1);x.length<r&&(x=new Float32Array(r));let i=0,a=e=>{e.toArray(x,16*i),i++},n=!0!==t.parameters.hideBase;n&&a(o),M.multiplyMatrices(e.hiddenMatrix,e.matrix);for(let e of t.children)!u(e)||!1===e.playModeVisible||(S.multiplyMatrices(e.hiddenMatrix,e.matrix).multiply(e.pivotMatrix),v.multiplyMatrices(M,S),(!n||!v.equals(o))&&a(v));try{return 0===i?0:m(s,x.subarray(0,16*i))}finally{l(s)}}var O,T=class extends r{constructor(e,t,s){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new g,this.onAfterRender=(e,t,s,o,r,i)=>{super.onAfterRender(e,t,s,o,r,i),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,s){super.updateByPatchedOp(e,t,s),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(s,o=!0){if(-1!==this.booleanMeshSetAddress&&!s)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof T&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===s,o)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof p&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){b.multiplyMatrices(t.hiddenMatrix,t.matrix).multiply(t.pivotMatrix);try{let e=D(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let r=a(t.geometry,!0===s,o);t.booleanMeshSetAddress=void 0===e||-1===r?r:B(t,e,r,b)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&h(t.booleanMeshSetAddress,b),t.booleanMatrixInvOld.copy(b).invert(),t.booleanWasTransformed=!1}else t instanceof T&&!0===t.needsTransformForDownstream?(void 0===e?h(t.booleanMeshSetAddress,b):t.booleanMeshSetAddress=B(t,e,t.booleanMeshSetAddress,b),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(h(t.booleanMeshSetAddress,A.multiplyMatrices(b,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(b).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new g,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new y([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===s)return d(this.meshSetAddresses,this.booleanOp);let r=this.geometry;r.dispose(),this.geometry=new g,this.geometry.userData=r.userData,this.geometry.boundingSphere=r.boundingSphere;try{this.booleanMeshSetAddress=n(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(O||(O={})).is=function(e){return i.is(e)&&e instanceof f};var F=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},P=e=>e instanceof p,j=e=>null!==e&&e instanceof T,k=e=>s.is(e);export{w as a,T as b,O as c,F as d,P as e,j as f,k as g};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./runtime-chunk-
|
|
1
|
+
import{a as e,b as t}from"./runtime-chunk-E6DD5XGN.js";import{b as a,e as i,g as r}from"./runtime-chunk-FYZZPPDQ.js";import{a as s}from"./runtime-chunk-TU4KDRKR.js";import{a as n}from"./runtime-chunk-DETJAPEW.js";import{a as l,b as o}from"./runtime-chunk-B5IERHDJ.js";import{T as h,d as u,da as c,e as d,h as p}from"./runtime-chunk-VDZLCK3P.js";import{b as y,h as m,j as g,v as f}from"./runtime-chunk-T5W7UUKQ.js";import{c as b}from"./runtime-chunk-2PT2WH66.js";import{c as v,l as C}from"./runtime-chunk-TZCHGFVF.js";import{oa as k,ra as S,v as A,xa as w}from"./runtime-chunk-ZE3Y3273.js";import{Ne as F,Oc as L,Tc as O,Uc as j,Vc as D,cd as H,jd as T,ld as B,ve as U}from"./runtime-chunk-BVVSZMXD.js";function M(e){return e instanceof c&&e.needsAO&&!b(e)&&!0!==e.isDecalObject}function E(e){let t=e.cloner;if(t&&Array.isArray(t.children))for(let a of t.children)a?.layers&&(a.layers.mask=e.layers.mask)}function P(e){return e.getLayersOfType("reflection").filter(e=>e.data.visible).length}function z(e){return e.getLayersOfType("reflection").some(e=>e.data.visible&&1===e.data.mirror)}function x(e){let t=1/0,a=-1/0;for(let i of e.getLayersOfType("reflection")){let e=i.data;if(!e.visible||1===e.mirror)continue;let r="number"==typeof e.blur?e.blur:null;t=Math.min(t,r??0),a=Math.max(a,r??10)}return t===1/0?null:{min:t,max:a}}function I(e){for(let t of e.getLayersOfType("reflection")){let e=t.data;if(!e.visible)continue;let{blur:a,thickness:i,steps:r,stepSize:s}=e;return"number"!=typeof a||"number"!=typeof i||"number"!=typeof r||"number"!=typeof s?"variable":{blur:a,thickness:i,steps:r,stepSize:s,tracingMode:1===e.tracingMode?1:0}}return null}function V(e,t){let a={outline:!1,cavity:!1},i=512&e.layers.mask,r=t.getLayersOfType("transmission"),s=t.getLayersOfType("outline"),n=P(t),h=t.getLayersOfType("cavity");return(s.length>0||h.length>0)&&(e.layers.set(8),r.length>0&&e.layers.enable(3),n>0&&e.layers.enable(4),a.outline=s.length>0,a.cavity=h.length>0,o(e),l(e)),0===r.length&&0===s.length&&0===h.length&&0===n&&e.layers.set(0),i&&e.layers.set(9),!i&&M(e)&&e.layers.enable(5),E(e),a}function W(e,t){if(!t.layers)return!1;let a=512&e.layers.mask,i=!1,r=t.getLayersOfType("transmission").filter(e=>e.data.visible),s=t.getLayersOfType("outline").filter(e=>e.data.visible),n=P(t),l=t.getLayersOfType("cavity").filter(e=>e.data.visible);return r.length>0&&(e.layers.set(3),(s.length>0||l.length>0)&&e.layers.enable(8),n>0&&e.layers.enable(4),i=!0),0===r.length&&0===s.length&&0===l.length&&0===n&&e.layers.set(0),a&&e.layers.set(9),!a&&M(e)&&e.layers.enable(5),E(e),i}function Z(e,t){var a;if(!t.layers)return!1;let i=512&e.layers.mask,r=!1,s=P(t),n=t.getLayersOfType("transmission").filter(e=>e.data.visible),l=t.getLayersOfType("outline").filter(e=>e.data.visible),o=t.getLayersOfType("cavity").filter(e=>e.data.visible);return s>0&&((a=e.userData).__splinePlanarMirror??(a.__splinePlanarMirror=0),e.layers.set(4),n.length>0&&e.layers.enable(3),(l.length>0||o.length>0)&&e.layers.enable(8),r=!0),0===s&&0===n.length&&0===l.length&&0===o.length&&e.layers.set(0),i&&e.layers.set(9),!i&&M(e)&&e.layers.enable(5),E(e),r}function _(e){let t={outline:!1,cavity:!1},a=e=>{t.outline=t.outline||e.outline,t.cavity=t.cavity||e.cavity};return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t=0;t<e.material.length;t++)a(V(e,e.material[t]));else a(V(e,e.material))}),t}function G(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)W(e,e.material[a])&&(t=!0);else W(e,e.material)&&(t=!0)}),t}function K(e){let t=!1;return e.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let a=0;a<e.material.length;a++)Z(e,e.material[a])&&(t=!0);else Z(e,e.material)&&(t=!0)}),t}var Q=new F,R=new L,J=new T,N=new H;function X(e,t,a,i=!1){let r=e.cloner;if(r){let s=null;if(e.raycast===B.prototype.raycast||e.raycast===f.prototype.raycast){let t=e.geometry;t&&(null===t.boundingSphere&&t.computeBoundingSphere(),s=t.boundingSphere)}for(let n of r.children){if(null!==s&&(N.copy(s).applyMatrix4(n.matrixWorld),!t.ray.intersectsSphere(N)))continue;let r=R.copy(n.matrixWorld).invert(),l=J.copy(t.ray).applyMatrix4(r),o=e.matrixWorld;l.applyMatrix4(o);let h=Q;h.set(l.origin,l.direction),h.near=t.near,h.far=t.far,h.layers.mask=t.layers.mask;let u=h.intersectObject(e,!1);u.length>0&&a.push({...u[0],object:i?n:e})}}}var Y=class extends(g(D)){constructor(e,t,a){if(super(),this.data=t,this.bgColor=new p(1,1,1,1),this.fog=null,this.backupFog=new j(16777215,.1,2e3),this.fogUseBGColor=!1,this.fogMode="linear",this.fogDensity=k.getDensity({}),this.fogHeightFalloff=k.getHeightFalloff({}),this.fogHeightBase=k.getHeightBase({}),this.isActive=!1,this.skyState=null,this.skyStateVersion=0,this.gradingState=null,this.skyHdriHolder=null,this.aoColor=new O,this.penumbraSizeArrayCache=null,this.super_Entity(e,t),this.personalCamera=new n(A,{...w.defaultData,...t.camera,name:"Personal Camera"}),this.personalCamera.objectHelper.visible=!1,this.add(this.personalCamera),this.activeCamera=this.personalCamera,this.ambientLight=new U(13882323,8553090,.75*Math.PI),this.ambientLight.name="Default Ambient Light",this.ambientLight.layers.enable(3),this.ambientLight.removeFromParent(),this.add(this.ambientLight),t.uiScene){let i=C();null===i?v("ui-2d","a page's 2D scene"):this.uiScene=new i.Scene2D((Array.isArray(e)?e[0]:e)+"-ui",t.uiScene,{dpr:window.devicePixelRatio,shared:a.shared})}else t.uiFrame&&this.createUICanvas(t.uiFrame,a)}get scene(){return this.parent}get postprocessing(){return this.data.postprocessing}get frameId(){return this.data.uiFrame}get frame(){return this.uiCanvas?.frame}createUICanvas(e,t){let a=C();null!==a?(this.uiCanvas=new a.UICanvas(this.uuid+"-uiscreen",window.innerWidth,window.innerHeight,t),this.uiCanvas.isScreenSpace=!0,this.uiCanvas.promise.then(()=>{this.uiCanvas?.applyFrame(e),this.uiCanvas?.applySize()})):v("ui-2d","a page's UI canvas")}updateVisible(){}setBackgroundColor(e){this.bgColor=e,!0===this.fogUseBGColor&&(this.backupFog.color=e)}entityChildrenCount(){return this.uiScene?this.uiScene.children.length:super.entityChildrenCount()}updateAmbientLight(e,t){void 0!==e.color&&(this.ambientLight.color=s(e.color,t)),void 0!==e.intensity&&(this.ambientLight.intensity=e.intensity*Math.PI),void 0!==e.enabled&&(e.enabled?this.add(this.ambientLight):this.remove(this.ambientLight))}onDeactive(){this.isActive=!1}onActive(e){this.isActive=!0,e.fog=this.fog,this.traverseEntity(e=>{e instanceof a&&e.recomputeBoolean()}),this.updateShadow(this.data.shadow)}forceMaterialsUpdate(){this.traverseEntity(e=>{if(e instanceof c)if(Array.isArray(e.material))for(let t of e.material)t.needsUpdate=!0;else e.material.needsUpdate=!0,e.material.dispose()})}updateShadow(e){if(void 0===e.softShadowQuality&&void 0===e.type||!this.isActive)return;let t=this.data.shadow,a=S.isSoft(t);h(a,t?.softShadowQuality)&&this.forceMaterialsUpdate()}updateFog(e,t){e.enabled?this.fog=this.backupFog:this.fog=null,this.isActive&&(this.scene.fog=this.fog),this.fogUseBGColor=e.useBackgroundColor,e.useBackgroundColor?this.backupFog.color.set(this.bgColor):this.backupFog.color=s(e.color,t),this.backupFog.near=e.near,this.backupFog.far=e.far,this.fogMode=k.getMode(e),this.fogDensity=k.getDensity(e),this.fogHeightFalloff=k.getHeightFalloff(e),this.fogHeightBase=k.getHeightBase(e)}updateSky(e,t){this.skyState=e??null,this.skyStateVersion++;let a=e?.hdri?.image;this.skyHdriHolder=null!=a?t.image(a):null}updateAo(e,t){void 0!==e.aoColor&&(this.aoColor=s(e.aoColor,t))}updateByOp(e,t,a,i){let r=this.data.uiFrame;super.updateByOp(e,t,a,i);let s=t;y(e.path,["fog"])?this.updateFog(s.fog,a.shared):y(e.path,["sky"])?this.updateSky(s.sky,a.shared):y(e.path,["grading"])?this.gradingState=s.grading??null:y(e.path,["ao"])?this.updateAo(s.ao,a.shared):y(e.path,["ambient"])?this.updateAmbientLight(s.ambient,a.shared):y(e.path,["shadow"])?this.updateShadow(s.shadow):0===e.type&&0===e.path.length&&(void 0!==e.props.uiFrame||r!==s.uiFrame)&&this.updateUIFrame(e.props.uiFrame,a)}updateUIFrame(e,t){e?(this.uiCanvas||this.createUICanvas(e,t),this.uiCanvas.enabled=!0,this.uiCanvas.applyFrame(e)):this.uiCanvas&&(this.uiCanvas.enabled=!1)}updateState(e,t){this.updateState_Entity(e,t),void 0!==e.backgroundColor&&this.setBackgroundColor(s(e.backgroundColor,t.shared)),void 0!==e.fog&&this.updateFog(e.fog,t.shared),void 0!==e.sky&&this.updateSky(e.sky,t.shared),void 0!==e.grading&&(this.gradingState=e.grading),void 0!==e.ambient&&this.updateAmbientLight(e.ambient,t.shared),void 0!==e.ao&&this.updateAo(e.ao,t.shared),void 0!==e.shadow&&this.updateShadow(e.shadow)}createFrame(e,t){}raycast(e,t){super.raycast(e,t)}switchActiveCamera(e){e&&e.isDescendantOf(this)&&(this.activeCamera!==this.personalCamera&&(this.activeCamera.objectHelper.visible=!0),this.activeCamera=e,e.objectHelper.visible=!1)}get playCamera(){return this.scene?.find(this.data.publish.playCamera)??this.personalCamera}switchToPlayCamera(){this.switchActiveCamera(this.playCamera)}get penumbraSizeArray(){return null===this.penumbraSizeArrayCache&&this.updatePenumbraSizeArray(),this.penumbraSizeArrayCache}updatePenumbraSizeArray(){this.penumbraSizeArrayCache=new Array(u).fill(.5);let a=0,i=0;this.traverseEntity(r=>{if(!r.visible)return!0;r instanceof e&&r.visible&&a<d&&(this.penumbraSizeArrayCache[a]=r.data.penumbraSize??.5,a+=1),r instanceof t&&r.visible&&a<u-d&&(this.penumbraSizeArrayCache[d+i]=r.data.penumbraSize??.5,i+=1)})}raycastWithClones(e){let t=[],a=s=>{for(let n of s.children){let s=n.cloner;m.is(n)&&(n.visible||s?.object.data.visible)&&((i(n)||r(n)&&this.scene.enableHelpers&&n.objectHelper.visible)&&(e.intersectObject(n,!1,t),X(n,e,t,!0)),a(n))}};return a(this),t}updateEntity2DByOp(e,t,a,i){this.uiCanvas?.updateEntity2DByOp(e,t,a,i)}};export{z as a,x as b,I as c,_ as d,G as e,K as f,X as g,Y as h};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ac as e,
|
|
1
|
+
import{Ac as e,Bc as n,tc as a}from"./runtime-chunk-76ASHNH5.js";import{Dc as t,Fc as r,Ic as s,Jc as i,Oc as o,nd as l,qa as d}from"./runtime-chunk-BVVSZMXD.js";var c=8,u=new s,p=(()=>{let e=new l(new Uint8Array([0,0,0,255]),1,1);return e.minFilter=d,e.magFilter=d,e.needsUpdate=!0,e})(),w=(()=>{let e=new l(new Uint8Array([0,0,0,255]),1,1);return e.minFilter=d,e.magFilter=d,e.needsUpdate=!0,e})(),m=(()=>{let e=new l(new Uint8Array([255,255,255,255]),1,1);return e.minFilter=d,e.magFilter=d,e.needsUpdate=!0,e})(),g=(()=>{let e=new l(new Uint8Array([0,0,0,0]),1,1);return e.minFilter=d,e.magFilter=d,e.needsUpdate=!0,e})();function h(){try{return"0"!==new URLSearchParams(window.location.search).get("dbgsrgb8")}catch{return!0}}function R(){try{return"0"!==new URLSearchParams(window.location.search).get("dbgoutguard")}catch{return!0}}var f={chainBuilds:0,lastChainBuildReason:"",taaResolves:0,taaJitterIndex:0,taaJitterApplies:0,taaHistoryValid:!1,taaResolveSize:"",helperOverlayMode:"",deviceLost:"",outputInterpositions:0,bundleChecks:0,bundleRebuilds:0,bundleDisabled:!1,bundleResourceRebuilds:0,bundleIncompleteRecords:0,bundleRecords:0,bundleReplays:0,instancingGroups:0,instancedDrawsSaved:0,instancingRegroups:0,instancingParks:0,instancingIneligible:{},skippedAsyncDraws:0,stalledSkipFrames:0,compilationBurst:!1,pcssLights:0,pcssInstalled:0,pcssForeignFilter:0,pcssPyramidBuilds:0,pcssPyramidActive:0,shadowMaskResolves:0,shadowMaskActive:0,pcssHookServes:0,pcssRadius0:0,pcssPenumbra0:0,nodeResurrections:0,shadowTypeSoft:!0};typeof window<"u"&&(window.__SPLINE_WEBGPU_STATS=f);var b={resolution:e(new t(1,1)),pixelRatio:e(1),frameIndex:e(0),aspectRatio:e(new t(1,1)),transmissionRenderTarget:a(u),normalRenderTarget:a(u),normalRenderTargetDepth:a(u),normalViewRenderTarget:a(u),aoRenderTarget:a(u),reflectionRenderTarget:a(p),reflectionDepthPyramid:a(p),reflectionDepthSize:e(new t(1,1)),reflectionDepthLevels:e(1,"int"),reflectionEnvMap:a(p),reflectionEnvEnabled:e(0),reflectionPlanarTarget:a(p),reflectionPlanarEnabled:e(0),reflectionMissColor:e(new r(0,0,0)),reflectionResolveTarget:a(w),reflectionResolveEnabled:e(0),shadowMaskTexture:a(m),shadowMaskGBuffer:a(g),shadowMaskEnabled:e(0),shadowMaskResolution:e(new t(1,1)),shadowMaskFullResolution:e(new t(1,1)),transmissionSamplerSize:e(new t(2048,2048)),transmissionActualSize:e(new t(1,1)),orthographicUniform:e(0),unjitteredProjection:e(new o),aoEnabledUniform:e(0),pcssHalton:e(new t(0,-.333334)),tapAngle:e(0),tapAngle2:e(0),cameraJitterPx:e(new t(0,0)),toonLightData:n(Array.from({length:8},()=>new i),"vec4"),toonLightCount:e(0,"int"),taaEnabled:{value:!1},aoEnabled:{value:!1},transmissionLod:{value:2}};export{c as a,u as b,p as c,w as d,h as e,R as f,f as g,b as h};
|
|
Binary file
|
|
Binary file
|