@adobe/data 0.7.0 → 0.7.3

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 (229) hide show
  1. package/dist/ecs/archetype/archetype.d.ts +3 -3
  2. package/dist/ecs/archetype/create-archetype.d.ts +4 -4
  3. package/dist/ecs/archetype/create-archetype.js.map +1 -1
  4. package/dist/ecs/archetype/create-archetype.test.js +6 -6
  5. package/dist/ecs/archetype/create-archetype.test.js.map +1 -1
  6. package/dist/ecs/archetype/delete-row.d.ts +2 -2
  7. package/dist/ecs/archetype/delete-row.js.map +1 -1
  8. package/dist/ecs/archetype/delete-row.test.js +4 -4
  9. package/dist/ecs/archetype/delete-row.test.js.map +1 -1
  10. package/dist/ecs/core-components.d.ts +3 -3
  11. package/dist/ecs/database/database.d.ts +4 -4
  12. package/dist/ecs/database/index.d.ts +1 -0
  13. package/dist/ecs/database/index.js +1 -0
  14. package/dist/ecs/database/index.js.map +1 -1
  15. package/dist/ecs/database/observe-select-entities.d.ts +2 -2
  16. package/dist/ecs/database/observe-select-entities.js.map +1 -1
  17. package/dist/ecs/database/observed/create-observed-database.js.map +1 -1
  18. package/dist/ecs/database/observed/observed-database.d.ts +3 -3
  19. package/dist/ecs/database/replicate.d.ts +9 -0
  20. package/dist/ecs/database/replicate.js +66 -0
  21. package/dist/ecs/database/replicate.js.map +1 -0
  22. package/dist/ecs/database/replicate.test.js +235 -0
  23. package/dist/ecs/database/replicate.test.js.map +1 -0
  24. package/dist/ecs/database/transactional-store/create-transactional-store.test.js +20 -0
  25. package/dist/ecs/database/transactional-store/create-transactional-store.test.js.map +1 -1
  26. package/dist/ecs/database/transactional-store/patch-entity-values.js +4 -1
  27. package/dist/ecs/database/transactional-store/patch-entity-values.js.map +1 -1
  28. package/dist/ecs/entity-location-table/create-entity-location-table.d.ts +1 -1
  29. package/dist/ecs/entity-location-table/create-entity-location-table.js +14 -1
  30. package/dist/ecs/entity-location-table/create-entity-location-table.js.map +1 -1
  31. package/dist/ecs/entity-location-table/create-entity-location-table.test.js +14 -0
  32. package/dist/ecs/entity-location-table/create-entity-location-table.test.js.map +1 -1
  33. package/dist/ecs/entity.d.ts +9 -7
  34. package/dist/ecs/entity.js +5 -2
  35. package/dist/ecs/entity.js.map +1 -1
  36. package/dist/ecs/index.d.ts +1 -1
  37. package/dist/ecs/index.js +1 -1
  38. package/dist/ecs/index.js.map +1 -1
  39. package/dist/ecs/optional-components.d.ts +3 -0
  40. package/dist/ecs/optional-components.js +2 -0
  41. package/dist/ecs/optional-components.js.map +1 -0
  42. package/dist/ecs/required-components.d.ts +4 -0
  43. package/dist/ecs/required-components.js +2 -0
  44. package/dist/ecs/required-components.js.map +1 -0
  45. package/dist/ecs/store/core/core.d.ts +15 -15
  46. package/dist/ecs/store/core/create-core.d.ts +2 -1
  47. package/dist/ecs/store/core/create-core.js +34 -14
  48. package/dist/ecs/store/core/create-core.js.map +1 -1
  49. package/dist/ecs/store/core/create-core.test.d.ts +1 -1
  50. package/dist/ecs/store/core/create-core.test.js +30 -2
  51. package/dist/ecs/store/core/create-core.test.js.map +1 -1
  52. package/dist/ecs/store/core/select-entities.d.ts +2 -2
  53. package/dist/ecs/store/core/select-entities.js.map +1 -1
  54. package/dist/ecs/store/create-store.d.ts +2 -1
  55. package/dist/ecs/store/create-store.js +3 -1
  56. package/dist/ecs/store/create-store.js.map +1 -1
  57. package/dist/ecs/store/store.d.ts +6 -6
  58. package/dist/samples/todo/services/state-service/create-todo-database.d.ts +2 -2
  59. package/dist/samples/todo/services/state-service/create-todo-store.d.ts +2 -2
  60. package/dist/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +4 -3
  62. package/dist/blob/download-handle.d.ts +0 -4
  63. package/dist/blob/download-handle.js +0 -2
  64. package/dist/blob/download-handle.js.map +0 -1
  65. package/dist/blob/upload-handle.d.ts +0 -4
  66. package/dist/blob/upload-handle.js +0 -2
  67. package/dist/blob/upload-handle.js.map +0 -1
  68. package/dist/ecs/database/transactional-store/entity-id-preservation.test.js +0 -106
  69. package/dist/ecs/database/transactional-store/entity-id-preservation.test.js.map +0 -1
  70. package/dist/ecs/entity/entity.d.ts +0 -8
  71. package/dist/ecs/entity/entity.js +0 -3
  72. package/dist/ecs/entity/entity.js.map +0 -1
  73. package/dist/ecs/entity/u32.d.ts +0 -8
  74. package/dist/ecs/entity/u32.js +0 -24
  75. package/dist/ecs/entity/u32.js.map +0 -1
  76. package/dist/ecs/store/store-schema/create-store-schema-test.d.ts +0 -1
  77. package/dist/ecs/store/store-schema/create-store-schema-test.js +0 -33
  78. package/dist/ecs/store/store-schema/create-store-schema-test.js.map +0 -1
  79. package/dist/ecs/store/store-schema/create-store-schema.d.ts +0 -1
  80. package/dist/ecs/store/store-schema/create-store-schema.js +0 -45
  81. package/dist/ecs/store/store-schema/create-store-schema.js.map +0 -1
  82. package/dist/ecs/store/store-schema/index.d.ts +0 -1
  83. package/dist/ecs/store/store-schema/index.js +0 -21
  84. package/dist/ecs/store/store-schema/index.js.map +0 -1
  85. package/dist/ecs/store/store-schema/store-schema.d.ts +0 -1
  86. package/dist/ecs/store/store-schema/store-schema.js +0 -57
  87. package/dist/ecs/store/store-schema/store-schema.js.map +0 -1
  88. package/dist/ecs/world/create-world.d.ts +0 -7
  89. package/dist/ecs/world/create-world.js +0 -113
  90. package/dist/ecs/world/create-world.js.map +0 -1
  91. package/dist/ecs/world/create-world.test.d.ts +0 -1
  92. package/dist/ecs/world/create-world.test.js +0 -499
  93. package/dist/ecs/world/create-world.test.js.map +0 -1
  94. package/dist/ecs/world/index.d.ts +0 -5
  95. package/dist/ecs/world/index.js +0 -27
  96. package/dist/ecs/world/index.js.map +0 -1
  97. package/dist/ecs/world/system-phase.d.ts +0 -5
  98. package/dist/ecs/world/system-phase.js +0 -14
  99. package/dist/ecs/world/system-phase.js.map +0 -1
  100. package/dist/ecs/world/system.d.ts +0 -25
  101. package/dist/ecs/world/system.js +0 -2
  102. package/dist/ecs/world/system.js.map +0 -1
  103. package/dist/ecs/world/world-schema/create-world-schema-test.d.ts +0 -1
  104. package/dist/ecs/world/world-schema/create-world-schema-test.js +0 -55
  105. package/dist/ecs/world/world-schema/create-world-schema-test.js.map +0 -1
  106. package/dist/ecs/world/world-schema/create-world-schema.d.ts +0 -19
  107. package/dist/ecs/world/world-schema/create-world-schema.js +0 -33
  108. package/dist/ecs/world/world-schema/create-world-schema.js.map +0 -1
  109. package/dist/ecs/world/world-schema/index.d.ts +0 -2
  110. package/dist/ecs/world/world-schema/index.js +0 -24
  111. package/dist/ecs/world/world-schema/index.js.map +0 -1
  112. package/dist/ecs/world/world-schema/world-schema.d.ts +0 -18
  113. package/dist/ecs/world/world-schema/world-schema.js +0 -23
  114. package/dist/ecs/world/world-schema/world-schema.js.map +0 -1
  115. package/dist/ecs/world/world.d.ts +0 -11
  116. package/dist/ecs/world/world.js +0 -2
  117. package/dist/ecs/world/world.js.map +0 -1
  118. package/dist/graphics/camera/camera.d.ts +0 -62
  119. package/dist/graphics/camera/camera.js +0 -17
  120. package/dist/graphics/camera/camera.js.map +0 -1
  121. package/dist/graphics/camera/index.d.ts +0 -4
  122. package/dist/graphics/camera/index.js +0 -5
  123. package/dist/graphics/camera/index.js.map +0 -1
  124. package/dist/graphics/camera/screen-to-world-ray.d.ts +0 -12
  125. package/dist/graphics/camera/screen-to-world-ray.js +0 -49
  126. package/dist/graphics/camera/screen-to-world-ray.js.map +0 -1
  127. package/dist/graphics/camera/screen-to-world-ray.test.d.ts +0 -1
  128. package/dist/graphics/camera/screen-to-world-ray.test.js +0 -171
  129. package/dist/graphics/camera/screen-to-world-ray.test.js.map +0 -1
  130. package/dist/graphics/camera/to-view-projection.d.ts +0 -3
  131. package/dist/graphics/camera/to-view-projection.js +0 -8
  132. package/dist/graphics/camera/to-view-projection.js.map +0 -1
  133. package/dist/graphics/camera/world-to-screen.d.ts +0 -12
  134. package/dist/graphics/camera/world-to-screen.js +0 -38
  135. package/dist/graphics/camera/world-to-screen.js.map +0 -1
  136. package/dist/graphics/camera/world-to-screen.test.d.ts +0 -1
  137. package/dist/graphics/camera/world-to-screen.test.js +0 -124
  138. package/dist/graphics/camera/world-to-screen.test.js.map +0 -1
  139. package/dist/graphics/create-struct-gpu-buffer.d.ts +0 -7
  140. package/dist/graphics/create-struct-gpu-buffer.js +0 -17
  141. package/dist/graphics/create-struct-gpu-buffer.js.map +0 -1
  142. package/dist/graphics/extract-wgsl-bindings.d.ts +0 -5
  143. package/dist/graphics/extract-wgsl-bindings.js +0 -10
  144. package/dist/graphics/extract-wgsl-bindings.js.map +0 -1
  145. package/dist/graphics/frame.d.ts +0 -1
  146. package/dist/graphics/frame.js +0 -15
  147. package/dist/graphics/frame.js.map +0 -1
  148. package/dist/graphics/get-web-gpu-device-and-context.d.ts +0 -1
  149. package/dist/graphics/get-web-gpu-device-and-context.js +0 -24
  150. package/dist/graphics/get-web-gpu-device-and-context.js.map +0 -1
  151. package/dist/graphics/graphics-context.d.ts +0 -1
  152. package/dist/graphics/graphics-context.js +0 -7
  153. package/dist/graphics/graphics-context.js.map +0 -1
  154. package/dist/graphics/index.d.ts +0 -5
  155. package/dist/graphics/index.js +0 -5
  156. package/dist/graphics/index.js.map +0 -1
  157. package/dist/graphics/to-gpu-buffer.d.ts +0 -2
  158. package/dist/graphics/to-gpu-buffer.js +0 -14
  159. package/dist/graphics/to-gpu-buffer.js.map +0 -1
  160. package/dist/internal/array-buffer-like/grow.d.ts +0 -1
  161. package/dist/internal/array-buffer-like/grow.js +0 -9
  162. package/dist/internal/array-buffer-like/grow.js.map +0 -1
  163. package/dist/math/aabb-face/face.d.ts +0 -51
  164. package/dist/math/aabb-face/face.js +0 -110
  165. package/dist/math/aabb-face/face.js.map +0 -1
  166. package/dist/math/aabb-face/face.test.d.ts +0 -1
  167. package/dist/math/aabb-face/face.test.js +0 -94
  168. package/dist/math/aabb-face/face.test.js.map +0 -1
  169. package/dist/math/box/box.d.ts +0 -50
  170. package/dist/math/box/box.js +0 -23
  171. package/dist/math/box/box.js.map +0 -1
  172. package/dist/math/face/face.d.ts +0 -51
  173. package/dist/math/face/face.js +0 -110
  174. package/dist/math/face/face.js.map +0 -1
  175. package/dist/math/face/face.test.d.ts +0 -1
  176. package/dist/math/face/face.test.js +0 -94
  177. package/dist/math/face/face.test.js.map +0 -1
  178. package/dist/math/picking/face.d.ts +0 -1
  179. package/dist/math/picking/face.js +0 -2
  180. package/dist/math/picking/face.js.map +0 -1
  181. package/dist/math/picking/get-closest-entity-to-line.d.ts +0 -4
  182. package/dist/math/picking/get-closest-entity-to-line.js +0 -30
  183. package/dist/math/picking/get-closest-entity-to-line.js.map +0 -1
  184. package/dist/math/picking/get-closest-entity-to-point.d.ts +0 -4
  185. package/dist/math/picking/get-closest-entity-to-point.js +0 -27
  186. package/dist/math/picking/get-closest-entity-to-point.js.map +0 -1
  187. package/dist/math/picking/get-intersecting-entities.d.ts +0 -12
  188. package/dist/math/picking/get-intersecting-entities.js +0 -15
  189. package/dist/math/picking/get-intersecting-entities.js.map +0 -1
  190. package/dist/math/picking/getClosestEntityToLine.d.ts +0 -4
  191. package/dist/math/picking/getClosestEntityToLine.js +0 -29
  192. package/dist/math/picking/getClosestEntityToLine.js.map +0 -1
  193. package/dist/math/picking/getClosestEntityToPoint.d.ts +0 -4
  194. package/dist/math/picking/getClosestEntityToPoint.js +0 -27
  195. package/dist/math/picking/getClosestEntityToPoint.js.map +0 -1
  196. package/dist/math/picking/getIntersectingEntities.d.ts +0 -12
  197. package/dist/math/picking/getIntersectingEntities.js +0 -15
  198. package/dist/math/picking/getIntersectingEntities.js.map +0 -1
  199. package/dist/math/picking/index.d.ts +0 -5
  200. package/dist/math/picking/index.js +0 -27
  201. package/dist/math/picking/index.js.map +0 -1
  202. package/dist/math/picking/pick-from-tables.d.ts +0 -19
  203. package/dist/math/picking/pick-from-tables.js +0 -63
  204. package/dist/math/picking/pick-from-tables.js.map +0 -1
  205. package/dist/math/picking/pick-result.d.ts +0 -12
  206. package/dist/math/picking/pick-result.js +0 -23
  207. package/dist/math/picking/pick-result.js.map +0 -1
  208. package/dist/math/transform/debug-inverse.d.ts +0 -1
  209. package/dist/math/transform/debug-inverse.js +0 -28
  210. package/dist/math/transform/debug-inverse.js.map +0 -1
  211. package/dist/math/transform/debug-quat.d.ts +0 -1
  212. package/dist/math/transform/debug-quat.js +0 -23
  213. package/dist/math/transform/debug-quat.js.map +0 -1
  214. package/dist/math/transform/debug-test.d.ts +0 -1
  215. package/dist/math/transform/debug-test.js +0 -34
  216. package/dist/math/transform/debug-test.js.map +0 -1
  217. package/dist/math/transform/transform.d.ts +0 -58
  218. package/dist/math/transform/transform.js +0 -101
  219. package/dist/math/transform/transform.js.map +0 -1
  220. package/dist/math/transform/transform.test.d.ts +0 -1
  221. package/dist/math/transform/transform.test.js +0 -309
  222. package/dist/math/transform/transform.test.js.map +0 -1
  223. package/dist/old-ecs/privacy/helper-functions.d.ts +0 -43
  224. package/dist/old-ecs/privacy/helper-functions.js +0 -76
  225. package/dist/old-ecs/privacy/helper-functions.js.map +0 -1
  226. package/dist/old-ecs/privacy/helper-functions.test.d.ts +0 -1
  227. package/dist/old-ecs/privacy/helper-functions.test.js +0 -173
  228. package/dist/old-ecs/privacy/helper-functions.test.js.map +0 -1
  229. /package/dist/ecs/database/{transactional-store/entity-id-preservation.test.d.ts → replicate.test.d.ts} +0 -0
@@ -1,27 +0,0 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
22
- export * from "./pick-from-tables.js";
23
- export * from "./pick-result.js";
24
- export * from "./get-closest-entity-to-point.js";
25
- export * from "./get-closest-entity-to-line.js";
26
- export * from "./get-intersecting-entities.js";
27
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/math/picking/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC"}
@@ -1,19 +0,0 @@
1
- import { Table } from "../../table/index.js";
2
- import { Aabb } from "../index.js";
3
- import { Line3 } from "../index.js";
4
- import { Entity } from "../../ecs/index.js";
5
- import { PickResult } from "./pick-result.js";
6
- /**
7
- * Picks the closest intersecting row from a table.
8
- * This would be the broad phase picking step.
9
- * @returns The entity id and picked position, or null if no entity is found.
10
- */
11
- export declare function pickFromTables<T extends Table<{
12
- id: Entity;
13
- boundingBox: Aabb;
14
- }>>(options: {
15
- tables: readonly T[];
16
- line: Line3;
17
- radius?: number;
18
- predicate?: (table: T, row: number) => boolean;
19
- }): PickResult | null;
@@ -1,63 +0,0 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
22
- import { Aabb } from "../index.js";
23
- import { Line3 } from "../index.js";
24
- import { getIntersectingEntities } from "./get-intersecting-entities.js";
25
- import { getClosestEntityToPoint } from "./get-closest-entity-to-point.js";
26
- import { getClosestEntityToLine } from "./get-closest-entity-to-line.js";
27
- /**
28
- * Picks the closest intersecting row from a table.
29
- * This would be the broad phase picking step.
30
- * @returns The entity id and picked position, or null if no entity is found.
31
- */
32
- export function pickFromTables(options) {
33
- const { tables, line, radius = 0, predicate } = options;
34
- let rows = getIntersectingEntities({ tables, line, radius: 0, predicate });
35
- if (rows.size > 0) {
36
- // For direct intersection, find the alpha for the closest intersecting entity
37
- let best = null;
38
- for (const [id, aabb] of rows) {
39
- const alpha = Aabb.lineIntersection(aabb, line, 0);
40
- if (alpha !== -1 && (best === null || alpha < best.alpha)) {
41
- best = { id, alpha };
42
- }
43
- }
44
- if (best) {
45
- return {
46
- entity: best.id,
47
- lineAlpha: best.alpha,
48
- worldPosition: Line3.interpolate(line, best.alpha),
49
- // face: AabbFace.fromPosition(Line3.interpolate(line, best.alpha), rows.get(best.id)!),
50
- };
51
- }
52
- // fallback (should not happen):
53
- return getClosestEntityToPoint(rows, line.a);
54
- }
55
- else if (radius > 0) {
56
- rows = getIntersectingEntities({ tables, line, radius, predicate });
57
- if (rows.size > 0) {
58
- return getClosestEntityToLine(rows, line);
59
- }
60
- }
61
- return null;
62
- }
63
- //# sourceMappingURL=pick-from-tables.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pick-from-tables.js","sourceRoot":"","sources":["../../../src/math/picking/pick-from-tables.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAGX,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAqD,OAKlF;IACG,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IACxD,IAAI,IAAI,GAAG,uBAAuB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;IAC3E,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;QAChB,8EAA8E;QAC9E,IAAI,IAAI,GAAyC,IAAI,CAAC;QACtD,KAAK,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;YAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;YACnD,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBACxD,IAAI,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC;YACzB,CAAC;QACL,CAAC;QACD,IAAI,IAAI,EAAE,CAAC;YACP,OAAO;gBACH,MAAM,EAAE,IAAI,CAAC,EAAE;gBACf,SAAS,EAAE,IAAI,CAAC,KAAK;gBACrB,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC;gBAClD,wFAAwF;aAC3F,CAAC;QACN,CAAC;QACD,gCAAgC;QAChC,OAAO,uBAAuB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC;SAAM,IAAI,MAAM,GAAG,CAAC,EAAE,CAAC;QACpB,IAAI,GAAG,uBAAuB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;YAChB,OAAO,sBAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { Entity } from "../../ecs/index.js";
2
- import { Vec3 } from "../index.js";
3
- export interface PickResult {
4
- /** The entity that was picked. */
5
- entity: Entity;
6
- /** Alpha value (0-1) along the picking line where the intersection/closest point occurs. */
7
- lineAlpha: number;
8
- /** World-space position of the picked entity. */
9
- worldPosition: Vec3;
10
- /** Model-space position on the picked entity. */
11
- modelPosition?: Vec3;
12
- }
@@ -1,23 +0,0 @@
1
- /*MIT License
2
-
3
- © Copyright 2025 Adobe. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.*/
22
- export {};
23
- //# sourceMappingURL=pick-result.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pick-result.js","sourceRoot":"","sources":["../../../src/math/picking/pick-result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,28 +0,0 @@
1
- import { Transform } from "./transform.js";
2
- import { Quat } from "../quat/quat.js";
3
- const transform = {
4
- position: [5, -3, 7],
5
- rotation: Quat.fromAxisAngle([1, 1, 0], Math.PI / 4),
6
- scale: [2, 0.5, 3],
7
- };
8
- const point = [1, 2, 3];
9
- console.log("Original point:", point);
10
- const transformed = Transform.transform(transform, point);
11
- console.log("Transformed:", transformed);
12
- const inverted = Transform.transformInverse(transform, transformed);
13
- console.log("Inverted back:", inverted);
14
- console.log("Difference:", [
15
- inverted[0] - point[0],
16
- inverted[1] - point[1],
17
- inverted[2] - point[2]
18
- ]);
19
- // Test just the rotation part
20
- console.log("\n=== Testing rotation ===");
21
- const rotated = Quat.rotateVec3(transform.rotation, point);
22
- console.log("Rotated:", rotated);
23
- const conjugate = Quat.conjugate(transform.rotation);
24
- console.log("Conjugate quat:", conjugate);
25
- const rotatedBack = Quat.rotateVec3(conjugate, rotated);
26
- console.log("Rotated back:", rotatedBack);
27
- console.log("Should equal original:", point);
28
- //# sourceMappingURL=debug-inverse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-inverse.js","sourceRoot":"","sources":["../../../src/math/transform/debug-inverse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,MAAM,SAAS,GAAc;IACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IACpB,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;CACrB,CAAC;AAEF,MAAM,KAAK,GAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE9B,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;AAEtC,MAAM,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAC1D,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;AAEzC,MAAM,QAAQ,GAAG,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AACpE,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC;AAExC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE;IACvB,QAAQ,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IACtB,QAAQ,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IACtB,QAAQ,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;CACzB,CAAC,CAAC;AAEH,8BAA8B;AAC9B,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;AAC1C,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC3D,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAEjC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACrD,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,SAAS,CAAC,CAAC;AAC1C,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AACxD,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AAC1C,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- import { Quat } from "../quat/quat.js";
2
- import { Vec3 } from "../vec3/vec3.js";
3
- // Test with normalized axis
4
- const axis = [1, 1, 0];
5
- const normalizedAxis = Vec3.normalize(axis);
6
- console.log("Axis:", axis);
7
- console.log("Normalized:", normalizedAxis);
8
- const quat = Quat.fromAxisAngle(normalizedAxis, Math.PI / 4);
9
- console.log("Quaternion:", quat);
10
- console.log("Length:", Quat.length(quat));
11
- const point = [1, 2, 3];
12
- const rotated = Quat.rotateVec3(quat, point);
13
- console.log("\nRotated:", rotated);
14
- const conjugate = Quat.conjugate(quat);
15
- const back = Quat.rotateVec3(conjugate, rotated);
16
- console.log("Rotated back:", back);
17
- console.log("Original:", point);
18
- console.log("Difference:", [
19
- back[0] - point[0],
20
- back[1] - point[1],
21
- back[2] - point[2]
22
- ]);
23
- //# sourceMappingURL=debug-quat.js.map
@@ -1 +0,0 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,EAAE;IACvB,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAClB,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAClB,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;CACrB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,34 +0,0 @@
1
- import { Transform } from "./transform.js";
2
- import { Vec3 } from "../vec3/vec3.js";
3
- import { Quat } from "../quat/quat.js";
4
- import { Mat4x4 } from "../mat4x4/mat4x4.js";
5
- // Simple rotation test
6
- const transform = {
7
- position: Vec3.zero,
8
- rotation: Quat.fromAxisAngle([0, 0, 1], Math.PI / 2),
9
- scale: Vec3.one,
10
- };
11
- const point = [1, 2, 3];
12
- console.log("Transform:", transform);
13
- console.log("Point:", point);
14
- console.log("");
15
- // Direct method
16
- const directResult = Transform.transform(transform, point);
17
- console.log("Direct result:", directResult);
18
- // Matrix method
19
- const matrix = Transform.toMatrix(transform);
20
- console.log("Matrix:", matrix);
21
- const matrixResult = Mat4x4.multiplyVec3(matrix, point);
22
- console.log("Matrix result:", matrixResult);
23
- console.log("");
24
- console.log("Difference:", [
25
- directResult[0] - matrixResult[0],
26
- directResult[1] - matrixResult[1],
27
- directResult[2] - matrixResult[2]
28
- ]);
29
- // Test quaternion rotation directly
30
- console.log("");
31
- console.log("Testing Quat.rotateVec3 directly:");
32
- const quatRotated = Quat.rotateVec3(transform.rotation, point);
33
- console.log("Quat.rotateVec3 result:", quatRotated);
34
- //# sourceMappingURL=debug-test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-test.js","sourceRoot":"","sources":["../../../src/math/transform/debug-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CA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AAC,GAAG,YAAY,CAAC,CAAC,CAAC;CACpC,CAAC,CAAC;AAEH,oCAAoC;AACpC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAChB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC;AACjD,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC/D,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,WAAW,CAAC,CAAC"}
@@ -1,58 +0,0 @@
1
- import { FromSchema } from "../../schema/schema.js";
2
- import { Mat4x4 } from "../mat4x4/mat4x4.js";
3
- import { Vec3 } from "../vec3/vec3.js";
4
- export type Transform = FromSchema<typeof Transform.schema>;
5
- export declare namespace Transform {
6
- const schema: {
7
- readonly type: "object";
8
- readonly properties: {
9
- readonly position: {
10
- readonly type: "array";
11
- readonly items: {
12
- readonly type: "number";
13
- readonly precision: 1;
14
- readonly default: number;
15
- };
16
- readonly minItems: 3;
17
- readonly maxItems: 3;
18
- readonly default: readonly [0, 0, 0];
19
- };
20
- readonly rotation: {
21
- readonly type: "array";
22
- readonly items: {
23
- readonly type: "number";
24
- readonly precision: 1;
25
- readonly default: number;
26
- };
27
- readonly minItems: 4;
28
- readonly maxItems: 4;
29
- readonly default: readonly [0, 0, 0, 1];
30
- };
31
- readonly scale: {
32
- readonly type: "array";
33
- readonly items: {
34
- readonly type: "number";
35
- readonly precision: 1;
36
- readonly default: number;
37
- };
38
- readonly minItems: 3;
39
- readonly maxItems: 3;
40
- readonly default: readonly [0, 0, 0];
41
- };
42
- };
43
- readonly required: readonly ["position", "rotation", "scale"];
44
- readonly additionalProperties: false;
45
- readonly layout: "std140";
46
- };
47
- const identity: Transform;
48
- const toMatrix: (transform: Transform) => Mat4x4;
49
- const transform: (transform: Transform, point: Vec3) => Vec3;
50
- /**
51
- * Applies the inverse transformation to a point.
52
- * This is the reverse operation of transform(): if transform(t, p) = p',
53
- * then transformInverse(t, p') = p.
54
- *
55
- * Note: Assumes rotation is a unit quaternion (which is guaranteed by Quat.fromAxisAngle).
56
- */
57
- const transformInverse: (transform: Transform, point: Vec3) => Vec3;
58
- }
@@ -1,101 +0,0 @@
1
- import { Mat4x4 } from "../mat4x4/mat4x4.js";
2
- import { Quat } from "../quat/quat.js";
3
- import { Vec3 } from "../vec3/vec3.js";
4
- export var Transform;
5
- (function (Transform) {
6
- Transform.schema = {
7
- type: "object",
8
- properties: {
9
- position: Vec3.schema,
10
- rotation: Quat.schema,
11
- scale: Vec3.schema,
12
- },
13
- required: ["position", "rotation", "scale"],
14
- additionalProperties: false,
15
- layout: "std140",
16
- };
17
- Transform.identity = {
18
- position: Vec3.zero,
19
- rotation: Quat.identity,
20
- scale: Vec3.one,
21
- };
22
- Transform.toMatrix = (transform) => {
23
- const { position, rotation, scale } = transform;
24
- // Create rotation matrix from quaternion
25
- const rotationMatrix = Quat.toMat4(rotation);
26
- // Create scale matrix
27
- const scaleMatrix = Mat4x4.scaling(scale[0], scale[1], scale[2]);
28
- // Create translation matrix
29
- const translationMatrix = Mat4x4.translation(position[0], position[1], position[2]);
30
- // Combine in TRS order: Translation * Rotation * Scale
31
- const rs = Mat4x4.multiply(rotationMatrix, scaleMatrix);
32
- return Mat4x4.multiply(translationMatrix, rs);
33
- };
34
- Transform.transform = (transform, point) => {
35
- const { position, rotation, scale } = transform;
36
- // Apply scale
37
- const sx = point[0] * scale[0];
38
- const sy = point[1] * scale[1];
39
- const sz = point[2] * scale[2];
40
- // Apply rotation (quaternion rotation unrolled)
41
- const [qx, qy, qz, qw] = rotation;
42
- // Compute qv × scaled (cross product)
43
- const uvx = qy * sz - qz * sy;
44
- const uvy = qz * sx - qx * sz;
45
- const uvz = qx * sy - qy * sx;
46
- // Compute qv × uv (cross product)
47
- const uuvx = qy * uvz - qz * uvy;
48
- const uuvy = qz * uvx - qx * uvz;
49
- const uuvz = qx * uvy - qy * uvx;
50
- // Combine: scaled + 2*w*uv + 2*uuv
51
- const scaleFactor = 2 * qw;
52
- const rx = sx + scaleFactor * uvx + 2 * uuvx;
53
- const ry = sy + scaleFactor * uvy + 2 * uuvy;
54
- const rz = sz + scaleFactor * uvz + 2 * uuvz;
55
- // Apply translation
56
- return [
57
- rx + position[0],
58
- ry + position[1],
59
- rz + position[2]
60
- ];
61
- };
62
- /**
63
- * Applies the inverse transformation to a point.
64
- * This is the reverse operation of transform(): if transform(t, p) = p',
65
- * then transformInverse(t, p') = p.
66
- *
67
- * Note: Assumes rotation is a unit quaternion (which is guaranteed by Quat.fromAxisAngle).
68
- */
69
- Transform.transformInverse = (transform, point) => {
70
- const { position, rotation, scale } = transform;
71
- // Remove translation
72
- const tx = point[0] - position[0];
73
- const ty = point[1] - position[1];
74
- const tz = point[2] - position[2];
75
- // Apply inverse rotation using quaternion conjugate (for unit quaternions: q^-1 = conjugate(q))
76
- const [qx, qy, qz, qw] = rotation;
77
- const iqx = -qx;
78
- const iqy = -qy;
79
- const iqz = -qz;
80
- // Compute qv × translated (cross product)
81
- const uvx = iqy * tz - iqz * ty;
82
- const uvy = iqz * tx - iqx * tz;
83
- const uvz = iqx * ty - iqy * tx;
84
- // Compute qv × uv (cross product)
85
- const uuvx = iqy * uvz - iqz * uvy;
86
- const uuvy = iqz * uvx - iqx * uvz;
87
- const uuvz = iqx * uvy - iqy * uvx;
88
- // Combine: translated + 2*w*uv + 2*uuv
89
- const scaleFactor = 2 * qw;
90
- const rx = tx + scaleFactor * uvx + 2 * uuvx;
91
- const ry = ty + scaleFactor * uvy + 2 * uuvy;
92
- const rz = tz + scaleFactor * uvz + 2 * uuvz;
93
- // Apply inverse scale (division)
94
- return [
95
- rx / scale[0],
96
- ry / scale[1],
97
- rz / scale[2]
98
- ];
99
- };
100
- })(Transform || (Transform = {}));
101
- //# sourceMappingURL=transform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../src/math/transform/transform.ts"],"names":[],"mappings":"AACA,OAAO,E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