@vpmedia/phaser 1.103.0 → 1.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/dist/index.js +997 -403
  2. package/dist/index.js.map +1 -1
  3. package/dist/phaser/core/animation.d.ts +35 -11
  4. package/dist/phaser/core/animation.d.ts.map +1 -1
  5. package/dist/phaser/core/animation_manager.d.ts +20 -10
  6. package/dist/phaser/core/animation_manager.d.ts.map +1 -1
  7. package/dist/phaser/core/animation_parser.d.ts +2 -2
  8. package/dist/phaser/core/animation_parser.d.ts.map +1 -1
  9. package/dist/phaser/core/array_set.d.ts +3 -3
  10. package/dist/phaser/core/array_set.d.ts.map +1 -1
  11. package/dist/phaser/core/cache.d.ts +68 -60
  12. package/dist/phaser/core/cache.d.ts.map +1 -1
  13. package/dist/phaser/core/device.d.ts +23 -0
  14. package/dist/phaser/core/device.d.ts.map +1 -1
  15. package/dist/phaser/core/device_util.d.ts +10 -10
  16. package/dist/phaser/core/device_util.d.ts.map +1 -1
  17. package/dist/phaser/core/dom.d.ts +6 -5
  18. package/dist/phaser/core/dom.d.ts.map +1 -1
  19. package/dist/phaser/core/event_manager.d.ts +49 -158
  20. package/dist/phaser/core/event_manager.d.ts.map +1 -1
  21. package/dist/phaser/core/factory.d.ts +8 -7
  22. package/dist/phaser/core/factory.d.ts.map +1 -1
  23. package/dist/phaser/core/frame.d.ts +27 -48
  24. package/dist/phaser/core/frame.d.ts.map +1 -1
  25. package/dist/phaser/core/frame_data.d.ts +11 -58
  26. package/dist/phaser/core/frame_data.d.ts.map +1 -1
  27. package/dist/phaser/core/frame_util.d.ts +4 -14
  28. package/dist/phaser/core/frame_util.d.ts.map +1 -1
  29. package/dist/phaser/core/game.d.ts +50 -3
  30. package/dist/phaser/core/game.d.ts.map +1 -1
  31. package/dist/phaser/core/input.d.ts +66 -13
  32. package/dist/phaser/core/input.d.ts.map +1 -1
  33. package/dist/phaser/core/input_handler.d.ts +64 -20
  34. package/dist/phaser/core/input_handler.d.ts.map +1 -1
  35. package/dist/phaser/core/input_mouse.d.ts +26 -1
  36. package/dist/phaser/core/input_mouse.d.ts.map +1 -1
  37. package/dist/phaser/core/input_mspointer.d.ts +18 -2
  38. package/dist/phaser/core/input_mspointer.d.ts.map +1 -1
  39. package/dist/phaser/core/input_pointer.d.ts +53 -9
  40. package/dist/phaser/core/input_pointer.d.ts.map +1 -1
  41. package/dist/phaser/core/input_touch.d.ts +19 -1
  42. package/dist/phaser/core/input_touch.d.ts.map +1 -1
  43. package/dist/phaser/core/loader.d.ts +56 -28
  44. package/dist/phaser/core/loader.d.ts.map +1 -1
  45. package/dist/phaser/core/loader_parser.d.ts +4 -4
  46. package/dist/phaser/core/loader_parser.d.ts.map +1 -1
  47. package/dist/phaser/core/raf.d.ts +2 -2
  48. package/dist/phaser/core/raf.d.ts.map +1 -1
  49. package/dist/phaser/core/scale_manager.d.ts +77 -17
  50. package/dist/phaser/core/scale_manager.d.ts.map +1 -1
  51. package/dist/phaser/core/scene.d.ts +3 -1
  52. package/dist/phaser/core/scene.d.ts.map +1 -1
  53. package/dist/phaser/core/scene_manager.d.ts +25 -9
  54. package/dist/phaser/core/scene_manager.d.ts.map +1 -1
  55. package/dist/phaser/core/signal.d.ts +9 -8
  56. package/dist/phaser/core/signal.d.ts.map +1 -1
  57. package/dist/phaser/core/signal_binding.d.ts +2 -2
  58. package/dist/phaser/core/signal_binding.d.ts.map +1 -1
  59. package/dist/phaser/core/sound.d.ts +58 -10
  60. package/dist/phaser/core/sound.d.ts.map +1 -1
  61. package/dist/phaser/core/sound_manager.d.ts +28 -9
  62. package/dist/phaser/core/sound_manager.d.ts.map +1 -1
  63. package/dist/phaser/core/sound_sprite.d.ts +10 -4
  64. package/dist/phaser/core/sound_sprite.d.ts.map +1 -1
  65. package/dist/phaser/core/stage.d.ts +7 -3
  66. package/dist/phaser/core/stage.d.ts.map +1 -1
  67. package/dist/phaser/core/time.d.ts +32 -5
  68. package/dist/phaser/core/time.d.ts.map +1 -1
  69. package/dist/phaser/core/timer.d.ts +30 -10
  70. package/dist/phaser/core/timer.d.ts.map +1 -1
  71. package/dist/phaser/core/timer_event.d.ts +11 -12
  72. package/dist/phaser/core/timer_event.d.ts.map +1 -1
  73. package/dist/phaser/core/tween.d.ts +38 -14
  74. package/dist/phaser/core/tween.d.ts.map +1 -1
  75. package/dist/phaser/core/tween_data.d.ts +30 -5
  76. package/dist/phaser/core/tween_data.d.ts.map +1 -1
  77. package/dist/phaser/core/tween_easing.d.ts +31 -31
  78. package/dist/phaser/core/tween_easing.d.ts.map +1 -1
  79. package/dist/phaser/core/tween_manager.d.ts +8 -4
  80. package/dist/phaser/core/tween_manager.d.ts.map +1 -1
  81. package/dist/phaser/core/world.d.ts +1 -1
  82. package/dist/phaser/core/world.d.ts.map +1 -1
  83. package/dist/phaser/display/bitmap_text.d.ts +35 -20
  84. package/dist/phaser/display/bitmap_text.d.ts.map +1 -1
  85. package/dist/phaser/display/button.d.ts +24 -8
  86. package/dist/phaser/display/button.d.ts.map +1 -1
  87. package/dist/phaser/display/canvas/buffer.d.ts +6 -2
  88. package/dist/phaser/display/canvas/buffer.d.ts.map +1 -1
  89. package/dist/phaser/display/canvas/graphics.d.ts +3 -3
  90. package/dist/phaser/display/canvas/graphics.d.ts.map +1 -1
  91. package/dist/phaser/display/canvas/masker.d.ts.map +1 -1
  92. package/dist/phaser/display/canvas/pool.d.ts +2 -2
  93. package/dist/phaser/display/canvas/pool.d.ts.map +1 -1
  94. package/dist/phaser/display/canvas/renderer.d.ts +18 -5
  95. package/dist/phaser/display/canvas/renderer.d.ts.map +1 -1
  96. package/dist/phaser/display/canvas/tinter.d.ts +3 -3
  97. package/dist/phaser/display/canvas/tinter.d.ts.map +1 -1
  98. package/dist/phaser/display/canvas/util.d.ts +9 -9
  99. package/dist/phaser/display/canvas/util.d.ts.map +1 -1
  100. package/dist/phaser/display/display_object.d.ts +82 -23
  101. package/dist/phaser/display/display_object.d.ts.map +1 -1
  102. package/dist/phaser/display/graphics.d.ts +42 -16
  103. package/dist/phaser/display/graphics.d.ts.map +1 -1
  104. package/dist/phaser/display/graphics_data.d.ts +11 -1
  105. package/dist/phaser/display/graphics_data.d.ts.map +1 -1
  106. package/dist/phaser/display/graphics_data_util.d.ts +1 -1
  107. package/dist/phaser/display/graphics_data_util.d.ts.map +1 -1
  108. package/dist/phaser/display/group.d.ts +24 -9
  109. package/dist/phaser/display/group.d.ts.map +1 -1
  110. package/dist/phaser/display/image.d.ts +36 -13
  111. package/dist/phaser/display/image.d.ts.map +1 -1
  112. package/dist/phaser/display/sprite_batch.d.ts +1 -1
  113. package/dist/phaser/display/sprite_batch.d.ts.map +1 -1
  114. package/dist/phaser/display/sprite_util.d.ts +5 -5
  115. package/dist/phaser/display/sprite_util.d.ts.map +1 -1
  116. package/dist/phaser/display/text.d.ts +86 -66
  117. package/dist/phaser/display/text.d.ts.map +1 -1
  118. package/dist/phaser/display/webgl/abstract_filter.d.ts +8 -1
  119. package/dist/phaser/display/webgl/abstract_filter.d.ts.map +1 -1
  120. package/dist/phaser/display/webgl/base_texture.d.ts +14 -2
  121. package/dist/phaser/display/webgl/base_texture.d.ts.map +1 -1
  122. package/dist/phaser/display/webgl/blend_manager.d.ts +5 -2
  123. package/dist/phaser/display/webgl/blend_manager.d.ts.map +1 -1
  124. package/dist/phaser/display/webgl/earcut.d.ts +10 -10
  125. package/dist/phaser/display/webgl/earcut.d.ts.map +1 -1
  126. package/dist/phaser/display/webgl/earcut_node.d.ts +1 -1
  127. package/dist/phaser/display/webgl/earcut_node.d.ts.map +1 -1
  128. package/dist/phaser/display/webgl/fast_sprite_batch.d.ts +17 -1
  129. package/dist/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -1
  130. package/dist/phaser/display/webgl/filter_manager.d.ts +5 -1
  131. package/dist/phaser/display/webgl/filter_manager.d.ts.map +1 -1
  132. package/dist/phaser/display/webgl/filter_texture.d.ts +7 -2
  133. package/dist/phaser/display/webgl/filter_texture.d.ts.map +1 -1
  134. package/dist/phaser/display/webgl/graphics.d.ts +11 -10
  135. package/dist/phaser/display/webgl/graphics.d.ts.map +1 -1
  136. package/dist/phaser/display/webgl/graphics_data.d.ts +11 -1
  137. package/dist/phaser/display/webgl/graphics_data.d.ts.map +1 -1
  138. package/dist/phaser/display/webgl/mask_manager.d.ts.map +1 -1
  139. package/dist/phaser/display/webgl/render_texture.d.ts +12 -1
  140. package/dist/phaser/display/webgl/render_texture.d.ts.map +1 -1
  141. package/dist/phaser/display/webgl/renderer.d.ts +25 -6
  142. package/dist/phaser/display/webgl/renderer.d.ts.map +1 -1
  143. package/dist/phaser/display/webgl/shader/complex.d.ts +7 -1
  144. package/dist/phaser/display/webgl/shader/complex.d.ts.map +1 -1
  145. package/dist/phaser/display/webgl/shader/fast.d.ts +8 -1
  146. package/dist/phaser/display/webgl/shader/fast.d.ts.map +1 -1
  147. package/dist/phaser/display/webgl/shader/normal.d.ts +11 -0
  148. package/dist/phaser/display/webgl/shader/normal.d.ts.map +1 -1
  149. package/dist/phaser/display/webgl/shader/primitive.d.ts +7 -1
  150. package/dist/phaser/display/webgl/shader/primitive.d.ts.map +1 -1
  151. package/dist/phaser/display/webgl/shader/strip.d.ts +7 -1
  152. package/dist/phaser/display/webgl/shader/strip.d.ts.map +1 -1
  153. package/dist/phaser/display/webgl/shader_manager.d.ts +14 -2
  154. package/dist/phaser/display/webgl/shader_manager.d.ts.map +1 -1
  155. package/dist/phaser/display/webgl/sprite_batch.d.ts +19 -2
  156. package/dist/phaser/display/webgl/sprite_batch.d.ts.map +1 -1
  157. package/dist/phaser/display/webgl/stencil_manager.d.ts +8 -4
  158. package/dist/phaser/display/webgl/stencil_manager.d.ts.map +1 -1
  159. package/dist/phaser/display/webgl/texture.d.ts +35 -2
  160. package/dist/phaser/display/webgl/texture.d.ts.map +1 -1
  161. package/dist/phaser/display/webgl/texture_util.d.ts +2 -2
  162. package/dist/phaser/display/webgl/texture_util.d.ts.map +1 -1
  163. package/dist/phaser/display/webgl/util.d.ts +6 -6
  164. package/dist/phaser/display/webgl/util.d.ts.map +1 -1
  165. package/dist/phaser/geom/circle.d.ts +11 -10
  166. package/dist/phaser/geom/circle.d.ts.map +1 -1
  167. package/dist/phaser/geom/ellipse.d.ts +6 -5
  168. package/dist/phaser/geom/ellipse.d.ts.map +1 -1
  169. package/dist/phaser/geom/line.d.ts +14 -14
  170. package/dist/phaser/geom/line.d.ts.map +1 -1
  171. package/dist/phaser/geom/matrix.d.ts +13 -12
  172. package/dist/phaser/geom/matrix.d.ts.map +1 -1
  173. package/dist/phaser/geom/point.d.ts +19 -19
  174. package/dist/phaser/geom/point.d.ts.map +1 -1
  175. package/dist/phaser/geom/polygon.d.ts +6 -6
  176. package/dist/phaser/geom/polygon.d.ts.map +1 -1
  177. package/dist/phaser/geom/rectangle.d.ts +20 -20
  178. package/dist/phaser/geom/rectangle.d.ts.map +1 -1
  179. package/dist/phaser/geom/rounded_rectangle.d.ts +2 -2
  180. package/dist/phaser/geom/rounded_rectangle.d.ts.map +1 -1
  181. package/dist/phaser/geom/util/circle.d.ts +9 -7
  182. package/dist/phaser/geom/util/circle.d.ts.map +1 -1
  183. package/dist/phaser/geom/util/ellipse.d.ts +1 -1
  184. package/dist/phaser/geom/util/ellipse.d.ts.map +1 -1
  185. package/dist/phaser/geom/util/line.d.ts +5 -3
  186. package/dist/phaser/geom/util/line.d.ts.map +1 -1
  187. package/dist/phaser/geom/util/matrix.d.ts +2 -1
  188. package/dist/phaser/geom/util/matrix.d.ts.map +1 -1
  189. package/dist/phaser/geom/util/point.d.ts +19 -19
  190. package/dist/phaser/geom/util/point.d.ts.map +1 -1
  191. package/dist/phaser/geom/util/polygon.d.ts +2 -1
  192. package/dist/phaser/geom/util/polygon.d.ts.map +1 -1
  193. package/dist/phaser/geom/util/rectangle.d.ts +17 -15
  194. package/dist/phaser/geom/util/rectangle.d.ts.map +1 -1
  195. package/dist/phaser/geom/util/rounded_rectangle.d.ts +2 -1
  196. package/dist/phaser/geom/util/rounded_rectangle.d.ts.map +1 -1
  197. package/dist/phaser/util/math.d.ts +51 -142
  198. package/dist/phaser/util/math.d.ts.map +1 -1
  199. package/package.json +2 -2
  200. package/src/phaser/core/animation.ts +41 -18
  201. package/src/phaser/core/animation_manager.ts +21 -12
  202. package/src/phaser/core/animation_parser.ts +11 -3
  203. package/src/phaser/core/array_set.ts +8 -8
  204. package/src/phaser/core/cache.ts +75 -60
  205. package/src/phaser/core/device.ts +23 -1
  206. package/src/phaser/core/device_util.ts +10 -10
  207. package/src/phaser/core/dom.ts +5 -5
  208. package/src/phaser/core/event_manager.ts +52 -177
  209. package/src/phaser/core/factory.ts +25 -17
  210. package/src/phaser/core/frame.ts +37 -51
  211. package/src/phaser/core/frame_data.ts +29 -74
  212. package/src/phaser/core/frame_util.ts +3 -16
  213. package/src/phaser/core/game.ts +40 -11
  214. package/src/phaser/core/input.ts +68 -17
  215. package/src/phaser/core/input_handler.ts +81 -45
  216. package/src/phaser/core/input_mouse.ts +42 -13
  217. package/src/phaser/core/input_mspointer.ts +24 -9
  218. package/src/phaser/core/input_pointer.ts +55 -12
  219. package/src/phaser/core/input_touch.ts +26 -9
  220. package/src/phaser/core/loader.ts +97 -42
  221. package/src/phaser/core/loader_parser.ts +6 -7
  222. package/src/phaser/core/raf.ts +2 -2
  223. package/src/phaser/core/scale_manager.ts +85 -27
  224. package/src/phaser/core/scene.ts +3 -2
  225. package/src/phaser/core/scene_manager.ts +26 -11
  226. package/src/phaser/core/signal.ts +10 -10
  227. package/src/phaser/core/signal_binding.ts +2 -2
  228. package/src/phaser/core/sound.ts +72 -26
  229. package/src/phaser/core/sound_manager.ts +31 -13
  230. package/src/phaser/core/sound_sprite.ts +10 -5
  231. package/src/phaser/core/stage.ts +8 -4
  232. package/src/phaser/core/time.ts +33 -7
  233. package/src/phaser/core/timer.ts +40 -14
  234. package/src/phaser/core/timer_event.ts +23 -14
  235. package/src/phaser/core/tween.ts +43 -23
  236. package/src/phaser/core/tween_data.ts +31 -7
  237. package/src/phaser/core/tween_easing.ts +31 -31
  238. package/src/phaser/core/tween_manager.ts +10 -7
  239. package/src/phaser/core/world.ts +1 -2
  240. package/src/phaser/display/bitmap_text.ts +41 -18
  241. package/src/phaser/display/button.ts +24 -23
  242. package/src/phaser/display/canvas/buffer.ts +6 -3
  243. package/src/phaser/display/canvas/graphics.ts +3 -4
  244. package/src/phaser/display/canvas/masker.ts +2 -3
  245. package/src/phaser/display/canvas/pool.ts +3 -4
  246. package/src/phaser/display/canvas/renderer.ts +19 -7
  247. package/src/phaser/display/canvas/tinter.ts +4 -5
  248. package/src/phaser/display/canvas/util.ts +9 -9
  249. package/src/phaser/display/display_object.ts +120 -61
  250. package/src/phaser/display/graphics.ts +56 -25
  251. package/src/phaser/display/graphics_data.ts +11 -2
  252. package/src/phaser/display/graphics_data_util.ts +1 -2
  253. package/src/phaser/display/group.ts +32 -14
  254. package/src/phaser/display/image.ts +37 -19
  255. package/src/phaser/display/sprite_batch.ts +1 -2
  256. package/src/phaser/display/sprite_util.ts +5 -6
  257. package/src/phaser/display/text.ts +82 -56
  258. package/src/phaser/display/webgl/abstract_filter.ts +8 -2
  259. package/src/phaser/display/webgl/base_texture.ts +14 -3
  260. package/src/phaser/display/webgl/blend_manager.ts +5 -3
  261. package/src/phaser/display/webgl/earcut.ts +27 -27
  262. package/src/phaser/display/webgl/earcut_node.ts +1 -1
  263. package/src/phaser/display/webgl/fast_sprite_batch.ts +19 -4
  264. package/src/phaser/display/webgl/filter_manager.ts +5 -2
  265. package/src/phaser/display/webgl/filter_texture.ts +7 -3
  266. package/src/phaser/display/webgl/graphics.ts +10 -11
  267. package/src/phaser/display/webgl/graphics_data.ts +11 -2
  268. package/src/phaser/display/webgl/mask_manager.ts +2 -3
  269. package/src/phaser/display/webgl/render_texture.ts +12 -2
  270. package/src/phaser/display/webgl/renderer.ts +24 -7
  271. package/src/phaser/display/webgl/shader/complex.ts +7 -2
  272. package/src/phaser/display/webgl/shader/fast.ts +8 -2
  273. package/src/phaser/display/webgl/shader/normal.ts +12 -2
  274. package/src/phaser/display/webgl/shader/primitive.ts +7 -2
  275. package/src/phaser/display/webgl/shader/strip.ts +7 -2
  276. package/src/phaser/display/webgl/shader_manager.ts +13 -3
  277. package/src/phaser/display/webgl/sprite_batch.ts +20 -4
  278. package/src/phaser/display/webgl/stencil_manager.ts +8 -5
  279. package/src/phaser/display/webgl/texture.ts +35 -4
  280. package/src/phaser/display/webgl/texture_util.ts +2 -3
  281. package/src/phaser/display/webgl/util.ts +6 -6
  282. package/src/phaser/geom/circle.ts +10 -10
  283. package/src/phaser/geom/ellipse.ts +6 -6
  284. package/src/phaser/geom/line.ts +14 -14
  285. package/src/phaser/geom/matrix.ts +12 -12
  286. package/src/phaser/geom/point.ts +19 -19
  287. package/src/phaser/geom/polygon.ts +5 -5
  288. package/src/phaser/geom/rectangle.ts +21 -21
  289. package/src/phaser/geom/rounded_rectangle.ts +2 -2
  290. package/src/phaser/geom/util/circle.ts +7 -7
  291. package/src/phaser/geom/util/ellipse.ts +1 -1
  292. package/src/phaser/geom/util/line.ts +5 -5
  293. package/src/phaser/geom/util/matrix.ts +1 -1
  294. package/src/phaser/geom/util/point.ts +20 -20
  295. package/src/phaser/geom/util/polygon.ts +1 -1
  296. package/src/phaser/geom/util/rectangle.ts +15 -15
  297. package/src/phaser/geom/util/rounded_rectangle.ts +1 -1
  298. package/src/phaser/util/math.ts +65 -151
@@ -1 +1 @@
1
- {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/line.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAOzC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,EAAE,MAAC,EAAE,mBAAgB,EAAE,YAAa,QAwB3E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,MAAC,EAAE,MAAC,EAAE,cAAS,EAAE,WAAM,QAEjD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAI,EAAE,SAAI,YA8C7C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,MAAC,EAAE,MAAC,WAE3B,CAAC"}
1
+ {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,IAAI,EAAE,SAAQ,IAAW,SAOrD,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,YAAW,OAAc,EAAE,SAAQ,KAAY,UAwB/G,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,WAAW,OAAO,EAAE,QAAQ,KAAK,UAE3E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,MAAM,GAAG,EAAE,MAAM,GAAG,YA8CvD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,WAErC,CAAC"}
@@ -1,10 +1,11 @@
1
+ import { Matrix } from '../matrix.js';
1
2
  /**
2
3
  * Clones a matrix.
3
4
  * @param {Matrix} input - The matrix to clone.
4
5
  * @param {Matrix} output - Optional matrix to store the result in.
5
6
  * @returns {Matrix} The cloned matrix.
6
7
  */
7
- export declare const clone: (input: any, output?: any) => any;
8
+ export declare const clone: (input: Matrix, output?: Matrix) => Matrix;
8
9
  /**
9
10
  * Creates a new identity matrix.
10
11
  * @returns {Matrix} A new identity matrix.
@@ -1 +1 @@
1
- {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/matrix.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QASzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAQ7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,WAQzB,CAAC"}
1
+ {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,SAAQ,MAAa,WASzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAQ7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,WAQzB,CAAC"}
@@ -6,7 +6,7 @@ import { Point } from '../point.js';
6
6
  * @param {Point} output - The point to store the result in (optional).
7
7
  * @returns {Point} A new point containing the sum of the two points.
8
8
  */
9
- export declare const add: (a: any, b: any, output?: any) => any;
9
+ export declare const add: (a: Point, b: Point, output?: Point) => Point;
10
10
  /**
11
11
  * Subtracts the second point from the first point.
12
12
  * @param {Point} a - The first point to subtract from.
@@ -14,7 +14,7 @@ export declare const add: (a: any, b: any, output?: any) => any;
14
14
  * @param {Point} output - The point to store the result in (optional).
15
15
  * @returns {Point} A new point containing the difference of the two points.
16
16
  */
17
- export declare const subtract: (a: any, b: any, output?: any) => any;
17
+ export declare const subtract: (a: Point, b: Point, output?: Point) => Point;
18
18
  /**
19
19
  * Multiplies two points together.
20
20
  * @param {Point} a - The first point to multiply.
@@ -22,7 +22,7 @@ export declare const subtract: (a: any, b: any, output?: any) => any;
22
22
  * @param {Point} output - The point to store the result in (optional).
23
23
  * @returns {Point} A new point containing the product of the two points.
24
24
  */
25
- export declare const multiply: (a: any, b: any, output?: any) => any;
25
+ export declare const multiply: (a: Point, b: Point, output?: Point) => Point;
26
26
  /**
27
27
  * Divides the first point by the second point.
28
28
  * @param {Point} a - The first point to divide.
@@ -30,28 +30,28 @@ export declare const multiply: (a: any, b: any, output?: any) => any;
30
30
  * @param {Point} output - The point to store the result in (optional).
31
31
  * @returns {Point} A new point containing the quotient of the two points.
32
32
  */
33
- export declare const divide: (a: any, b: any, output?: any) => any;
33
+ export declare const divide: (a: Point, b: Point, output?: Point) => Point;
34
34
  /**
35
35
  * Checks if two points are equal.
36
36
  * @param {Point} a - The first point to compare.
37
37
  * @param {Point} b - The second point to compare.
38
38
  * @returns {boolean} True if the points are equal, false otherwise.
39
39
  */
40
- export declare const equals: (a: any, b: any) => boolean;
40
+ export declare const equals: (a: Point, b: Point) => boolean;
41
41
  /**
42
42
  * Calculates the angle between two points.
43
43
  * @param {Point} a - The first point to calculate the angle from.
44
44
  * @param {Point} b - The second point to calculate the angle to.
45
45
  * @returns {number} The angle between the two points in radians.
46
46
  */
47
- export declare const angle: (a: any, b: any) => number;
47
+ export declare const angle: (a: Point, b: Point) => number;
48
48
  /**
49
49
  * Creates a new point with the same coordinates as the input point but with inverted signs.
50
50
  * @param {Point} a - The point to negate.
51
51
  * @param {Point} output - The point to store the result in (optional).
52
52
  * @returns {Point} A new point with negated coordinates.
53
53
  */
54
- export declare const negative: (a: any, output?: any) => any;
54
+ export declare const negative: (a: Point, output?: Point) => Point;
55
55
  /**
56
56
  * Multiplies the second point by a scalar and adds it to the first point.
57
57
  * @param {Point} a - The first point to add to.
@@ -60,7 +60,7 @@ export declare const negative: (a: any, output?: any) => any;
60
60
  * @param {Point} output - The point to store the result in (optional).
61
61
  * @returns {Point} A new point with the result of the operation.
62
62
  */
63
- export declare const multiplyAdd: (a: any, b: any, s: any, output?: any) => any;
63
+ export declare const multiplyAdd: (a: Point, b: Point, s: number, output?: Point) => Point;
64
64
  /**
65
65
  * Interpolates between two points at a given factor.
66
66
  * @param {Point} a - The first point to interpolate from.
@@ -69,21 +69,21 @@ export declare const multiplyAdd: (a: any, b: any, s: any, output?: any) => any;
69
69
  * @param {Point} output - The point to store the result in (optional).
70
70
  * @returns {Point} A new point interpolated between the two points.
71
71
  */
72
- export declare const interpolate: (a: any, b: any, f: any, output?: any) => any;
72
+ export declare const interpolate: (a: Point, b: Point, f: number, output?: Point) => Point;
73
73
  /**
74
74
  * Returns a perpendicular point (rotated 90 degrees counter-clockwise).
75
75
  * @param {Point} a - The point to calculate the perpendicular for.
76
76
  * @param {Point} output - The point to store the result in (optional).
77
77
  * @returns {Point} A new point that is perpendicular to the input point.
78
78
  */
79
- export declare const perp: (a: any, output?: any) => any;
79
+ export declare const perp: (a: Point, output?: Point) => Point;
80
80
  /**
81
81
  * Returns a perpendicular point (rotated 90 degrees clockwise).
82
82
  * @param {Point} a - The point to calculate the perpendicular for.
83
83
  * @param {Point} output - The point to store the result in (optional).
84
84
  * @returns {Point} A new point that is perpendicular to the input point (rotated clockwise).
85
85
  */
86
- export declare const rperp: (a: any, output?: any) => any;
86
+ export declare const rperp: (a: Point, output?: Point) => Point;
87
87
  /**
88
88
  * Calculates the distance between two points.
89
89
  * @param {Point} a - The first point to calculate the distance from.
@@ -91,7 +91,7 @@ export declare const rperp: (a: any, output?: any) => any;
91
91
  * @param {boolean} round - Whether to round the result (default: false).
92
92
  * @returns {number} The distance between the two points.
93
93
  */
94
- export declare const distance: (a: any, b: any, round?: boolean) => number;
94
+ export declare const distance: (a: Point, b: Point, round?: boolean) => number;
95
95
  /**
96
96
  * Projects the first point onto the second point.
97
97
  * @param {Point} a - The point to project.
@@ -99,7 +99,7 @@ export declare const distance: (a: any, b: any, round?: boolean) => number;
99
99
  * @param {Point} output - The point to store the result in (optional).
100
100
  * @returns {Point} A new point with the projected result.
101
101
  */
102
- export declare const project: (a: any, b: any, output?: any) => any;
102
+ export declare const project: (a: Point, b: Point, output?: Point) => Point;
103
103
  /**
104
104
  * Projects the first point onto the unit vector of the second point.
105
105
  * @param {Point} a - The point to project.
@@ -107,21 +107,21 @@ export declare const project: (a: any, b: any, output?: any) => any;
107
107
  * @param {Point} output - The point to store the result in (optional).
108
108
  * @returns {Point} A new point with the projected result.
109
109
  */
110
- export declare const projectUnit: (a: any, b: any, output?: any) => any;
110
+ export declare const projectUnit: (a: Point, b: Point, output?: Point) => Point;
111
111
  /**
112
112
  * Returns a point with the same direction as the input point but with y coordinate negated.
113
113
  * @param {Point} a - The point to calculate the normal for.
114
114
  * @param {Point} output - The point to store the result in (optional).
115
115
  * @returns {Point} A new point with the same x coordinate but negated y coordinate.
116
116
  */
117
- export declare const normalRightHand: (a: any, output?: any) => any;
117
+ export declare const normalRightHand: (a: Point, output?: Point) => Point;
118
118
  /**
119
119
  * Normalizes the input point to have a magnitude of 1 while preserving its direction.
120
120
  * @param {Point} a - The point to normalize.
121
121
  * @param {Point} output - The point to store the result in (optional).
122
122
  * @returns {Point} A new normalized point.
123
123
  */
124
- export declare const normalize: (a: any, output?: any) => any;
124
+ export declare const normalize: (a: Point, output?: Point) => Point;
125
125
  /**
126
126
  * Rotates a point around another point by a given angle.
127
127
  * @param {Point} a - The point to rotate.
@@ -132,7 +132,7 @@ export declare const normalize: (a: any, output?: any) => any;
132
132
  * @param {number | null | undefined} dist - The distance to rotate from (default: null).
133
133
  * @returns {Point} The rotated point instance for chaining.
134
134
  */
135
- export declare const rotate: (a: any, x: any, y: any, ang: any, asDegrees: any, dist: any) => any;
135
+ export declare const rotate: (a: Point, x: number, y: number, ang: number, asDegrees: boolean, dist: number | null | undefined) => Point;
136
136
  /**
137
137
  * Calculates the centroid (average position) of a set of points.
138
138
  * @param {Point[]} points - The array of points to calculate the centroid for.
@@ -140,7 +140,7 @@ export declare const rotate: (a: any, x: any, y: any, ang: any, asDegrees: any,
140
140
  * @returns {Point} A new point representing the centroid of the input points.
141
141
  * @throws {Error} If the points array is empty.
142
142
  */
143
- export declare const centroid: (points: any, output?: any) => any;
143
+ export declare const centroid: (points: Point[], output?: Point) => Point;
144
144
  /**
145
145
  * Parses an object with x and y properties into a Point.
146
146
  * @param {object} obj - The object to parse (must have x and y properties).
@@ -155,5 +155,5 @@ export declare const parse: (obj: any, xProp?: string, yProp?: string) => Point;
155
155
  * @param {Point} output - The point to store the result in (optional).
156
156
  * @returns {Point} A new point with the same coordinates as the input.
157
157
  */
158
- export declare const clone: (input: any, output?: any) => any;
158
+ export declare const clone: (input: Point, output?: Point) => Point;
159
159
  //# sourceMappingURL=point.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"point.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,GAAG,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAKtC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAK3C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAK3C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAKzC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,MAAC,EAAE,MAAC,YAE1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,MAAC,EAAE,MAAC,WAEzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,YAAa,QAGxC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,EAAE,YAAa,QAGjD,CAAC;AAEF;;;;;;;GA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,OAAO,GAAI,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,SAAQ,KAAY,UAO/D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,SAAQ,KAAY,UAOnE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,GAAG,KAAK,EAAE,SAAQ,KAAY,UAG7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,GAAG,KAAK,EAAE,SAAQ,KAAY,UAOvD,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM,GAAI,GAAG,KAAK,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,KAAK,MAAM,EAAE,WAAW,OAAO,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,UAkBtH,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,KAAK,EAAE,EAAE,SAAQ,KAAY,UAe7D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,GAAG,EAAE,QAAO,MAAY,EAAE,QAAO,MAAY,UASvE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,EAAE,SAAQ,KAAY,UAIvD,CAAC"}
@@ -1,8 +1,9 @@
1
+ import { Polygon } from '../polygon.js';
1
2
  /**
2
3
  * Clones a polygon.
3
4
  * @param {Polygon} input - The polygon to clone.
4
5
  * @param {Polygon} output - Optional polygon to store the result in.
5
6
  * @returns {Polygon} The cloned polygon.
6
7
  */
7
- export declare const clone: (input: any, output?: any) => any;
8
+ export declare const clone: (input: Polygon, output?: Polygon) => Polygon;
8
9
  //# sourceMappingURL=polygon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/polygon.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAIzC,CAAC"}
1
+ {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/polygon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,OAAO,EAAE,SAAQ,OAAc,YAI3D,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { Point } from '../point.js';
2
+ import { Rectangle } from '../rectangle.js';
1
3
  /**
2
4
  * Inflates the rectangle by the specified amounts on each axis.
3
5
  * @param {Rectangle} a - The rectangle to inflate.
@@ -5,28 +7,28 @@
5
7
  * @param {number} dy - The amount to inflate the rectangle vertically.
6
8
  * @returns {Rectangle} The inflated rectangle.
7
9
  */
8
- export declare const inflate: (a: any, dx: any, dy: any) => any;
10
+ export declare const inflate: (a: Rectangle, dx: number, dy: number) => Rectangle;
9
11
  /**
10
12
  * Inflates the rectangle by the specified point values on each axis.
11
13
  * @param {Rectangle} a - The rectangle to inflate.
12
14
  * @param {object} point - The point containing x and y values to inflate the rectangle by.
13
15
  * @returns {Rectangle} The inflated rectangle.
14
16
  */
15
- export declare const inflatePoint: (a: any, point: any) => any;
17
+ export declare const inflatePoint: (a: Rectangle, point: any) => Rectangle;
16
18
  /**
17
19
  * Gets the size of the rectangle as a point.
18
20
  * @param {Rectangle} a - The rectangle to get the size of.
19
21
  * @param {Point} output - Optional point to store the result in.
20
22
  * @returns {Point} The size of the rectangle as a point (width, height).
21
23
  */
22
- export declare const size: (a: any, output?: any) => any;
24
+ export declare const size: (a: Rectangle, output?: Point) => Point;
23
25
  /**
24
26
  * Clones a rectangle.
25
27
  * @param {Rectangle} input - The rectangle to clone.
26
28
  * @param {Rectangle} output - Optional rectangle to store the result in.
27
29
  * @returns {Rectangle} The cloned rectangle.
28
30
  */
29
- export declare const clone: (input: any, output?: any) => any;
31
+ export declare const clone: (input: Rectangle, output?: Rectangle) => Rectangle;
30
32
  /**
31
33
  * Checks if a point is contained within the rectangle.
32
34
  * @param {Rectangle} a - The rectangle to check.
@@ -34,7 +36,7 @@ export declare const clone: (input: any, output?: any) => any;
34
36
  * @param {number} y - The y coordinate of the point.
35
37
  * @returns {boolean} True if the point is contained within the rectangle, false otherwise.
36
38
  */
37
- export declare const contains: (a: any, x: any, y: any) => boolean;
39
+ export declare const contains: (a: Rectangle, x: number, y: number) => boolean;
38
40
  /**
39
41
  * Checks if a point is contained within the rectangle (raw version).
40
42
  * @param {number} rx - The x coordinate of the rectangle.
@@ -45,42 +47,42 @@ export declare const contains: (a: any, x: any, y: any) => boolean;
45
47
  * @param {number} y - The y coordinate of the point.
46
48
  * @returns {boolean} True if the point is contained within the rectangle, false otherwise.
47
49
  */
48
- export declare const containsRaw: (rx: any, ry: any, rw: any, rh: any, x: any, y: any) => boolean;
50
+ export declare const containsRaw: (rx: number, ry: number, rw: number, rh: number, x: number, y: number) => boolean;
49
51
  /**
50
52
  * Checks if a point is contained within the rectangle.
51
53
  * @param {Rectangle} a - The rectangle to check.
52
54
  * @param {Point} point - The point to check.
53
55
  * @returns {boolean} True if the point is contained within the rectangle, false otherwise.
54
56
  */
55
- export declare const containsPoint: (a: any, point: any) => boolean;
57
+ export declare const containsPoint: (a: Rectangle, point: Point) => boolean;
56
58
  /**
57
59
  * Checks if rectangle a contains rectangle b.
58
60
  * @param {Rectangle} a - The first rectangle to check.
59
61
  * @param {Rectangle} b - The second rectangle to check.
60
62
  * @returns {boolean} True if rectangle a contains rectangle b, false otherwise.
61
63
  */
62
- export declare const containsRect: (a: any, b: any) => boolean;
64
+ export declare const containsRect: (a: Rectangle, b: Rectangle) => boolean;
63
65
  /**
64
66
  * Checks if two rectangles are equal.
65
67
  * @param {Rectangle} a - The first rectangle to compare.
66
68
  * @param {Rectangle} b - The second rectangle to compare.
67
69
  * @returns {boolean} True if the rectangles are equal, false otherwise.
68
70
  */
69
- export declare const equals: (a: any, b: any) => boolean;
71
+ export declare const equals: (a: Rectangle, b: Rectangle) => boolean;
70
72
  /**
71
73
  * Checks if two rectangles have the same dimensions.
72
74
  * @param {Rectangle} a - The first rectangle to compare.
73
75
  * @param {Rectangle} b - The second rectangle to compare.
74
76
  * @returns {boolean} True if the rectangles have the same dimensions, false otherwise.
75
77
  */
76
- export declare const sameDimensions: (a: any, b: any) => boolean;
78
+ export declare const sameDimensions: (a: Rectangle, b: Rectangle) => boolean;
77
79
  /**
78
80
  * Checks if two rectangles intersect.
79
81
  * @param {Rectangle} a - The first rectangle to check.
80
82
  * @param {Rectangle} b - The second rectangle to check.
81
83
  * @returns {boolean} True if the rectangles intersect, false otherwise.
82
84
  */
83
- export declare const intersects: (a: any, b: any) => boolean;
85
+ export declare const intersects: (a: Rectangle, b: Rectangle) => boolean;
84
86
  /**
85
87
  * Gets the intersection of two rectangles.
86
88
  * @param {Rectangle} a - The first rectangle.
@@ -88,7 +90,7 @@ export declare const intersects: (a: any, b: any) => boolean;
88
90
  * @param {Rectangle} output - Optional rectangle to store the result in.
89
91
  * @returns {Rectangle} The intersection of the rectangles, or an empty rectangle if they don't intersect.
90
92
  */
91
- export declare const intersection: (a: any, b: any, output?: any) => any;
93
+ export declare const intersection: (a: Rectangle, b: Rectangle, output?: Rectangle) => Rectangle;
92
94
  /**
93
95
  * Checks if a rectangle intersects with a set of raw coordinates.
94
96
  * @param {Rectangle} a - The rectangle to check.
@@ -99,7 +101,7 @@ export declare const intersection: (a: any, b: any, output?: any) => any;
99
101
  * @param {number} tolerance - Optional tolerance value for intersection.
100
102
  * @returns {boolean} True if the rectangle intersects with the area, false otherwise.
101
103
  */
102
- export declare const intersectsRaw: (a: any, left: any, right: any, top: any, bottom: any, tolerance?: number) => boolean;
104
+ export declare const intersectsRaw: (a: Rectangle, left: number, right: number, top: number, bottom: number, tolerance?: number) => boolean;
103
105
  /**
104
106
  * Gets the union of two rectangles.
105
107
  * @param {Rectangle} a - The first rectangle.
@@ -107,14 +109,14 @@ export declare const intersectsRaw: (a: any, left: any, right: any, top: any, bo
107
109
  * @param {Rectangle} output - Optional rectangle to store the result in.
108
110
  * @returns {Rectangle} The union of the rectangles.
109
111
  */
110
- export declare const union: (a: any, b: any, output?: any) => any;
112
+ export declare const union: (a: Rectangle, b: Rectangle, output?: Rectangle) => Rectangle;
111
113
  /**
112
114
  * Gets the axis-aligned bounding box (AABB) of a set of points.
113
115
  * @param {Point[]} points - The array of points to calculate the AABB for.
114
116
  * @param {Rectangle} output - Optional rectangle to store the result in.
115
117
  * @returns {Rectangle} The AABB of the points.
116
118
  */
117
- export declare const aabb: (points: any, output?: any) => any;
119
+ export declare const aabb: (points: Point[], output?: Rectangle) => Rectangle;
118
120
  /**
119
121
  * Gets an empty rectangle instance.
120
122
  * @returns {Rectangle} An empty rectangle.
@@ -1 +1 @@
1
- {"version":3,"file":"rectangle.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/rectangle.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAAI,MAAC,EAAE,OAAE,EAAE,OAAE,QAMhC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,MAAC,EAAE,UAAK,QAEpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,IAAI,GAAI,MAAC,EAAE,YAAa,QAIpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAIzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,YAK/B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,GAAI,OAAE,EAAE,OAAE,EAAE,OAAE,EAAE,OAAE,EAAE,MAAC,EAAE,MAAC,YAE/C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAC,EAAE,UAAK,YA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IAAI,GAAI,QAAQ,KAAK,EAAE,EAAE,SAAQ,SAAgB,cAsB7D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAQ7B,CAAC"}
@@ -1,8 +1,9 @@
1
+ import { RoundedRectangle } from '../rounded_rectangle.js';
1
2
  /**
2
3
  * Clones a rounded rectangle.
3
4
  * @param {RoundedRectangle} input - The rounded rectangle to clone.
4
5
  * @param {RoundedRectangle} output - Optional rounded rectangle to store the result in.
5
6
  * @returns {RoundedRectangle} The cloned rounded rectangle.
6
7
  */
7
- export declare const clone: (input: any, output?: any) => any;
8
+ export declare const clone: (input: RoundedRectangle, output?: RoundedRectangle) => RoundedRectangle;
8
9
  //# sourceMappingURL=rounded_rectangle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rounded_rectangle.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/rounded_rectangle.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAQzC,CAAC"}
1
+ {"version":3,"file":"rounded_rectangle.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/rounded_rectangle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,gBAAgB,EAAE,SAAQ,gBAAuB,qBAQ7E,CAAC"}
@@ -1,140 +1,16 @@
1
1
  export declare const DEG_TO_RAD: number;
2
2
  export declare const RAD_TO_DEG: number;
3
3
  export declare const PI_2: number;
4
- /**
5
- * Converts a hexadecimal color value to RGB components.
6
- * @param {number} hex - The hexadecimal color value.
7
- * @returns {number[]} An array containing the RGB components [r, g, b].
8
- */
9
- export declare const hex2rgb: (hex: any) => number[];
10
- /**
11
- * Converts RGB components to a hexadecimal color value.
12
- * @param {number} rgb - The RGB components array [r, g, b].
13
- * @returns {number} The hexadecimal color value.
14
- */
15
- export declare const rgb2hex: (rgb: any) => number;
16
- /**
17
- * Gets the next power of two greater than or equal to a value.
18
- * @param {number} value - The input value.
19
- * @returns {number} The next power of two.
20
- */
21
- export declare const getNextPowerOfTwo: (value: any) => any;
22
- /**
23
- * Checks if both width and height are powers of two.
24
- * @param {number} width - The width to check.
25
- * @param {number} height - The height to check.
26
- * @returns {boolean} True if both width and height are powers of two, false otherwise.
27
- */
28
- export declare const isPowerOfTwo: (width: any, height: any) => boolean;
29
- /**
30
- * Converts degrees to radians.
31
- * @param {number} degrees - The angle in degrees.
32
- * @returns {number} The angle in radians.
33
- */
34
- export declare const degToRad: (degrees: any) => number;
35
- /**
36
- * Converts radians to degrees.
37
- * @param {number} radians - The angle in radians.
38
- * @returns {number} The angle in degrees.
39
- */
40
- export declare const radToDeg: (radians: any) => number;
41
- /**
42
- * Gets a random integer between min and max (inclusive).
43
- * @param {number} min - The minimum value.
44
- * @param {number} max - The maximum value.
45
- * @returns {number} A random integer between min and max.
46
- */
47
- export declare const between: (min: any, max: any) => number;
48
- /**
49
- * Snaps a value to the nearest multiple of gap, starting from start.
50
- * @param {number} input - The value to snap.
51
- * @param {number} gap - The gap size to snap to.
52
- * @param {number} start - The starting offset for snapping.
53
- * @returns {number} The snapped value.
54
- */
55
- export declare const snapToCeil: (input: any, gap?: number, start?: number) => any;
56
- /**
57
- * Wraps a value within a range.
58
- * @param {number} value - The value to wrap.
59
- * @param {number} min - The minimum value of the range.
60
- * @param {number} max - The maximum value of the range.
61
- * @returns {number} The wrapped value.
62
- */
63
- export declare const wrap: (value: any, min: any, max: any) => any;
64
- /**
65
- * Performs linear interpolation between two values.
66
- * @param {number} p0 - The first point.
67
- * @param {number} p1 - The second point.
68
- * @param {number} t - The interpolation factor (0 to 1).
69
- * @returns {number} The interpolated value.
70
- */
71
- export declare const linear: (p0: any, p1: any, t: any) => any;
72
- /**
73
- * Calculates the absolute difference between two numbers.
74
- * @param {number} a - The first number.
75
- * @param {number} b - The second number.
76
- * @returns {number} The absolute difference between a and b.
77
- */
78
- export declare const difference: (a: any, b: any) => number;
79
- /**
80
- * Performs linear interpolation on an array of values.
81
- * @param {number[]} v - The array of values.
82
- * @param {number} k - The interpolation factor (0 to 1).
83
- * @returns {number} The interpolated value.
84
- */
85
- export declare const linearInterpolation: (v: any, k: any) => any;
86
- /**
87
- * Calculates the distance between two points.
88
- * @param {number} x1 - The x-coordinate of the first point.
89
- * @param {number} y1 - The y-coordinate of the first point.
90
- * @param {number} x2 - The x-coordinate of the second point.
91
- * @param {number} y2 - The y-coordinate of the second point.
92
- * @returns {number} The distance between the two points.
93
- */
94
- export declare const distance: (x1: any, y1: any, x2: any, y2: any) => number;
95
- /**
96
- * Checks if two numbers are within a tolerance of each other.
97
- * @param {number} a - The first number.
98
- * @param {number} b - The second number.
99
- * @param {number} tolerance - The tolerance value.
100
- * @returns {boolean} True if the numbers are within tolerance, false otherwise.
101
- */
102
- export declare const within: (a: any, b: any, tolerance: any) => boolean;
103
- /**
104
- * Creates a 32-bit color value from alpha, red, green, and blue components.
105
- * @param {number} a - The alpha component (0-255).
106
- * @param {number} r - The red component (0-255).
107
- * @param {number} g - The green component (0-255).
108
- * @param {number} b - The blue component (0-255).
109
- * @returns {number} The 32-bit color value.
110
- */
111
- export declare const getColor32: (a: any, r: any, g: any, b: any) => number;
112
- /**
113
- * Creates a 24-bit color value from red, green, and blue components.
114
- * @param {number} r - The red component (0-255).
115
- * @param {number} g - The green component (0-255).
116
- * @param {number} b - The blue component (0-255).
117
- * @returns {number} The 24-bit color value.
118
- */
119
- export declare const getColor: (r: any, g: any, b: any) => number;
120
- /**
121
- * Converts a hex color string to RGB components.
122
- * @param {string} value - The hex color string (e.g. "#FF0000").
123
- * @param {{r?: number, g?: number, b?: number}} out - The object to store the result in.
124
- */
125
- export declare const hexToColor: (value: any, out: any) => void;
126
- /**
127
- * Converts a web color string (e.g. "rgb(255, 0, 0)") to RGB components with alpha.
128
- * @param {string} value - The web color string (e.g. "rgba(255, 0, 0, 0.5)").
129
- * @param {{r?: number, g?: number, b?: number, a?: number}} out - The object to store the result in.
130
- */
131
- export declare const webToColor: (value: any, out: any) => void;
132
- /**
133
- * Extracts RGB components from a 32-bit color value.
134
- * @param {number} color - The 32-bit color value.
135
- * @returns {{ alpha: number, red: number, green: number, blue: number, a: number, r: number, g: number, b: number}} An object containing the color components.
136
- */
137
- export declare const getRGB: (color: any) => {
4
+ export interface ColorTarget {
5
+ r?: number;
6
+ g?: number;
7
+ b?: number;
8
+ a?: number;
9
+ rgba?: string;
10
+ color?: number;
11
+ color32?: number;
12
+ }
13
+ export interface ColorComponents {
138
14
  alpha: number;
139
15
  red: number;
140
16
  green: number;
@@ -143,12 +19,45 @@ export declare const getRGB: (color: any) => {
143
19
  r: number;
144
20
  g: number;
145
21
  b: number;
146
- };
147
- /**
148
- * Converts a color value (string or number) to an object with various color formats.
149
- * @param {string|number} value - The color value (e.g. "#FF0000" or 0xFF0000).
150
- * @param {{a?: number, r?: number, g?: number, b?: number, rgba?: string, color?: number, color32?: number}} out - The object to store the result in.
151
- * @returns {{a?: number, r?: number, g?: number, b?: number, rgba?: string, color?: number, color32?: number}} The updated out object.
152
- */
153
- export declare const valueToColor: (value: any, out: any) => any;
22
+ }
23
+ /** Converts a hexadecimal color value to RGB components. */
24
+ export declare const hex2rgb: (hex: number) => [number, number, number];
25
+ /** Converts RGB components to a hexadecimal color value. */
26
+ export declare const rgb2hex: (rgb: number[]) => number;
27
+ /** Gets the next power of two greater than or equal to a value. */
28
+ export declare const getNextPowerOfTwo: (value: number) => number;
29
+ /** Checks if both width and height are powers of two. */
30
+ export declare const isPowerOfTwo: (width: number, height: number) => boolean;
31
+ /** Converts degrees to radians. */
32
+ export declare const degToRad: (degrees: number) => number;
33
+ /** Converts radians to degrees. */
34
+ export declare const radToDeg: (radians: number) => number;
35
+ /** Gets a random integer between min and max (inclusive). */
36
+ export declare const between: (min: number, max: number) => number;
37
+ /** Snaps a value to the nearest multiple of gap, starting from start. */
38
+ export declare const snapToCeil: (input: number, gap?: number, start?: number) => number;
39
+ /** Wraps a value within a range. */
40
+ export declare const wrap: (value: number, min: number, max: number) => number;
41
+ /** Performs linear interpolation between two values. */
42
+ export declare const linear: (p0: number, p1: number, t: number) => number;
43
+ /** Calculates the absolute difference between two numbers. */
44
+ export declare const difference: (a: number, b: number) => number;
45
+ /** Performs linear interpolation on an array of values. */
46
+ export declare const linearInterpolation: (v: number[], k: number) => number;
47
+ /** Calculates the distance between two points. */
48
+ export declare const distance: (x1: number, y1: number, x2: number, y2: number) => number;
49
+ /** Checks if two numbers are within a tolerance of each other. */
50
+ export declare const within: (a: number, b: number, tolerance: number) => boolean;
51
+ /** Creates a 32-bit color value from alpha, red, green, and blue components. */
52
+ export declare const getColor32: (a: number, r: number, g: number, b: number) => number;
53
+ /** Creates a 24-bit color value from red, green, and blue components. */
54
+ export declare const getColor: (r: number, g: number, b: number) => number;
55
+ /** Converts a hex color string to RGB components. */
56
+ export declare const hexToColor: (value: string, out: ColorTarget) => void;
57
+ /** Converts a web color string (e.g. "rgb(255, 0, 0)") to RGB components with alpha. */
58
+ export declare const webToColor: (value: string, out: ColorTarget) => void;
59
+ /** Extracts RGB components from a 32-bit color value. */
60
+ export declare const getRGB: (color: number) => ColorComponents;
61
+ /** Converts a color value (string or number) to an object with various color formats. */
62
+ export declare const valueToColor: (value: string | number, out: ColorTarget) => ColorTarget;
154
63
  //# sourceMappingURL=math.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../src/phaser/util/math.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,QAAgB,CAAC;AACxC,eAAO,MAAM,UAAU,QAAgB,CAAC;AACxC,eAAO,MAAM,IAAI,QAAc,CAAC;AAEhC;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,QAAG,aAE1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,QAAG,WAE1B,CAAC;AAEF;;;;GAI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E,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,MAE1D,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,EAAE,KAAK,WAAW,KAAG,IAQ5D,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,EAAE,KAAK,WAAW,KAAG,IAQ5D,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,MAAM,GAAI,OAAO,MAAM,KAAG,eAuBtC,CAAC;AAEF,yFAAyF;AACzF,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,MAAM,EAAE,KAAK,WAAW,KAAG,WAmBvE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/phaser",
3
- "version": "1.103.0",
3
+ "version": "1.105.0",
4
4
  "description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@vpmedia/simplify": "^1.74.0",
37
+ "@vpmedia/simplify": "^1.76.0",
38
38
  "uuid": "^14.0.0"
39
39
  },
40
40
  "devDependencies": {