@thi.ng/matrices 2.3.16 → 2.3.18

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/mulvm.d.ts CHANGED
@@ -5,8 +5,11 @@ import type { ReadonlyMat } from "./api.js";
5
5
  *
6
6
  * @example
7
7
  * ```ts
8
- * out[0] = dot(v, column(m, 0))
9
- * out[1] = dot(v, column(m, 1))
8
+ * import { column } from "@thi.ng/matrices";
9
+ * import { dot2 } from "@thi.ng/vectors";
10
+ *
11
+ * out[0] = dot2(v, column(m, 0))
12
+ * out[1] = dot2(v, column(m, 1))
10
13
  * ```
11
14
  *
12
15
  * @param out -
@@ -20,9 +23,12 @@ export declare const mulVM23: (out: Vec | null, v: ReadonlyVec, m: ReadonlyMat)
20
23
  *
21
24
  * @example
22
25
  * ```ts
23
- * out[0] = dot(v, column(m, 0))
24
- * out[1] = dot(v, column(m, 1))
25
- * out[2] = dot(v, column(m, 2))
26
+ * import { column } from "@thi.ng/matrices";
27
+ * import { dot3 } from "@thi.ng/vectors";
28
+ *
29
+ * out[0] = dot3(v, column([], m, 0))
30
+ * out[1] = dot3(v, column([], m, 1))
31
+ * out[2] = dot3(v, column([], m, 2))
26
32
  * ```
27
33
  *
28
34
  * @param out -
@@ -35,10 +41,13 @@ export declare const mulVM33: (out: Vec | null, v: ReadonlyVec, m: ReadonlyMat)
35
41
  *
36
42
  * @example
37
43
  * ```ts
38
- * out[0] = dot(v, column(m, 0))
39
- * out[1] = dot(v, column(m, 1))
40
- * out[2] = dot(v, column(m, 2))
41
- * out[3] = dot(v, column(m, 3))
44
+ * import { column } from "@thi.ng/matrices";
45
+ * import { dot3 } from "@thi.ng/vectors";
46
+ *
47
+ * out[0] = dot3(v, column([], m, 0))
48
+ * out[1] = dot3(v, column([], m, 1))
49
+ * out[2] = dot3(v, column([], m, 2))
50
+ * out[3] = dot3(v, column([], m, 3))
42
51
  * ```
43
52
  *
44
53
  * @param out -
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/matrices",
3
- "version": "2.3.16",
3
+ "version": "2.3.18",
4
4
  "description": "Matrix & quaternion operations for 2D/3D geometry processing",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,10 +35,10 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.25",
38
+ "@thi.ng/api": "^8.9.26",
39
39
  "@thi.ng/checks": "^3.5.0",
40
- "@thi.ng/math": "^5.10.2",
41
- "@thi.ng/vectors": "^7.10.10"
40
+ "@thi.ng/math": "^5.10.3",
41
+ "@thi.ng/vectors": "^7.10.12"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.40.1",
@@ -275,5 +275,5 @@
275
275
  ],
276
276
  "year": 2018
277
277
  },
278
- "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
278
+ "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
279
279
  }