python-cad-tools 0.1.3.dev2__py3-none-any.whl → 0.1.4__py3-none-any.whl

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.
Files changed (180) hide show
  1. python_cad_tools/_viewer_static/asset-manifest.json +1 -1
  2. python_cad_tools/_viewer_static/assets/{animationGroup-CjhCwiIi.js → animationGroup-DsIEQ73q.js} +1 -1
  3. python_cad_tools/_viewer_static/assets/{bakedVertexAnimation-_xBvgBl7.js → bakedVertexAnimation-CZalW6MY.js} +1 -1
  4. python_cad_tools/_viewer_static/assets/{basisTextureLoader-D5LtrhD-.js → basisTextureLoader-COAjXVqP.js} +1 -1
  5. python_cad_tools/_viewer_static/assets/{brdfTextureTools-D9U08KSH.js → brdfTextureTools-BHIclPmG.js} +2 -2
  6. python_cad_tools/_viewer_static/assets/{bumpFragment-BkzgDMwt.js → bumpFragment-VvIKAANw.js} +1 -1
  7. python_cad_tools/_viewer_static/assets/{bumpVertex-BXtiaDZI.js → bumpVertex-DLicej86.js} +1 -1
  8. python_cad_tools/_viewer_static/assets/{bumpVertexDeclaration-CchYDl1F.js → bumpVertexDeclaration-DaRKbtcX.js} +1 -1
  9. python_cad_tools/_viewer_static/assets/{clipPlaneFragment-pIdOfJ_5.js → clipPlaneFragment-Cllz8e_G.js} +1 -1
  10. python_cad_tools/_viewer_static/assets/{clipPlaneVertex-Kl_G8tpP.js → clipPlaneVertex-ChqMABPH.js} +1 -1
  11. python_cad_tools/_viewer_static/assets/{cubemapToSphericalPolynomial-CJ4cRmPh.js → cubemapToSphericalPolynomial-Xk086_Qo.js} +1 -1
  12. python_cad_tools/_viewer_static/assets/dds-C6ZccGbi.js +1 -0
  13. python_cad_tools/_viewer_static/assets/{dds.pure-BoNGq59u.js → dds.pure-DQ1rbFUk.js} +1 -1
  14. python_cad_tools/_viewer_static/assets/{ddsTextureLoader-D8JRisWC.js → ddsTextureLoader-CL_A0T2G.js} +1 -1
  15. python_cad_tools/_viewer_static/assets/{default.fragment-D0gXI89M.js → default.fragment-hdxpe8Dp.js} +1 -1
  16. python_cad_tools/_viewer_static/assets/{default.vertex-BdO0XLk6.js → default.vertex-BLL2IEXP.js} +1 -1
  17. python_cad_tools/_viewer_static/assets/{defaultUboDeclaration-BJ4b62qj.js → defaultUboDeclaration-kpQOJEVS.js} +1 -1
  18. python_cad_tools/_viewer_static/assets/{dumpTools-B7F8Ed3A.js → dumpTools-CUtvg5MO.js} +2 -2
  19. python_cad_tools/_viewer_static/assets/{envTextureLoader-BnvTfKgF.js → envTextureLoader-Bha4zu64.js} +1 -1
  20. python_cad_tools/_viewer_static/assets/{exrTextureLoader-C2D3Wx-p.js → exrTextureLoader-DGetsIyD.js} +1 -1
  21. python_cad_tools/_viewer_static/assets/{flowGraphApplyForceBlock-C08kKLog.js → flowGraphApplyForceBlock-D0SE4mA-.js} +1 -1
  22. python_cad_tools/_viewer_static/assets/{flowGraphApplyImpulseBlock-GzK2l9nm.js → flowGraphApplyImpulseBlock-DTkgPEFB.js} +1 -1
  23. python_cad_tools/_viewer_static/assets/{flowGraphArrayIndexBlock-DkRHIuYC.js → flowGraphArrayIndexBlock-Cjyt2bwB.js} +1 -1
  24. python_cad_tools/_viewer_static/assets/{flowGraphBezierCurveEasingBlock-Csol8jUn.js → flowGraphBezierCurveEasingBlock-DWxYlhxj.js} +1 -1
  25. python_cad_tools/_viewer_static/assets/{flowGraphBinaryOperationBlock-C-xEeg-Z.js → flowGraphBinaryOperationBlock-BeXLKyeD.js} +1 -1
  26. python_cad_tools/_viewer_static/assets/{flowGraphBranchBlock-D7bstQqM.js → flowGraphBranchBlock-BqigJ1AN.js} +1 -1
  27. python_cad_tools/_viewer_static/assets/{flowGraphCachedOperationBlock-C0pDPzaF.js → flowGraphCachedOperationBlock-D2544szv.js} +1 -1
  28. python_cad_tools/_viewer_static/assets/{flowGraphCancelDelayBlock-VwnDZhN9.js → flowGraphCancelDelayBlock-DS-QhXgE.js} +1 -1
  29. python_cad_tools/_viewer_static/assets/{flowGraphCodeExecutionBlock-C5aa0K7t.js → flowGraphCodeExecutionBlock-BY0Vhd0M.js} +1 -1
  30. python_cad_tools/_viewer_static/assets/{flowGraphConditionalDataBlock-B4vfaSDi.js → flowGraphConditionalDataBlock-DoNGzuFZ.js} +1 -1
  31. python_cad_tools/_viewer_static/assets/{flowGraphConsoleLogBlock-CuLlYu4c.js → flowGraphConsoleLogBlock-CL1zETuj.js} +1 -1
  32. python_cad_tools/_viewer_static/assets/{flowGraphConstantBlock-DkyD6_YZ.js → flowGraphConstantBlock-b0L3Bfv_.js} +1 -1
  33. python_cad_tools/_viewer_static/assets/{flowGraphContextBlock-IKUbfY32.js → flowGraphContextBlock-CE3gLEM4.js} +1 -1
  34. python_cad_tools/_viewer_static/assets/{flowGraphCounterBlock-tP_5qAQn.js → flowGraphCounterBlock-Z6deq4Xb.js} +1 -1
  35. python_cad_tools/_viewer_static/assets/{flowGraphDataSwitchBlock-DiTgopj3.js → flowGraphDataSwitchBlock-wfFU7ZMz.js} +1 -1
  36. python_cad_tools/_viewer_static/assets/{flowGraphDebounceBlock-FLUJTpdt.js → flowGraphDebounceBlock-B5U221PZ.js} +1 -1
  37. python_cad_tools/_viewer_static/assets/{flowGraphDebugBlock-C0EH9zPP.js → flowGraphDebugBlock-CpuIkgZU.js} +1 -1
  38. python_cad_tools/_viewer_static/assets/{flowGraphDoNBlock-DiAdBjnD.js → flowGraphDoNBlock-ByWmK6vQ.js} +1 -1
  39. python_cad_tools/_viewer_static/assets/{flowGraphEasingBlock-CXlIILZe.js → flowGraphEasingBlock-CRs4rMj_.js} +1 -1
  40. python_cad_tools/_viewer_static/assets/{flowGraphFlipFlopBlock-5XRf4KeD.js → flowGraphFlipFlopBlock-CK5fJiSy.js} +1 -1
  41. python_cad_tools/_viewer_static/assets/{flowGraphForLoopBlock-RitJ6OS_.js → flowGraphForLoopBlock-H1FPxMZo.js} +1 -1
  42. python_cad_tools/_viewer_static/assets/{flowGraphFunctionReferenceBlock-DvVIlipg.js → flowGraphFunctionReferenceBlock-DrieLYOj.js} +1 -1
  43. python_cad_tools/_viewer_static/assets/{flowGraphGLTFDataProvider-BxBUrprf.js → flowGraphGLTFDataProvider-D7vSBwR1.js} +1 -1
  44. python_cad_tools/_viewer_static/assets/{flowGraphGetAngularVelocityBlock-CqBDBjqf.js → flowGraphGetAngularVelocityBlock-CkYrIYRL.js} +1 -1
  45. python_cad_tools/_viewer_static/assets/{flowGraphGetAssetBlock-Dk4qKn1w.js → flowGraphGetAssetBlock-BOr56oxs.js} +1 -1
  46. python_cad_tools/_viewer_static/assets/{flowGraphGetLinearVelocityBlock-DNN6N9mt.js → flowGraphGetLinearVelocityBlock-4Mn8MDsq.js} +1 -1
  47. python_cad_tools/_viewer_static/assets/{flowGraphGetPhysicsMassPropertiesBlock-CTsHqDvM.js → flowGraphGetPhysicsMassPropertiesBlock-DwufqO-4.js} +1 -1
  48. python_cad_tools/_viewer_static/assets/{flowGraphGetPropertyBlock-CjX3cseU.js → flowGraphGetPropertyBlock-CAeZqGoL.js} +1 -1
  49. python_cad_tools/_viewer_static/assets/{flowGraphGetSoundVolumeBlock-DzWJtlM9.js → flowGraphGetSoundVolumeBlock-DfnjXMG_.js} +1 -1
  50. python_cad_tools/_viewer_static/assets/{flowGraphGetVariableBlock-uBq6vXOw.js → flowGraphGetVariableBlock-Bw2aRjaE.js} +1 -1
  51. python_cad_tools/_viewer_static/assets/{flowGraphIndexOfBlock-MpANR6P1.js → flowGraphIndexOfBlock-DuZkczUp.js} +1 -1
  52. python_cad_tools/_viewer_static/assets/{flowGraphInterpolationBlock-BM2_pZfB.js → flowGraphInterpolationBlock-CQUVrJhI.js} +1 -1
  53. python_cad_tools/_viewer_static/assets/{flowGraphIsKeyPressedBlock-X1Q2SR0H.js → flowGraphIsKeyPressedBlock-CKMqA1DR.js} +1 -1
  54. python_cad_tools/_viewer_static/assets/{flowGraphIsSoundPlayingBlock-C_ir8hba.js → flowGraphIsSoundPlayingBlock-CIAX4gsj.js} +1 -1
  55. python_cad_tools/_viewer_static/assets/{flowGraphJsonPointerParserBlock-I5tJhTaw.js → flowGraphJsonPointerParserBlock-Bt9WkFOM.js} +1 -1
  56. python_cad_tools/_viewer_static/assets/{flowGraphKeyDownEventBlock-DSmmDXBR.js → flowGraphKeyDownEventBlock-BwXDwLBi.js} +1 -1
  57. python_cad_tools/_viewer_static/assets/{flowGraphKeyUpEventBlock-BDViriRD.js → flowGraphKeyUpEventBlock-BH_q1Ope.js} +1 -1
  58. python_cad_tools/_viewer_static/assets/{flowGraphKeyboardEventBlock-B7EQjaZe.js → flowGraphKeyboardEventBlock-CU8VJhCC.js} +1 -1
  59. python_cad_tools/_viewer_static/assets/{flowGraphMathBlocks-RIndR7Kr.js → flowGraphMathBlocks-TXHKXyeY.js} +1 -1
  60. python_cad_tools/_viewer_static/assets/{flowGraphMathCombineExtractBlocks-BEMkyBCM.js → flowGraphMathCombineExtractBlocks-DKuB9Mlq.js} +1 -1
  61. python_cad_tools/_viewer_static/assets/{flowGraphMatrixMathBlocks-BAV1wScN.js → flowGraphMatrixMathBlocks-BGDHmBFG.js} +1 -1
  62. python_cad_tools/_viewer_static/assets/{flowGraphMeshPickEventBlock-CcNT5f0d.js → flowGraphMeshPickEventBlock-DdOr-Hvu.js} +1 -1
  63. python_cad_tools/_viewer_static/assets/{flowGraphMultiGateBlock-DSEbX2Mj.js → flowGraphMultiGateBlock-qMXK-ALx.js} +1 -1
  64. python_cad_tools/_viewer_static/assets/{flowGraphPauseAnimationBlock-Dfthx2s-.js → flowGraphPauseAnimationBlock-hPtKOUnY.js} +1 -1
  65. python_cad_tools/_viewer_static/assets/{flowGraphPauseSoundBlock-DSu8v9Kr.js → flowGraphPauseSoundBlock-BGBSlkM3.js} +1 -1
  66. python_cad_tools/_viewer_static/assets/{flowGraphPhysicsCollisionEventBlock-jvE_54c8.js → flowGraphPhysicsCollisionEventBlock-7YfMt_A1.js} +1 -1
  67. python_cad_tools/_viewer_static/assets/{flowGraphPlayAnimationBlock-DK8Z5heh.js → flowGraphPlayAnimationBlock-C9_H0W1H.js} +1 -1
  68. python_cad_tools/_viewer_static/assets/{flowGraphPlaySoundBlock-XiF7wfi1.js → flowGraphPlaySoundBlock-BhG6uJmA.js} +1 -1
  69. python_cad_tools/_viewer_static/assets/{flowGraphPointerDownEventBlock-BOqQHgdZ.js → flowGraphPointerDownEventBlock-GBPgkHfj.js} +1 -1
  70. python_cad_tools/_viewer_static/assets/{flowGraphPointerMoveEventBlock-DggBfxkF.js → flowGraphPointerMoveEventBlock-B9xb5ipq.js} +1 -1
  71. python_cad_tools/_viewer_static/assets/{flowGraphPointerOutEventBlock-DvZyyUF4.js → flowGraphPointerOutEventBlock-DZE1Ulng.js} +1 -1
  72. python_cad_tools/_viewer_static/assets/{flowGraphPointerOverEventBlock-YLki8WEB.js → flowGraphPointerOverEventBlock-Bx_Bbmlm.js} +1 -1
  73. python_cad_tools/_viewer_static/assets/{flowGraphPointerUpEventBlock-D1tqJ9jF.js → flowGraphPointerUpEventBlock-Lfu7DTHO.js} +1 -1
  74. python_cad_tools/_viewer_static/assets/{flowGraphReceiveCustomEventBlock-D3VAKTpt.js → flowGraphReceiveCustomEventBlock-CNMufa4Q.js} +1 -1
  75. python_cad_tools/_viewer_static/assets/{flowGraphSceneReadyEventBlock-Dt8AsNSg.js → flowGraphSceneReadyEventBlock-BInxhpxK.js} +1 -1
  76. python_cad_tools/_viewer_static/assets/{flowGraphSceneTickEventBlock-BtuZ_Spn.js → flowGraphSceneTickEventBlock-DTDZyoc3.js} +1 -1
  77. python_cad_tools/_viewer_static/assets/{flowGraphSendCustomEventBlock-B8Dzycmf.js → flowGraphSendCustomEventBlock-BOGgKOnP.js} +1 -1
  78. python_cad_tools/_viewer_static/assets/{flowGraphSequenceBlock-CQsb2okn.js → flowGraphSequenceBlock-D-FGr9Zw.js} +1 -1
  79. python_cad_tools/_viewer_static/assets/{flowGraphSetAngularVelocityBlock-C3zOq5X7.js → flowGraphSetAngularVelocityBlock-CH6VePBl.js} +1 -1
  80. python_cad_tools/_viewer_static/assets/{flowGraphSetDelayBlock-DxyUb-8k.js → flowGraphSetDelayBlock-n6qAMb7Q.js} +1 -1
  81. python_cad_tools/_viewer_static/assets/{flowGraphSetLinearVelocityBlock-DeNTJQ42.js → flowGraphSetLinearVelocityBlock-DcqJhGqB.js} +1 -1
  82. python_cad_tools/_viewer_static/assets/{flowGraphSetPhysicsMotionTypeBlock-i233RoWe.js → flowGraphSetPhysicsMotionTypeBlock-DRWqANvn.js} +1 -1
  83. python_cad_tools/_viewer_static/assets/{flowGraphSetPropertyBlock-Darrnz2o.js → flowGraphSetPropertyBlock-D_IoFmjW.js} +1 -1
  84. python_cad_tools/_viewer_static/assets/{flowGraphSetSoundVolumeBlock-KrTTGHr6.js → flowGraphSetSoundVolumeBlock-Cu0qdSne.js} +1 -1
  85. python_cad_tools/_viewer_static/assets/{flowGraphSetVariableBlock-8CdS1h8e.js → flowGraphSetVariableBlock-ob3vWA--.js} +1 -1
  86. python_cad_tools/_viewer_static/assets/{flowGraphSoundEndedEventBlock-Cuk8JjDG.js → flowGraphSoundEndedEventBlock-C2d303hL.js} +1 -1
  87. python_cad_tools/_viewer_static/assets/{flowGraphStopAnimationBlock-DOsG4sc5.js → flowGraphStopAnimationBlock-BqCklpFH.js} +1 -1
  88. python_cad_tools/_viewer_static/assets/{flowGraphStopSoundBlock-C5IaCPpa.js → flowGraphStopSoundBlock-bk8E55Bx.js} +1 -1
  89. python_cad_tools/_viewer_static/assets/{flowGraphSwitchBlock-ClqiypjM.js → flowGraphSwitchBlock-DvwhuZhG.js} +1 -1
  90. python_cad_tools/_viewer_static/assets/{flowGraphThrottleBlock-C7hhfNo2.js → flowGraphThrottleBlock-DG8TRsJy.js} +1 -1
  91. python_cad_tools/_viewer_static/assets/{flowGraphTransformCoordinatesSystemBlock-BksU6sPJ.js → flowGraphTransformCoordinatesSystemBlock-CH4muGsP.js} +1 -1
  92. python_cad_tools/_viewer_static/assets/{flowGraphTypeToTypeBlocks-DJi_CBW-.js → flowGraphTypeToTypeBlocks-C7hV0GKG.js} +1 -1
  93. python_cad_tools/_viewer_static/assets/{flowGraphUnaryOperationBlock-U15mYQbJ.js → flowGraphUnaryOperationBlock-DiLGLHtc.js} +1 -1
  94. python_cad_tools/_viewer_static/assets/{flowGraphVectorMathBlocks-D4QAvgsk.js → flowGraphVectorMathBlocks-USb1v61c.js} +1 -1
  95. python_cad_tools/_viewer_static/assets/{flowGraphWaitAllBlock-UV6LDk1r.js → flowGraphWaitAllBlock-D5X16kvu.js} +1 -1
  96. python_cad_tools/_viewer_static/assets/{flowGraphWhileLoopBlock-DPpNHwZP.js → flowGraphWhileLoopBlock-Be9fTLoy.js} +1 -1
  97. python_cad_tools/_viewer_static/assets/{fogFragment-pKchdx3M.js → fogFragment-BzLCRCIz.js} +1 -1
  98. python_cad_tools/_viewer_static/assets/{gaussianSplatting-oRLzV71m.js → gaussianSplatting-CAfPyqPa.js} +1 -1
  99. python_cad_tools/_viewer_static/assets/{gaussianSplatting-DgjcxjKa.js → gaussianSplatting-DPftVbu_.js} +1 -1
  100. python_cad_tools/_viewer_static/assets/{gaussianSplatting.fragment-BKYuCXf7.js → gaussianSplatting.fragment--eSkFo4e.js} +1 -1
  101. python_cad_tools/_viewer_static/assets/{gaussianSplatting.fragment-NCxeyHg7.js → gaussianSplatting.fragment-bBe4NB4J.js} +1 -1
  102. python_cad_tools/_viewer_static/assets/{gaussianSplatting.vertex-CW0PXB4s.js → gaussianSplatting.vertex-56pdhT0C.js} +1 -1
  103. python_cad_tools/_viewer_static/assets/{gaussianSplatting.vertex-zmXoP8p9.js → gaussianSplatting.vertex-B1n9hp15.js} +1 -1
  104. python_cad_tools/_viewer_static/assets/{gaussianSplattingVoxel.fragment-CgX-XH5m.js → gaussianSplattingVoxel.fragment-BZapF5sB.js} +1 -1
  105. python_cad_tools/_viewer_static/assets/{gaussianSplattingVoxel.fragment--IDQcS1p.js → gaussianSplattingVoxel.fragment-CX6nBRSU.js} +1 -1
  106. python_cad_tools/_viewer_static/assets/{gaussianSplattingVoxel.vertex-DzuuyEGB.js → gaussianSplattingVoxel.vertex-COp6zd-l.js} +1 -1
  107. python_cad_tools/_viewer_static/assets/{gaussianSplattingVoxel.vertex-YB1C1Muy.js → gaussianSplattingVoxel.vertex-aXKOzvn3.js} +1 -1
  108. python_cad_tools/_viewer_static/assets/{geometry.fragment-EEbMy57o.js → geometry.fragment-BEdt-FQu.js} +1 -1
  109. python_cad_tools/_viewer_static/assets/{geometry.fragment-DuBDWlLB.js → geometry.fragment-Dr1pGbVQ.js} +1 -1
  110. python_cad_tools/_viewer_static/assets/{geometry.vertex-3cVZEKxJ.js → geometry.vertex--elQa6vQ.js} +1 -1
  111. python_cad_tools/_viewer_static/assets/{geometry.vertex-B--XA-QK.js → geometry.vertex-C4cLov7Q.js} +1 -1
  112. python_cad_tools/_viewer_static/assets/{glowBlurPostProcess.fragment-UNz8njEJ.js → glowBlurPostProcess.fragment-C_S_GG9X.js} +1 -1
  113. python_cad_tools/_viewer_static/assets/{glowMapGeneration.fragment-CsSqgq6c.js → glowMapGeneration.fragment-B9tAmR9r.js} +1 -1
  114. python_cad_tools/_viewer_static/assets/{glowMapGeneration.vertex-DOMHadFA.js → glowMapGeneration.vertex-CEIj_3tv.js} +1 -1
  115. python_cad_tools/_viewer_static/assets/{glowMapMerge.fragment-DXi2v5pz.js → glowMapMerge.fragment-C0kWfvu0.js} +1 -1
  116. python_cad_tools/_viewer_static/assets/{glowMapMerge.vertex-DgBSWFHP.js → glowMapMerge.vertex-DPy1k2mD.js} +1 -1
  117. python_cad_tools/_viewer_static/assets/{harmonicsFunctions-BkifmnNV.js → harmonicsFunctions-BVmgiiRj.js} +1 -1
  118. python_cad_tools/_viewer_static/assets/{helperFunctions-Bx8RYYvi.js → helperFunctions-DeCJcXoK.js} +1 -1
  119. python_cad_tools/_viewer_static/assets/{iesTextureLoader-Dj5K0vc1.js → iesTextureLoader-CLEy0Gjc.js} +1 -1
  120. python_cad_tools/_viewer_static/assets/{index-JRwY7p9T.js → index-YcXsPtFI.js} +21 -19
  121. python_cad_tools/_viewer_static/assets/{kernelBlur.fragment-BRdwtDs7.js → kernelBlur.fragment-DhmP78e4.js} +1 -1
  122. python_cad_tools/_viewer_static/assets/{kernelBlur.fragment-B9YDiI_M.js → kernelBlur.fragment-DzyofO4j.js} +1 -1
  123. python_cad_tools/_viewer_static/assets/{kernelBlur.vertex-CWlIunB6.js → kernelBlur.vertex-1S6DR99z.js} +1 -1
  124. python_cad_tools/_viewer_static/assets/{kernelBlur.vertex-A7OpqdrG.js → kernelBlur.vertex-BUw8hyu8.js} +1 -1
  125. python_cad_tools/_viewer_static/assets/{kernelBlurVaryingDeclaration-PE5ICZNw.js → kernelBlurVaryingDeclaration-DPnSKXPz.js} +1 -1
  126. python_cad_tools/_viewer_static/assets/{kernelBlurVaryingDeclaration-YMenN7Se.js → kernelBlurVaryingDeclaration-GWJW2YR3.js} +1 -1
  127. python_cad_tools/_viewer_static/assets/{ktxTextureLoader-uG9TUdGM.js → ktxTextureLoader-Bz9RqBRq.js} +1 -1
  128. python_cad_tools/_viewer_static/assets/{lightFragment-CDLhoaId.js → lightFragment-BRkIPUO1.js} +1 -1
  129. python_cad_tools/_viewer_static/assets/{logDepthDeclaration-BOlhc3aa.js → logDepthDeclaration-DHeJwlJR.js} +1 -1
  130. python_cad_tools/_viewer_static/assets/{logDepthVertex-BIA9Xrid.js → logDepthVertex-Dt5zdVFA.js} +1 -1
  131. python_cad_tools/_viewer_static/assets/{mainUVVaryingDeclaration-PmIDYGIz.js → mainUVVaryingDeclaration-CoUbOUEQ.js} +1 -1
  132. python_cad_tools/_viewer_static/assets/{meshUboDeclaration-BfPhZsyr.js → meshUboDeclaration-dDsFbRSv.js} +1 -1
  133. python_cad_tools/_viewer_static/assets/{oitFragment-DpKfMtsk.js → oitFragment-C1JYx8fS.js} +1 -1
  134. python_cad_tools/_viewer_static/assets/{openpbr.fragment-BAOdoy3Z.js → openpbr.fragment-BJTs78x9.js} +1 -1
  135. python_cad_tools/_viewer_static/assets/{openpbr.fragment-BmgNfxS4.js → openpbr.fragment-CnBW8BK7.js} +1 -1
  136. python_cad_tools/_viewer_static/assets/{openpbr.vertex-BpB-7aXl.js → openpbr.vertex-Cis9aL4z.js} +1 -1
  137. python_cad_tools/_viewer_static/assets/{openpbr.vertex-D-IjPutK.js → openpbr.vertex-Qr3-JJak.js} +1 -1
  138. python_cad_tools/_viewer_static/assets/{openpbrMaterial.pure-C6V2SeQx.js → openpbrMaterial.pure-CyogTmBA.js} +3 -3
  139. python_cad_tools/_viewer_static/assets/{openpbrMaterialLoadingAdapter-CbcwuEwB.js → openpbrMaterialLoadingAdapter-Ia3_0Gp8.js} +2 -2
  140. python_cad_tools/_viewer_static/assets/{openpbrTransmissionLayerData-BClMu_zp.js → openpbrTransmissionLayerData-D2UaStdu.js} +1 -1
  141. python_cad_tools/_viewer_static/assets/{openpbrTransmissionLayerData-1U_DHNWK.js → openpbrTransmissionLayerData-Yc4m_LFv.js} +1 -1
  142. python_cad_tools/_viewer_static/assets/{openpbrUboDeclaration-piwBvKOi.js → openpbrUboDeclaration-DfY3S0VX.js} +1 -1
  143. python_cad_tools/_viewer_static/assets/{openpbrUboDeclaration-DLujw3YH.js → openpbrUboDeclaration-YAeSpo2n.js} +1 -1
  144. python_cad_tools/_viewer_static/assets/{packingFunctions-BD5WZtBT.js → packingFunctions-BWIusbYB.js} +1 -1
  145. python_cad_tools/_viewer_static/assets/{packingFunctions-D3gaUkUa.js → packingFunctions-yE7XM0N6.js} +1 -1
  146. python_cad_tools/_viewer_static/assets/{pass.fragment-CzZpaqYk.js → pass.fragment-DsLu0lV1.js} +1 -1
  147. python_cad_tools/_viewer_static/assets/{passCube.fragment-DwRJ1H1s.js → passCube.fragment-CmSU0-bM.js} +1 -1
  148. python_cad_tools/_viewer_static/assets/{passCube.fragment-Bso78Amo.js → passCube.fragment-CwkS-Cl_.js} +1 -1
  149. python_cad_tools/_viewer_static/assets/{pbr.fragment-sZ-foSaO.js → pbr.fragment-BUBggeRz.js} +1 -1
  150. python_cad_tools/_viewer_static/assets/{pbr.vertex-PBjkpyNN.js → pbr.vertex-BXB7uMkC.js} +1 -1
  151. python_cad_tools/_viewer_static/assets/{pbrBRDFFunctions-Dv8-Akv1.js → pbrBRDFFunctions-C50h7JEU.js} +1 -1
  152. python_cad_tools/_viewer_static/assets/{pbrDebug-5RaK38tC.js → pbrDebug-RHma8ghT.js} +1 -1
  153. python_cad_tools/_viewer_static/assets/{pbrIBLFunctions-D_X-tzpO.js → pbrIBLFunctions-D5A_AxnZ.js} +1 -1
  154. python_cad_tools/_viewer_static/assets/{pbrMaterial.pure-RJ6tVczH.js → pbrMaterial.pure-DN58n3w5.js} +2 -2
  155. python_cad_tools/_viewer_static/assets/{pbrMaterialLoadingAdapter-BqlfZ1xs.js → pbrMaterialLoadingAdapter-COioUqvP.js} +1 -1
  156. python_cad_tools/_viewer_static/assets/{pbrUboDeclaration-BqNgF1qB.js → pbrUboDeclaration-CMkwjzTB.js} +1 -1
  157. python_cad_tools/_viewer_static/assets/{postprocess.vertex-9J4kRI6V.js → postprocess.vertex-DYv0bAut.js} +1 -1
  158. python_cad_tools/_viewer_static/assets/{procedural.vertex-Bq_A-zE0.js → procedural.vertex-BMAV1XYH.js} +1 -1
  159. python_cad_tools/_viewer_static/assets/{procedural.vertex-DzkBufoo.js → procedural.vertex-CRCZXfiw.js} +1 -1
  160. python_cad_tools/_viewer_static/assets/{reflectionFunction-n0dvho3A.js → reflectionFunction-CpMEFzxv.js} +1 -1
  161. python_cad_tools/_viewer_static/assets/{rgbdDecode.fragment-0BuGamw5.js → rgbdDecode.fragment-BZcVE2Bb.js} +1 -1
  162. python_cad_tools/_viewer_static/assets/{rgbdEncode.fragment-BBGe9kwu.js → rgbdEncode.fragment-BImEwGmR.js} +1 -1
  163. python_cad_tools/_viewer_static/assets/{rgbdEncode.fragment-DiiD2NE-.js → rgbdEncode.fragment-DPFzMtDN.js} +1 -1
  164. python_cad_tools/_viewer_static/assets/{sceneUboDeclaration-BmpwedcW.js → sceneUboDeclaration-1bB3YoON.js} +1 -1
  165. python_cad_tools/_viewer_static/assets/{textureProcessor.fragment-CyBHPXX2.js → textureProcessor.fragment--dZBsr4X.js} +1 -1
  166. python_cad_tools/_viewer_static/assets/{textureProcessor.fragment-CwNRejEe.js → textureProcessor.fragment-BlZ9kg3B.js} +1 -1
  167. python_cad_tools/_viewer_static/assets/{tgaTextureLoader-ClB6SRY9.js → tgaTextureLoader-DeroIE2j.js} +1 -1
  168. python_cad_tools/_viewer_static/assets/{vertexColorMixing-f4wQRwGI.js → vertexColorMixing-C6OHmVcI.js} +1 -1
  169. python_cad_tools/_viewer_static/index.html +1 -1
  170. python_cad_tools/build-info.json +1 -1
  171. {python_cad_tools-0.1.3.dev2.dist-info → python_cad_tools-0.1.4.dist-info}/METADATA +1 -1
  172. python_cad_tools-0.1.4.dist-info/RECORD +237 -0
  173. python_cad_tools/_viewer_static/assets/dds-YsWo1VVF.js +0 -1
  174. python_cad_tools-0.1.3.dev2.dist-info/RECORD +0 -239
  175. python_cad_tools-0.1.3.dev2.dist-info/scm_file_list.json +0 -304
  176. python_cad_tools-0.1.3.dev2.dist-info/scm_version.json +0 -8
  177. {python_cad_tools-0.1.3.dev2.dist-info → python_cad_tools-0.1.4.dist-info}/WHEEL +0 -0
  178. {python_cad_tools-0.1.3.dev2.dist-info → python_cad_tools-0.1.4.dist-info}/entry_points.txt +0 -0
  179. {python_cad_tools-0.1.3.dev2.dist-info → python_cad_tools-0.1.4.dist-info}/licenses/LICENSE +0 -0
  180. {python_cad_tools-0.1.3.dev2.dist-info → python_cad_tools-0.1.4.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- import{j as a,g as r,x as o,I as h,i as p}from"./index-JRwY7p9T.js";class u extends a{constructor(e){super(e),this.type="PointerMove",this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",o),this.meshUnderPointer=this.registerDataOutput("meshUnderPointer",r),this.pickedPoint=this.registerDataOutput("pickedPoint",r)}_executeEvent(e,s){const i=this.targetMesh.getValue(e),t=s.pickInfo?.pickedMesh;return i&&!(t===i||t&&h(t,i))?!0:(this.pointerId.setValue(s.event.pointerId,e),this.meshUnderPointer.setValue(t??null,e),this.pickedPoint.setValue(s.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerMoveEventBlock"}}let n=!1;function c(){n||(n=!0,p("FlowGraphPointerMoveEventBlock",u))}c();export{u as FlowGraphPointerMoveEventBlock,c as RegisterFlowGraphPointerMoveEventBlock};
1
+ import{j as a,g as r,x as o,I as h,i as p}from"./index-YcXsPtFI.js";class u extends a{constructor(e){super(e),this.type="PointerMove",this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",o),this.meshUnderPointer=this.registerDataOutput("meshUnderPointer",r),this.pickedPoint=this.registerDataOutput("pickedPoint",r)}_executeEvent(e,s){const i=this.targetMesh.getValue(e),t=s.pickInfo?.pickedMesh;return i&&!(t===i||t&&h(t,i))?!0:(this.pointerId.setValue(s.event.pointerId,e),this.meshUnderPointer.setValue(t??null,e),this.pickedPoint.setValue(s.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerMoveEventBlock"}}let n=!1;function c(){n||(n=!0,p("FlowGraphPointerMoveEventBlock",u))}c();export{u as FlowGraphPointerMoveEventBlock,c as RegisterFlowGraphPointerMoveEventBlock};
@@ -1 +1 @@
1
- import{j as h,x as o,g as r,I as i,i as u}from"./index-JRwY7p9T.js";class a extends h{constructor(e){super(e),this.type="PointerOut",this.pointerId=this.registerDataOutput("pointerId",o),this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.meshOutOfPointer=this.registerDataOutput("meshOutOfPointer",r)}_executeEvent(e,t){const s=this.targetMesh.getValue(e);return this.meshOutOfPointer.setValue(t.mesh,e),this.pointerId.setValue(t.pointerId,e),!(t.over&&i(t.mesh,s))&&(t.mesh===s||i(t.mesh,s))?(this._execute(e),!this.config?.stopPropagation):!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerOutEventBlock"}}let n=!1;function p(){n||(n=!0,u("FlowGraphPointerOutEventBlock",a))}p();export{a as FlowGraphPointerOutEventBlock,p as RegisterFlowGraphPointerOutEventBlock};
1
+ import{j as h,x as o,g as r,I as i,i as u}from"./index-YcXsPtFI.js";class a extends h{constructor(e){super(e),this.type="PointerOut",this.pointerId=this.registerDataOutput("pointerId",o),this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.meshOutOfPointer=this.registerDataOutput("meshOutOfPointer",r)}_executeEvent(e,t){const s=this.targetMesh.getValue(e);return this.meshOutOfPointer.setValue(t.mesh,e),this.pointerId.setValue(t.pointerId,e),!(t.over&&i(t.mesh,s))&&(t.mesh===s||i(t.mesh,s))?(this._execute(e),!this.config?.stopPropagation):!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerOutEventBlock"}}let n=!1;function p(){n||(n=!0,u("FlowGraphPointerOutEventBlock",a))}p();export{a as FlowGraphPointerOutEventBlock,p as RegisterFlowGraphPointerOutEventBlock};
@@ -1 +1 @@
1
- import{j as o,x as a,g as s,I as i,i as u}from"./index-JRwY7p9T.js";class p extends o{constructor(e){super(e),this.type="PointerOver",this.pointerId=this.registerDataOutput("pointerId",a),this.targetMesh=this.registerDataInput("targetMesh",s,e?.targetMesh),this.meshUnderPointer=this.registerDataOutput("meshUnderPointer",s)}_executeEvent(e,t){const r=this.targetMesh.getValue(e);this.meshUnderPointer.setValue(t.mesh,e);const h=t.out&&i(t.out,r);return this.pointerId.setValue(t.pointerId,e),!h&&(t.mesh===r||i(t.mesh,r))?(this._execute(e),!this.config?.stopPropagation):!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerOverEventBlock"}}let n=!1;function c(){n||(n=!0,u("FlowGraphPointerOverEventBlock",p))}c();export{p as FlowGraphPointerOverEventBlock,c as RegisterFlowGraphPointerOverEventBlock};
1
+ import{j as o,x as a,g as s,I as i,i as u}from"./index-YcXsPtFI.js";class p extends o{constructor(e){super(e),this.type="PointerOver",this.pointerId=this.registerDataOutput("pointerId",a),this.targetMesh=this.registerDataInput("targetMesh",s,e?.targetMesh),this.meshUnderPointer=this.registerDataOutput("meshUnderPointer",s)}_executeEvent(e,t){const r=this.targetMesh.getValue(e);this.meshUnderPointer.setValue(t.mesh,e);const h=t.out&&i(t.out,r);return this.pointerId.setValue(t.pointerId,e),!h&&(t.mesh===r||i(t.mesh,r))?(this._execute(e),!this.config?.stopPropagation):!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerOverEventBlock"}}let n=!1;function c(){n||(n=!0,u("FlowGraphPointerOverEventBlock",p))}c();export{p as FlowGraphPointerOverEventBlock,c as RegisterFlowGraphPointerOverEventBlock};
@@ -1 +1 @@
1
- import{j as n,g as r,x as p,I as h,i as o}from"./index-JRwY7p9T.js";class c extends n{constructor(e){super(e),this.type="PointerUp",this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",p),this.pickedMesh=this.registerDataOutput("pickedMesh",r),this.pickedPoint=this.registerDataOutput("pickedPoint",r)}_executeEvent(e,s){const i=this.targetMesh.getValue(e),t=s.pickInfo?.pickedMesh;return i&&!(t===i||t&&h(t,i))?!0:(this.pointerId.setValue(s.event.pointerId,e),this.pickedMesh.setValue(t??null,e),this.pickedPoint.setValue(s.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerUpEventBlock"}}let a=!1;function u(){a||(a=!0,o("FlowGraphPointerUpEventBlock",c))}u();export{c as FlowGraphPointerUpEventBlock,u as RegisterFlowGraphPointerUpEventBlock};
1
+ import{j as n,g as r,x as p,I as h,i as o}from"./index-YcXsPtFI.js";class c extends n{constructor(e){super(e),this.type="PointerUp",this.targetMesh=this.registerDataInput("targetMesh",r,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",p),this.pickedMesh=this.registerDataOutput("pickedMesh",r),this.pickedPoint=this.registerDataOutput("pickedPoint",r)}_executeEvent(e,s){const i=this.targetMesh.getValue(e),t=s.pickInfo?.pickedMesh;return i&&!(t===i||t&&h(t,i))?!0:(this.pointerId.setValue(s.event.pointerId,e),this.pickedMesh.setValue(t??null,e),this.pickedPoint.setValue(s.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerUpEventBlock"}}let a=!1;function u(){a||(a=!0,o("FlowGraphPointerUpEventBlock",c))}u();export{c as FlowGraphPointerUpEventBlock,u as RegisterFlowGraphPointerUpEventBlock};
@@ -1 +1 @@
1
- import{j as c,z as v,E as i,L as l,i as p}from"./index-JRwY7p9T.js";class u extends c{constructor(e){super(e),this.config=e,this.initPriority=1;for(const t in this.config.eventData){const s=this.config.eventData[t],r=typeof s.type=="string"?s.type:s.type?.typeName,o=typeof s.type?.serialize=="function"?s.type:v(r);s.type=o,this.registerDataOutput(t,o)}}_preparePendingTasks(e){const t=e.configuration.coordinator.getCustomEventObservable(this.config.eventId);if(t&&t.hasObservers()&&t.observers.length>i.MaxEventsPerType){this._reportError(e,`FlowGraphReceiveCustomEventBlock: Too many observers for event ${this.config.eventId}. Max is ${i.MaxEventsPerType}.`);return}const s=t.add(r=>{const o=Object.keys(r);for(const n of o)this.getDataOutput(n)?.setValue(r[n],e);this._execute(e)});e._setExecutionVariable(this,"_eventObserver",s)}_cancelPendingTasks(e){const t=e.configuration.coordinator.getCustomEventObservable(this.config.eventId);if(t){const s=e._getExecutionVariable(this,"_eventObserver",null);t.remove(s)}else l.Warn(`FlowGraphReceiveCustomEventBlock: Missing observable for event ${this.config.eventId}`)}_executeEvent(e,t){return!0}serialize(e={}){super.serialize(e);const t={};for(const s in this.config.eventData)t[s]={type:this.config.eventData[s].type.typeName};e.config.eventData=t}getClassName(){return"FlowGraphReceiveCustomEventBlock"}}let a=!1;function h(){a||(a=!0,p("FlowGraphReceiveCustomEventBlock",u))}h();export{u as FlowGraphReceiveCustomEventBlock,h as RegisterFlowGraphReceiveCustomEventBlock};
1
+ import{j as c,z as v,E as i,L as l,i as p}from"./index-YcXsPtFI.js";class u extends c{constructor(e){super(e),this.config=e,this.initPriority=1;for(const t in this.config.eventData){const s=this.config.eventData[t],r=typeof s.type=="string"?s.type:s.type?.typeName,o=typeof s.type?.serialize=="function"?s.type:v(r);s.type=o,this.registerDataOutput(t,o)}}_preparePendingTasks(e){const t=e.configuration.coordinator.getCustomEventObservable(this.config.eventId);if(t&&t.hasObservers()&&t.observers.length>i.MaxEventsPerType){this._reportError(e,`FlowGraphReceiveCustomEventBlock: Too many observers for event ${this.config.eventId}. Max is ${i.MaxEventsPerType}.`);return}const s=t.add(r=>{const o=Object.keys(r);for(const n of o)this.getDataOutput(n)?.setValue(r[n],e);this._execute(e)});e._setExecutionVariable(this,"_eventObserver",s)}_cancelPendingTasks(e){const t=e.configuration.coordinator.getCustomEventObservable(this.config.eventId);if(t){const s=e._getExecutionVariable(this,"_eventObserver",null);t.remove(s)}else l.Warn(`FlowGraphReceiveCustomEventBlock: Missing observable for event ${this.config.eventId}`)}_executeEvent(e,t){return!0}serialize(e={}){super.serialize(e);const t={};for(const s in this.config.eventData)t[s]={type:this.config.eventData[s].type.typeName};e.config.eventData=t}getClassName(){return"FlowGraphReceiveCustomEventBlock"}}let a=!1;function h(){a||(a=!0,p("FlowGraphReceiveCustomEventBlock",u))}h();export{u as FlowGraphReceiveCustomEventBlock,h as RegisterFlowGraphReceiveCustomEventBlock};
@@ -1 +1 @@
1
- import{j as n,i as r}from"./index-JRwY7p9T.js";class a extends n{constructor(){super(...arguments),this.initPriority=-1,this.type="SceneReady"}_executeEvent(e,o){return this._execute(e),!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneReadyEventBlock"}}let t=!1;function s(){t||(t=!0,r("FlowGraphSceneReadyEventBlock",a))}s();export{a as FlowGraphSceneReadyEventBlock,s as RegisterFlowGraphSceneReadyEventBlock};
1
+ import{j as n,i as r}from"./index-YcXsPtFI.js";class a extends n{constructor(){super(...arguments),this.initPriority=-1,this.type="SceneReady"}_executeEvent(e,o){return this._execute(e),!0}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneReadyEventBlock"}}let t=!1;function s(){t||(t=!0,r("FlowGraphSceneReadyEventBlock",a))}s();export{a as FlowGraphSceneReadyEventBlock,s as RegisterFlowGraphSceneReadyEventBlock};
@@ -1 +1 @@
1
- import{j as s,x as i,i as a}from"./index-JRwY7p9T.js";class n extends s{constructor(){super(),this.type="SceneBeforeRender",this.timeSinceStart=this.registerDataOutput("timeSinceStart",i),this.deltaTime=this.registerDataOutput("deltaTime",i)}_preparePendingTasks(e){}_executeEvent(e,t){return this.timeSinceStart.setValue(t.timeSinceStart,e),this.deltaTime.setValue(t.deltaTime,e),this._execute(e),!0}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneTickEventBlock"}}let r=!1;function c(){r||(r=!0,a("FlowGraphSceneTickEventBlock",n))}c();export{n as FlowGraphSceneTickEventBlock,c as RegisterFlowGraphSceneTickEventBlock};
1
+ import{j as s,x as i,i as a}from"./index-YcXsPtFI.js";class n extends s{constructor(){super(),this.type="SceneBeforeRender",this.timeSinceStart=this.registerDataOutput("timeSinceStart",i),this.deltaTime=this.registerDataOutput("deltaTime",i)}_preparePendingTasks(e){}_executeEvent(e,t){return this.timeSinceStart.setValue(t.timeSinceStart,e),this.deltaTime.setValue(t.deltaTime,e),this._execute(e),!0}_cancelPendingTasks(e){}getClassName(){return"FlowGraphSceneTickEventBlock"}}let r=!1;function c(){r||(r=!0,a("FlowGraphSceneTickEventBlock",n))}c();export{n as FlowGraphSceneTickEventBlock,c as RegisterFlowGraphSceneTickEventBlock};
@@ -1 +1 @@
1
- import{y as i,z as r,i as c}from"./index-JRwY7p9T.js";class p extends i{constructor(t){super(t),this.config=t;for(const n in this.config.eventData){const e=this.config.eventData[n],o=typeof e.type=="string"?e.type:e.type?.typeName,a=typeof e.type?.serialize=="function"?e.type:r(o);e.type=a,this.registerDataInput(n,a,e.value)}}_execute(t){const n=this.config.eventId,e={};for(const o of this.dataInputs)e[o.name]=o.getValue(t);t.configuration.coordinator.notifyCustomEvent(n,e),this.out._activateSignal(t)}serialize(t={}){super.serialize(t);const n={};for(const e in this.config.eventData){const o=this.config.eventData[e];n[e]={type:o.type.typeName},o.value!==void 0&&(n[e].value=o.value)}t.config.eventData=n}getClassName(){return"FlowGraphSendCustomEventBlock"}}let s=!1;function l(){s||(s=!0,c("FlowGraphSendCustomEventBlock",p))}l();export{p as FlowGraphSendCustomEventBlock,l as RegisterFlowGraphSendCustomEventBlock};
1
+ import{y as i,z as r,i as c}from"./index-YcXsPtFI.js";class p extends i{constructor(t){super(t),this.config=t;for(const n in this.config.eventData){const e=this.config.eventData[n],o=typeof e.type=="string"?e.type:e.type?.typeName,a=typeof e.type?.serialize=="function"?e.type:r(o);e.type=a,this.registerDataInput(n,a,e.value)}}_execute(t){const n=this.config.eventId,e={};for(const o of this.dataInputs)e[o.name]=o.getValue(t);t.configuration.coordinator.notifyCustomEvent(n,e),this.out._activateSignal(t)}serialize(t={}){super.serialize(t);const n={};for(const e in this.config.eventData){const o=this.config.eventData[e];n[e]={type:o.type.typeName},o.value!==void 0&&(n[e].value=o.value)}t.config.eventData=n}getClassName(){return"FlowGraphSendCustomEventBlock"}}let s=!1;function l(){s||(s=!0,c("FlowGraphSendCustomEventBlock",p))}l();export{p as FlowGraphSendCustomEventBlock,l as RegisterFlowGraphSendCustomEventBlock};
@@ -1 +1 @@
1
- import{N as s,i as n}from"./index-JRwY7p9T.js";class l extends s{constructor(e){super(e),this.config=e,this.executionSignals=[],this.setNumberOfOutputSignals(this.config.outputSignalCount)}_execute(e){for(let t=0;t<this.executionSignals.length;t++)this.executionSignals[t]._activateSignal(e)}setNumberOfOutputSignals(e=1){for(;this.executionSignals.length>e;){const t=this.executionSignals.pop();t&&(t.disconnectFromAll(),this._unregisterSignalOutput(t.name))}for(;this.executionSignals.length<e;)this.executionSignals.push(this._registerSignalOutput(`out_${this.executionSignals.length}`))}getClassName(){return"FlowGraphSequenceBlock"}}let i=!1;function o(){i||(i=!0,n("FlowGraphSequenceBlock",l))}o();export{l as FlowGraphSequenceBlock,o as RegisterFlowGraphSequenceBlock};
1
+ import{N as s,i as n}from"./index-YcXsPtFI.js";class l extends s{constructor(e){super(e),this.config=e,this.executionSignals=[],this.setNumberOfOutputSignals(this.config.outputSignalCount)}_execute(e){for(let t=0;t<this.executionSignals.length;t++)this.executionSignals[t]._activateSignal(e)}setNumberOfOutputSignals(e=1){for(;this.executionSignals.length>e;){const t=this.executionSignals.pop();t&&(t.disconnectFromAll(),this._unregisterSignalOutput(t.name))}for(;this.executionSignals.length<e;)this.executionSignals.push(this._registerSignalOutput(`out_${this.executionSignals.length}`))}getClassName(){return"FlowGraphSequenceBlock"}}let i=!1;function o(){i||(i=!0,n("FlowGraphSequenceBlock",l))}o();export{l as FlowGraphSequenceBlock,o as RegisterFlowGraphSequenceBlock};
@@ -1 +1 @@
1
- import{y as r,g as l,H as a,i as o}from"./index-JRwY7p9T.js";class s extends r{constructor(t){super(t),this.body=this.registerDataInput("body",l),this.velocity=this.registerDataInput("velocity",a)}_execute(t,g){const e=this.body.getValue(t);if(!e){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}e.setAngularVelocity(this.velocity.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetAngularVelocityBlock"}}let i=!1;function c(){i||(i=!0,o("FlowGraphSetAngularVelocityBlock",s))}c();export{s as FlowGraphSetAngularVelocityBlock,c as RegisterFlowGraphSetAngularVelocityBlock};
1
+ import{y as r,g as l,H as a,i as o}from"./index-YcXsPtFI.js";class s extends r{constructor(t){super(t),this.body=this.registerDataInput("body",l),this.velocity=this.registerDataInput("velocity",a)}_execute(t,g){const e=this.body.getValue(t);if(!e){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}e.setAngularVelocity(this.velocity.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetAngularVelocityBlock"}}let i=!1;function c(){i||(i=!0,o("FlowGraphSetAngularVelocityBlock",s))}c();export{s as FlowGraphSetAngularVelocityBlock,c as RegisterFlowGraphSetAngularVelocityBlock};
@@ -1 +1 @@
1
- import{az as n,w as m,x as v,O as g,X as h,L as d,i as T}from"./index-JRwY7p9T.js";var _;(function(r){r[r.INIT=0]="INIT",r[r.STARTED=1]="STARTED",r[r.ENDED=2]="ENDED"})(_||(_={}));class f{constructor(e){this.onEachCountObservable=new n,this.onTimerAbortedObservable=new n,this.onTimerEndedObservable=new n,this.onStateChangedObservable=new n,this._observer=null,this._breakOnNextTick=!1,this._tick=t=>{const a=Date.now();this._timer=a-this._startTime;const s={startTime:this._startTime,currentTime:a,deltaTime:this._timer,completeRate:this._timer/this._timeToEnd,payload:t},i=this._breakOnNextTick||this._breakCondition(s);i||this._timer>=this._timeToEnd?this._stop(s,i):this.onEachCountObservable.notifyObservers(s)},this._setState(0),this._contextObservable=e.contextObservable,this._observableParameters=e.observableParameters??{},this._breakCondition=e.breakCondition??(()=>!1),this._timeToEnd=e.timeout,e.onEnded&&this.onTimerEndedObservable.add(e.onEnded),e.onTick&&this.onEachCountObservable.add(e.onTick),e.onAborted&&this.onTimerAbortedObservable.add(e.onAborted)}set breakCondition(e){this._breakCondition=e}clearObservables(){this.onEachCountObservable.clear(),this.onTimerAbortedObservable.clear(),this.onTimerEndedObservable.clear(),this.onStateChangedObservable.clear()}start(e=this._timeToEnd){if(this._state===1)throw new Error("Timer already started. Please stop it before starting again");this._timeToEnd=e,this._startTime=Date.now(),this._timer=0,this._observer=this._contextObservable.add(this._tick,this._observableParameters.mask,this._observableParameters.insertFirst,this._observableParameters.scope),this._setState(1)}stop(){this._state===1&&(this._breakOnNextTick=!0)}dispose(){this._observer&&this._contextObservable.remove(this._observer),this.clearObservables()}_setState(e){this._state=e,this.onStateChangedObservable.notifyObservers(this._state)}_stop(e,t=!1){this._contextObservable.remove(this._observer),this._setState(2),t?this.onTimerAbortedObservable.notifyObservers(e):this.onTimerEndedObservable.notifyObservers(e)}}class l extends m{constructor(e){super(e),this.cancel=this._registerSignalInput("cancel"),this.duration=this.registerDataInput("duration",v),this.lastDelayIndex=this.registerDataOutput("lastDelayIndex",g,new h(-1))}_preparePendingTasks(e){const t=this.duration.getValue(e);if(t<0||isNaN(t)||!isFinite(t))return this._reportError(e,"Invalid duration in SetDelay block");if(e._getGlobalContextVariable("activeDelays",0)>=l.MaxParallelDelayCount)return this._reportError(e,"Max parallel delays reached");const s=e._getGlobalContextVariable("lastDelayIndex",-1),i=e._getExecutionVariable(this,"pendingDelays",[]),u=e.configuration.scene,o=new f({timeout:t*1e3,contextObservable:u.onBeforeRenderObservable,onEnded:()=>this._onEnded(o,e)});o.start();const b=s+1;this.lastDelayIndex.setValue(new h(b),e),e._setGlobalContextVariable("lastDelayIndex",b),i[b]=o,e._setExecutionVariable(this,"pendingDelays",i),this._updateGlobalTimers(e)}_cancelPendingTasks(e){const t=e._getExecutionVariable(this,"pendingDelays",[]);for(const a of t)a?.dispose();e._deleteExecutionVariable(this,"pendingDelays"),this.lastDelayIndex.setValue(new h(-1),e),this._updateGlobalTimers(e)}_execute(e,t){if(t===this.cancel){this._cancelPendingTasks(e);return}else this._preparePendingTasks(e),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetDelayBlock"}_onEnded(e,t){const a=t._getExecutionVariable(this,"pendingDelays",[]),s=a.indexOf(e);s!==-1?a.splice(s,1):d.Warn("FlowGraphTimerBlock: Timer ended but was not found in the running timers list"),t._removePendingBlock(this),this.done._activateSignal(t),this._updateGlobalTimers(t)}_updateGlobalTimers(e){const t=e._getExecutionVariable(this,"pendingDelays",[]),a=e._getGlobalContextVariable("pendingDelays",[]);for(let s=0;s<t.length;s++){if(!t[s])continue;const i=t[s];a[s]&&a[s]!==i?d.Warn("FlowGraphTimerBlock: Timer ended but was not found in the running timers list"):a[s]=i}e._setGlobalContextVariable("pendingDelays",a)}}l.MaxParallelDelayCount=100;let c=!1;function p(){c||(c=!0,T("FlowGraphSetDelayBlock",l))}p();export{l as FlowGraphSetDelayBlock,p as RegisterFlowGraphSetDelayBlock};
1
+ import{az as n,w as m,x as v,O as g,X as h,L as d,i as T}from"./index-YcXsPtFI.js";var _;(function(r){r[r.INIT=0]="INIT",r[r.STARTED=1]="STARTED",r[r.ENDED=2]="ENDED"})(_||(_={}));class f{constructor(e){this.onEachCountObservable=new n,this.onTimerAbortedObservable=new n,this.onTimerEndedObservable=new n,this.onStateChangedObservable=new n,this._observer=null,this._breakOnNextTick=!1,this._tick=t=>{const a=Date.now();this._timer=a-this._startTime;const s={startTime:this._startTime,currentTime:a,deltaTime:this._timer,completeRate:this._timer/this._timeToEnd,payload:t},i=this._breakOnNextTick||this._breakCondition(s);i||this._timer>=this._timeToEnd?this._stop(s,i):this.onEachCountObservable.notifyObservers(s)},this._setState(0),this._contextObservable=e.contextObservable,this._observableParameters=e.observableParameters??{},this._breakCondition=e.breakCondition??(()=>!1),this._timeToEnd=e.timeout,e.onEnded&&this.onTimerEndedObservable.add(e.onEnded),e.onTick&&this.onEachCountObservable.add(e.onTick),e.onAborted&&this.onTimerAbortedObservable.add(e.onAborted)}set breakCondition(e){this._breakCondition=e}clearObservables(){this.onEachCountObservable.clear(),this.onTimerAbortedObservable.clear(),this.onTimerEndedObservable.clear(),this.onStateChangedObservable.clear()}start(e=this._timeToEnd){if(this._state===1)throw new Error("Timer already started. Please stop it before starting again");this._timeToEnd=e,this._startTime=Date.now(),this._timer=0,this._observer=this._contextObservable.add(this._tick,this._observableParameters.mask,this._observableParameters.insertFirst,this._observableParameters.scope),this._setState(1)}stop(){this._state===1&&(this._breakOnNextTick=!0)}dispose(){this._observer&&this._contextObservable.remove(this._observer),this.clearObservables()}_setState(e){this._state=e,this.onStateChangedObservable.notifyObservers(this._state)}_stop(e,t=!1){this._contextObservable.remove(this._observer),this._setState(2),t?this.onTimerAbortedObservable.notifyObservers(e):this.onTimerEndedObservable.notifyObservers(e)}}class l extends m{constructor(e){super(e),this.cancel=this._registerSignalInput("cancel"),this.duration=this.registerDataInput("duration",v),this.lastDelayIndex=this.registerDataOutput("lastDelayIndex",g,new h(-1))}_preparePendingTasks(e){const t=this.duration.getValue(e);if(t<0||isNaN(t)||!isFinite(t))return this._reportError(e,"Invalid duration in SetDelay block");if(e._getGlobalContextVariable("activeDelays",0)>=l.MaxParallelDelayCount)return this._reportError(e,"Max parallel delays reached");const s=e._getGlobalContextVariable("lastDelayIndex",-1),i=e._getExecutionVariable(this,"pendingDelays",[]),u=e.configuration.scene,o=new f({timeout:t*1e3,contextObservable:u.onBeforeRenderObservable,onEnded:()=>this._onEnded(o,e)});o.start();const b=s+1;this.lastDelayIndex.setValue(new h(b),e),e._setGlobalContextVariable("lastDelayIndex",b),i[b]=o,e._setExecutionVariable(this,"pendingDelays",i),this._updateGlobalTimers(e)}_cancelPendingTasks(e){const t=e._getExecutionVariable(this,"pendingDelays",[]);for(const a of t)a?.dispose();e._deleteExecutionVariable(this,"pendingDelays"),this.lastDelayIndex.setValue(new h(-1),e),this._updateGlobalTimers(e)}_execute(e,t){if(t===this.cancel){this._cancelPendingTasks(e);return}else this._preparePendingTasks(e),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetDelayBlock"}_onEnded(e,t){const a=t._getExecutionVariable(this,"pendingDelays",[]),s=a.indexOf(e);s!==-1?a.splice(s,1):d.Warn("FlowGraphTimerBlock: Timer ended but was not found in the running timers list"),t._removePendingBlock(this),this.done._activateSignal(t),this._updateGlobalTimers(t)}_updateGlobalTimers(e){const t=e._getExecutionVariable(this,"pendingDelays",[]),a=e._getGlobalContextVariable("pendingDelays",[]);for(let s=0;s<t.length;s++){if(!t[s])continue;const i=t[s];a[s]&&a[s]!==i?d.Warn("FlowGraphTimerBlock: Timer ended but was not found in the running timers list"):a[s]=i}e._setGlobalContextVariable("pendingDelays",a)}}l.MaxParallelDelayCount=100;let c=!1;function p(){c||(c=!0,T("FlowGraphSetDelayBlock",l))}p();export{l as FlowGraphSetDelayBlock,p as RegisterFlowGraphSetDelayBlock};
@@ -1 +1 @@
1
- import{y as r,g as a,H as o,i as s}from"./index-JRwY7p9T.js";class l extends r{constructor(e){super(e),this.body=this.registerDataInput("body",a),this.velocity=this.registerDataInput("velocity",o)}_execute(e,y){const t=this.body.getValue(e);if(!t){this._reportError(e,"No physics body provided"),this.out._activateSignal(e);return}t.setLinearVelocity(this.velocity.getValue(e)),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetLinearVelocityBlock"}}let i=!1;function c(){i||(i=!0,s("FlowGraphSetLinearVelocityBlock",l))}c();export{l as FlowGraphSetLinearVelocityBlock,c as RegisterFlowGraphSetLinearVelocityBlock};
1
+ import{y as r,g as a,H as o,i as s}from"./index-YcXsPtFI.js";class l extends r{constructor(e){super(e),this.body=this.registerDataInput("body",a),this.velocity=this.registerDataInput("velocity",o)}_execute(e,y){const t=this.body.getValue(e);if(!t){this._reportError(e,"No physics body provided"),this.out._activateSignal(e);return}t.setLinearVelocity(this.velocity.getValue(e)),this.out._activateSignal(e)}getClassName(){return"FlowGraphSetLinearVelocityBlock"}}let i=!1;function c(){i||(i=!0,s("FlowGraphSetLinearVelocityBlock",l))}c();export{l as FlowGraphSetLinearVelocityBlock,c as RegisterFlowGraphSetLinearVelocityBlock};
@@ -1 +1 @@
1
- import{y as s,g as o,x as r,i as a}from"./index-JRwY7p9T.js";class p extends s{constructor(t){super(t),this.body=this.registerDataInput("body",o),this.motionType=this.registerDataInput("motionType",r,2)}_execute(t,y){const e=this.body.getValue(t);if(!e){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}e.setMotionType(this.motionType.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetPhysicsMotionTypeBlock"}}let i=!1;function h(){i||(i=!0,a("FlowGraphSetPhysicsMotionTypeBlock",p))}h();export{p as FlowGraphSetPhysicsMotionTypeBlock,h as RegisterFlowGraphSetPhysicsMotionTypeBlock};
1
+ import{y as s,g as o,x as r,i as a}from"./index-YcXsPtFI.js";class p extends s{constructor(t){super(t),this.body=this.registerDataInput("body",o),this.motionType=this.registerDataInput("motionType",r,2)}_execute(t,y){const e=this.body.getValue(t);if(!e){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}e.setMotionType(this.motionType.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetPhysicsMotionTypeBlock"}}let i=!1;function h(){i||(i=!0,a("FlowGraphSetPhysicsMotionTypeBlock",p))}h();export{p as FlowGraphSetPhysicsMotionTypeBlock,h as RegisterFlowGraphSetPhysicsMotionTypeBlock};
@@ -1 +1 @@
1
- import{y as p,g as a,k as c,i as g}from"./index-JRwY7p9T.js";class h extends p{constructor(t){super(t),this.config=t,this.object=this.registerDataInput("object",a,t.target),this.value=this.registerDataInput("value",a),this.propertyName=this.registerDataInput("propertyName",c,t.propertyName),this.customSetFunction=this.registerDataInput("customSetFunction",a)}_execute(t,o){try{const n=this.object.getValue(t),e=this.value.getValue(t),i=this.propertyName.getValue(t);this._stopRunningAnimations(t,n,i);const r=this.customSetFunction.getValue(t);r?r(n,i,e,t):this._setPropertyValue(n,i,e)}catch(n){this._reportError(t,n)}this.out._activateSignal(t)}_stopRunningAnimations(t,o,n){const e=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const i of e){const r=t.assetsContext.animationGroups.find(s=>s.uniqueId===i);if(r){for(const s of r.targetedAnimations)if(s.target===o&&s.animation.targetProperty===n){r.stop(!0),r.dispose();const u=e.indexOf(i);u!==-1&&(e.splice(u,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",e))}}}}_setPropertyValue(t,o,n){const e=o.split(".");let i=t;for(let r=0;r<e.length-1;r++){const s=e[r];i[s]===void 0&&(i[s]={}),i=i[s]}i[e[e.length-1]]=n}getClassName(){return"FlowGraphSetPropertyBlock"}}let l=!1;function m(){l||(l=!0,g("FlowGraphSetPropertyBlock",h))}m();export{h as FlowGraphSetPropertyBlock,m as RegisterFlowGraphSetPropertyBlock};
1
+ import{y as p,g as a,k as c,i as g}from"./index-YcXsPtFI.js";class h extends p{constructor(t){super(t),this.config=t,this.object=this.registerDataInput("object",a,t.target),this.value=this.registerDataInput("value",a),this.propertyName=this.registerDataInput("propertyName",c,t.propertyName),this.customSetFunction=this.registerDataInput("customSetFunction",a)}_execute(t,o){try{const n=this.object.getValue(t),e=this.value.getValue(t),i=this.propertyName.getValue(t);this._stopRunningAnimations(t,n,i);const r=this.customSetFunction.getValue(t);r?r(n,i,e,t):this._setPropertyValue(n,i,e)}catch(n){this._reportError(t,n)}this.out._activateSignal(t)}_stopRunningAnimations(t,o,n){const e=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const i of e){const r=t.assetsContext.animationGroups.find(s=>s.uniqueId===i);if(r){for(const s of r.targetedAnimations)if(s.target===o&&s.animation.targetProperty===n){r.stop(!0),r.dispose();const u=e.indexOf(i);u!==-1&&(e.splice(u,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",e))}}}}_setPropertyValue(t,o,n){const e=o.split(".");let i=t;for(let r=0;r<e.length-1;r++){const s=e[r];i[s]===void 0&&(i[s]={}),i=i[s]}i[e[e.length-1]]=n}getClassName(){return"FlowGraphSetPropertyBlock"}}let l=!1;function m(){l||(l=!0,g("FlowGraphSetPropertyBlock",h))}m();export{h as FlowGraphSetPropertyBlock,m as RegisterFlowGraphSetPropertyBlock};
@@ -1 +1 @@
1
- import{y as u,g as l,x as r,i}from"./index-JRwY7p9T.js";class a extends u{constructor(e){super(e),this.sound=this.registerDataInput("sound",l),this.volume=this.registerDataInput("volume",r,1)}_execute(e,c){const t=this.sound.getValue(e);if(!t){this._reportError(e,"No sound provided"),this.out._activateSignal(e);return}const s=this.volume.getValue(e);t.volume=s,this.out._activateSignal(e)}getClassName(){return"FlowGraphSetSoundVolumeBlock"}}let o=!1;function n(){o||(o=!0,i("FlowGraphSetSoundVolumeBlock",a))}n();export{a as FlowGraphSetSoundVolumeBlock,n as RegisterFlowGraphSetSoundVolumeBlock};
1
+ import{y as u,g as l,x as r,i}from"./index-YcXsPtFI.js";class a extends u{constructor(e){super(e),this.sound=this.registerDataInput("sound",l),this.volume=this.registerDataInput("volume",r,1)}_execute(e,c){const t=this.sound.getValue(e);if(!t){this._reportError(e,"No sound provided"),this.out._activateSignal(e);return}const s=this.volume.getValue(e);t.volume=s,this.out._activateSignal(e)}getClassName(){return"FlowGraphSetSoundVolumeBlock"}}let o=!1;function n(){o||(o=!0,i("FlowGraphSetSoundVolumeBlock",a))}n();export{a as FlowGraphSetSoundVolumeBlock,n as RegisterFlowGraphSetSoundVolumeBlock};
@@ -1 +1 @@
1
- import{y as f,g as o,i as g}from"./index-JRwY7p9T.js";class p extends f{constructor(a){if(super(a),a.variables&&a.variable)throw new Error("FlowGraphSetVariableBlock: variable and variables are both defined");if(a.variables)for(const e of a.variables)this.registerDataInput(e,o);else this.registerDataInput("value",o)}_execute(a,e){if(this.config?.variables)for(const t of this.config.variables)this._saveVariable(a,t);else this._saveVariable(a,this.config?.variable,"value");this.out._activateSignal(a)}_saveVariable(a,e,t){const i=a._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const l of i){const s=a.assetsContext.animationGroups.find(r=>r.uniqueId==l);if(s){for(const r of s.targetedAnimations)if(r.target===a&&r.animation.targetProperty===e){s.stop();const n=i.indexOf(l);n>-1&&i.splice(n,1),a._setGlobalContextVariable("currentlyRunningAnimationGroups",i);break}}}const b=this.getDataInput(t||e)?.getValue(a);a.setVariable(e,b)}getClassName(){return"FlowGraphSetVariableBlock"}serialize(a){super.serialize(a),a.config.variable=this.config?.variable}}let u=!1;function c(){u||(u=!0,g("FlowGraphSetVariableBlock",p))}c();export{p as FlowGraphSetVariableBlock,c as RegisterFlowGraphSetVariableBlock};
1
+ import{y as f,g as o,i as g}from"./index-YcXsPtFI.js";class p extends f{constructor(a){if(super(a),a.variables&&a.variable)throw new Error("FlowGraphSetVariableBlock: variable and variables are both defined");if(a.variables)for(const e of a.variables)this.registerDataInput(e,o);else this.registerDataInput("value",o)}_execute(a,e){if(this.config?.variables)for(const t of this.config.variables)this._saveVariable(a,t);else this._saveVariable(a,this.config?.variable,"value");this.out._activateSignal(a)}_saveVariable(a,e,t){const i=a._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const l of i){const s=a.assetsContext.animationGroups.find(r=>r.uniqueId==l);if(s){for(const r of s.targetedAnimations)if(r.target===a&&r.animation.targetProperty===e){s.stop();const n=i.indexOf(l);n>-1&&i.splice(n,1),a._setGlobalContextVariable("currentlyRunningAnimationGroups",i);break}}}const b=this.getDataInput(t||e)?.getValue(a);a.setVariable(e,b)}getClassName(){return"FlowGraphSetVariableBlock"}serialize(a){super.serialize(a),a.config.variable=this.config?.variable}}let u=!1;function c(){u||(u=!0,g("FlowGraphSetVariableBlock",p))}c();export{p as FlowGraphSetVariableBlock,c as RegisterFlowGraphSetVariableBlock};
@@ -1 +1 @@
1
- import{j as d,g as o,i as t}from"./index-JRwY7p9T.js";class u extends d{constructor(e){super(e),this.sound=this.registerDataInput("sound",o)}_preparePendingTasks(e){const s=this.sound.getValue(e);if(!s){this._reportError(e,"No sound provided for sound-ended event");return}const n=s.onEndedObservable.add(()=>{this._execute(e)});e._setExecutionVariable(this,"_soundEndedObserver",n),e._setExecutionVariable(this,"_subscribedSound",s)}_executeEvent(e,s){return!0}_cancelPendingTasks(e){const s=e._getExecutionVariable(this,"_soundEndedObserver",null),n=e._getExecutionVariable(this,"_subscribedSound",null);s&&n&&n.onEndedObservable.remove(s),e._setExecutionVariable(this,"_soundEndedObserver",null),e._setExecutionVariable(this,"_subscribedSound",null)}getClassName(){return"FlowGraphSoundEndedEventBlock"}}let r=!1;function i(){r||(r=!0,t("FlowGraphSoundEndedEventBlock",u))}i();export{u as FlowGraphSoundEndedEventBlock,i as RegisterFlowGraphSoundEndedEventBlock};
1
+ import{j as d,g as o,i as t}from"./index-YcXsPtFI.js";class u extends d{constructor(e){super(e),this.sound=this.registerDataInput("sound",o)}_preparePendingTasks(e){const s=this.sound.getValue(e);if(!s){this._reportError(e,"No sound provided for sound-ended event");return}const n=s.onEndedObservable.add(()=>{this._execute(e)});e._setExecutionVariable(this,"_soundEndedObserver",n),e._setExecutionVariable(this,"_subscribedSound",s)}_executeEvent(e,s){return!0}_cancelPendingTasks(e){const s=e._getExecutionVariable(this,"_soundEndedObserver",null),n=e._getExecutionVariable(this,"_subscribedSound",null);s&&n&&n.onEndedObservable.remove(s),e._setExecutionVariable(this,"_soundEndedObserver",null),e._setExecutionVariable(this,"_subscribedSound",null)}getClassName(){return"FlowGraphSoundEndedEventBlock"}}let r=!1;function i(){r||(r=!0,t("FlowGraphSoundEndedEventBlock",u))}i();export{u as FlowGraphSoundEndedEventBlock,i as RegisterFlowGraphSoundEndedEventBlock};
@@ -1 +1 @@
1
- import{w as o,g as s,x as r,L as p,i as l}from"./index-JRwY7p9T.js";class u extends o{constructor(i){super(i),this.animationGroup=this.registerDataInput("animationGroup",s),this.stopAtFrame=this.registerDataInput("stopAtFrame",r,-1)}_preparePendingTasks(i){const a=this.animationGroup.getValue(i),t=this.stopAtFrame.getValue(i)??-1,n=i._getGlobalContextVariable("pendingStopAnimations",[]);n.push({uniqueId:a.uniqueId,stopAtFrame:t}),i._setGlobalContextVariable("pendingStopAnimations",n)}_cancelPendingTasks(i){const a=this.animationGroup.getValue(i),t=i._getGlobalContextVariable("pendingStopAnimations",[]);for(let n=0;n<t.length;n++)if(t[n].uniqueId===a.uniqueId){t.splice(n,1),i._setGlobalContextVariable("pendingStopAnimations",t);break}}_execute(i){const a=this.animationGroup.getValue(i),t=this.stopAtFrame.getValue(i)??-1;if(!a)return p.Warn("No animation group provided to stop."),this._reportError(i,"No animation group provided to stop.");if(isNaN(t))return this._reportError(i,"Invalid stop time.");t>0?this._startPendingTasks(i):this._stopAnimation(a,i),this.out._activateSignal(i)}_executeOnTick(i){const a=this.animationGroup.getValue(i),t=i._getGlobalContextVariable("pendingStopAnimations",[]);for(let n=0;n<t.length;n++)if(t[n].uniqueId===a.uniqueId&&a.getCurrentFrame()>=t[n].stopAtFrame){this._stopAnimation(a,i),t.splice(n,1),i._setGlobalContextVariable("pendingStopAnimations",t),this.done._activateSignal(i),i._removePendingBlock(this);break}}getClassName(){return"FlowGraphStopAnimationBlock"}_stopAnimation(i,a){const t=a._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=t.indexOf(i.uniqueId);n!==-1&&(i.stop(),t.splice(n,1),a._setGlobalContextVariable("currentlyRunningAnimationGroups",t))}}let e=!1;function m(){e||(e=!0,l("FlowGraphStopAnimationBlock",u))}m();export{u as FlowGraphStopAnimationBlock,m as RegisterFlowGraphStopAnimationBlock};
1
+ import{w as o,g as s,x as r,L as p,i as l}from"./index-YcXsPtFI.js";class u extends o{constructor(i){super(i),this.animationGroup=this.registerDataInput("animationGroup",s),this.stopAtFrame=this.registerDataInput("stopAtFrame",r,-1)}_preparePendingTasks(i){const a=this.animationGroup.getValue(i),t=this.stopAtFrame.getValue(i)??-1,n=i._getGlobalContextVariable("pendingStopAnimations",[]);n.push({uniqueId:a.uniqueId,stopAtFrame:t}),i._setGlobalContextVariable("pendingStopAnimations",n)}_cancelPendingTasks(i){const a=this.animationGroup.getValue(i),t=i._getGlobalContextVariable("pendingStopAnimations",[]);for(let n=0;n<t.length;n++)if(t[n].uniqueId===a.uniqueId){t.splice(n,1),i._setGlobalContextVariable("pendingStopAnimations",t);break}}_execute(i){const a=this.animationGroup.getValue(i),t=this.stopAtFrame.getValue(i)??-1;if(!a)return p.Warn("No animation group provided to stop."),this._reportError(i,"No animation group provided to stop.");if(isNaN(t))return this._reportError(i,"Invalid stop time.");t>0?this._startPendingTasks(i):this._stopAnimation(a,i),this.out._activateSignal(i)}_executeOnTick(i){const a=this.animationGroup.getValue(i),t=i._getGlobalContextVariable("pendingStopAnimations",[]);for(let n=0;n<t.length;n++)if(t[n].uniqueId===a.uniqueId&&a.getCurrentFrame()>=t[n].stopAtFrame){this._stopAnimation(a,i),t.splice(n,1),i._setGlobalContextVariable("pendingStopAnimations",t),this.done._activateSignal(i),i._removePendingBlock(this);break}}getClassName(){return"FlowGraphStopAnimationBlock"}_stopAnimation(i,a){const t=a._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=t.indexOf(i.uniqueId);n!==-1&&(i.stop(),t.splice(n,1),a._setGlobalContextVariable("currentlyRunningAnimationGroups",t))}}let e=!1;function m(){e||(e=!0,l("FlowGraphStopAnimationBlock",u))}m();export{u as FlowGraphStopAnimationBlock,m as RegisterFlowGraphStopAnimationBlock};
@@ -1 +1 @@
1
- import{y as s,g as r,i as a}from"./index-JRwY7p9T.js";class i extends s{constructor(t){super(t),this.sound=this.registerDataInput("sound",r)}_execute(t,n){const o=this.sound.getValue(t);if(!o){this._reportError(t,"No sound provided"),this.out._activateSignal(t);return}o.stop(),this.out._activateSignal(t)}getClassName(){return"FlowGraphStopSoundBlock"}}let e=!1;function u(){e||(e=!0,a("FlowGraphStopSoundBlock",i))}u();export{i as FlowGraphStopSoundBlock,u as RegisterFlowGraphStopSoundBlock};
1
+ import{y as s,g as r,i as a}from"./index-YcXsPtFI.js";class i extends s{constructor(t){super(t),this.sound=this.registerDataInput("sound",r)}_execute(t,n){const o=this.sound.getValue(t);if(!o){this._reportError(t,"No sound provided"),this.out._activateSignal(t);return}o.stop(),this.out._activateSignal(t)}getClassName(){return"FlowGraphStopSoundBlock"}}let e=!1;function u(){e||(e=!0,a("FlowGraphStopSoundBlock",i))}u();export{i as FlowGraphStopSoundBlock,u as RegisterFlowGraphStopSoundBlock};
@@ -1 +1 @@
1
- import{N as u,g as c,Y as l,W as o,i as r}from"./index-JRwY7p9T.js";class h extends u{constructor(t){super(t),this.config=t,this.default=this._registerSignalOutput("default"),this._caseToOutputFlow=new Map,this.case=this.registerDataInput("case",c);const e=this.config.cases||[];for(const s of e)this._caseToOutputFlow.set(s,this._registerSignalOutput(`out_${s}`))}_execute(t,e){const s=this.case.getValue(t);let i;l(s)?i=this._getOutputFlowForCase(o(s)):i=this._getOutputFlowForCase(s),i?i._activateSignal(t):this.default._activateSignal(t)}addCase(t){this.config.cases.includes(t)||(this.config.cases.push(t),this._caseToOutputFlow.set(t,this._registerSignalOutput(`out_${t}`)))}removeCase(t){if(!this.config.cases.includes(t))return;const e=this.config.cases.indexOf(t);this.config.cases.splice(e,1),this._caseToOutputFlow.delete(t)}_getOutputFlowForCase(t){return this._caseToOutputFlow.get(t)}getClassName(){return"FlowGraphSwitchBlock"}serialize(t){super.serialize(t),t.cases=this.config.cases}}let a=!1;function n(){a||(a=!0,r("FlowGraphSwitchBlock",h))}n();export{h as FlowGraphSwitchBlock,n as RegisterFlowGraphSwitchBlock};
1
+ import{N as u,g as c,Y as l,W as o,i as r}from"./index-YcXsPtFI.js";class h extends u{constructor(t){super(t),this.config=t,this.default=this._registerSignalOutput("default"),this._caseToOutputFlow=new Map,this.case=this.registerDataInput("case",c);const e=this.config.cases||[];for(const s of e)this._caseToOutputFlow.set(s,this._registerSignalOutput(`out_${s}`))}_execute(t,e){const s=this.case.getValue(t);let i;l(s)?i=this._getOutputFlowForCase(o(s)):i=this._getOutputFlowForCase(s),i?i._activateSignal(t):this.default._activateSignal(t)}addCase(t){this.config.cases.includes(t)||(this.config.cases.push(t),this._caseToOutputFlow.set(t,this._registerSignalOutput(`out_${t}`)))}removeCase(t){if(!this.config.cases.includes(t))return;const e=this.config.cases.indexOf(t);this.config.cases.splice(e,1),this._caseToOutputFlow.delete(t)}_getOutputFlowForCase(t){return this._caseToOutputFlow.get(t)}getClassName(){return"FlowGraphSwitchBlock"}serialize(t){super.serialize(t),t.cases=this.config.cases}}let a=!1;function n(){a||(a=!0,r("FlowGraphSwitchBlock",h))}n();export{h as FlowGraphSwitchBlock,n as RegisterFlowGraphSwitchBlock};
@@ -1 +1 @@
1
- import{y as h,x as l,i as o}from"./index-JRwY7p9T.js";class g extends h{constructor(i){super(i),this.reset=this._registerSignalInput("reset"),this.duration=this.registerDataInput("duration",l),this.lastRemainingTime=this.registerDataOutput("lastRemainingTime",l,NaN)}_execute(i,u){if(u===this.reset){this.lastRemainingTime.setValue(NaN,i),i._setExecutionVariable(this,"lastRemainingTime",NaN),i._setExecutionVariable(this,"timestamp",0);return}const e=this.duration.getValue(i);if(e<=0||isNaN(e)||!isFinite(e))return this._reportError(i,"Invalid duration in Throttle block");const m=i._getExecutionVariable(this,"lastRemainingTime",NaN),t=Date.now();if(isNaN(m))return this.lastRemainingTime.setValue(0,i),i._setExecutionVariable(this,"lastRemainingTime",0),i._setExecutionVariable(this,"timestamp",t),this.out._activateSignal(i);{const a=t-i._getExecutionVariable(this,"timestamp",0),s=e*1e3;if(s<=a)return this.lastRemainingTime.setValue(0,i),i._setExecutionVariable(this,"lastRemainingTime",0),i._setExecutionVariable(this,"timestamp",t),this.out._activateSignal(i);{const r=s-a;this.lastRemainingTime.setValue(r/1e3,i),i._setExecutionVariable(this,"lastRemainingTime",r)}}}getClassName(){return"FlowGraphThrottleBlock"}}let n=!1;function T(){n||(n=!0,o("FlowGraphThrottleBlock",g))}T();export{g as FlowGraphThrottleBlock,T as RegisterFlowGraphThrottleBlock};
1
+ import{y as h,x as l,i as o}from"./index-YcXsPtFI.js";class g extends h{constructor(i){super(i),this.reset=this._registerSignalInput("reset"),this.duration=this.registerDataInput("duration",l),this.lastRemainingTime=this.registerDataOutput("lastRemainingTime",l,NaN)}_execute(i,u){if(u===this.reset){this.lastRemainingTime.setValue(NaN,i),i._setExecutionVariable(this,"lastRemainingTime",NaN),i._setExecutionVariable(this,"timestamp",0);return}const e=this.duration.getValue(i);if(e<=0||isNaN(e)||!isFinite(e))return this._reportError(i,"Invalid duration in Throttle block");const m=i._getExecutionVariable(this,"lastRemainingTime",NaN),t=Date.now();if(isNaN(m))return this.lastRemainingTime.setValue(0,i),i._setExecutionVariable(this,"lastRemainingTime",0),i._setExecutionVariable(this,"timestamp",t),this.out._activateSignal(i);{const a=t-i._getExecutionVariable(this,"timestamp",0),s=e*1e3;if(s<=a)return this.lastRemainingTime.setValue(0,i),i._setExecutionVariable(this,"lastRemainingTime",0),i._setExecutionVariable(this,"timestamp",t),this.out._activateSignal(i);{const r=s-a;this.lastRemainingTime.setValue(r/1e3,i),i._setExecutionVariable(this,"lastRemainingTime",r)}}}getClassName(){return"FlowGraphThrottleBlock"}}let n=!1;function T(){n||(n=!0,o("FlowGraphThrottleBlock",g))}T();export{g as FlowGraphThrottleBlock,T as RegisterFlowGraphThrottleBlock};
@@ -1 +1 @@
1
- import{f as m,g as o,H as r,a0 as a,V as h,i as y}from"./index-JRwY7p9T.js";class g extends m{constructor(t){super(t),this.sourceSystem=this.registerDataInput("sourceSystem",o),this.destinationSystem=this.registerDataInput("destinationSystem",o),this.inputCoordinates=this.registerDataInput("inputCoordinates",r),this.outputCoordinates=this.registerDataOutput("outputCoordinates",r)}_updateOutputs(t){const n=this.sourceSystem.getValue(t),u=this.destinationSystem.getValue(t),l=this.inputCoordinates.getValue(t),d=n.getWorldMatrix(),p=u.getWorldMatrix(),s=a.Matrix[0].copyFrom(p);s.invert();const e=a.Matrix[1];s.multiplyToRef(d,e);const c=this.outputCoordinates.getValue(t);h.TransformCoordinatesToRef(l,e,c)}getClassName(){return"FlowGraphTransformCoordinatesSystemBlock"}}let i=!1;function C(){i||(i=!0,y("FlowGraphTransformCoordinatesSystemBlock",g))}C();export{g as FlowGraphTransformCoordinatesSystemBlock,C as RegisterFlowGraphTransformCoordinatesSystemBlock};
1
+ import{f as m,g as o,H as r,a0 as a,V as h,i as y}from"./index-YcXsPtFI.js";class g extends m{constructor(t){super(t),this.sourceSystem=this.registerDataInput("sourceSystem",o),this.destinationSystem=this.registerDataInput("destinationSystem",o),this.inputCoordinates=this.registerDataInput("inputCoordinates",r),this.outputCoordinates=this.registerDataOutput("outputCoordinates",r)}_updateOutputs(t){const n=this.sourceSystem.getValue(t),u=this.destinationSystem.getValue(t),l=this.inputCoordinates.getValue(t),d=n.getWorldMatrix(),p=u.getWorldMatrix(),s=a.Matrix[0].copyFrom(p);s.invert();const e=a.Matrix[1];s.multiplyToRef(d,e);const c=this.outputCoordinates.getValue(t);h.TransformCoordinatesToRef(l,e,c)}getClassName(){return"FlowGraphTransformCoordinatesSystemBlock"}}let i=!1;function C(){i||(i=!0,y("FlowGraphTransformCoordinatesSystemBlock",g))}C();export{g as FlowGraphTransformCoordinatesSystemBlock,C as RegisterFlowGraphTransformCoordinatesSystemBlock};
@@ -1 +1 @@
1
- import{F as e}from"./flowGraphUnaryOperationBlock-U15mYQbJ.js";import{x as n,O as s,X as t,h as F,i as a}from"./index-JRwY7p9T.js";import"./flowGraphCachedOperationBlock-C0pDPzaF.js";class u extends e{constructor(r){super(F,n,o=>+o,"FlowGraphBooleanToFloat",r)}}class c extends e{constructor(r){super(F,s,o=>t.FromValue(+o),"FlowGraphBooleanToInt",r)}}class h extends e{constructor(r){super(n,F,o=>!!o,"FlowGraphFloatToBoolean",r)}}class T extends e{constructor(r){super(s,F,o=>!!o.value,"FlowGraphIntToBoolean",r)}}class w extends e{constructor(r){super(s,n,o=>o.value,"FlowGraphIntToFloat",r)}}class G extends e{constructor(r){super(n,s,o=>{switch(r?.roundingMode){case"floor":return t.FromValue(Math.floor(o));case"ceil":return t.FromValue(Math.ceil(o));case"round":return t.FromValue(Math.round(o));default:return t.FromValue(o)}},"FlowGraphFloatToInt",r)}}let p=!1;function i(){p||(p=!0,a("FlowGraphBooleanToFloat",u),a("FlowGraphBooleanToInt",c),a("FlowGraphFloatToBoolean",h),a("FlowGraphIntToBoolean",T),a("FlowGraphIntToFloat",w),a("FlowGraphFloatToInt",G))}i();export{u as FlowGraphBooleanToFloat,c as FlowGraphBooleanToInt,h as FlowGraphFloatToBoolean,G as FlowGraphFloatToInt,T as FlowGraphIntToBoolean,w as FlowGraphIntToFloat,i as RegisterFlowGraphTypeToTypeBlocks};
1
+ import{F as e}from"./flowGraphUnaryOperationBlock-DiLGLHtc.js";import{x as n,O as s,X as t,h as F,i as a}from"./index-YcXsPtFI.js";import"./flowGraphCachedOperationBlock-D2544szv.js";class u extends e{constructor(r){super(F,n,o=>+o,"FlowGraphBooleanToFloat",r)}}class c extends e{constructor(r){super(F,s,o=>t.FromValue(+o),"FlowGraphBooleanToInt",r)}}class h extends e{constructor(r){super(n,F,o=>!!o,"FlowGraphFloatToBoolean",r)}}class T extends e{constructor(r){super(s,F,o=>!!o.value,"FlowGraphIntToBoolean",r)}}class w extends e{constructor(r){super(s,n,o=>o.value,"FlowGraphIntToFloat",r)}}class G extends e{constructor(r){super(n,s,o=>{switch(r?.roundingMode){case"floor":return t.FromValue(Math.floor(o));case"ceil":return t.FromValue(Math.ceil(o));case"round":return t.FromValue(Math.round(o));default:return t.FromValue(o)}},"FlowGraphFloatToInt",r)}}let p=!1;function i(){p||(p=!0,a("FlowGraphBooleanToFloat",u),a("FlowGraphBooleanToInt",c),a("FlowGraphFloatToBoolean",h),a("FlowGraphIntToBoolean",T),a("FlowGraphIntToFloat",w),a("FlowGraphFloatToInt",G))}i();export{u as FlowGraphBooleanToFloat,c as FlowGraphBooleanToInt,h as FlowGraphFloatToBoolean,G as FlowGraphFloatToInt,T as FlowGraphIntToBoolean,w as FlowGraphIntToFloat,i as RegisterFlowGraphTypeToTypeBlocks};
@@ -1 +1 @@
1
- import{F as o}from"./flowGraphCachedOperationBlock-C0pDPzaF.js";class p extends o{constructor(a,t,s,e,r){super(t,r),this._operation=s,this._className=e,this.a=this.registerDataInput("a",a)}_doOperation(a){return this._operation(this.a.getValue(a))}getClassName(){return this._className}}export{p as F};
1
+ import{F as o}from"./flowGraphCachedOperationBlock-D2544szv.js";class p extends o{constructor(a,t,s,e,r){super(t,r),this._operation=s,this._className=e,this.a=this.registerDataInput("a",a)}_doOperation(a){return this._operation(this.a.getValue(a))}getClassName(){return this._className}}export{p as F};
@@ -1 +1 @@
1
- import{Q as w,C as f,V as F,H as a,J as c,f as y,x as i,h as A,K as C,z as m,a8 as d,g as h,aW as u,a7 as D,i as s}from"./index-JRwY7p9T.js";import{F as n}from"./flowGraphBinaryOperationBlock-C-xEeg-Z.js";import{F as g}from"./flowGraphUnaryOperationBlock-U15mYQbJ.js";import"./flowGraphCachedOperationBlock-C0pDPzaF.js";function T(o,e){return o.x*e.x+o.y*e.y+o.z*e.z}function R(o,e){return o.x*e.x+o.y*e.y+o.z*e.z+o.w*e.w}function N(o,e){return Math.acos(f(R(o,e),-1,1))*2}function Q(o,e){const r=new w;return z(o,e,r),r}function z(o,e,r){const t=F.Cross(o,e),l=Math.acos(f(T(o,e),-1,1));return w.RotationAxisToRef(t,l,r),r}const G="cachedOperationAxis",V="cachedOperationAngle",x="cachedExecutionId";class _ extends g{constructor(e){super(h,i,r=>this._polymorphicLength(r),"FlowGraphLengthBlock",e)}_polymorphicLength(e){switch(u(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.length();default:throw new Error(`Cannot compute length of value ${e}`)}}}class E extends g{constructor(e){super(h,h,r=>this._polymorphicNormalize(r),"FlowGraphNormalizeBlock",e)}_polymorphicNormalize(e){const r=u(e);let t;switch(r){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return t=e.normalizeToNew(),this.config?.nanOnZeroLength&&e.length()===0&&t.setAll(NaN),t;default:throw new Error(`Cannot normalize value ${e}`)}}}class O extends n{constructor(e){super(h,h,i,(r,t)=>this._polymorphicDot(r,t),"FlowGraphDotBlock",e)}_polymorphicDot(e,r){switch(u(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.dot(r);default:throw new Error(`Cannot get dot product of ${e} and ${r}`)}}}class M extends n{constructor(e){super(a,a,a,(r,t)=>F.Cross(r,t),"FlowGraphCrossBlock",e)}}class I extends n{constructor(e){super(d,i,d,(r,t)=>r.rotate(t),"FlowGraphRotate2DBlock",e)}}class L extends n{constructor(e){super(a,c,a,(r,t)=>r.applyRotationQuaternion(t),"FlowGraphRotate3DBlock",e)}}function v(o,e){switch(u(o)){case"Vector2":return e.transformVector(o);case"Vector3":return e.transformVector(o);case"Vector4":return o=o,new D(o.x*e.m[0]+o.y*e.m[1]+o.z*e.m[2]+o.w*e.m[3],o.x*e.m[4]+o.y*e.m[5]+o.z*e.m[6]+o.w*e.m[7],o.x*e.m[8]+o.y*e.m[9]+o.z*e.m[10]+o.w*e.m[11],o.x*e.m[12]+o.y*e.m[13]+o.z*e.m[14]+o.w*e.m[15]);default:throw new Error(`Cannot transform value ${o}`)}}class $ extends n{constructor(e){const r=e?.vectorType||"Vector3",t=r==="Vector2"?"Matrix2D":r==="Vector3"?"Matrix3D":"Matrix";super(m(r),m(t),m(r),v,"FlowGraphTransformVectorBlock",e)}}class j extends n{constructor(e){super(a,C,a,(r,t)=>F.TransformCoordinates(r,t),"FlowGraphTransformCoordinatesBlock",e)}}class H extends g{constructor(e){super(c,c,r=>r.conjugate(),"FlowGraphConjugateBlock",e)}}class J extends n{constructor(e){super(c,c,i,(r,t)=>N(r,t),"FlowGraphAngleBetweenBlock",e)}}class K extends n{constructor(e){super(a,i,c,(r,t)=>w.RotationAxis(r,t),"FlowGraphQuaternionFromAxisAngleBlock",e)}}class U extends y{constructor(e){super(e),this.a=this.registerDataInput("a",c),this.axis=this.registerDataOutput("axis",a),this.angle=this.registerDataOutput("angle",i),this.isValid=this.registerDataOutput("isValid",A)}_updateOutputs(e){const r=e._getExecutionVariable(this,x,-1),t=e._getExecutionVariable(this,G,null),l=e._getExecutionVariable(this,V,null);if(t!=null&&l!==void 0&&l!==null&&r===e.executionId)this.axis.setValue(t,e),this.angle.setValue(l,e);else try{const{axis:p,angle:B}=this.a.getValue(e).toAxisAngle();e._setExecutionVariable(this,G,p),e._setExecutionVariable(this,V,B),e._setExecutionVariable(this,x,e.executionId),this.axis.setValue(p,e),this.angle.setValue(B,e),this.isValid.setValue(!0,e)}catch{this.isValid.setValue(!1,e)}}getClassName(){return"FlowGraphAxisAngleFromQuaternionBlock"}}class X extends n{constructor(e){super(a,a,c,(r,t)=>Q(r,t),"FlowGraphQuaternionFromDirectionsBlock",e)}}let k=!1;function W(){k||(k=!0,s("FlowGraphLengthBlock",_),s("FlowGraphNormalizeBlock",E),s("FlowGraphDotBlock",O),s("FlowGraphCrossBlock",M),s("FlowGraphRotate2DBlock",I),s("FlowGraphRotate3DBlock",L),s("FlowGraphTransformVectorBlock",$),s("FlowGraphTransformCoordinatesBlock",j),s("FlowGraphConjugateBlock",H),s("FlowGraphAngleBetweenBlock",J),s("FlowGraphQuaternionFromAxisAngleBlock",K),s("FlowGraphAxisAngleFromQuaternionBlock",U))}W();export{J as FlowGraphAngleBetweenBlock,U as FlowGraphAxisAngleFromQuaternionBlock,H as FlowGraphConjugateBlock,M as FlowGraphCrossBlock,O as FlowGraphDotBlock,_ as FlowGraphLengthBlock,E as FlowGraphNormalizeBlock,K as FlowGraphQuaternionFromAxisAngleBlock,X as FlowGraphQuaternionFromDirectionsBlock,I as FlowGraphRotate2DBlock,L as FlowGraphRotate3DBlock,$ as FlowGraphTransformBlock,j as FlowGraphTransformCoordinatesBlock,W as RegisterFlowGraphVectorMathBlocks};
1
+ import{Q as w,C as f,V as F,H as a,J as c,f as y,x as i,h as A,K as C,z as m,a8 as d,g as h,aW as u,a7 as D,i as s}from"./index-YcXsPtFI.js";import{F as n}from"./flowGraphBinaryOperationBlock-BeXLKyeD.js";import{F as g}from"./flowGraphUnaryOperationBlock-DiLGLHtc.js";import"./flowGraphCachedOperationBlock-D2544szv.js";function T(o,e){return o.x*e.x+o.y*e.y+o.z*e.z}function R(o,e){return o.x*e.x+o.y*e.y+o.z*e.z+o.w*e.w}function N(o,e){return Math.acos(f(R(o,e),-1,1))*2}function Q(o,e){const r=new w;return z(o,e,r),r}function z(o,e,r){const t=F.Cross(o,e),l=Math.acos(f(T(o,e),-1,1));return w.RotationAxisToRef(t,l,r),r}const G="cachedOperationAxis",V="cachedOperationAngle",x="cachedExecutionId";class _ extends g{constructor(e){super(h,i,r=>this._polymorphicLength(r),"FlowGraphLengthBlock",e)}_polymorphicLength(e){switch(u(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.length();default:throw new Error(`Cannot compute length of value ${e}`)}}}class E extends g{constructor(e){super(h,h,r=>this._polymorphicNormalize(r),"FlowGraphNormalizeBlock",e)}_polymorphicNormalize(e){const r=u(e);let t;switch(r){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return t=e.normalizeToNew(),this.config?.nanOnZeroLength&&e.length()===0&&t.setAll(NaN),t;default:throw new Error(`Cannot normalize value ${e}`)}}}class O extends n{constructor(e){super(h,h,i,(r,t)=>this._polymorphicDot(r,t),"FlowGraphDotBlock",e)}_polymorphicDot(e,r){switch(u(e)){case"Vector2":case"Vector3":case"Vector4":case"Quaternion":return e.dot(r);default:throw new Error(`Cannot get dot product of ${e} and ${r}`)}}}class M extends n{constructor(e){super(a,a,a,(r,t)=>F.Cross(r,t),"FlowGraphCrossBlock",e)}}class I extends n{constructor(e){super(d,i,d,(r,t)=>r.rotate(t),"FlowGraphRotate2DBlock",e)}}class L extends n{constructor(e){super(a,c,a,(r,t)=>r.applyRotationQuaternion(t),"FlowGraphRotate3DBlock",e)}}function v(o,e){switch(u(o)){case"Vector2":return e.transformVector(o);case"Vector3":return e.transformVector(o);case"Vector4":return o=o,new D(o.x*e.m[0]+o.y*e.m[1]+o.z*e.m[2]+o.w*e.m[3],o.x*e.m[4]+o.y*e.m[5]+o.z*e.m[6]+o.w*e.m[7],o.x*e.m[8]+o.y*e.m[9]+o.z*e.m[10]+o.w*e.m[11],o.x*e.m[12]+o.y*e.m[13]+o.z*e.m[14]+o.w*e.m[15]);default:throw new Error(`Cannot transform value ${o}`)}}class $ extends n{constructor(e){const r=e?.vectorType||"Vector3",t=r==="Vector2"?"Matrix2D":r==="Vector3"?"Matrix3D":"Matrix";super(m(r),m(t),m(r),v,"FlowGraphTransformVectorBlock",e)}}class j extends n{constructor(e){super(a,C,a,(r,t)=>F.TransformCoordinates(r,t),"FlowGraphTransformCoordinatesBlock",e)}}class H extends g{constructor(e){super(c,c,r=>r.conjugate(),"FlowGraphConjugateBlock",e)}}class J extends n{constructor(e){super(c,c,i,(r,t)=>N(r,t),"FlowGraphAngleBetweenBlock",e)}}class K extends n{constructor(e){super(a,i,c,(r,t)=>w.RotationAxis(r,t),"FlowGraphQuaternionFromAxisAngleBlock",e)}}class U extends y{constructor(e){super(e),this.a=this.registerDataInput("a",c),this.axis=this.registerDataOutput("axis",a),this.angle=this.registerDataOutput("angle",i),this.isValid=this.registerDataOutput("isValid",A)}_updateOutputs(e){const r=e._getExecutionVariable(this,x,-1),t=e._getExecutionVariable(this,G,null),l=e._getExecutionVariable(this,V,null);if(t!=null&&l!==void 0&&l!==null&&r===e.executionId)this.axis.setValue(t,e),this.angle.setValue(l,e);else try{const{axis:p,angle:B}=this.a.getValue(e).toAxisAngle();e._setExecutionVariable(this,G,p),e._setExecutionVariable(this,V,B),e._setExecutionVariable(this,x,e.executionId),this.axis.setValue(p,e),this.angle.setValue(B,e),this.isValid.setValue(!0,e)}catch{this.isValid.setValue(!1,e)}}getClassName(){return"FlowGraphAxisAngleFromQuaternionBlock"}}class X extends n{constructor(e){super(a,a,c,(r,t)=>Q(r,t),"FlowGraphQuaternionFromDirectionsBlock",e)}}let k=!1;function W(){k||(k=!0,s("FlowGraphLengthBlock",_),s("FlowGraphNormalizeBlock",E),s("FlowGraphDotBlock",O),s("FlowGraphCrossBlock",M),s("FlowGraphRotate2DBlock",I),s("FlowGraphRotate3DBlock",L),s("FlowGraphTransformVectorBlock",$),s("FlowGraphTransformCoordinatesBlock",j),s("FlowGraphConjugateBlock",H),s("FlowGraphAngleBetweenBlock",J),s("FlowGraphQuaternionFromAxisAngleBlock",K),s("FlowGraphAxisAngleFromQuaternionBlock",U))}W();export{J as FlowGraphAngleBetweenBlock,U as FlowGraphAxisAngleFromQuaternionBlock,H as FlowGraphConjugateBlock,M as FlowGraphCrossBlock,O as FlowGraphDotBlock,_ as FlowGraphLengthBlock,E as FlowGraphNormalizeBlock,K as FlowGraphQuaternionFromAxisAngleBlock,X as FlowGraphQuaternionFromDirectionsBlock,I as FlowGraphRotate2DBlock,L as FlowGraphRotate3DBlock,$ as FlowGraphTransformBlock,j as FlowGraphTransformCoordinatesBlock,W as RegisterFlowGraphVectorMathBlocks};
@@ -1 +1 @@
1
- import{y as l,O as r,X as n,i as o}from"./index-JRwY7p9T.js";class h extends l{constructor(i){super(i),this.config=i,this.inFlows=[],this._cachedActivationState=[],this.reset=this._registerSignalInput("reset"),this.completed=this._registerSignalOutput("completed"),this.remainingInputs=this.registerDataOutput("remainingInputs",r,new n(this.config.inputSignalCount||0));for(let e=0;e<this.config.inputSignalCount;e++)this.inFlows.push(this._registerSignalInput(`in_${e}`));this._unregisterSignalInput("in")}_getCurrentActivationState(i){const e=this._cachedActivationState;if(e.length=0,i._hasExecutionVariable(this,"activationState")){const s=i._getExecutionVariable(this,"activationState",[]);for(let t=0;t<s.length;t++)e.push(s[t])}else for(let s=0;s<this.config.inputSignalCount;s++)e.push(!1);return e}_execute(i,e){const s=this._getCurrentActivationState(i);if(e===this.reset)for(let t=0;t<this.config.inputSignalCount;t++)s[t]=!1;else{const t=this.inFlows.indexOf(e);t>=0&&(s[t]=!0)}if(this.remainingInputs.setValue(new n(s.filter(t=>!t).length),i),i._setExecutionVariable(this,"activationState",s.slice()),s.includes(!1))e!==this.reset&&this.out._activateSignal(i);else{this.completed._activateSignal(i);for(let t=0;t<this.config.inputSignalCount;t++)s[t]=!1}}getClassName(){return"FlowGraphWaitAllBlock"}serialize(i){super.serialize(i),i.config.inputFlows=this.config.inputSignalCount}}let a=!1;function u(){a||(a=!0,o("FlowGraphWaitAllBlock",h))}u();export{h as FlowGraphWaitAllBlock,u as RegisterFlowGraphWaitAllBlock};
1
+ import{y as l,O as r,X as n,i as o}from"./index-YcXsPtFI.js";class h extends l{constructor(i){super(i),this.config=i,this.inFlows=[],this._cachedActivationState=[],this.reset=this._registerSignalInput("reset"),this.completed=this._registerSignalOutput("completed"),this.remainingInputs=this.registerDataOutput("remainingInputs",r,new n(this.config.inputSignalCount||0));for(let e=0;e<this.config.inputSignalCount;e++)this.inFlows.push(this._registerSignalInput(`in_${e}`));this._unregisterSignalInput("in")}_getCurrentActivationState(i){const e=this._cachedActivationState;if(e.length=0,i._hasExecutionVariable(this,"activationState")){const s=i._getExecutionVariable(this,"activationState",[]);for(let t=0;t<s.length;t++)e.push(s[t])}else for(let s=0;s<this.config.inputSignalCount;s++)e.push(!1);return e}_execute(i,e){const s=this._getCurrentActivationState(i);if(e===this.reset)for(let t=0;t<this.config.inputSignalCount;t++)s[t]=!1;else{const t=this.inFlows.indexOf(e);t>=0&&(s[t]=!0)}if(this.remainingInputs.setValue(new n(s.filter(t=>!t).length),i),i._setExecutionVariable(this,"activationState",s.slice()),s.includes(!1))e!==this.reset&&this.out._activateSignal(i);else{this.completed._activateSignal(i);for(let t=0;t<this.config.inputSignalCount;t++)s[t]=!1}}getClassName(){return"FlowGraphWaitAllBlock"}serialize(i){super.serialize(i),i.config.inputFlows=this.config.inputSignalCount}}let a=!1;function u(){a||(a=!0,o("FlowGraphWaitAllBlock",h))}u();export{h as FlowGraphWaitAllBlock,u as RegisterFlowGraphWaitAllBlock};
@@ -1 +1 @@
1
- import{y as a,h as n,L as s,i as r}from"./index-JRwY7p9T.js";class e extends a{constructor(i){super(i),this.config=i,this.condition=this.registerDataInput("condition",n),this.executionFlow=this._registerSignalOutput("executionFlow"),this.completed=this._registerSignalOutput("completed"),this._unregisterSignalOutput("out")}_execute(i,u){let t=this.condition.getValue(i);this.config?.doWhile&&!t&&this.executionFlow._activateSignal(i);let o=0;for(;t;){if(this.executionFlow._activateSignal(i),++o,o>=e.MaxLoopCount){s.Warn("FlowGraphWhileLoopBlock: Max loop count reached. Breaking.");break}t=this.condition.getValue(i)}this.completed._activateSignal(i)}getClassName(){return"FlowGraphWhileLoopBlock"}}e.MaxLoopCount=1e3;let l=!1;function h(){l||(l=!0,r("FlowGraphWhileLoopBlock",e))}h();export{e as FlowGraphWhileLoopBlock,h as RegisterFlowGraphWhileLoopBlock};
1
+ import{y as a,h as n,L as s,i as r}from"./index-YcXsPtFI.js";class e extends a{constructor(i){super(i),this.config=i,this.condition=this.registerDataInput("condition",n),this.executionFlow=this._registerSignalOutput("executionFlow"),this.completed=this._registerSignalOutput("completed"),this._unregisterSignalOutput("out")}_execute(i,u){let t=this.condition.getValue(i);this.config?.doWhile&&!t&&this.executionFlow._activateSignal(i);let o=0;for(;t;){if(this.executionFlow._activateSignal(i),++o,o>=e.MaxLoopCount){s.Warn("FlowGraphWhileLoopBlock: Max loop count reached. Breaking.");break}t=this.condition.getValue(i)}this.completed._activateSignal(i)}getClassName(){return"FlowGraphWhileLoopBlock"}}e.MaxLoopCount=1e3;let l=!1;function h(){l||(l=!0,r("FlowGraphWhileLoopBlock",e))}h();export{e as FlowGraphWhileLoopBlock,h as RegisterFlowGraphWhileLoopBlock};
@@ -1,4 +1,4 @@
1
- import{S as o}from"./index-JRwY7p9T.js";const f="fogFragmentDeclaration",r=`#ifdef FOG
1
+ import{S as o}from"./index-YcXsPtFI.js";const f="fogFragmentDeclaration",r=`#ifdef FOG
2
2
  #define FOGMODE_NONE 0.
3
3
  #define FOGMODE_EXP 1.
4
4
  #define FOGMODE_EXP2 2.
@@ -1,4 +1,4 @@
1
- import{S as t}from"./index-JRwY7p9T.js";const e="gaussianSplatting",s=`fn getDataUV(index: f32,dataTextureSize: vec2f)->vec2<f32> {let y: f32=floor(index/dataTextureSize.x);let x: f32=index-y*dataTextureSize.x;return vec2f((x+0.5),(y+0.5));}
1
+ import{S as t}from"./index-YcXsPtFI.js";const e="gaussianSplatting",s=`fn getDataUV(index: f32,dataTextureSize: vec2f)->vec2<f32> {let y: f32=floor(index/dataTextureSize.x);let x: f32=index-y*dataTextureSize.x;return vec2f((x+0.5),(y+0.5));}
2
2
  struct Splat {center: vec4f,
3
3
  color: vec4f,
4
4
  covA: vec4f,
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";const t="gaussianSplattingVertexDeclaration",o="attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;uniform mat4 view;uniform mat4 projection;uniform mat4 world;uniform vec4 vEyePosition;";e.IncludesShadersStore[t]||(e.IncludesShadersStore[t]=o);const n={name:t,shader:o},a="gaussianSplattingUboDeclaration",c=`#include<sceneUboDeclaration>
1
+ import{S as e}from"./index-YcXsPtFI.js";const t="gaussianSplattingVertexDeclaration",o="attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;uniform mat4 view;uniform mat4 projection;uniform mat4 world;uniform vec4 vEyePosition;";e.IncludesShadersStore[t]||(e.IncludesShadersStore[t]=o);const n={name:t,shader:o},a="gaussianSplattingUboDeclaration",c=`#include<sceneUboDeclaration>
2
2
  #include<meshUboDeclaration>
3
3
  attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;
4
4
  `;e.IncludesShadersStore[a]||(e.IncludesShadersStore[a]=c);const x={name:a,shader:c},s="gaussianSplatting",i=`#if !defined(WEBGL2) && !defined(WEBGPU) && !defined(NATIVE)
@@ -1,4 +1,4 @@
1
- import{S as a,ah as l,o as t,ai as c,aj as g,ak as s,al as d}from"./index-JRwY7p9T.js";import{p as f}from"./packingFunctions-BD5WZtBT.js";const n="gaussianSplattingFragmentDeclaration",i=`vec4 gaussianColor(vec4 inColor)
1
+ import{S as a,ah as l,o as t,ai as c,aj as g,ak as s,al as d}from"./index-YcXsPtFI.js";import{p as f}from"./packingFunctions-BWIusbYB.js";const n="gaussianSplattingFragmentDeclaration",i=`vec4 gaussianColor(vec4 inColor)
2
2
  {float A=-dot(vPosition,vPosition);if (A<-4.0) discard;float B=exp(A)*inColor.a;
3
3
  #include<logDepthFragment>
4
4
  vec3 color=inColor.rgb;
@@ -1,4 +1,4 @@
1
- import{S as n}from"./index-JRwY7p9T.js";import{c as o,a as s}from"./clipPlaneFragment-pIdOfJ_5.js";import{l}from"./logDepthDeclaration-BOlhc3aa.js";import{f,l as c,a as g}from"./fogFragment-pKchdx3M.js";import{p as S}from"./packingFunctions-D3gaUkUa.js";const a="gaussianSplattingFragmentDeclaration",i=`fn gaussianColor(inColor: vec4f,inPosition: vec2f)->vec4f
1
+ import{S as n}from"./index-YcXsPtFI.js";import{c as o,a as s}from"./clipPlaneFragment-Cllz8e_G.js";import{l}from"./logDepthDeclaration-DHeJwlJR.js";import{f,l as c,a as g}from"./fogFragment-BzLCRCIz.js";import{p as S}from"./packingFunctions-yE7XM0N6.js";const a="gaussianSplattingFragmentDeclaration",i=`fn gaussianColor(inColor: vec4f,inPosition: vec2f)->vec4f
2
2
  {var A : f32=-dot(inPosition,inPosition);if (A>-4.0)
3
3
  {var B: f32=exp(A)*inColor.a;
4
4
  #include<logDepthFragment>
@@ -1,4 +1,4 @@
1
- import{S as e,s as t,m as r,l as n,n as l,o as s,p as f,q as c,r as p,t as d}from"./index-JRwY7p9T.js";import{g as S,a as u,b as m}from"./gaussianSplatting-DgjcxjKa.js";const a="gaussianSplattingVertexShader",i=`#include<__decl__gaussianSplattingVertex>
1
+ import{S as e,s as t,m as r,l as n,n as l,o as s,p as f,q as c,r as p,t as d}from"./index-YcXsPtFI.js";import{g as S,a as u,b as m}from"./gaussianSplatting-DPftVbu_.js";const a="gaussianSplattingVertexShader",i=`#include<__decl__gaussianSplattingVertex>
2
2
  #ifdef LOGARITHMICDEPTH
3
3
  #extension GL_EXT_frag_depth : enable
4
4
  #endif
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";import{s as a}from"./sceneUboDeclaration-BmpwedcW.js";import{m as i}from"./meshUboDeclaration-BfPhZsyr.js";import{h as n}from"./helperFunctions-Bx8RYYvi.js";import{c as s,a as l}from"./clipPlaneVertex-Kl_G8tpP.js";import{f,a as u,l as p}from"./logDepthVertex-BIA9Xrid.js";import{l as c}from"./logDepthDeclaration-BOlhc3aa.js";import{g as d}from"./gaussianSplatting-oRLzV71m.js";const r="gaussianSplattingVertexShader",o=`#include<sceneUboDeclaration>
1
+ import{S as e}from"./index-YcXsPtFI.js";import{s as a}from"./sceneUboDeclaration-1bB3YoON.js";import{m as i}from"./meshUboDeclaration-dDsFbRSv.js";import{h as n}from"./helperFunctions-DeCJcXoK.js";import{c as s,a as l}from"./clipPlaneVertex-ChqMABPH.js";import{f,a as u,l as p}from"./logDepthVertex-Dt5zdVFA.js";import{l as c}from"./logDepthDeclaration-DHeJwlJR.js";import{g as d}from"./gaussianSplatting-CAfPyqPa.js";const r="gaussianSplattingVertexShader",o=`#include<sceneUboDeclaration>
2
2
  #include<meshUboDeclaration>
3
3
  #include<helperFunctions>
4
4
  #include<clipPlaneVertexDeclaration>
@@ -1,4 +1,4 @@
1
- import{S as o}from"./index-JRwY7p9T.js";const e="gaussianSplattingVoxelPixelShader",t=`var voxel_storage: texture_storage_3d<r8unorm,write>;varying vNormalizedPosition: vec3f;varying vNormalizedCenterPosition: vec3f;varying vAlpha: f32;varying vPatchPosition: vec2f;fn gsVoxelPrngCanonical1d(co: f32)->f32 {return fract(sin(co*91.3458)*47453.5453);}
1
+ import{S as o}from"./index-YcXsPtFI.js";const e="gaussianSplattingVoxelPixelShader",t=`var voxel_storage: texture_storage_3d<r8unorm,write>;varying vNormalizedPosition: vec3f;varying vNormalizedCenterPosition: vec3f;varying vAlpha: f32;varying vPatchPosition: vec2f;fn gsVoxelPrngCanonical1d(co: f32)->f32 {return fract(sin(co*91.3458)*47453.5453);}
2
2
  fn gsVoxelPrngCanonical2d(co: vec2f)->f32 {return fract(sin(dot(co,vec2f(12.9898,78.233)))*43758.5453);}
3
3
  fn gsVoxelPrngCanonical3d(co: vec3f)->f32 {return gsVoxelPrngCanonical2d(vec2f(co.x,co.y)+gsVoxelPrngCanonical1d(co.z));}
4
4
  @fragment
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";const a="gaussianSplattingVoxelPixelShader",n=`precision highp float;layout(location=0) out highp float glFragData[MAX_DRAW_BUFFERS];varying vec3 vNormalizedPosition;varying vec3 vNormalizedCenterPosition;varying float vAlpha;varying vec2 vPatchPosition;uniform float nearPlane;uniform float farPlane;uniform float stepSize;float max3(vec3 v) { return max(max(v.x,v.y),v.z); }
1
+ import{S as e}from"./index-YcXsPtFI.js";const a="gaussianSplattingVoxelPixelShader",n=`precision highp float;layout(location=0) out highp float glFragData[MAX_DRAW_BUFFERS];varying vec3 vNormalizedPosition;varying vec3 vNormalizedCenterPosition;varying float vAlpha;varying vec2 vPatchPosition;uniform float nearPlane;uniform float farPlane;uniform float stepSize;float max3(vec3 v) { return max(max(v.x,v.y),v.z); }
2
2
  float prngCanonical1d(float co)
3
3
  {return fract(sin(co*91.3458)*47453.5453);}
4
4
  float prngCanonical2d(vec2 co)
@@ -1,4 +1,4 @@
1
- import{S as t}from"./index-JRwY7p9T.js";import{s as i}from"./sceneUboDeclaration-BmpwedcW.js";import{m as o}from"./meshUboDeclaration-BfPhZsyr.js";import{g as s}from"./gaussianSplatting-oRLzV71m.js";const r="gaussianSplattingVoxelVertexShader",a=`#include<sceneUboDeclaration>
1
+ import{S as t}from"./index-YcXsPtFI.js";import{s as i}from"./sceneUboDeclaration-1bB3YoON.js";import{m as o}from"./meshUboDeclaration-dDsFbRSv.js";import{g as s}from"./gaussianSplatting-CAfPyqPa.js";const r="gaussianSplattingVoxelVertexShader",a=`#include<sceneUboDeclaration>
2
2
  #include<meshUboDeclaration>
3
3
  attribute splatIndex0: vec4f;attribute splatIndex1: vec4f;attribute splatIndex2: vec4f;attribute splatIndex3: vec4f;attribute position: vec3f;uniform dataTextureSize: vec2f;uniform alpha: f32;uniform invWorldScale: mat4x4f;uniform viewMatrix: mat4x4f;
4
4
  #if IS_COMPOUND
@@ -1,4 +1,4 @@
1
- import{S as a,s as o,m as r}from"./index-JRwY7p9T.js";import{g as n,a as l,b as s}from"./gaussianSplatting-DgjcxjKa.js";const e="gaussianSplattingVoxelVertexShader",i=`#include<__decl__gaussianSplattingVertex>
1
+ import{S as a,s as o,m as r}from"./index-YcXsPtFI.js";import{g as n,a as l,b as s}from"./gaussianSplatting-DPftVbu_.js";const e="gaussianSplattingVoxelVertexShader",i=`#include<__decl__gaussianSplattingVertex>
2
2
  uniform vec2 dataTextureSize;uniform float alpha;uniform mat4 invWorldScale;uniform mat4 viewMatrix;uniform sampler2D rotationsATexture;uniform sampler2D rotationsBTexture;uniform sampler2D rotationScaleTexture;uniform sampler2D centersTexture;uniform sampler2D colorsTexture;
3
3
  #if IS_COMPOUND
4
4
  uniform mat4 partWorld[MAX_PART_COUNT];uniform float partVisibility[MAX_PART_COUNT];uniform sampler2D partIndicesTexture;
@@ -1,4 +1,4 @@
1
- import{S as e,ah as o,am as t,an as d,ao as l,p as c,ap as s,s as E,aq as v,ar as m,as as u,al as S,at as I}from"./index-JRwY7p9T.js";import{s as R,o as T,a as A,b as p,c as D,d as _}from"./openpbrTransmissionLayerData-BClMu_zp.js";const n="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
1
+ import{S as e,ah as o,am as t,an as d,ao as l,p as c,ap as s,s as E,aq as v,ar as m,as as u,al as S,at as I}from"./index-YcXsPtFI.js";import{s as R,o as T,a as A,b as p,c as D,d as _}from"./openpbrTransmissionLayerData-D2UaStdu.js";const n="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
2
2
  layout(location=0) out vec4 glFragData[{X}];
3
3
  #endif
4
4
  `;e.IncludesShadersStore[n]||(e.IncludesShadersStore[n]=a);const g={name:n,shader:a},r="geometryPixelShader",f=`#extension GL_EXT_draw_buffers : require
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";import{c as n,a as f}from"./clipPlaneFragment-pIdOfJ_5.js";import{b as t,a as o,c as s}from"./bumpFragment-BkzgDMwt.js";import{s as l,r as d}from"./reflectionFunction-n0dvho3A.js";import{h as c}from"./helperFunctions-Bx8RYYvi.js";import{p as m,a as v}from"./pbrIBLFunctions-D_X-tzpO.js";import{s as u}from"./sceneUboDeclaration-BmpwedcW.js";import{p as S}from"./pbrBRDFFunctions-Dv8-Akv1.js";import{o as p,a as E,b as R,c as T,d as I}from"./openpbrTransmissionLayerData-1U_DHNWK.js";const r="geometryPixelShader",a=`#ifdef BUMP
1
+ import{S as e}from"./index-YcXsPtFI.js";import{c as n,a as f}from"./clipPlaneFragment-Cllz8e_G.js";import{b as t,a as o,c as s}from"./bumpFragment-VvIKAANw.js";import{s as l,r as d}from"./reflectionFunction-CpMEFzxv.js";import{h as c}from"./helperFunctions-DeCJcXoK.js";import{p as m,a as v}from"./pbrIBLFunctions-D5A_AxnZ.js";import{s as u}from"./sceneUboDeclaration-1bB3YoON.js";import{p as S}from"./pbrBRDFFunctions-C50h7JEU.js";import{o as p,a as E,b as R,c as T,d as I}from"./openpbrTransmissionLayerData-Yc4m_LFv.js";const r="geometryPixelShader",a=`#ifdef BUMP
2
2
  varying vWorldView0: vec4f;varying vWorldView1: vec4f;varying vWorldView2: vec4f;varying vWorldView3: vec4f;varying vNormalW: vec3f;
3
3
  #else
4
4
  varying vNormalV: vec3f;
@@ -1,4 +1,4 @@
1
- import{S as e,aB as f,aC as c,aD as v,aE as s,aF as l,s as u,l as m,aG as U,aH as E,aI as p,aJ as V,aK as S,aL as I,q as h,aM as N}from"./index-JRwY7p9T.js";const n="geometryVertexDeclaration",t="uniform mat4 viewProjection;uniform mat4 view;";e.IncludesShadersStore[n]||(e.IncludesShadersStore[n]=t);const _={name:n,shader:t},r="geometryUboDeclaration",o=`#include<sceneUboDeclaration>
1
+ import{S as e,aB as f,aC as c,aD as v,aE as s,aF as l,s as u,l as m,aG as U,aH as E,aI as p,aJ as V,aK as S,aL as I,q as h,aM as N}from"./index-YcXsPtFI.js";const n="geometryVertexDeclaration",t="uniform mat4 viewProjection;uniform mat4 view;";e.IncludesShadersStore[n]||(e.IncludesShadersStore[n]=t);const _={name:n,shader:t},r="geometryUboDeclaration",o=`#include<sceneUboDeclaration>
2
2
  `;e.IncludesShadersStore[r]||(e.IncludesShadersStore[r]=o);const x={name:r,shader:o},a="geometryVertexShader",d=`precision highp float;
3
3
  #include<bonesDeclaration>
4
4
  #include<bakedVertexAnimationDeclaration>
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";import{b as n,a as f,m as o,c as v,i as a,d as s,e as d,f as u,g as c,h as l}from"./bakedVertexAnimation-_xBvgBl7.js";import{s as m}from"./sceneUboDeclaration-BmpwedcW.js";import{c as p,a as x}from"./clipPlaneVertex-Kl_G8tpP.js";import{h as U}from"./harmonicsFunctions-BkifmnNV.js";import{b as E}from"./bumpVertex-BXtiaDZI.js";const r="geometryVertexShader",t=`#include<bonesDeclaration>
1
+ import{S as e}from"./index-YcXsPtFI.js";import{b as n,a as f,m as o,c as v,i as a,d as s,e as d,f as u,g as c,h as l}from"./bakedVertexAnimation-CZalW6MY.js";import{s as m}from"./sceneUboDeclaration-1bB3YoON.js";import{c as p,a as x}from"./clipPlaneVertex-ChqMABPH.js";import{h as U}from"./harmonicsFunctions-BVmgiiRj.js";import{b as E}from"./bumpVertex-DLicej86.js";const r="geometryVertexShader",t=`#include<bonesDeclaration>
2
2
  #include<bakedVertexAnimationDeclaration>
3
3
  #include<morphTargetsVertexGlobalDeclaration>
4
4
  #include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
@@ -1,4 +1,4 @@
1
- import{S as r}from"./index-JRwY7p9T.js";const e="glowBlurPostProcessPixelShader",t=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;uniform screenSize: vec2f;uniform direction: vec2f;uniform blurWidth: f32;fn getLuminance(color: vec3f)->f32
1
+ import{S as r}from"./index-YcXsPtFI.js";const e="glowBlurPostProcessPixelShader",t=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;uniform screenSize: vec2f;uniform direction: vec2f;uniform blurWidth: f32;fn getLuminance(color: vec3f)->f32
2
2
  {return dot(color, vec3f(0.2126,0.7152,0.0722));}
3
3
  #define CUSTOM_FRAGMENT_DEFINITIONS
4
4
  @fragment
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";import{h as f}from"./helperFunctions-Bx8RYYvi.js";import{c as o,a as n}from"./clipPlaneFragment-pIdOfJ_5.js";const i="glowMapGenerationPixelShader",r=`#if defined(DIFFUSE_ISLINEAR) || defined(EMISSIVE_ISLINEAR)
1
+ import{S as e}from"./index-YcXsPtFI.js";import{h as f}from"./helperFunctions-DeCJcXoK.js";import{c as o,a as n}from"./clipPlaneFragment-Cllz8e_G.js";const i="glowMapGenerationPixelShader",r=`#if defined(DIFFUSE_ISLINEAR) || defined(EMISSIVE_ISLINEAR)
2
2
  #include<helperFunctions>
3
3
  #endif
4
4
  #ifdef DIFFUSE
@@ -1,4 +1,4 @@
1
- import{S as e}from"./index-JRwY7p9T.js";import{b as a,a as n,m as f,c as o,i as s,d,e as u,f as v,g as c,h as p}from"./bakedVertexAnimation-_xBvgBl7.js";import{c as x,a as l}from"./clipPlaneVertex-Kl_G8tpP.js";const t="glowMapGenerationVertexShader",r=`attribute position: vec3f;
1
+ import{S as e}from"./index-YcXsPtFI.js";import{b as a,a as n,m as f,c as o,i as s,d,e as u,f as v,g as c,h as p}from"./bakedVertexAnimation-CZalW6MY.js";import{c as x,a as l}from"./clipPlaneVertex-ChqMABPH.js";const t="glowMapGenerationVertexShader",r=`attribute position: vec3f;
2
2
  #include<bonesDeclaration>
3
3
  #include<bakedVertexAnimationDeclaration>
4
4
  #include<morphTargetsVertexGlobalDeclaration>
@@ -1,4 +1,4 @@
1
- import{S as r}from"./index-JRwY7p9T.js";const e="glowMapMergePixelShader",a=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
1
+ import{S as r}from"./index-YcXsPtFI.js";const e="glowMapMergePixelShader",a=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
2
2
  #ifdef EMISSIVE
3
3
  var textureSampler2Sampler: sampler;var textureSampler2: texture_2d<f32>;
4
4
  #endif
@@ -1,4 +1,4 @@
1
- import{S as t}from"./index-JRwY7p9T.js";const e="glowMapMergeVertexShader",r=`attribute position: vec2f;varying vUV: vec2f;
1
+ import{S as t}from"./index-YcXsPtFI.js";const e="glowMapMergeVertexShader",r=`attribute position: vec2f;varying vUV: vec2f;
2
2
  #define CUSTOM_VERTEX_DEFINITIONS
3
3
  @vertex
4
4
  fn main(input : VertexInputs)->FragmentInputs {const madd: vec2f= vec2f(0.5,0.5);
@@ -1,4 +1,4 @@
1
- import{S as a}from"./index-JRwY7p9T.js";const r="harmonicsFunctions",e=`#ifdef USESPHERICALFROMREFLECTIONMAP
1
+ import{S as a}from"./index-YcXsPtFI.js";const r="harmonicsFunctions",e=`#ifdef USESPHERICALFROMREFLECTIONMAP
2
2
  #ifdef SPHERICAL_HARMONICS
3
3
  fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
4
4
  + uniforms.vSphericalL1_1*(normal.y)
@@ -1,4 +1,4 @@
1
- import{S as r}from"./index-JRwY7p9T.js";const e="helperFunctions",t=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
1
+ import{S as r}from"./index-YcXsPtFI.js";const e="helperFunctions",t=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
2
2
  const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
3
3
  fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
4
4
  fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
@@ -1,2 +1,2 @@
1
- import{u as p}from"./index-JRwY7p9T.js";function O(t){return t.split(" ").filter(r=>r!=="").map(r=>parseFloat(r))}function x(t,r,o){for(;o.length!==r;){const n=O(t.lines[t.index++]);o.push(...n)}}function V(t,r,o){let n=0,e=0,i=0,u=0,f=0,h=0;for(let s=0;s<t.numberOfHorizontalAngles-1;s++)if(o<t.horizontalAngles[s+1]||s===t.numberOfHorizontalAngles-2){e=s,i=t.horizontalAngles[s],u=t.horizontalAngles[s+1];break}for(let s=0;s<t.numberOfVerticalAngles-1;s++)if(r<t.verticalAngles[s+1]||s===t.numberOfVerticalAngles-2){n=s,f=t.verticalAngles[s],h=t.verticalAngles[s+1];break}const c=u-i,A=h-f;if(A===0)return 0;const g=c===0?0:(o-i)/c,b=(r-f)/A,d=c===0?e:e+1,l=p(t.candelaValues[e][n],t.candelaValues[d][n],g),a=p(t.candelaValues[e][n+1],t.candelaValues[d][n+1],g);return p(l,a,b)}function z(t){const n={lines:new TextDecoder("utf-8").decode(t).split(`
1
+ import{u as p}from"./index-YcXsPtFI.js";function O(t){return t.split(" ").filter(r=>r!=="").map(r=>parseFloat(r))}function x(t,r,o){for(;o.length!==r;){const n=O(t.lines[t.index++]);o.push(...n)}}function V(t,r,o){let n=0,e=0,i=0,u=0,f=0,h=0;for(let s=0;s<t.numberOfHorizontalAngles-1;s++)if(o<t.horizontalAngles[s+1]||s===t.numberOfHorizontalAngles-2){e=s,i=t.horizontalAngles[s],u=t.horizontalAngles[s+1];break}for(let s=0;s<t.numberOfVerticalAngles-1;s++)if(r<t.verticalAngles[s+1]||s===t.numberOfVerticalAngles-2){n=s,f=t.verticalAngles[s],h=t.verticalAngles[s+1];break}const c=u-i,A=h-f;if(A===0)return 0;const g=c===0?0:(o-i)/c,b=(r-f)/A,d=c===0?e:e+1,l=p(t.candelaValues[e][n],t.candelaValues[d][n],g),a=p(t.candelaValues[e][n+1],t.candelaValues[d][n+1],g);return p(l,a,b)}function z(t){const n={lines:new TextDecoder("utf-8").decode(t).split(`
2
2
  `),index:0},e={version:n.lines[0],candelaValues:[],horizontalAngles:[],verticalAngles:[],numberOfHorizontalAngles:0,numberOfVerticalAngles:0};for(n.index=1;n.lines.length>0&&!n.lines[n.index].includes("TILT=");)n.index++;n.lines[n.index].includes("INCLUDE"),n.index++;const i=O(n.lines[n.index++]);e.numberOfLights=i[0],e.lumensPerLamp=i[1],e.candelaMultiplier=i[2],e.numberOfVerticalAngles=i[3],e.numberOfHorizontalAngles=i[4],e.photometricType=i[5],e.unitsType=i[6],e.width=i[7],e.length=i[8],e.height=i[9];const u=O(n.lines[n.index++]);e.ballastFactor=u[0],e.fileGenerationType=u[1],e.inputWatts=u[2];for(let l=0;l<e.numberOfHorizontalAngles;l++)e.candelaValues[l]=[];x(n,e.numberOfVerticalAngles,e.verticalAngles),x(n,e.numberOfHorizontalAngles,e.horizontalAngles);for(let l=0;l<e.numberOfHorizontalAngles;l++)x(n,e.numberOfVerticalAngles,e.candelaValues[l]);let f=-1;for(let l=0;l<e.numberOfHorizontalAngles;l++)for(let a=0;a<e.numberOfVerticalAngles;a++)e.candelaValues[l][a]*=e.candelaValues[l][a]*e.candelaMultiplier*e.ballastFactor*e.fileGenerationType,f=Math.max(f,e.candelaValues[l][a]);if(f>0)for(let l=0;l<e.numberOfHorizontalAngles;l++)for(let a=0;a<e.numberOfVerticalAngles;a++)e.candelaValues[l][a]/=f;const h=180,c=h*2,A=c*h,g=new Float32Array(c*h),b=e.horizontalAngles[0],d=e.horizontalAngles[e.numberOfHorizontalAngles-1];for(let l=0;l<A;l++){let a=l%c;const m=Math.floor(l/c);d-b!==0&&(a<b||a>=d)&&(a%=d*2,a>d&&(a=d*2-a)),g[m+a*h]=V(e,m,a)}return{width:c/2,height:1,data:g}}class y{constructor(){this.supportCascades=!1}loadCubeData(){throw".ies not supported in Cube."}loadData(r,o,n){const e=new Uint8Array(r.buffer,r.byteOffset,r.byteLength),i=z(e);n(i.width,i.height,!!o.useMipMaps,!1,()=>{const u=o.getEngine();o.type=1,o.format=6,o._gammaSpace=!1,u._uploadDataToTextureDirectly(o,i.data)})}}export{y as _IESTextureLoader};