@adobe/data 0.9.74 → 0.9.76

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 (317) hide show
  1. package/dist/ecs/database/transactional-store/create-transactional-store.js +7 -1
  2. package/dist/ecs/database/transactional-store/create-transactional-store.js.map +1 -1
  3. package/dist/ecs/database/transactional-store/create-transactional-store.test.js +42 -0
  4. package/dist/ecs/database/transactional-store/create-transactional-store.test.js.map +1 -1
  5. package/dist/functions/serialization/codec.js +4 -0
  6. package/dist/functions/serialization/codec.js.map +1 -1
  7. package/dist/functions/serialization/serialization.test.js +10 -0
  8. package/dist/functions/serialization/serialization.test.js.map +1 -1
  9. package/dist/math/i32/public.d.ts +2 -1
  10. package/dist/math/i32/public.js +2 -1
  11. package/dist/math/i32/public.js.map +1 -1
  12. package/dist/math/i32/shift-right.d.ts +2 -0
  13. package/dist/math/i32/shift-right.js +3 -0
  14. package/dist/math/i32/shift-right.js.map +1 -0
  15. package/dist/math/u32/count-leading-zeros.d.ts +2 -0
  16. package/dist/math/u32/count-leading-zeros.js +3 -0
  17. package/dist/math/u32/count-leading-zeros.js.map +1 -0
  18. package/dist/math/u32/count-one-bits.d.ts +2 -0
  19. package/dist/math/u32/count-one-bits.js +11 -0
  20. package/dist/math/u32/count-one-bits.js.map +1 -0
  21. package/dist/math/u32/count-trailing-zeros.d.ts +2 -0
  22. package/dist/math/u32/count-trailing-zeros.js +14 -0
  23. package/dist/math/u32/count-trailing-zeros.js.map +1 -0
  24. package/dist/math/u32/public.d.ts +6 -1
  25. package/dist/math/u32/public.js +6 -1
  26. package/dist/math/u32/public.js.map +1 -1
  27. package/dist/math/u32/reverse-bits.d.ts +2 -0
  28. package/dist/math/u32/reverse-bits.js +11 -0
  29. package/dist/math/u32/reverse-bits.js.map +1 -0
  30. package/dist/math/u32/shift-right.d.ts +2 -0
  31. package/dist/math/u32/shift-right.js +3 -0
  32. package/dist/math/u32/shift-right.js.map +1 -0
  33. package/dist/math/vec2/f32/f32.d.ts +4 -0
  34. package/dist/math/vec2/f32/f32.js +3 -0
  35. package/dist/math/vec2/f32/f32.js.map +1 -0
  36. package/dist/math/vec2/f32/functions.d.ts +50 -0
  37. package/dist/math/vec2/f32/functions.js +87 -0
  38. package/dist/math/vec2/f32/functions.js.map +1 -0
  39. package/dist/math/vec2/f32/layout.d.ts +1 -0
  40. package/dist/math/vec2/f32/layout.js +5 -0
  41. package/dist/math/vec2/f32/layout.js.map +1 -0
  42. package/dist/math/vec2/f32/public.d.ts +3 -0
  43. package/dist/math/vec2/f32/public.js +5 -0
  44. package/dist/math/vec2/f32/public.js.map +1 -0
  45. package/dist/math/vec2/f32/schema.d.ts +11 -0
  46. package/dist/math/vec2/f32/schema.js +10 -0
  47. package/dist/math/vec2/f32/schema.js.map +1 -0
  48. package/dist/math/vec2/i32/functions.d.ts +21 -0
  49. package/dist/math/vec2/i32/functions.js +39 -0
  50. package/dist/math/vec2/i32/functions.js.map +1 -0
  51. package/dist/math/vec2/i32/i32.d.ts +4 -0
  52. package/dist/math/vec2/i32/i32.js +3 -0
  53. package/dist/math/vec2/i32/i32.js.map +1 -0
  54. package/dist/math/vec2/i32/layout.d.ts +1 -0
  55. package/dist/math/vec2/i32/layout.js +5 -0
  56. package/dist/math/vec2/i32/layout.js.map +1 -0
  57. package/dist/math/vec2/i32/public.d.ts +3 -0
  58. package/dist/math/vec2/i32/public.js +5 -0
  59. package/dist/math/vec2/i32/public.js.map +1 -0
  60. package/dist/math/vec2/i32/schema.d.ts +12 -0
  61. package/dist/math/vec2/i32/schema.js +10 -0
  62. package/dist/math/vec2/i32/schema.js.map +1 -0
  63. package/dist/math/vec2/index.d.ts +61 -4
  64. package/dist/math/vec2/index.js +56 -1
  65. package/dist/math/vec2/index.js.map +1 -1
  66. package/dist/math/vec2/public.d.ts +5 -3
  67. package/dist/math/vec2/public.js +6 -3
  68. package/dist/math/vec2/public.js.map +1 -1
  69. package/dist/math/vec2/u32/functions.d.ts +20 -0
  70. package/dist/math/vec2/u32/functions.js +58 -0
  71. package/dist/math/vec2/u32/functions.js.map +1 -0
  72. package/dist/math/vec2/u32/layout.d.ts +1 -0
  73. package/dist/math/vec2/u32/layout.js +5 -0
  74. package/dist/math/vec2/u32/layout.js.map +1 -0
  75. package/dist/math/vec2/u32/public.d.ts +3 -0
  76. package/dist/math/vec2/u32/public.js +5 -0
  77. package/dist/math/vec2/u32/public.js.map +1 -0
  78. package/dist/math/vec2/u32/schema.d.ts +12 -0
  79. package/dist/math/vec2/u32/schema.js +10 -0
  80. package/dist/math/vec2/u32/schema.js.map +1 -0
  81. package/dist/math/vec2/u32/u32.d.ts +4 -0
  82. package/dist/math/vec2/u32/u32.js +3 -0
  83. package/dist/math/vec2/u32/u32.js.map +1 -0
  84. package/dist/math/vec3/f32/f32.d.ts +4 -0
  85. package/dist/math/vec3/f32/f32.js +3 -0
  86. package/dist/math/vec3/f32/f32.js.map +1 -0
  87. package/dist/math/vec3/f32/functions.d.ts +59 -0
  88. package/dist/math/vec3/f32/functions.js +139 -0
  89. package/dist/math/vec3/f32/functions.js.map +1 -0
  90. package/dist/math/vec3/f32/layout.d.ts +1 -0
  91. package/dist/math/vec3/f32/layout.js +5 -0
  92. package/dist/math/vec3/f32/layout.js.map +1 -0
  93. package/dist/math/vec3/f32/public.d.ts +3 -0
  94. package/dist/math/vec3/f32/public.js +5 -0
  95. package/dist/math/vec3/f32/public.js.map +1 -0
  96. package/dist/math/vec3/f32/schema.d.ts +11 -0
  97. package/dist/math/vec3/f32/schema.js +10 -0
  98. package/dist/math/vec3/f32/schema.js.map +1 -0
  99. package/dist/math/vec3/i32/functions.d.ts +23 -0
  100. package/dist/math/vec3/i32/functions.js +78 -0
  101. package/dist/math/vec3/i32/functions.js.map +1 -0
  102. package/dist/math/vec3/i32/i32.d.ts +4 -0
  103. package/dist/math/vec3/i32/i32.js +3 -0
  104. package/dist/math/vec3/i32/i32.js.map +1 -0
  105. package/dist/math/vec3/i32/layout.d.ts +1 -0
  106. package/dist/math/vec3/i32/layout.js +5 -0
  107. package/dist/math/vec3/i32/layout.js.map +1 -0
  108. package/dist/math/vec3/i32/public.d.ts +3 -0
  109. package/dist/math/vec3/i32/public.js +5 -0
  110. package/dist/math/vec3/i32/public.js.map +1 -0
  111. package/dist/math/vec3/i32/schema.d.ts +12 -0
  112. package/dist/math/vec3/i32/schema.js +10 -0
  113. package/dist/math/vec3/i32/schema.js.map +1 -0
  114. package/dist/math/vec3/index.d.ts +67 -4
  115. package/dist/math/vec3/index.js +62 -1
  116. package/dist/math/vec3/index.js.map +1 -1
  117. package/dist/math/vec3/public.d.ts +5 -3
  118. package/dist/math/vec3/public.js +6 -3
  119. package/dist/math/vec3/public.js.map +1 -1
  120. package/dist/math/vec3/u32/functions.d.ts +23 -0
  121. package/dist/math/vec3/u32/functions.js +85 -0
  122. package/dist/math/vec3/u32/functions.js.map +1 -0
  123. package/dist/math/vec3/u32/layout.d.ts +1 -0
  124. package/dist/math/vec3/u32/layout.js +5 -0
  125. package/dist/math/vec3/u32/layout.js.map +1 -0
  126. package/dist/math/vec3/u32/public.d.ts +3 -0
  127. package/dist/math/vec3/u32/public.js +5 -0
  128. package/dist/math/vec3/u32/public.js.map +1 -0
  129. package/dist/math/vec3/u32/schema.d.ts +12 -0
  130. package/dist/math/vec3/u32/schema.js +10 -0
  131. package/dist/math/vec3/u32/schema.js.map +1 -0
  132. package/dist/math/vec3/u32/u32.d.ts +4 -0
  133. package/dist/math/vec3/u32/u32.js +3 -0
  134. package/dist/math/vec3/u32/u32.js.map +1 -0
  135. package/dist/math/vec4/f32/f32.d.ts +4 -0
  136. package/dist/math/vec4/f32/f32.js +3 -0
  137. package/dist/math/vec4/f32/f32.js.map +1 -0
  138. package/dist/math/vec4/f32/functions.d.ts +49 -0
  139. package/dist/math/vec4/f32/functions.js +130 -0
  140. package/dist/math/vec4/f32/functions.js.map +1 -0
  141. package/dist/math/vec4/f32/layout.d.ts +1 -0
  142. package/dist/math/vec4/f32/layout.js +5 -0
  143. package/dist/math/vec4/f32/layout.js.map +1 -0
  144. package/dist/math/vec4/f32/public.d.ts +3 -0
  145. package/dist/math/vec4/f32/public.js +5 -0
  146. package/dist/math/vec4/f32/public.js.map +1 -0
  147. package/dist/math/vec4/f32/schema.d.ts +11 -0
  148. package/dist/math/vec4/f32/schema.js +10 -0
  149. package/dist/math/vec4/f32/schema.js.map +1 -0
  150. package/dist/math/vec4/i32/functions.d.ts +23 -0
  151. package/dist/math/vec4/i32/functions.js +91 -0
  152. package/dist/math/vec4/i32/functions.js.map +1 -0
  153. package/dist/math/vec4/i32/i32.d.ts +4 -0
  154. package/dist/math/vec4/i32/i32.js +3 -0
  155. package/dist/math/vec4/i32/i32.js.map +1 -0
  156. package/dist/math/vec4/i32/layout.d.ts +1 -0
  157. package/dist/math/vec4/i32/layout.js +5 -0
  158. package/dist/math/vec4/i32/layout.js.map +1 -0
  159. package/dist/math/vec4/i32/public.d.ts +3 -0
  160. package/dist/math/vec4/i32/public.js +5 -0
  161. package/dist/math/vec4/i32/public.js.map +1 -0
  162. package/dist/math/vec4/i32/schema.d.ts +12 -0
  163. package/dist/math/vec4/i32/schema.js +10 -0
  164. package/dist/math/vec4/i32/schema.js.map +1 -0
  165. package/dist/math/vec4/index.d.ts +60 -4
  166. package/dist/math/vec4/index.js +55 -1
  167. package/dist/math/vec4/index.js.map +1 -1
  168. package/dist/math/vec4/public.d.ts +5 -3
  169. package/dist/math/vec4/public.js +6 -3
  170. package/dist/math/vec4/public.js.map +1 -1
  171. package/dist/math/vec4/u32/functions.d.ts +22 -0
  172. package/dist/math/vec4/u32/functions.js +99 -0
  173. package/dist/math/vec4/u32/functions.js.map +1 -0
  174. package/dist/math/vec4/u32/layout.d.ts +1 -0
  175. package/dist/math/vec4/u32/layout.js +5 -0
  176. package/dist/math/vec4/u32/layout.js.map +1 -0
  177. package/dist/math/vec4/u32/public.d.ts +3 -0
  178. package/dist/math/vec4/u32/public.js +5 -0
  179. package/dist/math/vec4/u32/public.js.map +1 -0
  180. package/dist/math/vec4/u32/schema.d.ts +12 -0
  181. package/dist/math/vec4/u32/schema.js +10 -0
  182. package/dist/math/vec4/u32/schema.js.map +1 -0
  183. package/dist/math/vec4/u32/u32.d.ts +4 -0
  184. package/dist/math/vec4/u32/u32.js +3 -0
  185. package/dist/math/vec4/u32/u32.js.map +1 -0
  186. package/dist/schema/boolean/schema.d.ts +1 -0
  187. package/dist/schema/boolean/schema.js +2 -1
  188. package/dist/schema/boolean/schema.js.map +1 -1
  189. package/dist/schema/from-archetype.d.ts +14 -0
  190. package/dist/schema/from-archetype.js +9 -0
  191. package/dist/schema/from-archetype.js.map +1 -0
  192. package/dist/schema/from-components.d.ts +14 -0
  193. package/dist/schema/from-components.js +9 -0
  194. package/dist/schema/from-components.js.map +1 -0
  195. package/dist/schema/from-components.test.d.ts +1 -0
  196. package/dist/schema/from-components.test.js +49 -0
  197. package/dist/schema/from-components.test.js.map +1 -0
  198. package/dist/schema/from-components.type-test.d.ts +1 -0
  199. package/dist/schema/from-components.type-test.js +40 -0
  200. package/dist/schema/from-components.type-test.js.map +1 -0
  201. package/dist/schema/public.d.ts +2 -0
  202. package/dist/schema/public.js +2 -0
  203. package/dist/schema/public.js.map +1 -1
  204. package/dist/schema/to-type.d.ts +2 -0
  205. package/dist/schema/to-type.js.map +1 -1
  206. package/dist/table/copy-column-to-gpu-buffer.js +10 -2
  207. package/dist/table/copy-column-to-gpu-buffer.js.map +1 -1
  208. package/dist/tsconfig.tsbuildinfo +1 -1
  209. package/dist/typed-buffer/create-boolean-buffer.d.ts +6 -0
  210. package/dist/typed-buffer/create-boolean-buffer.js +83 -0
  211. package/dist/typed-buffer/create-boolean-buffer.js.map +1 -0
  212. package/dist/typed-buffer/create-boolean-buffer.test.d.ts +1 -0
  213. package/dist/typed-buffer/create-boolean-buffer.test.js +159 -0
  214. package/dist/typed-buffer/create-boolean-buffer.test.js.map +1 -0
  215. package/dist/typed-buffer/create-typed-buffer.js +4 -0
  216. package/dist/typed-buffer/create-typed-buffer.js.map +1 -1
  217. package/dist/typed-buffer/index.d.ts +1 -0
  218. package/dist/typed-buffer/index.js +1 -0
  219. package/dist/typed-buffer/index.js.map +1 -1
  220. package/dist/typed-buffer/register-typed-buffer-codecs.js +20 -2
  221. package/dist/typed-buffer/register-typed-buffer-codecs.js.map +1 -1
  222. package/dist/typed-buffer/typed-buffer.d.ts +4 -1
  223. package/dist/typed-buffer/typed-buffer.js +1 -0
  224. package/dist/typed-buffer/typed-buffer.js.map +1 -1
  225. package/dist/types/volume/axis-line-callback.d.ts +14 -0
  226. package/dist/types/volume/axis-line-callback.js +3 -0
  227. package/dist/types/volume/axis-line-callback.js.map +1 -0
  228. package/dist/types/volume/block-callback.d.ts +9 -0
  229. package/dist/types/volume/block-callback.js +3 -0
  230. package/dist/types/volume/block-callback.js.map +1 -0
  231. package/dist/types/volume/block-span.d.ts +9 -0
  232. package/dist/types/volume/block-span.js +3 -0
  233. package/dist/types/volume/block-span.js.map +1 -0
  234. package/dist/types/volume/create-dense/create-dense.d.ts +6 -0
  235. package/dist/types/volume/create-dense/create-dense.js +9 -0
  236. package/dist/types/volume/create-dense/create-dense.js.map +1 -0
  237. package/dist/types/volume/create-dense/create-dense.test.d.ts +1 -0
  238. package/dist/types/volume/create-dense/create-dense.test.js +121 -0
  239. package/dist/types/volume/create-dense/create-dense.test.js.map +1 -0
  240. package/dist/types/volume/create-dense/dense-volume.d.ts +17 -0
  241. package/dist/types/volume/create-dense/dense-volume.js +51 -0
  242. package/dist/types/volume/create-dense/dense-volume.js.map +1 -0
  243. package/dist/types/volume/create-dense/is-dense-volume.d.ts +2 -0
  244. package/dist/types/volume/create-dense/is-dense-volume.js +4 -0
  245. package/dist/types/volume/create-dense/is-dense-volume.js.map +1 -0
  246. package/dist/types/volume/create-dense/register-dense-volume-codecs.d.ts +1 -0
  247. package/dist/types/volume/create-dense/register-dense-volume-codecs.js +33 -0
  248. package/dist/types/volume/create-dense/register-dense-volume-codecs.js.map +1 -0
  249. package/dist/types/volume/create-sparse-block/block-dims.d.ts +35 -0
  250. package/dist/types/volume/create-sparse-block/block-dims.js +93 -0
  251. package/dist/types/volume/create-sparse-block/block-dims.js.map +1 -0
  252. package/dist/types/volume/create-sparse-block/block-key.d.ts +9 -0
  253. package/dist/types/volume/create-sparse-block/block-key.js +23 -0
  254. package/dist/types/volume/create-sparse-block/block-key.js.map +1 -0
  255. package/dist/types/volume/create-sparse-block/create-sparse-block.d.ts +6 -0
  256. package/dist/types/volume/create-sparse-block/create-sparse-block.js +9 -0
  257. package/dist/types/volume/create-sparse-block/create-sparse-block.js.map +1 -0
  258. package/dist/types/volume/create-sparse-block/create-sparse-block.test.d.ts +1 -0
  259. package/dist/types/volume/create-sparse-block/create-sparse-block.test.js +287 -0
  260. package/dist/types/volume/create-sparse-block/create-sparse-block.test.js.map +1 -0
  261. package/dist/types/volume/create-sparse-block/is-sparse-block-volume.d.ts +2 -0
  262. package/dist/types/volume/create-sparse-block/is-sparse-block-volume.js +4 -0
  263. package/dist/types/volume/create-sparse-block/is-sparse-block-volume.js.map +1 -0
  264. package/dist/types/volume/create-sparse-block/iterate-sparse-block-axis.d.ts +19 -0
  265. package/dist/types/volume/create-sparse-block/iterate-sparse-block-axis.js +160 -0
  266. package/dist/types/volume/create-sparse-block/iterate-sparse-block-axis.js.map +1 -0
  267. package/dist/types/volume/create-sparse-block/pack-block-key.d.ts +1 -0
  268. package/dist/types/volume/create-sparse-block/pack-block-key.js +3 -0
  269. package/dist/types/volume/create-sparse-block/pack-block-key.js.map +1 -0
  270. package/dist/types/volume/create-sparse-block/register-sparse-block-volume-codecs.d.ts +1 -0
  271. package/dist/types/volume/create-sparse-block/register-sparse-block-volume-codecs.js +37 -0
  272. package/dist/types/volume/create-sparse-block/register-sparse-block-volume-codecs.js.map +1 -0
  273. package/dist/types/volume/create-sparse-block/sparse-block-volume.d.ts +29 -0
  274. package/dist/types/volume/create-sparse-block/sparse-block-volume.js +133 -0
  275. package/dist/types/volume/create-sparse-block/sparse-block-volume.js.map +1 -0
  276. package/dist/types/volume/create-sparse-block/unpack-block-key.d.ts +5 -0
  277. package/dist/types/volume/create-sparse-block/unpack-block-key.js +7 -0
  278. package/dist/types/volume/create-sparse-block/unpack-block-key.js.map +1 -0
  279. package/dist/types/volume/get-dense-index.d.ts +2 -0
  280. package/dist/types/volume/get-dense-index.js +6 -0
  281. package/dist/types/volume/get-dense-index.js.map +1 -0
  282. package/dist/types/volume/get-dense-index.test.d.ts +1 -0
  283. package/dist/types/volume/get-dense-index.test.js +17 -0
  284. package/dist/types/volume/get-dense-index.test.js.map +1 -0
  285. package/dist/types/volume/is-in-bounds.d.ts +2 -0
  286. package/dist/types/volume/is-in-bounds.js +6 -0
  287. package/dist/types/volume/is-in-bounds.js.map +1 -0
  288. package/dist/types/volume/is-in-bounds.test.d.ts +1 -0
  289. package/dist/types/volume/is-in-bounds.test.js +12 -0
  290. package/dist/types/volume/is-in-bounds.test.js.map +1 -0
  291. package/dist/types/volume/iterate-axis.d.ts +7 -0
  292. package/dist/types/volume/iterate-axis.js +58 -0
  293. package/dist/types/volume/iterate-axis.js.map +1 -0
  294. package/dist/types/volume/iterate-sparse-block-axis.test.d.ts +1 -0
  295. package/dist/types/volume/iterate-sparse-block-axis.test.js +11 -0
  296. package/dist/types/volume/iterate-sparse-block-axis.test.js.map +1 -0
  297. package/dist/types/volume/iterate-sparse-block.benchmark.test.d.ts +1 -0
  298. package/dist/types/volume/iterate-sparse-block.benchmark.test.js +80 -0
  299. package/dist/types/volume/iterate-sparse-block.benchmark.test.js.map +1 -0
  300. package/dist/types/volume/iterate-test-helpers.d.ts +14 -0
  301. package/dist/types/volume/iterate-test-helpers.js +41 -0
  302. package/dist/types/volume/iterate-test-helpers.js.map +1 -0
  303. package/dist/types/volume/public.d.ts +7 -0
  304. package/dist/types/volume/public.js +6 -0
  305. package/dist/types/volume/public.js.map +1 -0
  306. package/dist/types/volume/sparse-block-iterate-benchmark.d.ts +49 -0
  307. package/dist/types/volume/sparse-block-iterate-benchmark.js +131 -0
  308. package/dist/types/volume/sparse-block-iterate-benchmark.js.map +1 -0
  309. package/dist/types/volume/volume.d.ts +13 -0
  310. package/dist/types/volume/volume.js +3 -0
  311. package/dist/types/volume/volume.js.map +1 -0
  312. package/package.json +1 -1
  313. package/references/data-lit/package.json +1 -1
  314. package/references/data-lit-tictactoe/package.json +1 -1
  315. package/references/data-react/package.json +1 -1
  316. package/references/data-react-hello/package.json +1 -1
  317. package/references/data-react-pixie/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/math/vec3/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAOvD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/math/vec3/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAKvD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAItC,MAAM,KAAW,IAAI,CAgEpB;AAhED,WAAiB,IAAI;IAKH,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IAE/B,4DAA4D;IAC9C,WAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IACvB,WAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IACvB,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,SAAI,GA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AAG,MAAM,CAAC,OAAO,CAAC;IACzB,YAAO,GAAG,MAAM,CAAC,OAAO,CAAC;IACzB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,eAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAC/B,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,aAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC3B,QAAG,GAAG,MAAM,CAAC,GAAG,CAAC;IACjB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACnB,UAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IACrB,SAAI,GAAG,MAAM,CAAC,IAAI,CAAC;AACrC,CAAC,EAhEgB,IAAI,KAAJ,IAAI,QAgEpB"}
@@ -1,3 +1,5 @@
1
- export * from "./functions.js";
2
- export * from "./layout.js";
3
- export * from "./schema.js";
1
+ export * as F32 from "./f32/public.js";
2
+ export * as U32 from "./u32/public.js";
3
+ export * as I32 from "./i32/public.js";
4
+ export { schema, layout } from "./f32/public.js";
5
+ export * from "./f32/functions.js";
@@ -1,5 +1,8 @@
1
1
  // © 2026 Adobe. MIT License. See /LICENSE for details.
2
- export * from "./functions.js";
3
- export * from "./layout.js";
4
- export * from "./schema.js";
2
+ export * as F32 from "./f32/public.js";
3
+ export * as U32 from "./u32/public.js";
4
+ export * as I32 from "./i32/public.js";
5
+ // Backwards compatibility: Vec3 is synonymous with Vec3.F32
6
+ export { schema, layout } from "./f32/public.js";
7
+ export * from "./f32/functions.js";
5
8
  //# sourceMappingURL=public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/math/vec3/public.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/math/vec3/public.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AAEvC,4DAA4D;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { U32 as Vec3_U32 } from "./u32.js";
2
+ export declare const zero: Vec3_U32;
3
+ export declare const one: Vec3_U32;
4
+ export declare const add: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
5
+ export declare const subtract: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
6
+ export declare const multiply: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
7
+ export declare const scale: ([x, y, z]: Vec3_U32, s: number) => Vec3_U32;
8
+ export declare const negate: ([x, y, z]: Vec3_U32) => Vec3_U32;
9
+ export declare const min: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
10
+ export declare const max: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
11
+ export declare const clamp: (v: Vec3_U32, minVec: Vec3_U32, maxVec: Vec3_U32) => Vec3_U32;
12
+ export declare const equals: (a: Vec3_U32, b: Vec3_U32) => boolean;
13
+ export declare const volume: ([x, y, z]: Vec3_U32) => number;
14
+ export declare const bitwiseAnd: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
15
+ export declare const bitwiseOr: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
16
+ export declare const bitwiseXor: ([x1, y1, z1]: Vec3_U32, [x2, y2, z2]: Vec3_U32) => Vec3_U32;
17
+ export declare const bitwiseNot: ([x, y, z]: Vec3_U32) => Vec3_U32;
18
+ export declare const shiftLeft: ([x, y, z]: Vec3_U32, s: number) => Vec3_U32;
19
+ export declare const shiftRight: ([x, y, z]: Vec3_U32, s: number) => Vec3_U32;
20
+ export declare const countLeadingZeros: ([x, y, z]: Vec3_U32) => Vec3_U32;
21
+ export declare const countTrailingZeros: ([x, y, z]: Vec3_U32) => Vec3_U32;
22
+ export declare const countOneBits: ([x, y, z]: Vec3_U32) => Vec3_U32;
23
+ export declare const reverseBits: ([x, y, z]: Vec3_U32) => Vec3_U32;
@@ -0,0 +1,85 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { U32 } from "../../u32/index.js";
3
+ export const zero = [0, 0, 0];
4
+ export const one = [1, 1, 1];
5
+ export const add = ([x1, y1, z1], [x2, y2, z2]) => [
6
+ (x1 + x2) >>> 0,
7
+ (y1 + y2) >>> 0,
8
+ (z1 + z2) >>> 0,
9
+ ];
10
+ export const subtract = ([x1, y1, z1], [x2, y2, z2]) => [
11
+ (x1 - x2) >>> 0,
12
+ (y1 - y2) >>> 0,
13
+ (z1 - z2) >>> 0,
14
+ ];
15
+ export const multiply = ([x1, y1, z1], [x2, y2, z2]) => [
16
+ (x1 * x2) >>> 0,
17
+ (y1 * y2) >>> 0,
18
+ (z1 * z2) >>> 0,
19
+ ];
20
+ export const scale = ([x, y, z], s) => [
21
+ (x * s) >>> 0,
22
+ (y * s) >>> 0,
23
+ (z * s) >>> 0,
24
+ ];
25
+ export const negate = ([x, y, z]) => [(-x) >>> 0, (-y) >>> 0, (-z) >>> 0];
26
+ export const min = ([x1, y1, z1], [x2, y2, z2]) => [
27
+ Math.min(x1, x2) >>> 0,
28
+ Math.min(y1, y2) >>> 0,
29
+ Math.min(z1, z2) >>> 0,
30
+ ];
31
+ export const max = ([x1, y1, z1], [x2, y2, z2]) => [
32
+ Math.max(x1, x2) >>> 0,
33
+ Math.max(y1, y2) >>> 0,
34
+ Math.max(z1, z2) >>> 0,
35
+ ];
36
+ export const clamp = (v, minVec, maxVec) => min(max(v, minVec), maxVec);
37
+ export const equals = (a, b) => a[0] === b[0] && a[1] === b[1] && a[2] === b[2];
38
+ export const volume = ([x, y, z]) => (x * y * z) >>> 0;
39
+ export const bitwiseAnd = ([x1, y1, z1], [x2, y2, z2]) => [
40
+ (x1 & x2) >>> 0,
41
+ (y1 & y2) >>> 0,
42
+ (z1 & z2) >>> 0,
43
+ ];
44
+ export const bitwiseOr = ([x1, y1, z1], [x2, y2, z2]) => [
45
+ (x1 | x2) >>> 0,
46
+ (y1 | y2) >>> 0,
47
+ (z1 | z2) >>> 0,
48
+ ];
49
+ export const bitwiseXor = ([x1, y1, z1], [x2, y2, z2]) => [
50
+ (x1 ^ x2) >>> 0,
51
+ (y1 ^ y2) >>> 0,
52
+ (z1 ^ z2) >>> 0,
53
+ ];
54
+ export const bitwiseNot = ([x, y, z]) => [(~x) >>> 0, (~y) >>> 0, (~z) >>> 0];
55
+ export const shiftLeft = ([x, y, z], s) => [
56
+ (x << s) >>> 0,
57
+ (y << s) >>> 0,
58
+ (z << s) >>> 0,
59
+ ];
60
+ export const shiftRight = ([x, y, z], s) => [
61
+ U32.shiftRight(x, s),
62
+ U32.shiftRight(y, s),
63
+ U32.shiftRight(z, s),
64
+ ];
65
+ export const countLeadingZeros = ([x, y, z]) => [
66
+ U32.countLeadingZeros(x),
67
+ U32.countLeadingZeros(y),
68
+ U32.countLeadingZeros(z),
69
+ ];
70
+ export const countTrailingZeros = ([x, y, z]) => [
71
+ U32.countTrailingZeros(x),
72
+ U32.countTrailingZeros(y),
73
+ U32.countTrailingZeros(z),
74
+ ];
75
+ export const countOneBits = ([x, y, z]) => [
76
+ U32.countOneBits(x),
77
+ U32.countOneBits(y),
78
+ U32.countOneBits(z),
79
+ ];
80
+ export const reverseBits = ([x, y, z]) => [
81
+ U32.reverseBits(x),
82
+ U32.reverseBits(y),
83
+ U32.reverseBits(z),
84
+ ];
85
+ //# sourceMappingURL=functions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../../src/math/vec3/u32/functions.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAGvD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAEzC,MAAM,CAAC,MAAM,IAAI,GAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACxC,MAAM,CAAC,MAAM,GAAG,GAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAW,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAW,EAAY,EAAE,CAAC;IAC7E,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACf,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACf,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;CAClB,CAAC;AACF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAW,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAW,EAAY,EAAE,CAAC;IAClF,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACf,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;IACf,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC;CAClB,CAAC;AACF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAW,EAAE,CAAC,EAAE,EAAE,EAAE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AC,CAAC;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAW,EAAY,EAAE,CAAC;IAChE,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACxB,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACxB,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAW,EAAY,EAAE,CAAC;IACjE,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACzB,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACzB,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC;CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAW,EAAY,EAAE,CAAC;IAC3D,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IACnB,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IACnB,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;CACtB,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAW,EAAY,EAAE,CAAC;IAC1D,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAClB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;IAClB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;CACrB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const layout: import("../../../typed-buffer/index.js").StructLayout;
@@ -0,0 +1,5 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { getStructLayout } from "../../../typed-buffer/index.js";
3
+ import { schema } from "./schema.js";
4
+ export const layout = getStructLayout(schema);
5
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../../src/math/vec3/u32/layout.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./functions.js";
2
+ export * from "./layout.js";
3
+ export * from "./schema.js";
@@ -0,0 +1,5 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ export * from "./functions.js";
3
+ export * from "./layout.js";
4
+ export * from "./schema.js";
5
+ //# sourceMappingURL=public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/math/vec3/u32/public.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const schema: {
2
+ readonly type: "array";
3
+ readonly items: {
4
+ readonly type: "integer";
5
+ readonly minimum: 0;
6
+ readonly maximum: 4294967295;
7
+ readonly default: number;
8
+ };
9
+ readonly minItems: 3;
10
+ readonly maxItems: 3;
11
+ readonly default: readonly [0, 0, 0];
12
+ };
@@ -0,0 +1,10 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { U32 } from "../../u32/index.js";
3
+ export const schema = {
4
+ type: 'array',
5
+ items: U32.schema,
6
+ minItems: 3,
7
+ maxItems: 3,
8
+ default: [0, 0, 0],
9
+ };
10
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/math/vec3/u32/schema.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAGzC,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,GAAG,CAAC,MAAM;IACjB,QAAQ,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;CACK,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Schema } from "../../../schema/index.js";
2
+ import { schema } from "./schema.js";
3
+ export type U32 = Schema.ToType<typeof schema>;
4
+ export * as U32 from "./public.js";
@@ -0,0 +1,3 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ export * as U32 from "./public.js";
3
+ //# sourceMappingURL=u32.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"u32.js","sourceRoot":"","sources":["../../../../src/math/vec3/u32/u32.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAOvD,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Schema } from "../../../schema/index.js";
2
+ import { schema } from "./schema.js";
3
+ export type F32 = Schema.ToType<typeof schema>;
4
+ export * as F32 from "./public.js";
@@ -0,0 +1,3 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ export * as F32 from "./public.js";
3
+ //# sourceMappingURL=f32.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"f32.js","sourceRoot":"","sources":["../../../../src/math/vec4/f32/f32.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAOvD,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { F32 } from "./f32.js";
2
+ export declare const abs: ([x, y, z, w]: F32) => F32;
3
+ export declare const ceil: ([x, y, z, w]: F32) => F32;
4
+ export declare const floor: ([x, y, z, w]: F32) => F32;
5
+ export declare const round: ([x, y, z, w]: F32) => F32;
6
+ export declare const trunc: ([x, y, z, w]: F32) => F32;
7
+ export declare const min: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
8
+ export declare const max: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
9
+ export declare const clamp: (v: F32, minVec: F32, maxVec: F32) => F32;
10
+ export declare const mix: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32, t: number) => F32;
11
+ export declare const step: ([edge1, edge2, edge3, edge4]: F32, [x, y, z, w]: F32) => F32;
12
+ export declare const smoothstep: ([e0x, e0y, e0z, e0w]: F32, [e1x, e1y, e1z, e1w]: F32, [x, y, z, w]: F32) => F32;
13
+ export declare const length: ([x, y, z, w]: F32) => number;
14
+ export declare const distance: (a: F32, b: F32) => number;
15
+ export declare const dot: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => number;
16
+ export declare const normalize: (v: F32) => F32;
17
+ export declare const faceforward: (n: F32, i: F32, nref: F32) => F32;
18
+ export declare const reflect: (i: F32, n: F32) => F32;
19
+ export declare const refract: (i: F32, n: F32, eta: number) => F32;
20
+ export declare const sin: ([x, y, z, w]: F32) => F32;
21
+ export declare const cos: ([x, y, z, w]: F32) => F32;
22
+ export declare const tan: ([x, y, z, w]: F32) => F32;
23
+ export declare const asin: ([x, y, z, w]: F32) => F32;
24
+ export declare const acos: ([x, y, z, w]: F32) => F32;
25
+ export declare const atan: ([x, y, z, w]: F32) => F32;
26
+ export declare const sinh: ([x, y, z, w]: F32) => F32;
27
+ export declare const cosh: ([x, y, z, w]: F32) => F32;
28
+ export declare const tanh: ([x, y, z, w]: F32) => F32;
29
+ export declare const asinh: ([x, y, z, w]: F32) => F32;
30
+ export declare const acosh: ([x, y, z, w]: F32) => F32;
31
+ export declare const atanh: ([x, y, z, w]: F32) => F32;
32
+ export declare const sign: ([x, y, z, w]: F32) => F32;
33
+ export declare const fract: ([x, y, z, w]: F32) => F32;
34
+ export declare const mod: ([x, y, z, w]: F32, m: number) => F32;
35
+ export declare const modf: ([x, y, z, w]: F32) => {
36
+ fract: F32;
37
+ whole: F32;
38
+ };
39
+ export declare const pow: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
40
+ export declare const exp: ([x, y, z, w]: F32) => F32;
41
+ export declare const exp2: ([x, y, z, w]: F32) => F32;
42
+ export declare const log: ([x, y, z, w]: F32) => F32;
43
+ export declare const log2: ([x, y, z, w]: F32) => F32;
44
+ export declare const sqrt: ([x, y, z, w]: F32) => F32;
45
+ export declare const add: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
46
+ export declare const subtract: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
47
+ export declare const multiply: ([x1, y1, z1, w1]: F32, [x2, y2, z2, w2]: F32) => F32;
48
+ export declare const scale: ([x, y, z, w]: F32, s: number) => F32;
49
+ export declare const negate: ([x, y, z, w]: F32) => F32;
@@ -0,0 +1,130 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ // Mathematical Operations
3
+ export const abs = ([x, y, z, w]) => [Math.abs(x), Math.abs(y), Math.abs(z), Math.abs(w)];
4
+ export const ceil = ([x, y, z, w]) => [Math.ceil(x), Math.ceil(y), Math.ceil(z), Math.ceil(w)];
5
+ export const floor = ([x, y, z, w]) => [Math.floor(x), Math.floor(y), Math.floor(z), Math.floor(w)];
6
+ export const round = ([x, y, z, w]) => [Math.round(x), Math.round(y), Math.round(z), Math.round(w)];
7
+ export const trunc = ([x, y, z, w]) => [Math.trunc(x), Math.trunc(y), Math.trunc(z), Math.trunc(w)];
8
+ export const min = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
9
+ Math.min(x1, x2),
10
+ Math.min(y1, y2),
11
+ Math.min(z1, z2),
12
+ Math.min(w1, w2)
13
+ ];
14
+ export const max = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
15
+ Math.max(x1, x2),
16
+ Math.max(y1, y2),
17
+ Math.max(z1, z2),
18
+ Math.max(w1, w2)
19
+ ];
20
+ export const clamp = (v, minVec, maxVec) => min(max(v, minVec), maxVec);
21
+ export const mix = ([x1, y1, z1, w1], [x2, y2, z2, w2], t) => [
22
+ x1 * (1 - t) + x2 * t,
23
+ y1 * (1 - t) + y2 * t,
24
+ z1 * (1 - t) + z2 * t,
25
+ w1 * (1 - t) + w2 * t
26
+ ];
27
+ export const step = ([edge1, edge2, edge3, edge4], [x, y, z, w]) => [
28
+ x < edge1 ? 0 : 1,
29
+ y < edge2 ? 0 : 1,
30
+ z < edge3 ? 0 : 1,
31
+ w < edge4 ? 0 : 1
32
+ ];
33
+ export const smoothstep = ([e0x, e0y, e0z, e0w], [e1x, e1y, e1z, e1w], [x, y, z, w]) => {
34
+ const tx = Math.max(0, Math.min(1, (x - e0x) / (e1x - e0x)));
35
+ const ty = Math.max(0, Math.min(1, (y - e0y) / (e1y - e0y)));
36
+ const tz = Math.max(0, Math.min(1, (z - e0z) / (e1z - e0z)));
37
+ const tw = Math.max(0, Math.min(1, (w - e0w) / (e1w - e0w)));
38
+ return [
39
+ tx * tx * (3 - 2 * tx),
40
+ ty * ty * (3 - 2 * ty),
41
+ tz * tz * (3 - 2 * tz),
42
+ tw * tw * (3 - 2 * tw)
43
+ ];
44
+ };
45
+ // Geometric Functions
46
+ export const length = ([x, y, z, w]) => Math.sqrt(x * x + y * y + z * z + w * w);
47
+ export const distance = (a, b) => length(subtract(b, a));
48
+ export const dot = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => x1 * x2 + y1 * y2 + z1 * z2 + w1 * w2;
49
+ export const normalize = (v) => {
50
+ const len = length(v);
51
+ return len === 0 ? [0, 0, 0, 0] : scale(v, 1 / len);
52
+ };
53
+ export const faceforward = (n, i, nref) => dot(nref, i) < 0 ? n : negate(n);
54
+ export const reflect = (i, n) => {
55
+ const dot2 = dot(n, i) * 2;
56
+ return subtract(i, scale(n, dot2));
57
+ };
58
+ export const refract = (i, n, eta) => {
59
+ const dotProduct = dot(n, i);
60
+ const k = 1.0 - eta * eta * (1.0 - dotProduct * dotProduct);
61
+ if (k < 0.0) {
62
+ return [0, 0, 0, 0];
63
+ }
64
+ const scaleFactor = eta * dotProduct + Math.sqrt(k);
65
+ return subtract(scale(i, eta), scale(n, scaleFactor));
66
+ };
67
+ // Trigonometric Functions
68
+ export const sin = ([x, y, z, w]) => [Math.sin(x), Math.sin(y), Math.sin(z), Math.sin(w)];
69
+ export const cos = ([x, y, z, w]) => [Math.cos(x), Math.cos(y), Math.cos(z), Math.cos(w)];
70
+ export const tan = ([x, y, z, w]) => [Math.tan(x), Math.tan(y), Math.tan(z), Math.tan(w)];
71
+ export const asin = ([x, y, z, w]) => [Math.asin(x), Math.asin(y), Math.asin(z), Math.asin(w)];
72
+ export const acos = ([x, y, z, w]) => [Math.acos(x), Math.acos(y), Math.acos(z), Math.acos(w)];
73
+ export const atan = ([x, y, z, w]) => [Math.atan(x), Math.atan(y), Math.atan(z), Math.atan(w)];
74
+ export const sinh = ([x, y, z, w]) => [Math.sinh(x), Math.sinh(y), Math.sinh(z), Math.sinh(w)];
75
+ export const cosh = ([x, y, z, w]) => [Math.cosh(x), Math.cosh(y), Math.cosh(z), Math.cosh(w)];
76
+ export const tanh = ([x, y, z, w]) => [Math.tanh(x), Math.tanh(y), Math.tanh(z), Math.tanh(w)];
77
+ export const asinh = ([x, y, z, w]) => [Math.asinh(x), Math.asinh(y), Math.asinh(z), Math.asinh(w)];
78
+ export const acosh = ([x, y, z, w]) => [Math.acosh(x), Math.acosh(y), Math.acosh(z), Math.acosh(w)];
79
+ export const atanh = ([x, y, z, w]) => [Math.atanh(x), Math.atanh(y), Math.atanh(z), Math.atanh(w)];
80
+ // Common Functions
81
+ export const sign = ([x, y, z, w]) => [Math.sign(x), Math.sign(y), Math.sign(z), Math.sign(w)];
82
+ export const fract = ([x, y, z, w]) => [
83
+ x - Math.floor(x),
84
+ y - Math.floor(y),
85
+ z - Math.floor(z),
86
+ w - Math.floor(w)
87
+ ];
88
+ export const mod = ([x, y, z, w], m) => [
89
+ ((x % m) + m) % m,
90
+ ((y % m) + m) % m,
91
+ ((z % m) + m) % m,
92
+ ((w % m) + m) % m
93
+ ];
94
+ export const modf = ([x, y, z, w]) => ({
95
+ whole: [Math.trunc(x), Math.trunc(y), Math.trunc(z), Math.trunc(w)],
96
+ fract: [x - Math.trunc(x), y - Math.trunc(y), z - Math.trunc(z), w - Math.trunc(w)]
97
+ });
98
+ export const pow = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
99
+ Math.pow(x1, x2),
100
+ Math.pow(y1, y2),
101
+ Math.pow(z1, z2),
102
+ Math.pow(w1, w2)
103
+ ];
104
+ export const exp = ([x, y, z, w]) => [Math.exp(x), Math.exp(y), Math.exp(z), Math.exp(w)];
105
+ export const exp2 = ([x, y, z, w]) => [Math.pow(2, x), Math.pow(2, y), Math.pow(2, z), Math.pow(2, w)];
106
+ export const log = ([x, y, z, w]) => [Math.log(x), Math.log(y), Math.log(z), Math.log(w)];
107
+ export const log2 = ([x, y, z, w]) => [Math.log2(x), Math.log2(y), Math.log2(z), Math.log2(w)];
108
+ export const sqrt = ([x, y, z, w]) => [Math.sqrt(x), Math.sqrt(y), Math.sqrt(z), Math.sqrt(w)];
109
+ // Helper functions needed by some of the above
110
+ export const add = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
111
+ x1 + x2,
112
+ y1 + y2,
113
+ z1 + z2,
114
+ w1 + w2
115
+ ];
116
+ export const subtract = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
117
+ x1 - x2,
118
+ y1 - y2,
119
+ z1 - z2,
120
+ w1 - w2
121
+ ];
122
+ export const multiply = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
123
+ x1 * x2,
124
+ y1 * y2,
125
+ z1 * z2,
126
+ w1 * w2
127
+ ];
128
+ export const scale = ([x, y, z, w], s) => [x * s, y * s, z * s, w * s];
129
+ export const negate = ([x, y, z, w]) => [-x, -y, -z, -w];
130
+ //# sourceMappingURL=functions.js.map
@@ -0,0 +1 @@
1
+ {"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AG,EAAE;IACP,EAAE,GAAG,EAAE;CACV,CAAC;AACF,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAM,EAAE,CAAS,EAAO,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAM,EAAO,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const layout: import("../../../typed-buffer/index.js").StructLayout;
@@ -0,0 +1,5 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { getStructLayout } from "../../../typed-buffer/index.js";
3
+ import { schema } from "./schema.js";
4
+ export const layout = getStructLayout(schema);
5
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","sourceRoot":"","sources":["../../../../src/math/vec4/f32/layout.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./functions.js";
2
+ export * from "./layout.js";
3
+ export * from "./schema.js";
@@ -0,0 +1,5 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ export * from "./functions.js";
3
+ export * from "./layout.js";
4
+ export * from "./schema.js";
5
+ //# sourceMappingURL=public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../../src/math/vec4/f32/public.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const schema: {
2
+ readonly type: "array";
3
+ readonly items: {
4
+ readonly type: "number";
5
+ readonly precision: 1;
6
+ readonly default: number;
7
+ };
8
+ readonly minItems: 4;
9
+ readonly maxItems: 4;
10
+ readonly default: readonly [0, 0, 0, 0];
11
+ };
@@ -0,0 +1,10 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { F32 } from "../../f32/index.js";
3
+ export const schema = {
4
+ type: 'array',
5
+ items: F32.schema,
6
+ minItems: 4,
7
+ maxItems: 4,
8
+ default: [0, 0, 0, 0],
9
+ };
10
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/math/vec4/f32/schema.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAGzC,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,GAAG,CAAC,MAAM;IACjB,QAAQ,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;CACE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { I32 as Vec4_I32 } from "./i32.js";
2
+ export declare const zero: Vec4_I32;
3
+ export declare const one: Vec4_I32;
4
+ export declare const abs: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
5
+ export declare const add: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
6
+ export declare const subtract: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
7
+ export declare const multiply: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
8
+ export declare const scale: ([x, y, z, w]: Vec4_I32, s: number) => Vec4_I32;
9
+ export declare const negate: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
10
+ export declare const min: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
11
+ export declare const max: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
12
+ export declare const clamp: (v: Vec4_I32, minVec: Vec4_I32, maxVec: Vec4_I32) => Vec4_I32;
13
+ export declare const equals: (a: Vec4_I32, b: Vec4_I32) => boolean;
14
+ export declare const bitwiseAnd: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
15
+ export declare const bitwiseOr: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
16
+ export declare const bitwiseXor: ([x1, y1, z1, w1]: Vec4_I32, [x2, y2, z2, w2]: Vec4_I32) => Vec4_I32;
17
+ export declare const bitwiseNot: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
18
+ export declare const shiftLeft: ([x, y, z, w]: Vec4_I32, s: number) => Vec4_I32;
19
+ export declare const shiftRight: ([x, y, z, w]: Vec4_I32, s: number) => Vec4_I32;
20
+ export declare const countLeadingZeros: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
21
+ export declare const countTrailingZeros: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
22
+ export declare const countOneBits: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
23
+ export declare const reverseBits: ([x, y, z, w]: Vec4_I32) => Vec4_I32;
@@ -0,0 +1,91 @@
1
+ // © 2026 Adobe. MIT License. See /LICENSE for details.
2
+ import { I32 } from "../../i32/index.js";
3
+ import { U32 } from "../../u32/index.js";
4
+ export const zero = [0, 0, 0, 0];
5
+ export const one = [1, 1, 1, 1];
6
+ export const abs = ([x, y, z, w]) => [Math.abs(x), Math.abs(y), Math.abs(z), Math.abs(w)];
7
+ export const add = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
8
+ x1 + x2,
9
+ y1 + y2,
10
+ z1 + z2,
11
+ w1 + w2,
12
+ ];
13
+ export const subtract = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
14
+ x1 - x2,
15
+ y1 - y2,
16
+ z1 - z2,
17
+ w1 - w2,
18
+ ];
19
+ export const multiply = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
20
+ x1 * x2,
21
+ y1 * y2,
22
+ z1 * z2,
23
+ w1 * w2,
24
+ ];
25
+ export const scale = ([x, y, z, w], s) => [x * s, y * s, z * s, w * s];
26
+ export const negate = ([x, y, z, w]) => [-x, -y, -z, -w];
27
+ export const min = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
28
+ Math.min(x1, x2),
29
+ Math.min(y1, y2),
30
+ Math.min(z1, z2),
31
+ Math.min(w1, w2),
32
+ ];
33
+ export const max = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
34
+ Math.max(x1, x2),
35
+ Math.max(y1, y2),
36
+ Math.max(z1, z2),
37
+ Math.max(w1, w2),
38
+ ];
39
+ export const clamp = (v, minVec, maxVec) => min(max(v, minVec), maxVec);
40
+ export const equals = (a, b) => a[0] === b[0] && a[1] === b[1] && a[2] === b[2] && a[3] === b[3];
41
+ export const bitwiseAnd = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
42
+ x1 & x2,
43
+ y1 & y2,
44
+ z1 & z2,
45
+ w1 & w2,
46
+ ];
47
+ export const bitwiseOr = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
48
+ x1 | x2,
49
+ y1 | y2,
50
+ z1 | z2,
51
+ w1 | w2,
52
+ ];
53
+ export const bitwiseXor = ([x1, y1, z1, w1], [x2, y2, z2, w2]) => [
54
+ x1 ^ x2,
55
+ y1 ^ y2,
56
+ z1 ^ z2,
57
+ w1 ^ w2,
58
+ ];
59
+ export const bitwiseNot = ([x, y, z, w]) => [~x, ~y, ~z, ~w];
60
+ export const shiftLeft = ([x, y, z, w], s) => [x << s, y << s, z << s, w << s];
61
+ export const shiftRight = ([x, y, z, w], s) => [
62
+ I32.shiftRight(x, s),
63
+ I32.shiftRight(y, s),
64
+ I32.shiftRight(z, s),
65
+ I32.shiftRight(w, s),
66
+ ];
67
+ export const countLeadingZeros = ([x, y, z, w]) => [
68
+ U32.countLeadingZeros(x),
69
+ U32.countLeadingZeros(y),
70
+ U32.countLeadingZeros(z),
71
+ U32.countLeadingZeros(w),
72
+ ];
73
+ export const countTrailingZeros = ([x, y, z, w]) => [
74
+ U32.countTrailingZeros(x),
75
+ U32.countTrailingZeros(y),
76
+ U32.countTrailingZeros(z),
77
+ U32.countTrailingZeros(w),
78
+ ];
79
+ export const countOneBits = ([x, y, z, w]) => [
80
+ U32.countOneBits(x),
81
+ U32.countOneBits(y),
82
+ U32.countOneBits(z),
83
+ U32.countOneBits(w),
84
+ ];
85
+ export const reverseBits = ([x, y, z, w]) => [
86
+ U32.reverseBits(x),
87
+ U32.reverseBits(y),
88
+ U32.reverseBits(z),
89
+ U32.reverseBits(w),
90
+ ];
91
+ //# sourceMappingURL=functions.js.map