@thi.ng/matrices 2.4.30 → 2.4.32
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 +1 -1
- package/README.md +1 -1
- package/mixq.d.ts +3 -4
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/mixq.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
|
|
2
2
|
/**
|
|
3
|
-
* Interpolates quaternion `a` to `b` by given amount `t` [0
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* very small.
|
|
3
|
+
* Interpolates quaternion `a` to `b` by given amount `t` `[0,1]`, using SLERP.
|
|
4
|
+
* Writes result to `out`. The optional `eps` (default 1e-3) is used to switch
|
|
5
|
+
* to linear interpolation if the angular difference is very small.
|
|
7
6
|
*
|
|
8
7
|
* @param out -
|
|
9
8
|
* @param a -
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/matrices",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.32",
|
|
4
4
|
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,21 +33,20 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts compile",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/checks": "^3.6.
|
|
45
|
-
"@thi.ng/math": "^5.11.
|
|
46
|
-
"@thi.ng/vectors": "^7.12.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/checks": "^3.6.23",
|
|
44
|
+
"@thi.ng/math": "^5.11.20",
|
|
45
|
+
"@thi.ng/vectors": "^7.12.20"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
|
-
"esbuild": "^0.
|
|
50
|
-
"typedoc": "^0.27.
|
|
48
|
+
"esbuild": "^0.25.0",
|
|
49
|
+
"typedoc": "^0.27.7",
|
|
51
50
|
"typescript": "^5.7.3"
|
|
52
51
|
},
|
|
53
52
|
"keywords": [
|
|
@@ -278,5 +277,5 @@
|
|
|
278
277
|
],
|
|
279
278
|
"year": 2018
|
|
280
279
|
},
|
|
281
|
-
"gitHead": "
|
|
280
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
282
281
|
}
|