@splinetool/runtime 2.0.54 → 2.0.56

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 (283) hide show
  1. package/build/bevel.js +314 -0
  2. package/build/bevel.js.br +0 -0
  3. package/build/bevel.js.gz +0 -0
  4. package/build/bevel.wasm +0 -0
  5. package/build/bevel.wasm.br +0 -0
  6. package/build/bevel.wasm.gz +0 -0
  7. package/build/hana-ui.js +33 -33
  8. package/build/hana-ui.js.br +0 -0
  9. package/build/hana-ui.js.gz +0 -0
  10. package/build/hana-ui.wasm +0 -0
  11. package/build/hana-ui.wasm.br +0 -0
  12. package/build/hana-ui.wasm.gz +0 -0
  13. package/build/{runtime-chunk-G4XAQUT2.js → runtime-chunk-26SZFQP3.js} +1 -1
  14. package/build/runtime-chunk-26SZFQP3.js.br +0 -0
  15. package/build/runtime-chunk-26SZFQP3.js.gz +0 -0
  16. package/build/{runtime-chunk-4GLZNPR6.js → runtime-chunk-2CHZO2W5.js} +1 -1
  17. package/build/runtime-chunk-2CHZO2W5.js.br +0 -0
  18. package/build/runtime-chunk-2CHZO2W5.js.gz +0 -0
  19. package/build/{runtime-chunk-CNYYWTRG.js → runtime-chunk-3OIL3Q24.js} +1 -1
  20. package/build/runtime-chunk-3OIL3Q24.js.br +0 -0
  21. package/build/runtime-chunk-3OIL3Q24.js.gz +0 -0
  22. package/build/{runtime-chunk-V6DRGTD6.js → runtime-chunk-77TCMGS6.js} +1 -1
  23. package/build/runtime-chunk-77TCMGS6.js.br +0 -0
  24. package/build/runtime-chunk-77TCMGS6.js.gz +0 -0
  25. package/build/{runtime-chunk-333ZOV2S.js → runtime-chunk-ALSA2W5S.js} +1 -1
  26. package/build/runtime-chunk-ALSA2W5S.js.br +0 -0
  27. package/build/runtime-chunk-ALSA2W5S.js.gz +0 -0
  28. package/build/{runtime-chunk-D4RTVX56.js → runtime-chunk-DZH2WGOA.js} +1 -1
  29. package/build/runtime-chunk-DZH2WGOA.js.br +0 -0
  30. package/build/runtime-chunk-DZH2WGOA.js.gz +0 -0
  31. package/build/{runtime-chunk-M7VGJ5HW.js → runtime-chunk-FFP72OEJ.js} +1 -1
  32. package/build/runtime-chunk-FFP72OEJ.js.br +0 -0
  33. package/build/runtime-chunk-FFP72OEJ.js.gz +0 -0
  34. package/build/{runtime-chunk-R2PNQV2A.js → runtime-chunk-G4LZAKF6.js} +1 -1
  35. package/build/runtime-chunk-G4LZAKF6.js.br +0 -0
  36. package/build/runtime-chunk-G4LZAKF6.js.gz +0 -0
  37. package/build/{runtime-chunk-VNSXYJJ4.js → runtime-chunk-GJ4SIUSN.js} +1 -1
  38. package/build/runtime-chunk-GJ4SIUSN.js.br +0 -0
  39. package/build/runtime-chunk-GJ4SIUSN.js.gz +0 -0
  40. package/build/{runtime-chunk-KD4RAVC6.js → runtime-chunk-GZGT4PYG.js} +1 -1
  41. package/build/runtime-chunk-GZGT4PYG.js.br +0 -0
  42. package/build/runtime-chunk-GZGT4PYG.js.gz +0 -0
  43. package/build/{runtime-chunk-KG3JC3MU.js → runtime-chunk-HPN5XNUK.js} +1 -1
  44. package/build/runtime-chunk-HPN5XNUK.js.br +0 -0
  45. package/build/runtime-chunk-HPN5XNUK.js.gz +0 -0
  46. package/build/{runtime-chunk-5Y2MXXX6.js → runtime-chunk-LOW6EBCZ.js} +1 -1
  47. package/build/runtime-chunk-LOW6EBCZ.js.br +0 -0
  48. package/build/runtime-chunk-LOW6EBCZ.js.gz +0 -0
  49. package/build/{runtime-chunk-YR2R64PI.js → runtime-chunk-MGEVP5II.js} +1 -1
  50. package/build/runtime-chunk-MGEVP5II.js.br +0 -0
  51. package/build/runtime-chunk-MGEVP5II.js.gz +0 -0
  52. package/build/{runtime-chunk-AE3KJLVD.js → runtime-chunk-ORWDYZND.js} +1 -1
  53. package/build/runtime-chunk-ORWDYZND.js.br +0 -0
  54. package/build/runtime-chunk-ORWDYZND.js.gz +0 -0
  55. package/build/{runtime-chunk-5QDCFNS4.js → runtime-chunk-P4O4NCVX.js} +1 -1
  56. package/build/runtime-chunk-P4O4NCVX.js.br +0 -0
  57. package/build/runtime-chunk-P4O4NCVX.js.gz +0 -0
  58. package/build/{runtime-chunk-LDVHB5FO.js → runtime-chunk-QLM3QIP6.js} +1 -1
  59. package/build/runtime-chunk-QLM3QIP6.js.br +0 -0
  60. package/build/runtime-chunk-QLM3QIP6.js.gz +0 -0
  61. package/build/runtime-chunk-RTMFL6Q4.js +1 -0
  62. package/build/runtime-chunk-RTMFL6Q4.js.br +0 -0
  63. package/build/runtime-chunk-RTMFL6Q4.js.gz +0 -0
  64. package/build/{runtime-chunk-QG5XINCE.js → runtime-chunk-SEHDL2ZM.js} +1 -1
  65. package/build/runtime-chunk-SEHDL2ZM.js.br +0 -0
  66. package/build/runtime-chunk-SEHDL2ZM.js.gz +0 -0
  67. package/build/runtime-chunk-VKNEB4X7.js +1 -0
  68. package/build/runtime-chunk-VKNEB4X7.js.br +0 -0
  69. package/build/runtime-chunk-VKNEB4X7.js.gz +0 -0
  70. package/build/{runtime-chunk-UUHLQQOF.js → runtime-chunk-VXY47OT7.js} +1 -1
  71. package/build/runtime-chunk-VXY47OT7.js.br +0 -0
  72. package/build/runtime-chunk-VXY47OT7.js.gz +0 -0
  73. package/build/{runtime-chunk-CDUGB775.js → runtime-chunk-XFZDG6DN.js} +1 -1
  74. package/build/{runtime-chunk-CDUGB775.js.br → runtime-chunk-XFZDG6DN.js.br} +0 -0
  75. package/build/runtime-chunk-XFZDG6DN.js.gz +0 -0
  76. package/build/{runtime-chunk-YMKCEDKL.js → runtime-chunk-YAQ5OUSE.js} +1 -1
  77. package/build/runtime-chunk-YAQ5OUSE.js.br +0 -0
  78. package/build/runtime-chunk-YAQ5OUSE.js.gz +0 -0
  79. package/build/{runtime-chunk-7AN6SYSU.js → runtime-chunk-YHT6JEQZ.js} +1 -1
  80. package/build/runtime-chunk-YHT6JEQZ.js.br +0 -0
  81. package/build/runtime-chunk-YHT6JEQZ.js.gz +0 -0
  82. package/build/{runtime-chunk-B2LLDBVR.js → runtime-chunk-YLMIAIZH.js} +1 -1
  83. package/build/runtime-chunk-YLMIAIZH.js.br +0 -0
  84. package/build/runtime-chunk-YLMIAIZH.js.gz +0 -0
  85. package/build/{runtime-chunk-YMO675HZ.js → runtime-chunk-ZCXPOZ42.js} +1 -1
  86. package/build/runtime-chunk-ZCXPOZ42.js.br +0 -0
  87. package/build/runtime-chunk-ZCXPOZ42.js.gz +0 -0
  88. package/build/runtime-classicRuntime-HF6JGD42.js +1 -0
  89. package/build/runtime-classicRuntime-HF6JGD42.js.br +0 -0
  90. package/build/runtime-classicRuntime-HF6JGD42.js.gz +0 -0
  91. package/build/{runtime-cloners-GW6RJNUX.js → runtime-cloners-ZX2OB4LS.js} +1 -1
  92. package/build/runtime-cloners-ZX2OB4LS.js.br +0 -0
  93. package/build/runtime-cloners-ZX2OB4LS.js.gz +0 -0
  94. package/build/{runtime-components-WP55QEHC.js → runtime-components-BZG3HUWK.js} +1 -1
  95. package/build/runtime-components-BZG3HUWK.js.br +0 -0
  96. package/build/runtime-components-BZG3HUWK.js.gz +0 -0
  97. package/build/{runtime-createDestroy-6CB23YPW.js → runtime-createDestroy-VXBWFVTS.js} +1 -1
  98. package/build/runtime-createDestroy-VXBWFVTS.js.br +0 -0
  99. package/build/runtime-createDestroy-VXBWFVTS.js.gz +0 -0
  100. package/build/{runtime-dragDrop-KAWO74LN.js → runtime-dragDrop-P223F7A6.js} +1 -1
  101. package/build/runtime-dragDrop-P223F7A6.js.br +0 -0
  102. package/build/runtime-dragDrop-P223F7A6.js.gz +0 -0
  103. package/build/{runtime-gameControls-64ESDOTZ.js → runtime-gameControls-W6TFYJSZ.js} +1 -1
  104. package/build/runtime-gameControls-W6TFYJSZ.js.br +0 -0
  105. package/build/runtime-gameControls-W6TFYJSZ.js.gz +0 -0
  106. package/build/{runtime-hair-NNKBNXJP.js → runtime-hair-G5CXUVFF.js} +1 -1
  107. package/build/runtime-hair-G5CXUVFF.js.br +1 -0
  108. package/build/runtime-hair-G5CXUVFF.js.gz +0 -0
  109. package/build/{runtime-mergeStaticGeometries-3NTHH4WO.js → runtime-mergeStaticGeometries-E7H7BAQP.js} +1 -1
  110. package/build/runtime-mergeStaticGeometries-E7H7BAQP.js.br +0 -0
  111. package/build/runtime-mergeStaticGeometries-E7H7BAQP.js.gz +0 -0
  112. package/build/{runtime-miscActions-YGY23LSE.js → runtime-miscActions-3N2L2JO5.js} +1 -1
  113. package/build/runtime-miscActions-3N2L2JO5.js.br +0 -0
  114. package/build/runtime-miscActions-3N2L2JO5.js.gz +0 -0
  115. package/build/{runtime-mouseHover-VJCC3EWI.js → runtime-mouseHover-VHSSPZCA.js} +1 -1
  116. package/build/runtime-mouseHover-VHSSPZCA.js.br +0 -0
  117. package/build/runtime-mouseHover-VHSSPZCA.js.gz +0 -0
  118. package/build/{runtime-particles-KXSCQ3XN.js → runtime-particles-OMJPGMKO.js} +1 -1
  119. package/build/runtime-particles-OMJPGMKO.js.br +0 -0
  120. package/build/runtime-particles-OMJPGMKO.js.gz +0 -0
  121. package/build/runtime-paths-EG7R5LJG.js +1 -0
  122. package/build/runtime-paths-EG7R5LJG.js.br +0 -0
  123. package/build/runtime-paths-EG7R5LJG.js.gz +0 -0
  124. package/build/{runtime-resize-UQFQWVFH.js → runtime-resize-F4VBNDBX.js} +1 -1
  125. package/build/runtime-resize-F4VBNDBX.js.br +0 -0
  126. package/build/runtime-resize-F4VBNDBX.js.gz +0 -0
  127. package/build/{runtime-sceneTransition-L63GLGEP.js → runtime-sceneTransition-K7CREMJ2.js} +1 -1
  128. package/build/runtime-sceneTransition-K7CREMJ2.js.br +0 -0
  129. package/build/runtime-sceneTransition-K7CREMJ2.js.gz +0 -0
  130. package/build/{runtime-scroll-GAYM7P56.js → runtime-scroll-IW2U762E.js} +1 -1
  131. package/build/runtime-scroll-IW2U762E.js.br +0 -0
  132. package/build/runtime-scroll-IW2U762E.js.gz +0 -0
  133. package/build/runtime-shapeBlends-22EDWNRF.js +1 -0
  134. package/build/runtime-shapeBlends-22EDWNRF.js.br +2 -0
  135. package/build/runtime-shapeBlends-22EDWNRF.js.gz +0 -0
  136. package/build/{runtime-text-3FDUPNEN.js → runtime-text-EIMDOA2Q.js} +1 -1
  137. package/build/runtime-text-EIMDOA2Q.js.br +0 -0
  138. package/build/runtime-text-EIMDOA2Q.js.gz +0 -0
  139. package/build/{runtime-textInputs-ZGBP7XND.js → runtime-textInputs-RKFW53PO.js} +1 -1
  140. package/build/runtime-textInputs-RKFW53PO.js.br +0 -0
  141. package/build/runtime-textInputs-RKFW53PO.js.gz +0 -0
  142. package/build/runtime-timeline-OT6L7TMX.js +1 -0
  143. package/build/runtime-timeline-OT6L7TMX.js.br +0 -0
  144. package/build/runtime-timeline-OT6L7TMX.js.gz +0 -0
  145. package/build/{runtime-tracking-SSZZY5QU.js → runtime-tracking-XFEB36TB.js} +1 -1
  146. package/build/runtime-tracking-XFEB36TB.js.br +0 -0
  147. package/build/runtime-tracking-XFEB36TB.js.gz +0 -0
  148. package/build/{runtime-transitions-6BSS3AI5.js → runtime-transitions-NAGXJIZB.js} +1 -1
  149. package/build/runtime-transitions-NAGXJIZB.js.br +0 -0
  150. package/build/runtime-transitions-NAGXJIZB.js.gz +0 -0
  151. package/build/{runtime-ui2d-DCWMMEO5.js → runtime-ui2d-SM2GYYXL.js} +1 -1
  152. package/build/runtime-ui2d-SM2GYYXL.js.br +0 -0
  153. package/build/runtime-ui2d-SM2GYYXL.js.gz +0 -0
  154. package/build/{runtime-vectorShapes-REXTFJ55.js → runtime-vectorShapes-H7ZJ4ST2.js} +1 -1
  155. package/build/runtime-vectorShapes-H7ZJ4ST2.js.br +0 -0
  156. package/build/runtime-vectorShapes-H7ZJ4ST2.js.gz +0 -0
  157. package/build/runtime-webgpu-YFAQHL27.js +1 -0
  158. package/build/runtime-webgpu-YFAQHL27.js.br +0 -0
  159. package/build/runtime-webgpu-YFAQHL27.js.gz +0 -0
  160. package/build/runtime.cjs +463 -454
  161. package/build/runtime.js +1 -1
  162. package/build/runtime.js.br +0 -0
  163. package/build/runtime.js.gz +0 -0
  164. package/build/runtime.standalone.js +1 -1
  165. package/build/runtime.standalone.js.br +0 -0
  166. package/build/runtime.standalone.js.gz +0 -0
  167. package/build/runtime.standalone.webgl.js +1 -1
  168. package/build/runtime.standalone.webgl.js.br +0 -0
  169. package/build/runtime.standalone.webgl.js.gz +0 -0
  170. package/build/runtime.standalone.webgpu.js +1 -1
  171. package/build/runtime.standalone.webgpu.js.br +0 -0
  172. package/build/runtime.standalone.webgpu.js.gz +0 -0
  173. package/build/runtime.standalone.webgpu.micro.js +1 -1
  174. package/build/runtime.standalone.webgpu.micro.js.br +0 -0
  175. package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
  176. package/build/runtime.standalone.webgpu.min.js +1 -1
  177. package/build/runtime.standalone.webgpu.min.js.br +0 -0
  178. package/build/runtime.standalone.webgpu.min.js.gz +0 -0
  179. package/package.json +1 -1
  180. package/build/runtime-chunk-333ZOV2S.js.br +0 -0
  181. package/build/runtime-chunk-333ZOV2S.js.gz +0 -0
  182. package/build/runtime-chunk-4GLZNPR6.js.br +0 -0
  183. package/build/runtime-chunk-4GLZNPR6.js.gz +0 -0
  184. package/build/runtime-chunk-5QDCFNS4.js.br +0 -0
  185. package/build/runtime-chunk-5QDCFNS4.js.gz +0 -0
  186. package/build/runtime-chunk-5Y2MXXX6.js.br +0 -0
  187. package/build/runtime-chunk-5Y2MXXX6.js.gz +0 -0
  188. package/build/runtime-chunk-77S3KKYT.js +0 -1
  189. package/build/runtime-chunk-77S3KKYT.js.br +0 -0
  190. package/build/runtime-chunk-77S3KKYT.js.gz +0 -0
  191. package/build/runtime-chunk-7AN6SYSU.js.br +0 -0
  192. package/build/runtime-chunk-7AN6SYSU.js.gz +0 -0
  193. package/build/runtime-chunk-AE3KJLVD.js.br +0 -0
  194. package/build/runtime-chunk-AE3KJLVD.js.gz +0 -0
  195. package/build/runtime-chunk-B2LLDBVR.js.br +0 -0
  196. package/build/runtime-chunk-B2LLDBVR.js.gz +0 -0
  197. package/build/runtime-chunk-CDUGB775.js.gz +0 -0
  198. package/build/runtime-chunk-CNYYWTRG.js.br +0 -0
  199. package/build/runtime-chunk-CNYYWTRG.js.gz +0 -0
  200. package/build/runtime-chunk-D4RTVX56.js.br +0 -0
  201. package/build/runtime-chunk-D4RTVX56.js.gz +0 -0
  202. package/build/runtime-chunk-G4XAQUT2.js.br +0 -0
  203. package/build/runtime-chunk-G4XAQUT2.js.gz +0 -0
  204. package/build/runtime-chunk-KD4RAVC6.js.br +0 -0
  205. package/build/runtime-chunk-KD4RAVC6.js.gz +0 -0
  206. package/build/runtime-chunk-KG3JC3MU.js.br +0 -0
  207. package/build/runtime-chunk-KG3JC3MU.js.gz +0 -0
  208. package/build/runtime-chunk-LDVHB5FO.js.br +0 -0
  209. package/build/runtime-chunk-LDVHB5FO.js.gz +0 -0
  210. package/build/runtime-chunk-M7VGJ5HW.js.br +0 -0
  211. package/build/runtime-chunk-M7VGJ5HW.js.gz +0 -0
  212. package/build/runtime-chunk-ODVIMOLE.js +0 -1
  213. package/build/runtime-chunk-ODVIMOLE.js.br +0 -0
  214. package/build/runtime-chunk-ODVIMOLE.js.gz +0 -0
  215. package/build/runtime-chunk-QG5XINCE.js.br +0 -0
  216. package/build/runtime-chunk-QG5XINCE.js.gz +0 -0
  217. package/build/runtime-chunk-R2PNQV2A.js.br +0 -0
  218. package/build/runtime-chunk-R2PNQV2A.js.gz +0 -0
  219. package/build/runtime-chunk-UUHLQQOF.js.br +0 -0
  220. package/build/runtime-chunk-UUHLQQOF.js.gz +0 -0
  221. package/build/runtime-chunk-V6DRGTD6.js.br +0 -0
  222. package/build/runtime-chunk-V6DRGTD6.js.gz +0 -0
  223. package/build/runtime-chunk-VNSXYJJ4.js.br +0 -0
  224. package/build/runtime-chunk-VNSXYJJ4.js.gz +0 -0
  225. package/build/runtime-chunk-YMKCEDKL.js.br +0 -0
  226. package/build/runtime-chunk-YMKCEDKL.js.gz +0 -0
  227. package/build/runtime-chunk-YMO675HZ.js.br +0 -0
  228. package/build/runtime-chunk-YMO675HZ.js.gz +0 -0
  229. package/build/runtime-chunk-YR2R64PI.js.br +0 -0
  230. package/build/runtime-chunk-YR2R64PI.js.gz +0 -0
  231. package/build/runtime-classicRuntime-NLCUPLCP.js +0 -1
  232. package/build/runtime-classicRuntime-NLCUPLCP.js.br +0 -0
  233. package/build/runtime-classicRuntime-NLCUPLCP.js.gz +0 -0
  234. package/build/runtime-cloners-GW6RJNUX.js.br +0 -0
  235. package/build/runtime-cloners-GW6RJNUX.js.gz +0 -0
  236. package/build/runtime-components-WP55QEHC.js.br +0 -0
  237. package/build/runtime-components-WP55QEHC.js.gz +0 -0
  238. package/build/runtime-createDestroy-6CB23YPW.js.br +0 -0
  239. package/build/runtime-createDestroy-6CB23YPW.js.gz +0 -0
  240. package/build/runtime-dragDrop-KAWO74LN.js.br +0 -0
  241. package/build/runtime-dragDrop-KAWO74LN.js.gz +0 -0
  242. package/build/runtime-gameControls-64ESDOTZ.js.br +0 -0
  243. package/build/runtime-gameControls-64ESDOTZ.js.gz +0 -0
  244. package/build/runtime-hair-NNKBNXJP.js.br +0 -1
  245. package/build/runtime-hair-NNKBNXJP.js.gz +0 -0
  246. package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.br +0 -0
  247. package/build/runtime-mergeStaticGeometries-3NTHH4WO.js.gz +0 -0
  248. package/build/runtime-miscActions-YGY23LSE.js.br +0 -0
  249. package/build/runtime-miscActions-YGY23LSE.js.gz +0 -0
  250. package/build/runtime-mouseHover-VJCC3EWI.js.br +0 -0
  251. package/build/runtime-mouseHover-VJCC3EWI.js.gz +0 -0
  252. package/build/runtime-particles-KXSCQ3XN.js.br +0 -0
  253. package/build/runtime-particles-KXSCQ3XN.js.gz +0 -0
  254. package/build/runtime-paths-MDXY75OZ.js +0 -1
  255. package/build/runtime-paths-MDXY75OZ.js.br +0 -0
  256. package/build/runtime-paths-MDXY75OZ.js.gz +0 -0
  257. package/build/runtime-resize-UQFQWVFH.js.br +0 -0
  258. package/build/runtime-resize-UQFQWVFH.js.gz +0 -0
  259. package/build/runtime-sceneTransition-L63GLGEP.js.br +0 -0
  260. package/build/runtime-sceneTransition-L63GLGEP.js.gz +0 -0
  261. package/build/runtime-scroll-GAYM7P56.js.br +0 -0
  262. package/build/runtime-scroll-GAYM7P56.js.gz +0 -0
  263. package/build/runtime-shapeBlends-GNZI2DZM.js +0 -1
  264. package/build/runtime-shapeBlends-GNZI2DZM.js.br +0 -0
  265. package/build/runtime-shapeBlends-GNZI2DZM.js.gz +0 -0
  266. package/build/runtime-text-3FDUPNEN.js.br +0 -0
  267. package/build/runtime-text-3FDUPNEN.js.gz +0 -0
  268. package/build/runtime-textInputs-ZGBP7XND.js.br +0 -0
  269. package/build/runtime-textInputs-ZGBP7XND.js.gz +0 -0
  270. package/build/runtime-timeline-IA6DYERZ.js +0 -1
  271. package/build/runtime-timeline-IA6DYERZ.js.br +0 -0
  272. package/build/runtime-timeline-IA6DYERZ.js.gz +0 -0
  273. package/build/runtime-tracking-SSZZY5QU.js.br +0 -0
  274. package/build/runtime-tracking-SSZZY5QU.js.gz +0 -0
  275. package/build/runtime-transitions-6BSS3AI5.js.br +0 -0
  276. package/build/runtime-transitions-6BSS3AI5.js.gz +0 -0
  277. package/build/runtime-ui2d-DCWMMEO5.js.br +0 -0
  278. package/build/runtime-ui2d-DCWMMEO5.js.gz +0 -0
  279. package/build/runtime-vectorShapes-REXTFJ55.js.br +0 -0
  280. package/build/runtime-vectorShapes-REXTFJ55.js.gz +0 -0
  281. package/build/runtime-webgpu-IGBYLILS.js +0 -1
  282. package/build/runtime-webgpu-IGBYLILS.js.br +0 -0
  283. package/build/runtime-webgpu-IGBYLILS.js.gz +0 -0
package/build/bevel.js ADDED
@@ -0,0 +1,314 @@
1
+ /* @ts-self-types="./bevel_wasm.d.ts" */
2
+
3
+ /**
4
+ * One assembled end cap. Accessors copy into fresh JS-owned arrays.
5
+ *
6
+ * Read once and held for as long as the shape and bevel hold still; the
7
+ * consumer places it with its own matrices. The boundary ring meets a wall the
8
+ * consumer builds from the same outline: its vertices sit at exactly the input
9
+ * points as f32, and carry the wall's own in-plane normal wherever the bevel
10
+ * meets it within the crease angle.
11
+ */
12
+ export class ExtrudedCap {
13
+ static __wrap(ptr) {
14
+ const obj = Object.create(ExtrudedCap.prototype);
15
+ obj.__wbg_ptr = ptr;
16
+ ExtrudedCapFinalization.register(obj, obj.__wbg_ptr, obj);
17
+ return obj;
18
+ }
19
+ __destroy_into_raw() {
20
+ const ptr = this.__wbg_ptr;
21
+ this.__wbg_ptr = 0;
22
+ ExtrudedCapFinalization.unregister(this);
23
+ return ptr;
24
+ }
25
+ free() {
26
+ const ptr = this.__destroy_into_raw();
27
+ wasm.__wbg_extrudedcap_free(ptr, 0);
28
+ }
29
+ /**
30
+ * Windings agree with the normals. A mirroring placement reverses them;
31
+ * the caller reverses the windings it draws with.
32
+ * @returns {Uint32Array}
33
+ */
34
+ indices() {
35
+ const ret = wasm.extrudedcap_indices(this.__wbg_ptr);
36
+ var v1 = getArrayU32FromWasm0(ret[0], ret[1]).slice();
37
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
38
+ return v1;
39
+ }
40
+ /**
41
+ * @returns {Float32Array}
42
+ */
43
+ normals() {
44
+ const ret = wasm.extrudedcap_normals(this.__wbg_ptr);
45
+ var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
46
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
47
+ return v1;
48
+ }
49
+ /**
50
+ * xyz per vertex, z spanning `[depth − bevel, depth]`.
51
+ * @returns {Float32Array}
52
+ */
53
+ positions() {
54
+ const ret = wasm.extrudedcap_positions(this.__wbg_ptr);
55
+ var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
56
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
57
+ return v1;
58
+ }
59
+ /**
60
+ * Planar over the outline's own xy, normalised to its bounding box.
61
+ * @returns {Float32Array}
62
+ */
63
+ uvs() {
64
+ const ret = wasm.extrudedcap_uvs(this.__wbg_ptr);
65
+ var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
66
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
67
+ return v1;
68
+ }
69
+ /**
70
+ * @returns {number}
71
+ */
72
+ vertex_count() {
73
+ const ret = wasm.extrudedcap_vertex_count(this.__wbg_ptr);
74
+ return ret >>> 0;
75
+ }
76
+ }
77
+ if (Symbol.dispose) ExtrudedCap.prototype[Symbol.dispose] = ExtrudedCap.prototype.free;
78
+
79
+ /**
80
+ * A caller-supplied 4x4, column-major, as three's `Matrix4.elements` is.
81
+ *
82
+ * Assemble ONE end cap from pre-flattened rings: the shape's face and the
83
+ * bevel that turns off it.
84
+ *
85
+ * No wall — that is the caller's, since along a path it is a swept curve.
86
+ * Depth is still needed: it is what the bevel is clamped against, and where
87
+ * the face sits.
88
+ *
89
+ * The straight skeleton is built here and dropped here. It is the expensive
90
+ * half and it depends on nothing but the outline, so holding one across calls
91
+ * looks attractive — but nothing animates the bevel, which is the only
92
+ * parameter a held skeleton would save re-solving. Width and height DO
93
+ * animate, and they change the outline, so a held skeleton would be thrown
94
+ * away on those frames anyway. What does animate is DEPTH, and that costs no
95
+ * assembly at all: the caller holds the cap's arrays and translates them.
96
+ * @param {Float64Array} ring_points
97
+ * @param {Uint32Array} ring_ends
98
+ * @param {number} depth
99
+ * @param {number} bevel_size
100
+ * @param {number} bevel_type
101
+ * @param {number} bevel_segments
102
+ * @param {number} bevel_flat_round
103
+ * @param {number} crease_angle_deg
104
+ * @returns {ExtrudedCap}
105
+ */
106
+ export function assemble_cap(ring_points, ring_ends, depth, bevel_size, bevel_type, bevel_segments, bevel_flat_round, crease_angle_deg) {
107
+ const ptr0 = passArrayF64ToWasm0(ring_points, wasm.__wbindgen_malloc);
108
+ const len0 = WASM_VECTOR_LEN;
109
+ const ptr1 = passArray32ToWasm0(ring_ends, wasm.__wbindgen_malloc);
110
+ const len1 = WASM_VECTOR_LEN;
111
+ const ret = wasm.assemble_cap(ptr0, len0, ptr1, len1, depth, bevel_size, bevel_type, bevel_segments, bevel_flat_round, crease_angle_deg);
112
+ return ExtrudedCap.__wrap(ret);
113
+ }
114
+ function __wbg_get_imports() {
115
+ const import0 = {
116
+ __proto__: null,
117
+ __wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
118
+ throw new Error(getStringFromWasm0(arg0, arg1));
119
+ },
120
+ __wbindgen_init_externref_table: function() {
121
+ const table = wasm.__wbindgen_externrefs;
122
+ const offset = table.grow(4);
123
+ table.set(0, undefined);
124
+ table.set(offset + 0, undefined);
125
+ table.set(offset + 1, null);
126
+ table.set(offset + 2, true);
127
+ table.set(offset + 3, false);
128
+ },
129
+ };
130
+ return {
131
+ __proto__: null,
132
+ "./bevel_wasm_bg.js": import0,
133
+ };
134
+ }
135
+
136
+ const ExtrudedCapFinalization = (typeof FinalizationRegistry === 'undefined')
137
+ ? { register: () => {}, unregister: () => {} }
138
+ : new FinalizationRegistry(ptr => wasm.__wbg_extrudedcap_free(ptr, 1));
139
+
140
+ function getArrayF32FromWasm0(ptr, len) {
141
+ ptr = ptr >>> 0;
142
+ return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
143
+ }
144
+
145
+ function getArrayU32FromWasm0(ptr, len) {
146
+ ptr = ptr >>> 0;
147
+ return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
148
+ }
149
+
150
+ let cachedFloat32ArrayMemory0 = null;
151
+ function getFloat32ArrayMemory0() {
152
+ if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
153
+ cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
154
+ }
155
+ return cachedFloat32ArrayMemory0;
156
+ }
157
+
158
+ let cachedFloat64ArrayMemory0 = null;
159
+ function getFloat64ArrayMemory0() {
160
+ if (cachedFloat64ArrayMemory0 === null || cachedFloat64ArrayMemory0.byteLength === 0) {
161
+ cachedFloat64ArrayMemory0 = new Float64Array(wasm.memory.buffer);
162
+ }
163
+ return cachedFloat64ArrayMemory0;
164
+ }
165
+
166
+ function getStringFromWasm0(ptr, len) {
167
+ return decodeText(ptr >>> 0, len);
168
+ }
169
+
170
+ let cachedUint32ArrayMemory0 = null;
171
+ function getUint32ArrayMemory0() {
172
+ if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
173
+ cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
174
+ }
175
+ return cachedUint32ArrayMemory0;
176
+ }
177
+
178
+ let cachedUint8ArrayMemory0 = null;
179
+ function getUint8ArrayMemory0() {
180
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
181
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
182
+ }
183
+ return cachedUint8ArrayMemory0;
184
+ }
185
+
186
+ function passArray32ToWasm0(arg, malloc) {
187
+ const ptr = malloc(arg.length * 4, 4) >>> 0;
188
+ getUint32ArrayMemory0().set(arg, ptr / 4);
189
+ WASM_VECTOR_LEN = arg.length;
190
+ return ptr;
191
+ }
192
+
193
+ function passArrayF64ToWasm0(arg, malloc) {
194
+ const ptr = malloc(arg.length * 8, 8) >>> 0;
195
+ getFloat64ArrayMemory0().set(arg, ptr / 8);
196
+ WASM_VECTOR_LEN = arg.length;
197
+ return ptr;
198
+ }
199
+
200
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
201
+ cachedTextDecoder.decode();
202
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
203
+ let numBytesDecoded = 0;
204
+ function decodeText(ptr, len) {
205
+ numBytesDecoded += len;
206
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
207
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
208
+ cachedTextDecoder.decode();
209
+ numBytesDecoded = len;
210
+ }
211
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
212
+ }
213
+
214
+ let WASM_VECTOR_LEN = 0;
215
+
216
+ let wasmModule, wasmInstance, wasm;
217
+ function __wbg_finalize_init(instance, module) {
218
+ wasmInstance = instance;
219
+ wasm = instance.exports;
220
+ wasmModule = module;
221
+ cachedFloat32ArrayMemory0 = null;
222
+ cachedFloat64ArrayMemory0 = null;
223
+ cachedUint32ArrayMemory0 = null;
224
+ cachedUint8ArrayMemory0 = null;
225
+ wasm.__wbindgen_start();
226
+ return wasm;
227
+ }
228
+
229
+ async function __wbg_load(module, imports) {
230
+ if (typeof Response === 'function' && module instanceof Response) {
231
+ if (!module.ok) {
232
+ throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
233
+ }
234
+
235
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
236
+ try {
237
+ return await WebAssembly.instantiateStreaming(module, imports);
238
+ } catch (e) {
239
+ const validResponse = expectedResponseType(module.type);
240
+
241
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
242
+ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
243
+
244
+ } else { throw e; }
245
+ }
246
+ }
247
+
248
+ const bytes = await module.arrayBuffer();
249
+ return await WebAssembly.instantiate(bytes, imports);
250
+ } else {
251
+ const instance = await WebAssembly.instantiate(module, imports);
252
+
253
+ if (instance instanceof WebAssembly.Instance) {
254
+ return { instance, module };
255
+ } else {
256
+ return instance;
257
+ }
258
+ }
259
+
260
+ function expectedResponseType(type) {
261
+ switch (type) {
262
+ case 'basic': case 'cors': case 'default': return true;
263
+ }
264
+ return false;
265
+ }
266
+ }
267
+
268
+ function initSync(module) {
269
+ if (wasm !== undefined) return wasm;
270
+
271
+
272
+ if (module !== undefined) {
273
+ if (Object.getPrototypeOf(module) === Object.prototype) {
274
+ ({module} = module)
275
+ } else {
276
+ console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
277
+ }
278
+ }
279
+
280
+ const imports = __wbg_get_imports();
281
+ if (!(module instanceof WebAssembly.Module)) {
282
+ module = new WebAssembly.Module(module);
283
+ }
284
+ const instance = new WebAssembly.Instance(module, imports);
285
+ return __wbg_finalize_init(instance, module);
286
+ }
287
+
288
+ async function __wbg_init(module_or_path) {
289
+ if (wasm !== undefined) return wasm;
290
+
291
+
292
+ if (module_or_path !== undefined) {
293
+ if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
294
+ ({module_or_path} = module_or_path)
295
+ } else {
296
+ console.warn('using deprecated parameters for the initialization function; pass a single object instead')
297
+ }
298
+ }
299
+
300
+ if (module_or_path === undefined) {
301
+ module_or_path = new URL('bevel.wasm', import.meta.url);
302
+ }
303
+ const imports = __wbg_get_imports();
304
+
305
+ if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
306
+ module_or_path = fetch(module_or_path);
307
+ }
308
+
309
+ const { instance, module } = await __wbg_load(await module_or_path, imports);
310
+
311
+ return __wbg_finalize_init(instance, module);
312
+ }
313
+
314
+ export { initSync, __wbg_init as default };
Binary file
Binary file
Binary file
Binary file
Binary file
package/build/hana-ui.js CHANGED
@@ -2485,7 +2485,7 @@ function __wbg_get_imports() {
2485
2485
  const a = state0.a;
2486
2486
  state0.a = 0;
2487
2487
  try {
2488
- return __wasm_bindgen_func_elem_14197(a, state0.b, arg0, arg1);
2488
+ return __wasm_bindgen_func_elem_14151(a, state0.b, arg0, arg1);
2489
2489
  } finally {
2490
2490
  state0.a = a;
2491
2491
  }
@@ -2531,7 +2531,7 @@ function __wbg_get_imports() {
2531
2531
  const a = state0.a;
2532
2532
  state0.a = 0;
2533
2533
  try {
2534
- return __wasm_bindgen_func_elem_14197(a, state0.b, arg0, arg1);
2534
+ return __wasm_bindgen_func_elem_14151(a, state0.b, arg0, arg1);
2535
2535
  } finally {
2536
2536
  state0.a = a;
2537
2537
  }
@@ -3646,48 +3646,48 @@ function __wbg_get_imports() {
3646
3646
  getObject(arg0).writeTexture(getObject(arg1), getArrayU8FromWasm0(arg2, arg3), getObject(arg4), getObject(arg5));
3647
3647
  }, arguments); },
3648
3648
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
3649
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1054, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3650
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_14195);
3649
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1041, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3650
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_14149);
3651
3651
  return addHeapObject(ret);
3652
3652
  },
3653
3653
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
3654
3654
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 34, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3655
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5127);
3655
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5126);
3656
3656
  return addHeapObject(ret);
3657
3657
  },
3658
3658
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
3659
3659
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUComputePipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3660
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11150);
3660
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11147);
3661
3661
  return addHeapObject(ret);
3662
3662
  },
3663
3663
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
3664
3664
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3665
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11150_3);
3665
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11147_3);
3666
3666
  return addHeapObject(ret);
3667
3667
  },
3668
3668
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
3669
3669
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 930, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3670
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11151);
3670
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11148);
3671
3671
  return addHeapObject(ret);
3672
3672
  },
3673
3673
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
3674
3674
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3675
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11150_5);
3675
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11147_5);
3676
3676
  return addHeapObject(ret);
3677
3677
  },
3678
3678
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
3679
3679
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3680
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11150_6);
3680
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11147_6);
3681
3681
  return addHeapObject(ret);
3682
3682
  },
3683
3683
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
3684
3684
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3685
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11150_7);
3685
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11147_7);
3686
3686
  return addHeapObject(ret);
3687
3687
  },
3688
3688
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
3689
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1037, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3690
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12558);
3689
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1024, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3690
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12512);
3691
3691
  return addHeapObject(ret);
3692
3692
  },
3693
3693
  __wbindgen_cast_000000000000000a: function(arg0) {
@@ -3761,22 +3761,22 @@ function __wbg_get_imports() {
3761
3761
  };
3762
3762
  }
3763
3763
 
3764
- function __wasm_bindgen_func_elem_12558(arg0, arg1) {
3765
- wasm.__wasm_bindgen_func_elem_12558(arg0, arg1);
3764
+ function __wasm_bindgen_func_elem_12512(arg0, arg1) {
3765
+ wasm.__wasm_bindgen_func_elem_12512(arg0, arg1);
3766
3766
  }
3767
3767
 
3768
- function __wasm_bindgen_func_elem_5127(arg0, arg1, arg2) {
3769
- wasm.__wasm_bindgen_func_elem_5127(arg0, arg1, addHeapObject(arg2));
3768
+ function __wasm_bindgen_func_elem_5126(arg0, arg1, arg2) {
3769
+ wasm.__wasm_bindgen_func_elem_5126(arg0, arg1, addHeapObject(arg2));
3770
3770
  }
3771
3771
 
3772
- function __wasm_bindgen_func_elem_11151(arg0, arg1, arg2) {
3773
- wasm.__wasm_bindgen_func_elem_11151(arg0, arg1, addHeapObject(arg2));
3772
+ function __wasm_bindgen_func_elem_11148(arg0, arg1, arg2) {
3773
+ wasm.__wasm_bindgen_func_elem_11148(arg0, arg1, addHeapObject(arg2));
3774
3774
  }
3775
3775
 
3776
- function __wasm_bindgen_func_elem_14195(arg0, arg1, arg2) {
3776
+ function __wasm_bindgen_func_elem_14149(arg0, arg1, arg2) {
3777
3777
  try {
3778
3778
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3779
- wasm.__wasm_bindgen_func_elem_14195(retptr, arg0, arg1, addHeapObject(arg2));
3779
+ wasm.__wasm_bindgen_func_elem_14149(retptr, arg0, arg1, addHeapObject(arg2));
3780
3780
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3781
3781
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3782
3782
  if (r1) {
@@ -3787,10 +3787,10 @@ function __wasm_bindgen_func_elem_14195(arg0, arg1, arg2) {
3787
3787
  }
3788
3788
  }
3789
3789
 
3790
- function __wasm_bindgen_func_elem_11150(arg0, arg1, arg2) {
3790
+ function __wasm_bindgen_func_elem_11147(arg0, arg1, arg2) {
3791
3791
  try {
3792
3792
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3793
- wasm.__wasm_bindgen_func_elem_11150(retptr, arg0, arg1, addHeapObject(arg2));
3793
+ wasm.__wasm_bindgen_func_elem_11147(retptr, arg0, arg1, addHeapObject(arg2));
3794
3794
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3795
3795
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3796
3796
  if (r1) {
@@ -3801,10 +3801,10 @@ function __wasm_bindgen_func_elem_11150(arg0, arg1, arg2) {
3801
3801
  }
3802
3802
  }
3803
3803
 
3804
- function __wasm_bindgen_func_elem_11150_3(arg0, arg1, arg2) {
3804
+ function __wasm_bindgen_func_elem_11147_3(arg0, arg1, arg2) {
3805
3805
  try {
3806
3806
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3807
- wasm.__wasm_bindgen_func_elem_11150_3(retptr, arg0, arg1, addHeapObject(arg2));
3807
+ wasm.__wasm_bindgen_func_elem_11147_3(retptr, arg0, arg1, addHeapObject(arg2));
3808
3808
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3809
3809
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3810
3810
  if (r1) {
@@ -3815,10 +3815,10 @@ function __wasm_bindgen_func_elem_11150_3(arg0, arg1, arg2) {
3815
3815
  }
3816
3816
  }
3817
3817
 
3818
- function __wasm_bindgen_func_elem_11150_5(arg0, arg1, arg2) {
3818
+ function __wasm_bindgen_func_elem_11147_5(arg0, arg1, arg2) {
3819
3819
  try {
3820
3820
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3821
- wasm.__wasm_bindgen_func_elem_11150_5(retptr, arg0, arg1, addHeapObject(arg2));
3821
+ wasm.__wasm_bindgen_func_elem_11147_5(retptr, arg0, arg1, addHeapObject(arg2));
3822
3822
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3823
3823
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3824
3824
  if (r1) {
@@ -3829,10 +3829,10 @@ function __wasm_bindgen_func_elem_11150_5(arg0, arg1, arg2) {
3829
3829
  }
3830
3830
  }
3831
3831
 
3832
- function __wasm_bindgen_func_elem_11150_6(arg0, arg1, arg2) {
3832
+ function __wasm_bindgen_func_elem_11147_6(arg0, arg1, arg2) {
3833
3833
  try {
3834
3834
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3835
- wasm.__wasm_bindgen_func_elem_11150_6(retptr, arg0, arg1, addHeapObject(arg2));
3835
+ wasm.__wasm_bindgen_func_elem_11147_6(retptr, arg0, arg1, addHeapObject(arg2));
3836
3836
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3837
3837
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3838
3838
  if (r1) {
@@ -3843,10 +3843,10 @@ function __wasm_bindgen_func_elem_11150_6(arg0, arg1, arg2) {
3843
3843
  }
3844
3844
  }
3845
3845
 
3846
- function __wasm_bindgen_func_elem_11150_7(arg0, arg1, arg2) {
3846
+ function __wasm_bindgen_func_elem_11147_7(arg0, arg1, arg2) {
3847
3847
  try {
3848
3848
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3849
- wasm.__wasm_bindgen_func_elem_11150_7(retptr, arg0, arg1, addHeapObject(arg2));
3849
+ wasm.__wasm_bindgen_func_elem_11147_7(retptr, arg0, arg1, addHeapObject(arg2));
3850
3850
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3851
3851
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3852
3852
  if (r1) {
@@ -3857,8 +3857,8 @@ function __wasm_bindgen_func_elem_11150_7(arg0, arg1, arg2) {
3857
3857
  }
3858
3858
  }
3859
3859
 
3860
- function __wasm_bindgen_func_elem_14197(arg0, arg1, arg2, arg3) {
3861
- wasm.__wasm_bindgen_func_elem_14197(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
3860
+ function __wasm_bindgen_func_elem_14151(arg0, arg1, arg2, arg3) {
3861
+ wasm.__wasm_bindgen_func_elem_14151(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
3862
3862
  }
3863
3863
 
3864
3864
 
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +1 @@
1
- import{d as t}from"./runtime-chunk-AE3KJLVD.js";import{a as s,b as a}from"./runtime-chunk-VNSXYJJ4.js";import{Be as e,Cc as i,Ec as o,Fc as h,Se as r,Ue as d,Ve as n,ye as c}from"./runtime-chunk-BVVSZMXD.js";var l=class extends(s(d)){constructor(t,s=15,a=10066329){super(t,s,a),this.object=t,this.added=!1,this.name=`DirectionalLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,l.geometryHelper,t,s)}},p=class extends(t(e,l)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=2048,this.shadow.mapSize.height=2048,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.top=1250,e.bottom=-1250,e.right=1250,e.left=-1250,e.near=-1e4,e.far=2500;let i=new n(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s);let a=void 0!==t.depth&&t.depth!==this.shadow.camera.far||void 0!==t.size&&t.size/2!==this.shadow.camera.right;void 0!==t.size&&function(t,s){t.shadow.camera.right=s/2,t.shadow.camera.left=-s/2,t.shadow.camera.top=s/2,t.shadow.camera.bottom=-s/2,t.shadow.needsUpdate=!0}(this,t.size),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null)),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),a&&this.update()}},m=class extends(s(r)){constructor(t,s=6710886){super(t,s),this.object=t,this.matrix=t.matrixWorld,this.name=`SpotLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,m.geometryHelper,t,s)}update(){if(void 0!==this.object){let t=m._vector,s=this.object.distance?this.object.distance:1e3,a=s*Math.tan(this.object.angle);this.cone.scale.set(a,a,s),t.setFromMatrixPosition(this.object.target.matrixWorld),this.cone.lookAt(t);let e=void 0!==this.color?this.color:this.light.color;if(this.cone.material instanceof Array)for(let t=0,s=this.cone.material.length;t<s;t++)this.cone.material[t].color.set(e);else this.cone.material.color.set(e)}}},u=m;u._vector=new h;var w=new h,b=new h,g=new o,v=class extends(t(c,u)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.fov=2*i.RAD2DEG*this.angle,e.aspect=1,e.near=100,e.far=2500;let o=new n(this.shadow.camera);o.visible=!1,this.gizmos.shadowmap=o,this.update()}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),b.setFromMatrixPosition(this.matrixWorld),g.setFromRotationMatrix(this.matrixWorld),w.copy(this.up).applyQuaternion(g).negate().multiplyScalar(this.distance),this.target.position.copy(b).add(w),this.target.updateMatrixWorld(),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.angle&&(this.angle=t.angle),void 0!==t.penumbra&&(this.penumbra=t.penumbra),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a,v as b};
1
+ import{d as t}from"./runtime-chunk-ORWDYZND.js";import{a as s,b as a}from"./runtime-chunk-GJ4SIUSN.js";import{Be as e,Cc as i,Ec as o,Fc as h,Se as r,Ue as d,Ve as n,ye as c}from"./runtime-chunk-BVVSZMXD.js";var l=class extends(s(d)){constructor(t,s=15,a=10066329){super(t,s,a),this.object=t,this.added=!1,this.name=`DirectionalLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,l.geometryHelper,t,s)}},p=class extends(t(e,l)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=2048,this.shadow.mapSize.height=2048,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.top=1250,e.bottom=-1250,e.right=1250,e.left=-1250,e.near=-1e4,e.far=2500;let i=new n(this.shadow.camera);i.visible=!1,this.gizmos.shadowmap=i}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s);let a=void 0!==t.depth&&t.depth!==this.shadow.camera.far||void 0!==t.size&&t.size/2!==this.shadow.camera.right;void 0!==t.size&&function(t,s){t.shadow.camera.right=s/2,t.shadow.camera.left=-s/2,t.shadow.camera.top=s/2,t.shadow.camera.bottom=-s/2,t.shadow.needsUpdate=!0}(this,t.size),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null)),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),a&&this.update()}},m=class extends(s(r)){constructor(t,s=6710886){super(t,s),this.object=t,this.matrix=t.matrixWorld,this.name=`SpotLightHelper: ${t.uuid}`}raycast(t,s){a(this.object,m.geometryHelper,t,s)}update(){if(void 0!==this.object){let t=m._vector,s=this.object.distance?this.object.distance:1e3,a=s*Math.tan(this.object.angle);this.cone.scale.set(a,a,s),t.setFromMatrixPosition(this.object.target.matrixWorld),this.cone.lookAt(t);let e=void 0!==this.color?this.color:this.light.color;if(this.cone.material instanceof Array)for(let t=0,s=this.cone.material.length;t<s;t++)this.cone.material[t].color.set(e);else this.cone.material.color.set(e)}}},u=m;u._vector=new h;var w=new h,b=new h,g=new o,v=class extends(t(c,u)){constructor(t,s,a){super(),this.super_Entity(t,s),this.castShadow=!0,this.shadow.mapSize.width=1024,this.shadow.mapSize.height=1024,this.shadow.normalBias=1,this.layers.enable(3);let e=this.shadow.camera;e.fov=2*i.RAD2DEG*this.angle,e.aspect=1,e.near=100,e.far=2500;let o=new n(this.shadow.camera);o.visible=!1,this.gizmos.shadowmap=o,this.update()}update(){this.shadow.camera.updateProjectionMatrix();for(let t in this.gizmos){let s=this.gizmos[t];s instanceof n&&s.update()}}updateMatrixWorld(t){super.updateMatrixWorld(t),b.setFromMatrixPosition(this.matrixWorld),g.setFromRotationMatrix(this.matrixWorld),w.copy(this.up).applyQuaternion(g).negate().multiplyScalar(this.distance),this.target.position.copy(b).add(w),this.target.updateMatrixWorld(),this.objectHelper&&this.objectHelper.update()}updateState(t,s){this.updateState_Light(t,s),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.decay&&(this.decay=t.decay),void 0!==t.angle&&(this.angle=t.angle),void 0!==t.penumbra&&(this.penumbra=t.penumbra),void 0!==t.shadowRadius&&(this.shadow.radius=t.shadowRadius),void 0!==t.penumbraSize&&s.scene.markPenumbraSizeDirty(),void 0!==t.shadowResolution&&(this.shadow.mapSize.set(t.shadowResolution,t.shadowResolution),this.shadow.map&&(this.shadow.map.dispose(),this.shadow.map=null))}};export{p as a,v as b};