@splinetool/runtime 2.0.22 → 2.0.24
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/{runtime-chunk-QND2VD3E.js → runtime-chunk-2IBCDBM5.js} +1 -1
- package/build/runtime-chunk-2IBCDBM5.js.br +0 -0
- package/build/runtime-chunk-2IBCDBM5.js.gz +0 -0
- package/build/{runtime-chunk-QTN2XKXN.js → runtime-chunk-2OOKSY5F.js} +1 -1
- package/build/runtime-chunk-2OOKSY5F.js.br +0 -0
- package/build/runtime-chunk-2OOKSY5F.js.gz +0 -0
- package/build/{runtime-chunk-NHMWLWQ3.js → runtime-chunk-3XFXT62L.js} +1 -1
- package/build/runtime-chunk-3XFXT62L.js.br +0 -0
- package/build/runtime-chunk-3XFXT62L.js.gz +0 -0
- package/build/{runtime-chunk-7PJTLTYU.js → runtime-chunk-4BAG53CP.js} +1 -1
- package/build/runtime-chunk-4BAG53CP.js.br +0 -0
- package/build/runtime-chunk-4BAG53CP.js.gz +0 -0
- package/build/{runtime-chunk-KDQHYGOO.js → runtime-chunk-6EFJAXYQ.js} +1 -1
- package/build/runtime-chunk-6EFJAXYQ.js.br +0 -0
- package/build/runtime-chunk-6EFJAXYQ.js.gz +0 -0
- package/build/{runtime-chunk-WI6P4ZJN.js → runtime-chunk-7KLCJQ5I.js} +1 -1
- package/build/runtime-chunk-7KLCJQ5I.js.br +0 -0
- package/build/runtime-chunk-7KLCJQ5I.js.gz +0 -0
- package/build/runtime-chunk-ASOMKSTV.js +1 -0
- package/build/runtime-chunk-ASOMKSTV.js.br +0 -0
- package/build/runtime-chunk-ASOMKSTV.js.gz +0 -0
- package/build/{runtime-chunk-4GQJQ5GG.js → runtime-chunk-DTLD6VR3.js} +1 -1
- package/build/runtime-chunk-DTLD6VR3.js.br +0 -0
- package/build/runtime-chunk-DTLD6VR3.js.gz +0 -0
- package/build/{runtime-chunk-D4GPZXMP.js → runtime-chunk-E63KALTH.js} +1 -1
- package/build/runtime-chunk-E63KALTH.js.br +0 -0
- package/build/runtime-chunk-E63KALTH.js.gz +0 -0
- package/build/{runtime-chunk-NSNU7J2T.js → runtime-chunk-EPBFEVVS.js} +1 -1
- package/build/runtime-chunk-EPBFEVVS.js.br +0 -0
- package/build/runtime-chunk-EPBFEVVS.js.gz +0 -0
- package/build/{runtime-chunk-LFGH7WS7.js → runtime-chunk-EUBA2RL4.js} +1 -1
- package/build/runtime-chunk-EUBA2RL4.js.br +0 -0
- package/build/runtime-chunk-EUBA2RL4.js.gz +0 -0
- package/build/{runtime-chunk-HEW5DHCV.js → runtime-chunk-HU6ZNHES.js} +1 -1
- package/build/runtime-chunk-HU6ZNHES.js.br +0 -0
- package/build/runtime-chunk-HU6ZNHES.js.gz +0 -0
- package/build/{runtime-chunk-SRSTAVZH.js → runtime-chunk-IVYB2LJZ.js} +1 -1
- package/build/runtime-chunk-IVYB2LJZ.js.br +0 -0
- package/build/runtime-chunk-IVYB2LJZ.js.gz +0 -0
- package/build/{runtime-chunk-VPZTETIB.js → runtime-chunk-IZHXAIS5.js} +1 -1
- package/build/runtime-chunk-IZHXAIS5.js.br +0 -0
- package/build/runtime-chunk-IZHXAIS5.js.gz +0 -0
- package/build/{runtime-chunk-C4IOUBIL.js → runtime-chunk-J7U5OSTH.js} +1 -1
- package/build/runtime-chunk-J7U5OSTH.js.br +0 -0
- package/build/runtime-chunk-J7U5OSTH.js.gz +0 -0
- package/build/runtime-chunk-JTCQEDG4.js +1 -0
- package/build/runtime-chunk-JTCQEDG4.js.br +0 -0
- package/build/runtime-chunk-JTCQEDG4.js.gz +0 -0
- package/build/{runtime-chunk-47Z3QWUR.js → runtime-chunk-K2ZZRSBO.js} +1 -1
- package/build/runtime-chunk-K2ZZRSBO.js.br +0 -0
- package/build/runtime-chunk-K2ZZRSBO.js.gz +0 -0
- package/build/runtime-chunk-K5NEGDLY.js +1 -0
- package/build/runtime-chunk-K5NEGDLY.js.br +0 -0
- package/build/runtime-chunk-K5NEGDLY.js.gz +0 -0
- package/build/{runtime-chunk-YOIXMTZE.js → runtime-chunk-QHLKVSM7.js} +1 -1
- package/build/{runtime-chunk-YOIXMTZE.js.br → runtime-chunk-QHLKVSM7.js.br} +0 -0
- package/build/{runtime-chunk-YOIXMTZE.js.gz → runtime-chunk-QHLKVSM7.js.gz} +0 -0
- package/build/{runtime-chunk-SRQDVMWF.js → runtime-chunk-QW2LZ6W4.js} +1 -1
- package/build/runtime-chunk-QW2LZ6W4.js.br +0 -0
- package/build/runtime-chunk-QW2LZ6W4.js.gz +0 -0
- package/build/{runtime-chunk-KK4OBNZG.js → runtime-chunk-SFJEH25A.js} +1 -1
- package/build/runtime-chunk-SFJEH25A.js.br +0 -0
- package/build/runtime-chunk-SFJEH25A.js.gz +0 -0
- package/build/{runtime-chunk-CIUVOAHX.js → runtime-chunk-T6F5U5KD.js} +1 -1
- package/build/runtime-chunk-T6F5U5KD.js.br +0 -0
- package/build/runtime-chunk-T6F5U5KD.js.gz +0 -0
- package/build/{runtime-chunk-PXECDMGW.js → runtime-chunk-TAUX4KLW.js} +1 -1
- package/build/runtime-chunk-TAUX4KLW.js.br +0 -0
- package/build/runtime-chunk-TAUX4KLW.js.gz +0 -0
- package/build/{runtime-chunk-6AX3DVGS.js → runtime-chunk-WVN26XFT.js} +1 -1
- package/build/runtime-chunk-WVN26XFT.js.br +0 -0
- package/build/runtime-chunk-WVN26XFT.js.gz +0 -0
- package/build/{runtime-chunk-AGQLGYGI.js → runtime-chunk-X5Q4GOOG.js} +1 -1
- package/build/runtime-chunk-X5Q4GOOG.js.br +0 -0
- package/build/runtime-chunk-X5Q4GOOG.js.gz +0 -0
- package/build/{runtime-chunk-RVO7NCYA.js → runtime-chunk-YI4W3BJL.js} +1 -1
- package/build/runtime-chunk-YI4W3BJL.js.br +0 -0
- package/build/runtime-chunk-YI4W3BJL.js.gz +0 -0
- package/build/{runtime-chunk-PQ75TFT3.js → runtime-chunk-YOYPYM4I.js} +1 -1
- package/build/runtime-chunk-YOYPYM4I.js.br +0 -0
- package/build/runtime-chunk-YOYPYM4I.js.gz +0 -0
- package/build/{runtime-chunk-ITMK4Y5W.js → runtime-chunk-ZDY46D2Y.js} +1 -1
- package/build/runtime-chunk-ZDY46D2Y.js.br +0 -0
- package/build/runtime-chunk-ZDY46D2Y.js.gz +0 -0
- package/build/{runtime-classicRuntime-M7MS2O6U.js → runtime-classicRuntime-6THY4EKN.js} +1 -1
- package/build/runtime-classicRuntime-6THY4EKN.js.br +0 -0
- package/build/runtime-classicRuntime-6THY4EKN.js.gz +0 -0
- package/build/{runtime-cloners-AU4Q7VCK.js → runtime-cloners-SBLU5HGP.js} +1 -1
- package/build/runtime-cloners-SBLU5HGP.js.br +0 -0
- package/build/runtime-cloners-SBLU5HGP.js.gz +0 -0
- package/build/{runtime-components-BCY7YWOX.js → runtime-components-AKJWJXGH.js} +1 -1
- package/build/runtime-components-AKJWJXGH.js.br +0 -0
- package/build/runtime-components-AKJWJXGH.js.gz +0 -0
- package/build/{runtime-createDestroy-XTWMVFOK.js → runtime-createDestroy-LVAJZHUD.js} +1 -1
- package/build/runtime-createDestroy-LVAJZHUD.js.br +0 -0
- package/build/runtime-createDestroy-LVAJZHUD.js.gz +0 -0
- package/build/{runtime-dragDrop-NGN7MBNU.js → runtime-dragDrop-5OKM7K4W.js} +1 -1
- package/build/runtime-dragDrop-5OKM7K4W.js.br +0 -0
- package/build/runtime-dragDrop-5OKM7K4W.js.gz +0 -0
- package/build/{runtime-fxBloom-B4TFLFRV.js → runtime-fxBloom-6IFM7HAH.js} +1 -1
- package/build/runtime-fxBloom-6IFM7HAH.js.br +0 -0
- package/build/runtime-fxBloom-6IFM7HAH.js.gz +0 -0
- package/build/{runtime-fxDepthOfField-OB66CUJW.js → runtime-fxDepthOfField-7GNESKXY.js} +1 -1
- package/build/runtime-fxDepthOfField-7GNESKXY.js.br +0 -0
- package/build/runtime-fxDepthOfField-7GNESKXY.js.gz +0 -0
- package/build/{runtime-gameControls-TKUYY4KM.js → runtime-gameControls-V62JZB3H.js} +1 -1
- package/build/runtime-gameControls-V62JZB3H.js.br +0 -0
- package/build/runtime-gameControls-V62JZB3H.js.gz +0 -0
- package/build/{runtime-hair-VGGMDQSS.js → runtime-hair-I66PY7OT.js} +1 -1
- package/build/runtime-hair-I66PY7OT.js.br +2 -0
- package/build/runtime-hair-I66PY7OT.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-GGVF2KIE.js → runtime-mergeStaticGeometries-O7KZEW5I.js} +1 -1
- package/build/runtime-mergeStaticGeometries-O7KZEW5I.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-O7KZEW5I.js.gz +0 -0
- package/build/{runtime-miscActions-WQGGLYT6.js → runtime-miscActions-53VQ5TAW.js} +1 -1
- package/build/runtime-miscActions-53VQ5TAW.js.br +0 -0
- package/build/runtime-miscActions-53VQ5TAW.js.gz +0 -0
- package/build/{runtime-mouseHover-B3PXBY3I.js → runtime-mouseHover-EMTJZ6JQ.js} +1 -1
- package/build/runtime-mouseHover-EMTJZ6JQ.js.br +0 -0
- package/build/runtime-mouseHover-EMTJZ6JQ.js.gz +0 -0
- package/build/{runtime-particles-7UWRBEYU.js → runtime-particles-TMNWYBJP.js} +1 -1
- package/build/runtime-particles-TMNWYBJP.js.br +0 -0
- package/build/runtime-particles-TMNWYBJP.js.gz +0 -0
- package/build/{runtime-paths-BZMPCRJQ.js → runtime-paths-U3KKWW6W.js} +1 -1
- package/build/runtime-paths-U3KKWW6W.js.br +0 -0
- package/build/runtime-paths-U3KKWW6W.js.gz +0 -0
- package/build/{runtime-resize-OYYPOZKD.js → runtime-resize-ETIKJ2SG.js} +1 -1
- package/build/runtime-resize-ETIKJ2SG.js.br +0 -0
- package/build/runtime-resize-ETIKJ2SG.js.gz +0 -0
- package/build/{runtime-sceneTransition-KSTUEMAM.js → runtime-sceneTransition-77J2COKO.js} +1 -1
- package/build/runtime-sceneTransition-77J2COKO.js.br +0 -0
- package/build/runtime-sceneTransition-77J2COKO.js.gz +0 -0
- package/build/{runtime-scroll-2EQMUJS7.js → runtime-scroll-4XJBTUDX.js} +1 -1
- package/build/runtime-scroll-4XJBTUDX.js.br +0 -0
- package/build/runtime-scroll-4XJBTUDX.js.gz +0 -0
- package/build/runtime-shapeBlends-KIBJS7PQ.js +1 -0
- package/build/runtime-shapeBlends-KIBJS7PQ.js.br +0 -0
- package/build/runtime-shapeBlends-KIBJS7PQ.js.gz +0 -0
- package/build/{runtime-text-7SMSZOVQ.js → runtime-text-LZP3ACGO.js} +1 -1
- package/build/runtime-text-LZP3ACGO.js.br +0 -0
- package/build/runtime-text-LZP3ACGO.js.gz +0 -0
- package/build/{runtime-textInputs-3SAOI33N.js → runtime-textInputs-62V7EXQC.js} +1 -1
- package/build/runtime-textInputs-62V7EXQC.js.br +0 -0
- package/build/runtime-textInputs-62V7EXQC.js.gz +0 -0
- package/build/{runtime-timeline-XFF33IMD.js → runtime-timeline-4WBV3VPN.js} +1 -1
- package/build/runtime-timeline-4WBV3VPN.js.br +0 -0
- package/build/runtime-timeline-4WBV3VPN.js.gz +0 -0
- package/build/{runtime-tracking-4VIGR56M.js → runtime-tracking-GSGR2D75.js} +1 -1
- package/build/runtime-tracking-GSGR2D75.js.br +0 -0
- package/build/runtime-tracking-GSGR2D75.js.gz +0 -0
- package/build/{runtime-transitions-Z2B4SAZS.js → runtime-transitions-ALVBBGWB.js} +1 -1
- package/build/runtime-transitions-ALVBBGWB.js.br +0 -0
- package/build/runtime-transitions-ALVBBGWB.js.gz +0 -0
- package/build/{runtime-ui2d-CA67H4UR.js → runtime-ui2d-REOUROZF.js} +1 -1
- package/build/runtime-ui2d-REOUROZF.js.br +0 -0
- package/build/runtime-ui2d-REOUROZF.js.gz +0 -0
- package/build/{runtime-vectorShapes-JBKOYUAP.js → runtime-vectorShapes-E324A6UL.js} +1 -1
- package/build/runtime-vectorShapes-E324A6UL.js.br +0 -0
- package/build/runtime-vectorShapes-E324A6UL.js.gz +0 -0
- package/build/runtime-webgpu-UVUBFKG6.js +1 -0
- package/build/runtime-webgpu-UVUBFKG6.js.br +0 -0
- package/build/runtime-webgpu-UVUBFKG6.js.gz +0 -0
- package/build/runtime.cjs +6 -6
- 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-chunk-47Z3QWUR.js.br +0 -0
- package/build/runtime-chunk-47Z3QWUR.js.gz +0 -0
- package/build/runtime-chunk-4GQJQ5GG.js.br +0 -0
- package/build/runtime-chunk-4GQJQ5GG.js.gz +0 -0
- package/build/runtime-chunk-6AX3DVGS.js.br +0 -0
- package/build/runtime-chunk-6AX3DVGS.js.gz +0 -0
- package/build/runtime-chunk-7PJTLTYU.js.br +0 -0
- package/build/runtime-chunk-7PJTLTYU.js.gz +0 -0
- package/build/runtime-chunk-AGQLGYGI.js.br +0 -0
- package/build/runtime-chunk-AGQLGYGI.js.gz +0 -0
- package/build/runtime-chunk-C4IOUBIL.js.br +0 -0
- package/build/runtime-chunk-C4IOUBIL.js.gz +0 -0
- package/build/runtime-chunk-CIUVOAHX.js.br +0 -0
- package/build/runtime-chunk-CIUVOAHX.js.gz +0 -0
- package/build/runtime-chunk-CQY4ZPYF.js +0 -1
- package/build/runtime-chunk-CQY4ZPYF.js.br +0 -0
- package/build/runtime-chunk-CQY4ZPYF.js.gz +0 -0
- package/build/runtime-chunk-D4GPZXMP.js.br +0 -0
- package/build/runtime-chunk-D4GPZXMP.js.gz +0 -0
- package/build/runtime-chunk-HEW5DHCV.js.br +0 -0
- package/build/runtime-chunk-HEW5DHCV.js.gz +0 -0
- package/build/runtime-chunk-ITMK4Y5W.js.br +0 -0
- package/build/runtime-chunk-ITMK4Y5W.js.gz +0 -0
- package/build/runtime-chunk-KDQHYGOO.js.br +0 -0
- package/build/runtime-chunk-KDQHYGOO.js.gz +0 -0
- package/build/runtime-chunk-KK4OBNZG.js.br +0 -0
- package/build/runtime-chunk-KK4OBNZG.js.gz +0 -0
- package/build/runtime-chunk-LFGH7WS7.js.br +0 -0
- package/build/runtime-chunk-LFGH7WS7.js.gz +0 -0
- package/build/runtime-chunk-NHMWLWQ3.js.br +0 -0
- package/build/runtime-chunk-NHMWLWQ3.js.gz +0 -0
- package/build/runtime-chunk-NSNU7J2T.js.br +0 -0
- package/build/runtime-chunk-NSNU7J2T.js.gz +0 -0
- package/build/runtime-chunk-PMXIEPYE.js +0 -1
- package/build/runtime-chunk-PMXIEPYE.js.br +0 -0
- package/build/runtime-chunk-PMXIEPYE.js.gz +0 -0
- package/build/runtime-chunk-PQ75TFT3.js.br +0 -0
- package/build/runtime-chunk-PQ75TFT3.js.gz +0 -0
- package/build/runtime-chunk-PXECDMGW.js.br +0 -0
- package/build/runtime-chunk-PXECDMGW.js.gz +0 -0
- package/build/runtime-chunk-Q46JW25N.js +0 -1
- package/build/runtime-chunk-Q46JW25N.js.br +0 -0
- package/build/runtime-chunk-Q46JW25N.js.gz +0 -0
- package/build/runtime-chunk-QND2VD3E.js.br +0 -0
- package/build/runtime-chunk-QND2VD3E.js.gz +0 -0
- package/build/runtime-chunk-QTN2XKXN.js.br +0 -0
- package/build/runtime-chunk-QTN2XKXN.js.gz +0 -0
- package/build/runtime-chunk-RVO7NCYA.js.br +0 -0
- package/build/runtime-chunk-RVO7NCYA.js.gz +0 -0
- package/build/runtime-chunk-SRQDVMWF.js.br +0 -0
- package/build/runtime-chunk-SRQDVMWF.js.gz +0 -0
- package/build/runtime-chunk-SRSTAVZH.js.br +0 -0
- package/build/runtime-chunk-SRSTAVZH.js.gz +0 -0
- package/build/runtime-chunk-VPZTETIB.js.br +0 -0
- package/build/runtime-chunk-VPZTETIB.js.gz +0 -0
- package/build/runtime-chunk-WI6P4ZJN.js.br +0 -0
- package/build/runtime-chunk-WI6P4ZJN.js.gz +0 -0
- package/build/runtime-classicRuntime-M7MS2O6U.js.br +0 -0
- package/build/runtime-classicRuntime-M7MS2O6U.js.gz +0 -0
- package/build/runtime-cloners-AU4Q7VCK.js.br +0 -0
- package/build/runtime-cloners-AU4Q7VCK.js.gz +0 -0
- package/build/runtime-components-BCY7YWOX.js.br +0 -0
- package/build/runtime-components-BCY7YWOX.js.gz +0 -0
- package/build/runtime-createDestroy-XTWMVFOK.js.br +0 -0
- package/build/runtime-createDestroy-XTWMVFOK.js.gz +0 -0
- package/build/runtime-dragDrop-NGN7MBNU.js.br +0 -0
- package/build/runtime-dragDrop-NGN7MBNU.js.gz +0 -0
- package/build/runtime-fxBloom-B4TFLFRV.js.br +0 -0
- package/build/runtime-fxBloom-B4TFLFRV.js.gz +0 -0
- package/build/runtime-fxDepthOfField-OB66CUJW.js.br +0 -0
- package/build/runtime-fxDepthOfField-OB66CUJW.js.gz +0 -0
- package/build/runtime-gameControls-TKUYY4KM.js.br +0 -0
- package/build/runtime-gameControls-TKUYY4KM.js.gz +0 -0
- package/build/runtime-hair-VGGMDQSS.js.br +0 -0
- package/build/runtime-hair-VGGMDQSS.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-GGVF2KIE.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-GGVF2KIE.js.gz +0 -0
- package/build/runtime-miscActions-WQGGLYT6.js.br +0 -0
- package/build/runtime-miscActions-WQGGLYT6.js.gz +0 -0
- package/build/runtime-mouseHover-B3PXBY3I.js.br +0 -0
- package/build/runtime-mouseHover-B3PXBY3I.js.gz +0 -0
- package/build/runtime-particles-7UWRBEYU.js.br +0 -0
- package/build/runtime-particles-7UWRBEYU.js.gz +0 -0
- package/build/runtime-paths-BZMPCRJQ.js.br +0 -0
- package/build/runtime-paths-BZMPCRJQ.js.gz +0 -0
- package/build/runtime-resize-OYYPOZKD.js.br +0 -0
- package/build/runtime-resize-OYYPOZKD.js.gz +0 -0
- package/build/runtime-sceneTransition-KSTUEMAM.js.br +0 -0
- package/build/runtime-sceneTransition-KSTUEMAM.js.gz +0 -0
- package/build/runtime-scroll-2EQMUJS7.js.br +0 -0
- package/build/runtime-scroll-2EQMUJS7.js.gz +0 -0
- package/build/runtime-shapeBlends-ZQKH6SY7.js +0 -1
- package/build/runtime-shapeBlends-ZQKH6SY7.js.br +0 -2
- package/build/runtime-shapeBlends-ZQKH6SY7.js.gz +0 -0
- package/build/runtime-text-7SMSZOVQ.js.br +0 -0
- package/build/runtime-text-7SMSZOVQ.js.gz +0 -0
- package/build/runtime-textInputs-3SAOI33N.js.br +0 -0
- package/build/runtime-textInputs-3SAOI33N.js.gz +0 -0
- package/build/runtime-timeline-XFF33IMD.js.br +0 -0
- package/build/runtime-timeline-XFF33IMD.js.gz +0 -0
- package/build/runtime-tracking-4VIGR56M.js.br +0 -0
- package/build/runtime-tracking-4VIGR56M.js.gz +0 -0
- package/build/runtime-transitions-Z2B4SAZS.js.br +0 -0
- package/build/runtime-transitions-Z2B4SAZS.js.gz +0 -0
- package/build/runtime-ui2d-CA67H4UR.js.br +0 -0
- package/build/runtime-ui2d-CA67H4UR.js.gz +0 -0
- package/build/runtime-vectorShapes-JBKOYUAP.js.br +0 -0
- package/build/runtime-vectorShapes-JBKOYUAP.js.gz +0 -0
- package/build/runtime-webgpu-PYNXUNXU.js +0 -1
- package/build/runtime-webgpu-PYNXUNXU.js.br +0 -0
- package/build/runtime-webgpu-PYNXUNXU.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./runtime-chunk-
|
|
1
|
+
import{a as r}from"./runtime-chunk-2OOKSY5F.js";import"./runtime-chunk-WVN26XFT.js";import"./runtime-chunk-YOYPYM4I.js";import"./runtime-chunk-3XFXT62L.js";import"./runtime-chunk-K2ZZRSBO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as m}from"./runtime-chunk-QHLKVSM7.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-DHZVCYH4.js";import{a as n}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-AIWIOLR6.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";m.Cloner=r,n("cloners");
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-
|
|
1
|
+
import{a as e}from"./runtime-chunk-ZDY46D2Y.js";import{a as t}from"./runtime-chunk-4BAG53CP.js";import{d as n}from"./runtime-chunk-HU6ZNHES.js";import{ea as i}from"./runtime-chunk-K2ZZRSBO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{c as s,h as o}from"./runtime-chunk-QHLKVSM7.js";import{d as r,e as a}from"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-DHZVCYH4.js";import{a as p,d}from"./runtime-chunk-TZCHGFVF.js";import{Aa as l,Ha as c,I as h,h as u,i as m,ua as f,za as y}from"./runtime-chunk-AIWIOLR6.js";import{Oc as v,Sc as g,od as I}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var j=class extends(n(g,t)){constructor(e,t,n){super(),this.isComponentObject=!0,"Instance"===t.type&&"string"==typeof e&&(t=this.transformAssignData(t,n)),this.super_Entity(e,t),this.objectHelper.update()}get isComponentRoot(){return"Component"===this.data.type&&"string"==typeof this.identity}get isInstanceRoot(){return"Instance"===this.data.type&&"string"==typeof this.identity}transformAssignData(e,t){let n=c.getComponentData({scene:t.scene.data,shared:t.shared.data},e.component);if(n){let t,i;for(let s of l.rootOverrideProps)void 0===e[s]?(void 0===t&&(t={...e}),t[s]=n.data[s]):(void 0===i&&(i={}),i[s]=e[s],void 0===t&&(t={...e}),t[s]=m.apply(n.data[s],e[s]));return this.overrideData=i,t}return{...f.defaultData,...e,...a(f.defaultData,l.rootOverrideProps)}}updateByOp(e,t,n,i){let s;if(this.isInstanceRoot&&!i)if(t=this.transformAssignData(t,n),0===e.type&&0===e.path.length&&this.component)for(let t of l.rootOverrideProps)t in e.props&&void 0===e.props[t]&&(void 0===s&&(s={...e,props:{...e.props}}),s.props[t]=this.component.data[t]);else if(0===e.type&&e.path.length>0&&l.rootOverrideProps.includes(e.path[0])){let n=e.path[0];void 0===s&&(s={...e,path:[],props:{[n]:t[n]}})}super.updateByOp(s??e,t,n,i)}updateState(e,t){this.updateState_Entity(e,t)}expandInstanceChildren(t){let n=this.data;if(void 0===this.component){let s=t.scene.find(n.component)??null,r=!1;if(s!==this.oldComponent){if(this.oldComponent){let n=0;for(let i of this.children){if(!o.is(i))break;t.scene.disposeAndUnregisterEntityRecursivelyIfNotReregistered(i),e(i),n+=1}this.children.splice(0,n)}r=!0}if(s){let e={};k(t,[this.uuid],n.overrides,this,s,s,0,r,e);for(let n of this.children)if(o.is(n)){let s=n.data;"Empty"===s.type&&s.animations&&n.traverseEntity(n=>{let s=n.dataPatched;if(n instanceof i&&s.bones&&s.boneInverses){let i=n.dataPatched;if(i.bones&&i.boneInverses){let s=i.bones.map(n=>t.scene.find(e[n])),o=i.boneInverses.map(e=>(new v).fromArray(e)),r=new I(s,o);n.bind(r,n.bindMatrix)}}else n.matrixAutoUpdate=!0})}}this.oldComponent=this.component}}};function D(e,t,n,i){return e.component===t&&r(e.identity,i)?e.overrideData===n?2:1:0}function k(e,t,n,i,r,a,p,d,l){if(p>50)return!1;if(i.component!==r){if(i.component){let e=i.component.instances.indexOf(i);e>=0&&i.component.instances.splice(e,1)}r.instances.find(e=>e===i)||r.instances.push(i),i.component=r}r instanceof j&&r.isInstanceRoot&&r.expandInstanceChildren(e);let c=0;for(let f of r.children)if(o.is(f)){let r=[...t,..."string"==typeof f.identity?[f.identity]:f.identity],v=y.resolve(n,r,1);null!=v&&!(v instanceof u)&&(Object.setPrototypeOf(v,u.prototype),console.error("wrong prototype"));let g,I=null;if(!d){let t=i.children[c];if(I=o.is(t)?t:null,null!==I){let e=D(I,f,v,r);g=e>=1?I.stateSelection:void 0,2!==e&&(I=null)}if(null===I&&(I=e.scene.findInstance(r)??null,null!==I)){let t=D(I,f,v,r);if(g=t>=1?I.stateSelection:void 0,2!==t)I=null;else{let t=I.parent.children.indexOf(I);I.parent.children.splice(t,1),i.children.splice(c,0,I),I.parent===i?t<=c&&console.error("not possible"):(I.parent=i,I.matrixWorldNeedsUpdate=!0,I.resetBBoxNeedsUpdate(),I.updateVisible(),e.pendingDeletes.delete(I))}}}if(null===I){let t=v?m.apply(f.data,v):f.data;h.is(t.type)&&(t={...t,type:"Empty"}),I=s.createEntity(r,t,e),I.overrideData=v,i.add(I),i.children.splice(i.children.length-1,1),i.children.splice(c,0,I),I.updateState(I.data,e),g&&I.changeSelectedState(g,e),e.scene.registerInstanceAndSetUuid(I)}I.isBone&&(l[I.identity[I.identity.length-1]]=I.uuid),c+=1,k(e,t,n,I,f,a,p+1,d,l)}if(!d){let t=c;for(;;){let t=i.children[c];if(!o.is(t))break;e.pendingDeletes.add(t),c+=1}i.children.splice(t,c-t)}return!0}var b=(e,t,n)=>new j(e,t,n);d("Component",b),d("Instance",b),p("components");
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-
|
|
1
|
+
import{a as e}from"./runtime-chunk-2OOKSY5F.js";import"./runtime-chunk-WVN26XFT.js";import"./runtime-chunk-YOYPYM4I.js";import"./runtime-chunk-3XFXT62L.js";import{$ as t}from"./runtime-chunk-K2ZZRSBO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as i,e as a}from"./runtime-chunk-INDD2IUU.js";import"./runtime-chunk-QHLKVSM7.js";import{b as o}from"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-DHZVCYH4.js";import{a as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-AIWIOLR6.js";import{Cc as s,Ec as d,Fc as n}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var l=(()=>{let e,t,i,a,o=!1;function r(i){!e&&!h()&&(t?.sharedGameControlGlobals.createdObjects.length??0)>0&&(e=requestAnimationFrame(s)),i&&(t=i,a=i.requestRender,!o&&typeof document<"u"&&(document.addEventListener("visibilitychange",d),o=!0))}function s(o){if(!t||!a)return e=void 0,void(i=void 0);let r=i?o-i:0,d=t.sharedGameControlGlobals.createdObjects,n=t.sharedGameControlGlobals.nCreatedPerAction,l=d.length,h=0;for(;h<l;){let e=d[h];void 0===e.userData.createdTime&&(e.userData.createdTime=o),void 0===e.userData.lifetime&&void 0===e.userData.quantity||e.userData.lifetime&&o-e.userData.createdTime<e.userData.lifetime||e.userData.quantity&&n[e.userData.actionId]<=e.userData.quantity?(e.userData.velocity&&(e.position.addScaledVector(e.userData.velocity,r/1e3),e.updateMatrix(),a()),h++):(n[e.userData.actionId]>e.userData.quantity&&n[e.userData.actionId]--,d.splice(h,1),e.removeFromParent(),t.sharedGameControlGlobals.rapierWorld&&e.rigidBody?(t.sharedGameControlGlobals.colliderToEntity.delete(e.rigidBody.collider(0).handle),t.sharedGameControlGlobals.rapierWorld.removeRigidBody(e.rigidBody)):(e.bvhGeometry=void 0,t.sharedGameControlGlobals.entitiesWithTransformAnim=t.sharedGameControlGlobals.entitiesWithTransformAnim.filter(e=>void 0!==e.bvhGeometry)),l--,a())}e=h>0?requestAnimationFrame(s):void 0,i=h>0?o:void 0}function d(){h()?e&&(cancelAnimationFrame(e),e=void 0,i=void 0):r()}return{play:r,dispose:function(){e&&(cancelAnimationFrame(e),e=void 0),o&&typeof document<"u"&&(document.removeEventListener("visibilitychange",d),o=!1),t=void 0,a=void 0,i=void 0}}})();function h(){return!!document&&document.hidden}var c=new d,u=new n,m=new n,y=class{constructor(i,r,d,h,y){this.data=i,this.page=r,this.controlsManager=d,this.shared=h,this.condition=y,this.intervalId=null,this.timeoutIdQueue=[],this.uniqueId=s.generateUUID(),this.dispatch=()=>{if(!1===a(this.shared,this.condition))return!1;this.data.delay?this.timeoutIdQueue.push(window.setTimeout(this.dispatchInner,1e3*this.data.delay)):this.dispatchInner()},this.dispatchFromStart=()=>{if(!1===a(this.shared,this.condition))return!1;this.timeoutIdQueue.push(window.setTimeout(this.dispatchInner,1e3*this.data.delay))},this.dispatchThrottled=o(this.dispatch,1e3/this.data.creationSpeed),this.dispatchStart=()=>{null===this.intervalId&&(this.intervalId=window.setInterval(this.dispatch,1e3/this.data.creationSpeed))},this.dispatchStop=()=>{null!==this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null)},this.dispatchInner=()=>{this.timeoutIdQueue.shift();let e=new t(this.object);if(e.playModeVisible=!0,e.expand(),"world"!==this.data.coordinateSystem){let t=this.data.coordinateSystem,i=this.page.scene.find(t);i&&(i.updateMatrixWorldRigid(),e.hiddenMatrix.copy(i.matrixWorldRigid))}e.scale.copy(this.object.scale),e.position.fromArray(this.data.position.map(e=>"number"==typeof e?e:0)),e.rotation.fromArray(this.data.rotation.map(e=>"number"==typeof e?e:0)),e.updateMatrix(),this.page.add(e);let i=this.controlsManager.sharedGameControlGlobals;i.createdObjects.push(e),void 0===i.nCreatedPerAction[this.uniqueId]?i.nCreatedPerAction[this.uniqueId]=1:i.nCreatedPerAction[this.uniqueId]++,e.updateWorldMatrix(!0,!0),e.traverseObject(this.traverseObjectCB),l.play(),this.controlsManager.requestRender()},this.traverseObjectCB=i=>{let a;if(i.hasNonUniformScale&&i.updateMatrixWorldRigid(),this.controlsManager.sharedGameControlGlobals.rapierWorld){if(i instanceof e){if(!i.objectForSample)return!0===i.object.dataPatched.physics.fusedBody&&"dynamic"===i.object.dataPatched.physics.rigidBody||void 0;if(i.objectForSample.dataPatched.physics.fusedBody)return;a=i.object}else if(i instanceof t)a=i.object;else if(a=i,a.dataPatched.cloner?.hideBase)return!0}else{if(i instanceof e)return;a=i instanceof t?i.object:i}"Time"===this.data.destroy?i.userData.lifetime=1e3*this.data.lifetime:"Quantity"===this.data.destroy&&(i.userData.quantity=this.data.destroyAfterQuantity,i.userData.actionId=this.uniqueId);let o=(new n).fromArray(this.data.velocity.map(e=>"number"==typeof e?e:0)),r=a.dataPatched;if(!("visibility"===r.physics.enabled?!r.visible:!r.physics.enabled)&&(this.controlsManager.sharedGameControlGlobals.rapierWorld?(this.controlsManager.addRigidBody(i,a,{fromCreate:!0,dynamic:this.data.dynamic}),"Collision"===this.data.destroy&&(i.rigidBody?.collider(0).setActiveEvents(1),i.userData.hasCollisionDestroy=!0),i.matrixWorld.decompose(u,c,m),o.applyQuaternion(c),this.data.velocity.some(e=>0!==e)&&this.data.dynamic&&i.rigidBody?.setLinvel(o.divideScalar(this.controlsManager.pixelsPerMeter),!0)):("geometry"in i.object&&this.controlsManager.addBoundsTree(i),this.data.velocity.some(e=>0!==e)&&this.data.dynamic&&(i.userData.velocity=o)),!0===a.dataPatched.physics?.fusedBody))return!0};let p=this.page.scene.find(this.data.object);if(!p)throw new Error("Missing Property");if(this.object=p,"world"!==this.data.coordinateSystem&&!this.page.scene.find(this.data.coordinateSystem))throw new Error("Missing Property");l.play(d)}dispose(){null!==this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null),this.timeoutIdQueue.forEach(e=>window.clearTimeout(e)),this.timeoutIdQueue=[],this.dispatchThrottled.cancel(),this.page.remove(...this.controlsManager.sharedGameControlGlobals.createdObjects),this.controlsManager.sharedGameControlGlobals.createdObjects=[],l.dispose()}},p=class{constructor(e,t,i,a,o){this.data=e,this.page=t,this.controlsManager=i,this.shared=a,this.condition=o,this.timeoutIdQueue=[],this.dispatchInner=()=>{this.objects.forEach(this.destroyCallback)},this.destroyCallback=e=>{this.timeoutIdQueue.shift();let t=this.page.scene.find(e);if(void 0===t)return;let i=this.controlsManager.sharedGameControlGlobals.rapierWorld,a=!i||t.dataPatched.physics?.fusedBody;if(t.cloner){for(let e of t.cloner.children)a?(e.playModeVisible=!1,e.rigidBody&&"positioned"===t.dataPatched.physics?.rigidBody&&(this.controlsManager.sharedGameControlGlobals.colliderToEntity.delete(e.rigidBody.collider(0).handle),i.removeRigidBody(e.rigidBody),e.rigidBody=void 0),e.bvhGeometry&&(e.bvhGeometry=void 0)):void 0===this.clone||this.clone===e?(e.playModeVisible=!1,e.rigidBody&&(this.controlsManager.sharedGameControlGlobals.colliderToEntity.delete(e.rigidBody.collider(0).handle),i.removeRigidBody(e.rigidBody),e.rigidBody=void 0)):void 0===e.playModeVisible&&(e.playModeVisible=!0);t.cloner.syncInstanceMatrices(),(a||void 0===this.clone||!1===this.clone)&&(t.visible=!1,t.rigidBody&&(this.controlsManager.sharedGameControlGlobals.colliderToEntity.delete(t.rigidBody.collider(0).handle),i.removeRigidBody(t.rigidBody),t.rigidBody=void 0),t.bvhGeometry&&(t.bvhGeometry=void 0))}else t.rigidBody&&(this.controlsManager.sharedGameControlGlobals.colliderToEntity.delete(t.rigidBody.collider(0).handle),i.removeRigidBody(t.rigidBody),t.rigidBody=void 0),t.bvhGeometry&&(t.bvhGeometry=void 0),t.visible=!1;this.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim=void 0===i?this.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.filter(e=>void 0!==e.bvhGeometry):this.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.filter(e=>void 0!==e.rigidBody),t.destroyedInAction=!0,this.controlsManager.requestRender()},this.objects=[...e.objects]}dispatch(e){if(!1===a(this.shared,this.condition))return!1;this.clone=e,this.data.delay?this.timeoutIdQueue.push(window.setTimeout(this.dispatchInner,1e3*this.data.delay)):this.dispatchInner()}dispatchFromStart(){if(!1===a(this.shared,this.condition))return!1;this.timeoutIdQueue.push(window.setTimeout(this.dispatchInner,1e3*this.data.delay))}dispose(){this.timeoutIdQueue.forEach(e=>window.clearTimeout(e))}};i("Create",({data:e,page:t,eventManager:i,shared:a,actionCondition:o})=>new y(e,t,i.controlsManager,a,o)),i("Destroy",({data:e,page:t,eventManager:i,shared:a,actionCondition:o})=>new p(e,t,i.controlsManager,a,o)),r("create-destroy");
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./runtime-chunk-SRSTAVZH.js";import{f as e}from"./runtime-chunk-KDQHYGOO.js";import{a,b as i}from"./runtime-chunk-DZNU62CT.js";import{a as r}from"./runtime-chunk-VAVYZ35B.js";import"./runtime-chunk-FQNSP44B.js";import"./runtime-chunk-QND2VD3E.js";import"./runtime-chunk-NHMWLWQ3.js";import"./runtime-chunk-7PJTLTYU.js";import"./runtime-chunk-HEW5DHCV.js";import"./runtime-chunk-47Z3QWUR.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{f as o,g as n}from"./runtime-chunk-INDD2IUU.js";import{h as s,v as c}from"./runtime-chunk-YOIXMTZE.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-DHZVCYH4.js";import{a as h}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-AIWIOLR6.js";import{Ec as d,Fc as p,Gc as l,Oc as v,rd as u}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var m=new p,g=new p,E=new p,D=new u,f=new p,y=new p,b=new p,x=new d,C=new v,j=new l,M=new p,P=new p,T=.2;function I(t,e){!e||(e[0]<e[1]&&(t.x=Math.min(Math.max(t.x,e[0]),e[1])),e[2]<e[3]&&(t.y=Math.min(Math.max(t.y,e[2]),e[3])),e[4]<e[5]&&(t.z=Math.min(Math.max(t.z,e[4]),e[5])))}var w=function(){let t=new v;return(a,i,r)=>{let o=a.obj;t.copy(o.hiddenMatrix),null!==o.parent&&t.premultiply(o.parent.matrixWorld),t.invert(),o.position.copy(i),"global"===a.reference&&I(o.position,a.limits),o.position.applyMatrix4(t),"parent"===a.reference?I(o.position,a.limits):"local"===a.reference&&(x.copy(a.quat0).invert(),o.position.sub(a.position0),o.position.applyQuaternion(x),I(o.position,a.limits),x.invert(),o.position.applyQuaternion(x),o.position.add(a.position0)),t.multiply(r??o.matrixWorld).decompose(f,o.quaternion,y),o.updateMatrix(),o.hasNonUniformScale&&(o.updateMatrixWorld(),o.updateMatrixWorldRigid()),o instanceof c&&e(o.parent)&&o.invalidateDownstreamBooleanData(!0)}}(),S=class{constructor(t,e,a,i,r,n,s){this.object=t,this.id=e,this.data=a,this.dropDestIds=[],this.activeIdx=null,this.wasDragEventTriggered=!1,this.resetDampingFactor=0===this.data.resetSpeed?1:8/this.data.resetSpeed+1,this.snapDampingFactor=0===this.data.snapSpeed?1:8/this.data.snapSpeed+1,this.actionsDrag=o(a,a.dragDropActions.drag,i,r,n,this.object),this.actionsDrop=o(a,a.dragDropActions.drop,i,r,n,this.object);let c=[];this.data.objects.forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&(c.push(e),s[e.uuid]&&s[e.uuid].forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&c.push(e)}))}),this.data.dropDestinations.forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&(this.dropDestIds.push(e.uuid),s[e.uuid]&&s[e.uuid].forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&this.dropDestIds.push(e.uuid)}))}),this.dragItems=c.map(t=>("locked"===this.data.planeMode&&(t.userData.lockedPlane=!0),t.userData.worldPosition0=(new p).setFromMatrixPosition(t.matrixWorld),{obj:t,fromPosition:(new p).setFromMatrixPosition(t.matrixWorld),pointStart:new p,pointEnd:new p,paused:!0,currentDampingFactor:this.data.dampingFactor,reset:!1,position0:(new p).copy(t.position),quat0:(new d).copy(t.quaternion),snapped:!1,orientationMatrix:new v,limits:this.data.limits,reference:this.data.referenceFrame}))}get activeDragItem(){return null!==this.activeIdx?this.dragItems[this.activeIdx]:null}dispose(){n(this.actionsDrag),n(this.actionsDrop),this.dragItems.forEach(t=>{t.fromPosition.copy(t.obj.userData.worldPosition0),t.pointStart.copy(t.fromPosition),t.pointEnd.copy(t.pointStart),t.obj.recursiveBBoxNeedsUpdate=!0,t.obj.userData.lockedPlane=void 0,t.obj.position.copy(t.position0),t.obj.quaternion.copy(t.quat0),t.obj.updateMatrix()})}},k=class extends a{constructor(e,a){super(e),this.eventManager=a,this.events=[],this.lastDropDestination=null,this.dragTimeout=null,this.lastCursorRaycastTime=0,this.trailingCursorTimer=null,this.trailingCursorEvent=null,this.onPointerDown=t=>{if(r.length>1)return;this.eventContext.updateRaycaster(t);let{raycaster:e,page:a}=this.eventContext,i=a.raycastWithClones(e);if(this.lastDropDestination=null,0!==i.length){for(let t of this.events){let e=0;for(let{obj:a,pointEnd:r,pointStart:o}of t.dragItems){if(a===i[0].object||a===i[0].object.object||s.is(a)&&a.isAncestorOf(i[0].object.uuid)){if(t.activeIdx=e,t.activeDragItem.reset=!1,t.activeDragItem.currentDampingFactor=t.data.dampingFactor,t.activeDragItem.snapped=!1,"hand"===t.data.cursor&&this.setCursor("grabbing"),this.eventManager.controlsManager.usePhysics){t.activeDragItem.obj.rigidBody&&(t.activeDragItem.obj.rigidBody.setBodyType(2,!0),this.eventManager.controlsManager.sharedGameControlGlobals.kinematicBodyToEntity.set(t.activeDragItem.obj.rigidBody.handle,t.activeDragItem.obj));let e=t.activeDragItem.obj;a.hasNonUniformScale&&a.updateMatrixWorldRigid(),(e.hasNonUniformScale?e.matrixWorldRigid:e.matrixWorld).decompose(f,x,y),void 0===e.prevQ?(e.prevQ=x.clone(),e.prevT=f.clone()):(e.prevQ.copy(x),e.prevT.copy(f)),this.eventManager.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.push(t.activeDragItem.obj)}return this.calcPlaneIntersectPos(a,o,t.data.plane,t.data.referenceFrame),r.copy(o),(this.eventManager.controlsManager.usePhysics&&"dynamic"===a.data.physics?.rigidBody||!1===t.data.drop||!1===t.data.resetOnSnapFail)&&t.activeDragItem.fromPosition.setFromMatrixPosition(t.activeDragItem.obj.matrixWorld),this.activeEvent=t,void(this.eventManager.controlsManager.orbitControls&&(this.eventManager.controlsManager.orbitControls.enabled=!1))}e++}}this.activeEvent=null}else this.activeEvent=null},this.runTrailingCursorUpdate=()=>{this.trailingCursorTimer=null;let t=this.trailingCursorEvent;this.trailingCursorEvent=null,null!==t&&0===r.length&&(this.eventContext.updateRaycaster(t),this.lastCursorRaycastTime=performance.now(),this.updateCursorFromRaycast())},this.onPointerMove=e=>{if(r.length>1)return;this.eventContext.updateRaycaster(e);let{raycaster:a,page:i}=this.eventContext;if(0===r.length){if(!this.events.some(t=>"hand"===t.data.cursor||"move"===t.data.cursor))return;let t=performance.now();return t-this.lastCursorRaycastTime<16?(this.trailingCursorEvent=e,void(null===this.trailingCursorTimer&&(this.trailingCursorTimer=window.setTimeout(this.runTrailingCursorUpdate,32)))):(this.trailingCursorEvent=null,this.lastCursorRaycastTime=t,void this.updateCursorFromRaycast())}if(this.activeEvent&&this.activeEvent.activeDragItem){let e,r=this.activeEvent.activeDragItem;if(r.snapped=!1,this.activeEvent.data.drop&&(e=i.raycastWithClones(a).filter(e=>r.obj!==e.object&&!r.obj.isAncestorOf(e.object.uuid)&&!(e.object instanceof t)&&("all"===this.activeEvent.data.dropOn||this.activeEvent.dropDestIds.some(t=>t===e.object.uuid||i.scene.find(t).isAncestorOf(e.object.uuid))))[0]),e){let t=b.copy(e.face.normal).applyMatrix3(j.getNormalMatrix(e.object.matrixWorld));if("center"===this.activeEvent.data.snapTo)r.fromPosition.setFromMatrixPosition(e.object.matrixWorld);else if("surface"===this.activeEvent.data.snapTo){if(r.fromPosition.copy(e.point),"bbox"===this.activeEvent.data.snapSurfaceMode){f.copy(t).applyMatrix3(j.setFromMatrix4(r.obj.matrixWorld).transpose());let e=r.obj;f.x>T?y.x=-e.recursiveBBox.min.x:f.x<-T&&(y.x=-e.recursiveBBox.max.x),f.y>T?y.y=-e.recursiveBBox.min.y:f.y<-T&&(y.y=-e.recursiveBBox.max.y),f.z>T?y.z=-e.recursiveBBox.min.z:f.z<-T&&(y.z=-e.recursiveBBox.max.z),y.applyMatrix3(j.invert())}else y.copy(t).multiplyScalar(this.activeEvent.data.snapSurfaceOffset);r.fromPosition.add(y)}this.activeEvent.data.autoOrient&&(f.set(0,1,0).cross(t),f.length()<1e-4&&f.set(-1,0,0).cross(t),y.crossVectors(b,f),r.orientationMatrix.makeBasis(f,y,t)),r.pointStart.copy(r.fromPosition),r.pointEnd.copy(r.pointStart),r.currentDampingFactor=this.activeEvent.snapDampingFactor,r.snapped=!0,this.lastDropDestination!==e.object&&(this.lastDropDestination=e.object,this.activeEvent.actionsDrop.Transition.forEach(t=>{t.play()}),this.activeEvent.actionsDrop.Animation.forEach(t=>{t.play()}),this.activeEvent.actionsDrop.Audio.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrop.Particles.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrop.Create.forEach(t=>{t.dispatchThrottled()}))}else r.orientationMatrix.makeRotationFromQuaternion(r.quat0),this.lastDropDestination=null,r.currentDampingFactor=this.activeEvent.data.dampingFactor,this.calcPlaneIntersectPos(r.obj,r.pointEnd,this.activeEvent.data.plane,this.activeEvent.data.referenceFrame),this.activeEvent.actionsDrop.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrop.Animation.forEach(t=>{t.stop()}),this.activeEvent.actionsDrop.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrop.Particles.forEach(t=>{t.dispatchGameControl("stop")});this.activeEvent.actionsDrag.Create.forEach(t=>{t.dispatchThrottled()}),this.activeEvent.actionsDrag.SetVariable.forEach(t=>t.checkConditions()),this.activeEvent.actionsDrag.SetVariable.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.DynamicVariablePlay.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.ClearLocalStorage.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.UserAPI.forEach(t=>t.dispatch()),!1===this.activeEvent.wasDragEventTriggered&&(this.activeEvent.wasDragEventTriggered=!0,this.activeEvent.actionsDrag.Transition.forEach(t=>{t.play()}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.play()}),this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("start")})),this.dragTimeout&&window.clearTimeout(this.dragTimeout),this.dragTimeout=window.setTimeout(()=>{!this.activeEvent||(this.activeEvent.wasDragEventTriggered=!1,this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.stop()}))},500),this.updateDragItem(r),r.obj.dispatchEvent({type:"requestRender"})}},this.onPointerUp=t=>{if(this.activeEvent&&this.activeEvent.activeDragItem){"hand"===this.activeEvent.data.cursor&&this.setCursor("grab");let t="dynamic"===this.activeEvent.activeDragItem.obj.data.physics?.rigidBody;!1===this.activeEvent.activeDragItem.snapped&&this.activeEvent.data.drop&&this.activeEvent.data.resetOnSnapFail&&(!1===this.eventManager.controlsManager.usePhysics||!t)&&(this.activeEvent.activeDragItem.reset=this.activeEvent.data.resetOnSnapFail,this.activeEvent.activeDragItem.paused=!1,this.activeEvent.activeDragItem.currentDampingFactor=this.activeEvent.resetDampingFactor),this.eventManager.controlsManager.usePhysics&&t&&(this.eventManager.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.pop(),this.eventManager.controlsManager.sharedGameControlGlobals.kinematicBodyToEntity.delete(this.activeEvent.activeDragItem.obj.rigidBody.handle),this.activeEvent.activeDragItem.obj.rigidBody.setBodyType(0,!0),this.activeEvent.activeDragItem.paused=!0),!0===this.activeEvent.wasDragEventTriggered&&(this.activeEvent.wasDragEventTriggered=!1,this.activeEvent.actionsDrag.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.stop()}),this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrop.SetVariable.forEach(t=>t.checkConditions()),this.activeEvent.actionsDrop.SetVariable.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.DynamicVariablePlay.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.ClearLocalStorage.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.UserAPI.forEach(t=>t.dispatch())),this.eventManager.controlsManager.orbitControls&&(this.eventManager.controlsManager.orbitControls.enabled=!0)}}}connect(){let t={};if(this.eventContext.page.traverseEntity(e=>{e.component&&(t[e.component.uuid]?t[e.component.uuid].push(e.uuid):t[e.component.uuid]=[e.uuid])}),this.eventContext.page.traverseEntity(e=>{e.data?.events.filter(t=>"DragDrop"===t.data.type&&!t.data.disabled).forEach(a=>{this.events.push(new S(e,a.id,a.data,this.eventContext.page,this.eventContext.sharedAssets,this.eventManager,t))})}),!this.events.length)return;this.domEventsNeeded.clear(),this.domEventsNeeded.add("pointerdown");let e=this.eventContext.domElement;e.addEventListener("pointerdown",this.onPointerDown),e.addEventListener("pointermove",this.onPointerMove),e.addEventListener("pointerup",this.onPointerUp),this.domEventsNeeded.add("pointermove")}disconnect(){if(!this.events.length)return;this.domEventsNeeded.clear();let t=this.eventContext.domElement;t.removeEventListener("pointerdown",this.onPointerDown),t.removeEventListener("pointermove",this.onPointerMove),t.removeEventListener("pointerup",this.onPointerUp),null!==this.trailingCursorTimer&&(clearTimeout(this.trailingCursorTimer),this.trailingCursorTimer=null),this.trailingCursorEvent=null,this.events.forEach(t=>t.dispose())}setCursor(t){this.eventContext.domElement.style.cursor=t}onAnimationFrameDamping(){for(let t of this.events)for(let e of t.dragItems)e.paused||this.updateDragItem(e,!0)}calcPlaneIntersectPos(t,e,a,i){let{getCamera:r,raycaster:o}=this.eventContext;r().getWorldDirection(g),g.negate();let n=x.identity();switch("parent"===i?C.multiplyMatrices(t.parent.matrixWorld,t.hiddenMatrix).decompose(f,n,y):"local"===i&&t.matrixWorld.decompose(f,n,y),a){case"x":f.set(1,0,0).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"y":f.set(0,1,0).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"z":f.set(0,0,1).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"xy":P.set(0,0,1).applyQuaternion(n);break;case"yz":P.set(1,0,0).applyQuaternion(n);break;case"xz":P.set(0,1,0).applyQuaternion(n);break;case"adaptive":g.angleTo(y.set(0,1,0))>Math.PI/6?(f.crossVectors(y.set(0,1,0),g),P.crossVectors(f,y)):P.set(0,1,0);break;default:P.copy(g)}E.setFromMatrixPosition(t.matrixWorld);let s=t.userData.lockedPlane?t.userData.worldPosition0:E;if(D.setFromNormalAndCoplanarPoint(P,s),o.ray.intersectPlane(D,e)&&("x"===a||"y"===a||"z"===a)){let t=y.subVectors(e,s).dot(f);e.copy(s).addScaledVector(f,t)}}updateDragItem(t,e=!1){E.setFromMatrixPosition(t.obj.matrixWorld),"current"===t.reset?m.subVectors(t.fromPosition,E).divideScalar(t.currentDampingFactor):"original"===t.reset?(m.subVectors(t.obj.userData.worldPosition0,E).divideScalar(t.currentDampingFactor),t.fromPosition.copy(t.obj.userData.worldPosition0),t.pointStart.copy(t.fromPosition),t.pointEnd.copy(t.pointStart)):m.subVectors(t.pointEnd,t.pointStart).add(t.fromPosition).sub(E).divideScalar(t.currentDampingFactor),t.paused=!(t.currentDampingFactor>1)||m.length()<.01,(this.activeEvent&&1===this.activeEvent.data.dampingFactor||e)&&w(t,m.add(E),this.activeEvent?.data.drop&&this.activeEvent?.data.autoOrient?t.orientationMatrix:null),t.obj.dispatchEvent({type:"beginEvent",eventName:"DragDrop"}),this.eventManager.requestRender()}updateCursorFromRaycast(){let{raycaster:t,page:e}=this.eventContext,a=e.raycastWithClones(t),i=!1;for(let t of this.events){for(let{obj:e}of t.dragItems)if(e===a[0]?.object||e===a[0]?.object?.object||s.is(e)&&e.isAncestorOf(a[0]?.object.uuid)){switch(i=!0,t.data.cursor){case"hand":this.setCursor("grab");break;case"move":this.setCursor("move")}break}if(i)break}i||this.setCursor("default")}};i("DragDrop",({eventContext:t,eventManager:e})=>new k(t,e)),h("dragdrop");
|
|
1
|
+
import{a as t}from"./runtime-chunk-IVYB2LJZ.js";import{f as e}from"./runtime-chunk-6EFJAXYQ.js";import{a,b as i}from"./runtime-chunk-DZNU62CT.js";import{a as r}from"./runtime-chunk-VAVYZ35B.js";import"./runtime-chunk-FQNSP44B.js";import"./runtime-chunk-2IBCDBM5.js";import"./runtime-chunk-3XFXT62L.js";import"./runtime-chunk-4BAG53CP.js";import"./runtime-chunk-HU6ZNHES.js";import"./runtime-chunk-K2ZZRSBO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{f as o,g as n}from"./runtime-chunk-INDD2IUU.js";import{h as s,v as c}from"./runtime-chunk-QHLKVSM7.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-DHZVCYH4.js";import{a as h}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-AIWIOLR6.js";import{Ec as d,Fc as p,Gc as l,Oc as v,rd as u}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var m=new p,g=new p,E=new p,D=new u,f=new p,y=new p,b=new p,x=new d,C=new v,j=new l,M=new p,P=new p,I=.2;function w(t,e){!e||(e[0]<e[1]&&(t.x=Math.min(Math.max(t.x,e[0]),e[1])),e[2]<e[3]&&(t.y=Math.min(Math.max(t.y,e[2]),e[3])),e[4]<e[5]&&(t.z=Math.min(Math.max(t.z,e[4]),e[5])))}var T=function(){let t=new v;return(a,i,r)=>{let o=a.obj;t.copy(o.hiddenMatrix),null!==o.parent&&t.premultiply(o.parent.matrixWorld),t.invert(),o.position.copy(i),"global"===a.reference&&w(o.position,a.limits),o.position.applyMatrix4(t),"parent"===a.reference?w(o.position,a.limits):"local"===a.reference&&(x.copy(a.quat0).invert(),o.position.sub(a.position0),o.position.applyQuaternion(x),w(o.position,a.limits),x.invert(),o.position.applyQuaternion(x),o.position.add(a.position0)),t.multiply(r??o.matrixWorld).decompose(f,o.quaternion,y),o.updateMatrix(),o.hasNonUniformScale&&(o.updateMatrixWorld(),o.updateMatrixWorldRigid()),o instanceof c&&e(o.parent)&&o.invalidateDownstreamBooleanData(!0)}}(),S=class{constructor(t,e,a,i,r,n,s){this.object=t,this.id=e,this.data=a,this.dropDestIds=[],this.activeIdx=null,this.wasDragEventTriggered=!1,this.resetDampingFactor=0===this.data.resetSpeed?1:8/this.data.resetSpeed+1,this.snapDampingFactor=0===this.data.snapSpeed?1:8/this.data.snapSpeed+1,this.actionsDrag=o(a,a.dragDropActions.drag,i,r,n,this.object),this.actionsDrop=o(a,a.dragDropActions.drop,i,r,n,this.object);let c=[];this.data.objects.forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&(c.push(e),s[e.uuid]&&s[e.uuid].forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&c.push(e)}))}),this.data.dropDestinations.forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&(this.dropDestIds.push(e.uuid),s[e.uuid]&&s[e.uuid].forEach(t=>{let e=i.find(t);!e||!1!==e.data.visible&&this.dropDestIds.push(e.uuid)}))}),this.dragItems=c.map(t=>("locked"===this.data.planeMode&&(t.userData.lockedPlane=!0),t.userData.worldPosition0=(new p).setFromMatrixPosition(t.matrixWorld),{obj:t,fromPosition:(new p).setFromMatrixPosition(t.matrixWorld),pointStart:new p,pointEnd:new p,paused:!0,currentDampingFactor:this.data.dampingFactor,reset:!1,position0:(new p).copy(t.position),quat0:(new d).copy(t.quaternion),snapped:!1,orientationMatrix:new v,limits:this.data.limits,reference:this.data.referenceFrame}))}get activeDragItem(){return null!==this.activeIdx?this.dragItems[this.activeIdx]:null}dispose(){n(this.actionsDrag),n(this.actionsDrop),this.dragItems.forEach(t=>{t.fromPosition.copy(t.obj.userData.worldPosition0),t.pointStart.copy(t.fromPosition),t.pointEnd.copy(t.pointStart),t.obj.recursiveBBoxNeedsUpdate=!0,t.obj.userData.lockedPlane=void 0,t.obj.position.copy(t.position0),t.obj.quaternion.copy(t.quat0),t.obj.updateMatrix()})}},F=class extends a{constructor(e,a){super(e),this.eventManager=a,this.events=[],this.lastDropDestination=null,this.dragTimeout=null,this.lastCursorRaycastTime=0,this.trailingCursorTimer=null,this.trailingCursorEvent=null,this.onPointerDown=t=>{if(r.length>1)return;this.eventContext.updateRaycaster(t);let{raycaster:e,page:a}=this.eventContext,i=a.raycastWithClones(e);if(this.lastDropDestination=null,0!==i.length){for(let t of this.events){let e=0;for(let{obj:a,pointEnd:r,pointStart:o}of t.dragItems){if(a===i[0].object||a===i[0].object.object||s.is(a)&&a.isAncestorOf(i[0].object.uuid)){if(t.activeIdx=e,t.activeDragItem.reset=!1,t.activeDragItem.currentDampingFactor=t.data.dampingFactor,t.activeDragItem.snapped=!1,"hand"===t.data.cursor&&this.setCursor("grabbing"),this.eventManager.controlsManager.usePhysics){t.activeDragItem.obj.rigidBody&&(t.activeDragItem.obj.rigidBody.setBodyType(2,!0),this.eventManager.controlsManager.sharedGameControlGlobals.kinematicBodyToEntity.set(t.activeDragItem.obj.rigidBody.handle,t.activeDragItem.obj));let e=t.activeDragItem.obj;a.hasNonUniformScale&&a.updateMatrixWorldRigid(),(e.hasNonUniformScale?e.matrixWorldRigid:e.matrixWorld).decompose(f,x,y),void 0===e.prevQ?(e.prevQ=x.clone(),e.prevT=f.clone()):(e.prevQ.copy(x),e.prevT.copy(f)),this.eventManager.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.push(t.activeDragItem.obj)}return this.calcPlaneIntersectPos(a,o,t.data.plane,t.data.referenceFrame),r.copy(o),(this.eventManager.controlsManager.usePhysics&&"dynamic"===a.data.physics?.rigidBody||!1===t.data.drop||!1===t.data.resetOnSnapFail)&&t.activeDragItem.fromPosition.setFromMatrixPosition(t.activeDragItem.obj.matrixWorld),this.activeEvent=t,void(this.eventManager.controlsManager.orbitControls&&(this.eventManager.controlsManager.orbitControls.enabled=!1))}e++}}this.activeEvent=null}else this.activeEvent=null},this.runTrailingCursorUpdate=()=>{this.trailingCursorTimer=null;let t=this.trailingCursorEvent;this.trailingCursorEvent=null,null!==t&&0===r.length&&(this.eventContext.updateRaycaster(t),this.lastCursorRaycastTime=performance.now(),this.updateCursorFromRaycast())},this.onPointerMove=e=>{if(r.length>1)return;this.eventContext.updateRaycaster(e);let{raycaster:a,page:i}=this.eventContext;if(0===r.length){if(!this.events.some(t=>"hand"===t.data.cursor||"move"===t.data.cursor))return;let t=performance.now();return t-this.lastCursorRaycastTime<16?(this.trailingCursorEvent=e,void(null===this.trailingCursorTimer&&(this.trailingCursorTimer=window.setTimeout(this.runTrailingCursorUpdate,32)))):(this.trailingCursorEvent=null,this.lastCursorRaycastTime=t,void this.updateCursorFromRaycast())}if(this.activeEvent&&this.activeEvent.activeDragItem){let e,r=this.activeEvent.activeDragItem;if(r.snapped=!1,this.activeEvent.data.drop&&(e=i.raycastWithClones(a).filter(e=>r.obj!==e.object&&!r.obj.isAncestorOf(e.object.uuid)&&!(e.object instanceof t)&&("all"===this.activeEvent.data.dropOn||this.activeEvent.dropDestIds.some(t=>t===e.object.uuid||i.scene.find(t).isAncestorOf(e.object.uuid))))[0]),e){let t=b.copy(e.face.normal).applyMatrix3(j.getNormalMatrix(e.object.matrixWorld));if("center"===this.activeEvent.data.snapTo)r.fromPosition.setFromMatrixPosition(e.object.matrixWorld);else if("surface"===this.activeEvent.data.snapTo){if(r.fromPosition.copy(e.point),"bbox"===this.activeEvent.data.snapSurfaceMode){f.copy(t).applyMatrix3(j.setFromMatrix4(r.obj.matrixWorld).transpose());let e=r.obj;f.x>I?y.x=-e.recursiveBBox.min.x:f.x<-I&&(y.x=-e.recursiveBBox.max.x),f.y>I?y.y=-e.recursiveBBox.min.y:f.y<-I&&(y.y=-e.recursiveBBox.max.y),f.z>I?y.z=-e.recursiveBBox.min.z:f.z<-I&&(y.z=-e.recursiveBBox.max.z),y.applyMatrix3(j.invert())}else y.copy(t).multiplyScalar(this.activeEvent.data.snapSurfaceOffset);r.fromPosition.add(y)}this.activeEvent.data.autoOrient&&(f.set(0,1,0).cross(t),f.length()<1e-4&&f.set(-1,0,0).cross(t),y.crossVectors(b,f),r.orientationMatrix.makeBasis(f,y,t)),r.pointStart.copy(r.fromPosition),r.pointEnd.copy(r.pointStart),r.currentDampingFactor=this.activeEvent.snapDampingFactor,r.snapped=!0,this.lastDropDestination!==e.object&&(this.lastDropDestination=e.object,this.activeEvent.actionsDrop.Transition.forEach(t=>{t.play()}),this.activeEvent.actionsDrop.Animation.forEach(t=>{t.play()}),this.activeEvent.actionsDrop.Audio.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrop.Particles.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrop.Create.forEach(t=>{t.dispatchThrottled()}))}else r.orientationMatrix.makeRotationFromQuaternion(r.quat0),this.lastDropDestination=null,r.currentDampingFactor=this.activeEvent.data.dampingFactor,this.calcPlaneIntersectPos(r.obj,r.pointEnd,this.activeEvent.data.plane,this.activeEvent.data.referenceFrame),this.activeEvent.actionsDrop.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrop.Animation.forEach(t=>{t.stop()}),this.activeEvent.actionsDrop.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrop.Particles.forEach(t=>{t.dispatchGameControl("stop")});this.activeEvent.actionsDrag.Create.forEach(t=>{t.dispatchThrottled()}),this.activeEvent.actionsDrag.SetVariable.forEach(t=>t.checkConditions()),this.activeEvent.actionsDrag.SetVariable.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.DynamicVariablePlay.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.ClearLocalStorage.forEach(t=>t.dispatch()),this.activeEvent.actionsDrag.UserAPI.forEach(t=>t.dispatch()),!1===this.activeEvent.wasDragEventTriggered&&(this.activeEvent.wasDragEventTriggered=!0,this.activeEvent.actionsDrag.Transition.forEach(t=>{t.play()}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.play()}),this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("start")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("start")})),this.dragTimeout&&window.clearTimeout(this.dragTimeout),this.dragTimeout=window.setTimeout(()=>{!this.activeEvent||(this.activeEvent.wasDragEventTriggered=!1,this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.stop()}))},500),this.updateDragItem(r),r.obj.dispatchEvent({type:"requestRender"})}},this.onPointerUp=t=>{if(this.activeEvent&&this.activeEvent.activeDragItem){"hand"===this.activeEvent.data.cursor&&this.setCursor("grab");let t="dynamic"===this.activeEvent.activeDragItem.obj.data.physics?.rigidBody;!1===this.activeEvent.activeDragItem.snapped&&this.activeEvent.data.drop&&this.activeEvent.data.resetOnSnapFail&&(!1===this.eventManager.controlsManager.usePhysics||!t)&&(this.activeEvent.activeDragItem.reset=this.activeEvent.data.resetOnSnapFail,this.activeEvent.activeDragItem.paused=!1,this.activeEvent.activeDragItem.currentDampingFactor=this.activeEvent.resetDampingFactor),this.eventManager.controlsManager.usePhysics&&t&&(this.eventManager.controlsManager.sharedGameControlGlobals.entitiesWithTransformAnim.pop(),this.eventManager.controlsManager.sharedGameControlGlobals.kinematicBodyToEntity.delete(this.activeEvent.activeDragItem.obj.rigidBody.handle),this.activeEvent.activeDragItem.obj.rigidBody.setBodyType(0,!0),this.activeEvent.activeDragItem.paused=!0),!0===this.activeEvent.wasDragEventTriggered&&(this.activeEvent.wasDragEventTriggered=!1,this.activeEvent.actionsDrag.Transition.forEach(t=>{t.stop(),null!==t.object.currentState&&t.object.changeSelectedState(null,{scene:this.eventContext.page.scene,shared:this.eventContext.sharedAssets})}),this.activeEvent.actionsDrag.Animation.forEach(t=>{t.stop()}),this.activeEvent.actionsDrag.Audio.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrag.Particles.forEach(t=>{t.dispatchGameControl("stop")}),this.activeEvent.actionsDrop.SetVariable.forEach(t=>t.checkConditions()),this.activeEvent.actionsDrop.SetVariable.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.DynamicVariablePlay.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.ClearLocalStorage.forEach(t=>t.dispatch()),this.activeEvent.actionsDrop.UserAPI.forEach(t=>t.dispatch())),this.eventManager.controlsManager.orbitControls&&(this.eventManager.controlsManager.orbitControls.enabled=!0)}}}connect(){let t={};if(this.eventContext.page.traverseEntity(e=>{e.component&&(t[e.component.uuid]?t[e.component.uuid].push(e.uuid):t[e.component.uuid]=[e.uuid])}),this.eventContext.page.traverseEntity(e=>{e.data?.events.filter(t=>"DragDrop"===t.data.type&&!t.data.disabled).forEach(a=>{this.events.push(new S(e,a.id,a.data,this.eventContext.page,this.eventContext.sharedAssets,this.eventManager,t))})}),!this.events.length)return;this.domEventsNeeded.clear(),this.domEventsNeeded.add("pointerdown");let e=this.eventContext.domElement;e.addEventListener("pointerdown",this.onPointerDown),e.addEventListener("pointermove",this.onPointerMove),e.addEventListener("pointerup",this.onPointerUp),this.domEventsNeeded.add("pointermove")}disconnect(){if(!this.events.length)return;this.domEventsNeeded.clear();let t=this.eventContext.domElement;t.removeEventListener("pointerdown",this.onPointerDown),t.removeEventListener("pointermove",this.onPointerMove),t.removeEventListener("pointerup",this.onPointerUp),null!==this.trailingCursorTimer&&(clearTimeout(this.trailingCursorTimer),this.trailingCursorTimer=null),this.trailingCursorEvent=null,this.events.forEach(t=>t.dispose())}setCursor(t){this.eventContext.domElement.style.cursor=t}onAnimationFrameDamping(){for(let t of this.events)for(let e of t.dragItems)e.paused||this.updateDragItem(e,!0)}calcPlaneIntersectPos(t,e,a,i){let{getCamera:r,raycaster:o}=this.eventContext;r().getWorldDirection(g),g.negate();let n=x.identity();switch("parent"===i?C.multiplyMatrices(t.parent.matrixWorld,t.hiddenMatrix).decompose(f,n,y):"local"===i&&t.matrixWorld.decompose(f,n,y),a){case"x":f.set(1,0,0).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"y":f.set(0,1,0).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"z":f.set(0,0,1).applyQuaternion(n),M.copy(g).cross(f),P.copy(f).cross(M);break;case"xy":P.set(0,0,1).applyQuaternion(n);break;case"yz":P.set(1,0,0).applyQuaternion(n);break;case"xz":P.set(0,1,0).applyQuaternion(n);break;case"adaptive":g.angleTo(y.set(0,1,0))>Math.PI/6?(f.crossVectors(y.set(0,1,0),g),P.crossVectors(f,y)):P.set(0,1,0);break;default:P.copy(g)}E.setFromMatrixPosition(t.matrixWorld);let s=t.userData.lockedPlane?t.userData.worldPosition0:E;if(D.setFromNormalAndCoplanarPoint(P,s),o.ray.intersectPlane(D,e)&&("x"===a||"y"===a||"z"===a)){let t=y.subVectors(e,s).dot(f);e.copy(s).addScaledVector(f,t)}}updateDragItem(t,e=!1){E.setFromMatrixPosition(t.obj.matrixWorld),"current"===t.reset?m.subVectors(t.fromPosition,E).divideScalar(t.currentDampingFactor):"original"===t.reset?(m.subVectors(t.obj.userData.worldPosition0,E).divideScalar(t.currentDampingFactor),t.fromPosition.copy(t.obj.userData.worldPosition0),t.pointStart.copy(t.fromPosition),t.pointEnd.copy(t.pointStart)):m.subVectors(t.pointEnd,t.pointStart).add(t.fromPosition).sub(E).divideScalar(t.currentDampingFactor),t.paused=!(t.currentDampingFactor>1)||m.length()<.01,(this.activeEvent&&1===this.activeEvent.data.dampingFactor||e)&&T(t,m.add(E),this.activeEvent?.data.drop&&this.activeEvent?.data.autoOrient?t.orientationMatrix:null),t.obj.dispatchEvent({type:"beginEvent",eventName:"DragDrop"}),this.eventManager.requestRender()}updateCursorFromRaycast(){let{raycaster:t,page:e}=this.eventContext,a=e.raycastWithClones(t),i=!1;for(let t of this.events){for(let{obj:e}of t.dragItems)if(e===a[0]?.object||e===a[0]?.object?.object||s.is(e)&&e.isAncestorOf(a[0]?.object.uuid)){switch(i=!0,t.data.cursor){case"hand":this.setCursor("grab");break;case"move":this.setCursor("move")}break}if(i)break}i||this.setCursor("default")}};i("DragDrop",({eventContext:t,eventManager:e})=>new F(t,e)),h("dragdrop");
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./runtime-chunk-
|
|
1
|
+
import{e as t}from"./runtime-chunk-7KLCJQ5I.js";import{Dc as e,Gc as s,Hc as i,I as r,Ic as a,b as h,c as l,ic as o,sc as n,ua as m,v as u,za as _}from"./runtime-chunk-ASOMKSTV.js";import{d as p}from"./runtime-chunk-EOV2DL2V.js";import{Dc as d,Kc as c,m as g,qa as B}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var S=new u,T=new d,f=[[0,0],[0,1,1],[0,1,1,2],[0,1,2,2,3],[0,1,2,3,4,4,5],[0,1,2,3,4,5,7,8,9,10]],M=[.2126729,.7151522,.072175],x=class extends h{constructor(t,e){super("vec4"),this._width=0,this._height=0,this._materials=[],this._input=t,this._opts=e,this._rtL=this._makeRT(1,1,"SplineBloom.L"),this._rtA=this._makeRT(1,1,"SplineBloom.A"),this._rtB=this._makeRT(1,1,"SplineBloom.B"),this._outputTexNode=n(this._rtL.texture),this._buildMaterials()}static get type(){return"SplineBloomNode"}_makeRT(e,s,i){let r=new c(e,s,{minFilter:B,magFilter:B,depthBuffer:!1});return t()&&(r.texture.internalFormat="rgba8unorm-srgb"),r.texture.name=i,r}_buildMaterials(){for(let t of this._materials)t.dispose();this._materials=[];let t=(t,e)=>{let s=new l;return s.name=t,s.colorNode=e,s.depthTest=!1,s.depthWrite=!1,s.blending=g,s.needsUpdate=!0,s},h=this._opts.luminanceThreshold,u=Math.max(this._opts.luminanceSmoothing,1e-4),p=this._input,d=r(()=>{let t=p.sample(e()),s=o(_(h),_(h+u),m(t.rgb,i(M[0],M[1],M[2])));return a(t.rgb.mul(s),s)});this._materials.push(t("SplineBloom.luminance",d()));let c=f[this._opts.kernelSize]??f[3],B=1/Math.max(1,this._width),S=1/Math.max(1,this._height),T=this._passSequence(c.length);for(let i=0;i<c.length;i++){let a=B*(c[i]+.5)*this._opts.blurScale,h=S*(c[i]+.5)*this._opts.blurScale,l=n(T[i].from.texture),o=r(()=>{let t=e();return l.sample(t.add(s(-a,h))).add(l.sample(t.add(s(a,h)))).add(l.sample(t.add(s(a,-h)))).add(l.sample(t.add(s(-a,-h)))).mul(.25)});this._materials.push(t(`SplineBloom.blur${i}`,o()))}}_passSequence(t){let e=[],s=this._rtL;for(let i=0;i<t-1;i++){let t=1&i?this._rtB:this._rtA;e.push({from:s,to:t}),s=t}return e.push({from:s,to:this._rtL}),e}renderBloom(t){t.getDrawingBufferSize(T);let e=Math.max(1,Math.round(.5*T.x)),s=Math.max(1,Math.round(.5*T.y));(e!==this._width||s!==this._height)&&(this._width=e,this._height=s,this._rtL.dispose(),this._rtA.dispose(),this._rtB.dispose(),this._rtL=this._makeRT(e,s,"SplineBloom.L"),this._rtA=this._makeRT(e,s,"SplineBloom.A"),this._rtB=this._makeRT(e,s,"SplineBloom.B"),this._outputTexNode.value=this._rtL.texture,this._buildMaterials());let i=f[this._opts.kernelSize]??f[3],r=this._passSequence(i.length),a=t.getRenderTarget(),h=t.getMRT();t.setMRT(null),t.setRenderTarget(this._rtL),S.material=this._materials[0],S.name="SplineBloom.luminance",S.render(t);for(let e=0;e<r.length;e++)t.setRenderTarget(r[e].to),S.material=this._materials[e+1],S.name=`SplineBloom.blur${e}`,S.render(t);t.setRenderTarget(a),t.setMRT(h)}setup(){return this._outputTexNode}dispose(){for(let t of this._materials)t.dispose();this._materials=[],this._rtL.dispose(),this._rtA.dispose(),this._rtB.dispose()}};p("bloom",function(t,e){return new x(t,e)});
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ac as e,Bc as t,Cb as r,Dc as s,Fb as i,Gc as a,Hc as o,I as l,Ic as u,K as h,Rb as n,Sb as d,a as _,b as p,c as m,eb as
|
|
1
|
+
import{Ac as e,Bc as t,Cb as r,Dc as s,Fb as i,Gc as a,Hc as o,I as l,Ic as u,K as h,Rb as n,Sb as d,a as _,b as p,c as m,eb as T,gb as c,hb as C,ic as R,la as N,mc as b,sb as x,sc as g,v as f,w as M,za as B,zc as S}from"./runtime-chunk-ASOMKSTV.js";import{d as v}from"./runtime-chunk-EOV2DL2V.js";import{Ba as F,Dc as w,Kc as z,Ma as D}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var y,O,A=new f,G=class extends p{static get type(){return"GaussianBlurNode"}constructor(e,t=null,r=4,s={}){super("vec4"),this.textureNode=e,this.directionNode=t,this.sigma=r,this._invSize=S(new w),this._passDirection=S(new w),this._horizontalRT=new z(1,1,{depthBuffer:!1}),this._horizontalRT.texture.name="GaussianBlurNode.horizontal",this._verticalRT=new z(1,1,{depthBuffer:!1}),this._verticalRT.texture.name="GaussianBlurNode.vertical",this._textureNode=i(this,this._verticalRT.texture),this._textureNode.uvNode=e.uvNode,this._material=null,this.updateBeforeType=_.FRAME,this.resolutionScale=s.resolutionScale||1,this.premultipliedAlpha=s.premultipliedAlpha||!1,this.isGaussianBlurNode=!0}setSize(e,t){e=Math.max(Math.round(e*this.resolutionScale),1),t=Math.max(Math.round(t*this.resolutionScale),1),this._invSize.value.set(1/e,1/t),this._horizontalRT.setSize(e,t),this._verticalRT.setSize(e,t)}updateBefore(e){let{renderer:t}=e;y=M.resetRendererState(t,y);let r=this.textureNode,s=r.value,i=r.value;A.material=this._material,this.setSize(s.image.width,s.image.height);let a=s.type;this._horizontalRT.texture.type=a,this._verticalRT.texture.type=a,t.setRenderTarget(this._horizontalRT),this._passDirection.value.set(1,0),A.name="Gaussian Blur [ Horizontal Pass ]",A.render(t),r.value=this._horizontalRT.texture,t.setRenderTarget(this._verticalRT),this._passDirection.value.set(0,1),A.name="Gaussian Blur [ Vertical Pass ]",A.render(t),r.value=i,M.restoreRendererState(t,y)}getTextureNode(){return this._textureNode}setup(e){let r,i,o=this.textureNode,h=s(),d=a(this.directionNode||1);this.premultipliedAlpha?(r=e=>n(o.sample(e)),i=e=>t(e)):(r=e=>o.sample(e),i=e=>e);let _=l(()=>{let e=3+2*this.sigma,t=this._getCoefficients(e),s=this._invSize,o=d.mul(this._passDirection),l=u(r(h).mul(t[0])).toVar();for(let i=1;i<e;i++){let e=B(i),u=B(t[i]),n=a(o.mul(s.mul(e))).toVar(),d=r(h.add(n)),_=r(h.sub(n));l.addAssign(d.add(_).mul(u))}return i(l)}),p=this._material||(this._material=new m);return p.fragmentNode=_().context(e.getSharedContext()),p.name="Gaussian_blur",p.needsUpdate=!0,e.getNodeProperties(this).textureNode=o,this._textureNode}dispose(){this._horizontalRT.dispose(),this._verticalRT.dispose(),null!==this._material&&this._material.dispose()}_getCoefficients(e){let t=[],r=e/3;for(let s=0;s<e;s++)t.push(.39894*Math.exp(-.5*s*s/(r*r))/r);return t}get resolution(){return console.warn('THREE.GaussianBlurNode: The "resolution" property has been renamed to "resolutionScale" and is now of type `number`.'),new w(this.resolutionScale,this.resolutionScale)}set resolution(e){console.warn('THREE.GaussianBlurNode: The "resolution" property has been renamed to "resolutionScale" and is now of type `number`.'),this.resolutionScale=e.x}},V=new f,k=class extends p{static get type(){return"DepthOfFieldNode"}constructor(e,t,r,s,i){super("vec4"),this.textureNode=e,this.viewZNode=t,this.focusDistanceNode=r,this.focalLengthNode=s,this.bokehScaleNode=i,this._invSize=S(new w),this._CoCRT=new z(1,1,{depthBuffer:!1,type:F,format:D,count:2}),this._CoCRT.textures[0].name="DepthOfField.NearField",this._CoCRT.textures[1].name="DepthOfField.FarField",this._CoCBlurredRT=new z(1,1,{depthBuffer:!1,type:F,format:D}),this._CoCBlurredRT.texture.name="DepthOfField.NearFieldBlurred",this._blur64RT=new z(1,1,{depthBuffer:!1,type:F}),this._blur64RT.texture.name="DepthOfField.Blur64",this._blur16NearRT=new z(1,1,{depthBuffer:!1,type:F}),this._blur16NearRT.texture.name="DepthOfField.Blur16Near",this._blur16FarRT=new z(1,1,{depthBuffer:!1,type:F}),this._blur16FarRT.texture.name="DepthOfField.Blur16Far",this._compositeRT=new z(1,1,{depthBuffer:!1,type:F}),this._compositeRT.texture.name="DepthOfField.Composite",this._CoCMaterial=new m,this._CoCBlurredMaterial=new m,this._blur64Material=new m,this._blur16Material=new m,this._compositeMaterial=new m,this._textureNode=g(this._compositeRT.texture),this._CoCTextureNode=g(this._CoCRT.texture),this._blur64TextureNode=g(this._blur64RT.texture),this._blur16NearTextureNode=g(this._blur16NearRT.texture),this._blur16FarTextureNode=g(this._blur16FarRT.texture),this.updateBeforeType=_.FRAME}setSize(e,t){this._invSize.value.set(1/e,1/t),this._CoCRT.setSize(e,t),this._compositeRT.setSize(e,t);let r=Math.round(e/2),s=Math.round(t/2);this._CoCBlurredRT.setSize(r,s),this._blur64RT.setSize(r,s),this._blur16NearRT.setSize(r,s),this._blur16FarRT.setSize(r,s)}getTextureNode(){return this._textureNode}updateBefore(e){let{renderer:t}=e,r=this.textureNode.value;this.setSize(r.image.width,r.image.height),O=M.resetRendererState(t,O),t.setClearColor(0,0),V.material=this._CoCMaterial,t.setRenderTarget(this._CoCRT),V.name="DoF [ CoC ]",V.render(t),this._CoCTextureNode.value=this._CoCRT.textures[0],V.material=this._CoCBlurredMaterial,t.setRenderTarget(this._CoCBlurredRT),V.name="DoF [ CoC Blur ]",V.render(t),this._CoCTextureNode.value=this._CoCBlurredRT.texture,V.material=this._blur64Material,t.setRenderTarget(this._blur64RT),V.name="DoF [ Blur64 Near ]",V.render(t),V.material=this._blur16Material,t.setRenderTarget(this._blur16NearRT),V.name="DoF [ Blur16 Near ]",V.render(t),this._CoCTextureNode.value=this._CoCRT.textures[1],V.material=this._blur64Material,t.setRenderTarget(this._blur64RT),V.name="DoF [ Blur64 Far ]",V.render(t),V.material=this._blur16Material,t.setRenderTarget(this._blur16FarRT),V.name="DoF [ Blur16 Far ]",V.render(t),V.material=this._compositeMaterial,t.setRenderTarget(this._compositeRT),V.name="DoF [ Composite ]",V.render(t),M.restoreRendererState(t,O)}setup(t){let i=this._generateKernels(),a=d("float"),n=d("float"),_=r(a,n),p=l(()=>{let e=this.viewZNode.negate().sub(this.focusDistanceNode),t=R(0,this.focalLengthNode,e.abs());return a.assign(b(e,0).mul(t)),n.assign(b(0,e).mul(t)),B(0)});this._CoCMaterial.colorNode=p().context(t.getSharedContext()),this._CoCMaterial.outputNode=_,this._CoCMaterial.needsUpdate=!0,this._CoCBlurredMaterial.colorNode=((e,t,r,s={})=>new G(N(e),t,r,s))(this._CoCTextureNode,1,2),this._CoCBlurredMaterial.needsUpdate=!0;let m=e(i.points64),x=l(()=>{let e=o(),t=s(),r=this._CoCTextureNode.sample(t).r,i=this._invSize.mul(this.bokehScaleNode).mul(r);return h(64,({i:r})=>{let s=t.add(i.mul(m.element(r))),a=this.textureNode.sample(s);e.addAssign(a.rgb)}),e.divAssign(64),u(e,r)});this._blur64Material.fragmentNode=x().context(t.getSharedContext()),this._blur64Material.needsUpdate=!0;let g=e(i.points16),f=l(()=>{let e=s(),t=this._blur64TextureNode.sample(e).toVar(),r=t.rgb,i=t.a,a=this._invSize.mul(this.bokehScaleNode).mul(i);return h(16,({i:t})=>{let s=e.add(a.mul(g.element(t))),i=this._blur64TextureNode.sample(s);r.assign(T(i.rgb,r))}),u(r,i)});this._blur16Material.fragmentNode=f().context(t.getSharedContext()),this._blur16Material.needsUpdate=!0;let M=l(()=>{let e=s(),t=this._blur16NearTextureNode.sample(e),r=this._blur16FarTextureNode.sample(e),i=this.textureNode.sample(e),a=c(t.a,.5).mul(2),o=c(r.a,.5).mul(2),l=u(0,0,0,1).toVar();return l.rgb=C(i.rgb,r.rgb,o),l.rgb=C(l.rgb,t.rgb,a),l});return this._compositeMaterial.fragmentNode=M().context(t.getSharedContext()),this._compositeMaterial.needsUpdate=!0,this._textureNode}_generateKernels(){let e=[],t=[],r=0,s=0;for(let i=0;i<80;i++){let a=2.39996323*i,o=Math.sqrt(i)/Math.sqrt(80),l=new w(o*Math.cos(a),o*Math.sin(a));i%5==0?(t[s]=l,s++):(e[r]=l,r++)}return{points16:t,points64:e}}dispose(){this._CoCRT.dispose(),this._CoCBlurredRT.dispose(),this._blur64RT.dispose(),this._blur16NearRT.dispose(),this._blur16FarRT.dispose(),this._compositeRT.dispose(),this._CoCMaterial.dispose(),this._CoCBlurredMaterial.dispose(),this._blur64Material.dispose(),this._blur16Material.dispose(),this._compositeMaterial.dispose()}};v("depthOfField",(e,t,r=1,s=1,i=1)=>new k(N(e),x(t),x(r),x(s),x(i)));
|
|
Binary file
|
|
Binary file
|