@thi.ng/matrices 3.0.20 → 3.0.25

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 (2) hide show
  1. package/package.json +279 -279
  2. package/CHANGELOG.md +0 -77
package/package.json CHANGED
@@ -1,280 +1,280 @@
1
1
  {
2
- "name": "@thi.ng/matrices",
3
- "version": "3.0.20",
4
- "description": "Matrix & quaternion operations for 2D/3D geometry processing",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/matrices",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts compile",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.1",
43
- "@thi.ng/checks": "^3.7.17",
44
- "@thi.ng/math": "^5.11.35",
45
- "@thi.ng/vectors": "^8.6.5"
46
- },
47
- "devDependencies": {
48
- "esbuild": "^0.25.8",
49
- "typedoc": "^0.28.9",
50
- "typescript": "^5.9.2"
51
- },
52
- "keywords": [
53
- "2d",
54
- "3d",
55
- "algebra",
56
- "array",
57
- "codegen",
58
- "conversion",
59
- "frustum",
60
- "geometry",
61
- "invert",
62
- "linear",
63
- "lookat",
64
- "math",
65
- "matrix",
66
- "ortho",
67
- "perspective",
68
- "projection",
69
- "quaternion",
70
- "rotation",
71
- "shear",
72
- "skew",
73
- "typescript",
74
- "vector",
75
- "webgl"
76
- ],
77
- "publishConfig": {
78
- "access": "public"
79
- },
80
- "browser": {
81
- "process": false,
82
- "setTimeout": false
83
- },
84
- "engines": {
85
- "node": ">=18"
86
- },
87
- "files": [
88
- "./*.js",
89
- "./*.d.ts"
90
- ],
91
- "exports": {
92
- ".": {
93
- "default": "./index.js"
94
- },
95
- "./add": {
96
- "default": "./add.js"
97
- },
98
- "./addn": {
99
- "default": "./addn.js"
100
- },
101
- "./alignment-quat": {
102
- "default": "./alignment-quat.js"
103
- },
104
- "./api": {
105
- "default": "./api.js"
106
- },
107
- "./column": {
108
- "default": "./column.js"
109
- },
110
- "./concat": {
111
- "default": "./concat.js"
112
- },
113
- "./conjugate": {
114
- "default": "./conjugate.js"
115
- },
116
- "./constants": {
117
- "default": "./constants.js"
118
- },
119
- "./defmath": {
120
- "default": "./defmath.js"
121
- },
122
- "./determinant": {
123
- "default": "./determinant.js"
124
- },
125
- "./diag": {
126
- "default": "./diag.js"
127
- },
128
- "./div": {
129
- "default": "./div.js"
130
- },
131
- "./divn": {
132
- "default": "./divn.js"
133
- },
134
- "./fit": {
135
- "default": "./fit.js"
136
- },
137
- "./frustum": {
138
- "default": "./frustum.js"
139
- },
140
- "./identity": {
141
- "default": "./identity.js"
142
- },
143
- "./invert": {
144
- "default": "./invert.js"
145
- },
146
- "./lookat": {
147
- "default": "./lookat.js"
148
- },
149
- "./m22-m23": {
150
- "default": "./m22-m23.js"
151
- },
152
- "./m23-m22": {
153
- "default": "./m23-m22.js"
154
- },
155
- "./m23-m44": {
156
- "default": "./m23-m44.js"
157
- },
158
- "./m33-m44": {
159
- "default": "./m33-m44.js"
160
- },
161
- "./m44-m33": {
162
- "default": "./m44-m33.js"
163
- },
164
- "./matn": {
165
- "default": "./matn.js"
166
- },
167
- "./matv": {
168
- "default": "./matv.js"
169
- },
170
- "./mixq": {
171
- "default": "./mixq.js"
172
- },
173
- "./mul": {
174
- "default": "./mul.js"
175
- },
176
- "./mulm": {
177
- "default": "./mulm.js"
178
- },
179
- "./muln": {
180
- "default": "./muln.js"
181
- },
182
- "./mulq": {
183
- "default": "./mulq.js"
184
- },
185
- "./mulv": {
186
- "default": "./mulv.js"
187
- },
188
- "./mulvm": {
189
- "default": "./mulvm.js"
190
- },
191
- "./normal-mat": {
192
- "default": "./normal-mat.js"
193
- },
194
- "./orthagonal": {
195
- "default": "./orthagonal.js"
196
- },
197
- "./ortho": {
198
- "default": "./ortho.js"
199
- },
200
- "./outer-product": {
201
- "default": "./outer-product.js"
202
- },
203
- "./perspective": {
204
- "default": "./perspective.js"
205
- },
206
- "./project": {
207
- "default": "./project.js"
208
- },
209
- "./quat-axis-angle": {
210
- "default": "./quat-axis-angle.js"
211
- },
212
- "./quat-euler": {
213
- "default": "./quat-euler.js"
214
- },
215
- "./quat-m33": {
216
- "default": "./quat-m33.js"
217
- },
218
- "./quat-m44": {
219
- "default": "./quat-m44.js"
220
- },
221
- "./rotation-around-axis": {
222
- "default": "./rotation-around-axis.js"
223
- },
224
- "./rotation-around-point": {
225
- "default": "./rotation-around-point.js"
226
- },
227
- "./rotation": {
228
- "default": "./rotation.js"
229
- },
230
- "./row": {
231
- "default": "./row.js"
232
- },
233
- "./scale-center": {
234
- "default": "./scale-center.js"
235
- },
236
- "./scale": {
237
- "default": "./scale.js"
238
- },
239
- "./set": {
240
- "default": "./set.js"
241
- },
242
- "./shear": {
243
- "default": "./shear.js"
244
- },
245
- "./skew": {
246
- "default": "./skew.js"
247
- },
248
- "./sub": {
249
- "default": "./sub.js"
250
- },
251
- "./subn": {
252
- "default": "./subn.js"
253
- },
254
- "./trace": {
255
- "default": "./trace.js"
256
- },
257
- "./transform": {
258
- "default": "./transform.js"
259
- },
260
- "./translation": {
261
- "default": "./translation.js"
262
- },
263
- "./transpose": {
264
- "default": "./transpose.js"
265
- },
266
- "./viewport": {
267
- "default": "./viewport.js"
268
- }
269
- },
270
- "thi.ng": {
271
- "related": [
272
- "color",
273
- "geom",
274
- "vector-pools",
275
- "vectors"
276
- ],
277
- "year": 2018
278
- },
279
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
280
- }
2
+ "name": "@thi.ng/matrices",
3
+ "version": "3.0.25",
4
+ "description": "Matrix & quaternion operations for 2D/3D geometry processing",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/matrices",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts compile",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/checks": "^3.7.22",
44
+ "@thi.ng/math": "^5.13.3",
45
+ "@thi.ng/vectors": "^8.6.10"
46
+ },
47
+ "devDependencies": {
48
+ "esbuild": "^0.25.11",
49
+ "typedoc": "^0.28.14",
50
+ "typescript": "^5.9.3"
51
+ },
52
+ "keywords": [
53
+ "2d",
54
+ "3d",
55
+ "algebra",
56
+ "array",
57
+ "codegen",
58
+ "conversion",
59
+ "frustum",
60
+ "geometry",
61
+ "invert",
62
+ "linear",
63
+ "lookat",
64
+ "math",
65
+ "matrix",
66
+ "ortho",
67
+ "perspective",
68
+ "projection",
69
+ "quaternion",
70
+ "rotation",
71
+ "shear",
72
+ "skew",
73
+ "typescript",
74
+ "vector",
75
+ "webgl"
76
+ ],
77
+ "publishConfig": {
78
+ "access": "public"
79
+ },
80
+ "browser": {
81
+ "process": false,
82
+ "setTimeout": false
83
+ },
84
+ "engines": {
85
+ "node": ">=18"
86
+ },
87
+ "files": [
88
+ "./*.js",
89
+ "./*.d.ts"
90
+ ],
91
+ "exports": {
92
+ ".": {
93
+ "default": "./index.js"
94
+ },
95
+ "./add": {
96
+ "default": "./add.js"
97
+ },
98
+ "./addn": {
99
+ "default": "./addn.js"
100
+ },
101
+ "./alignment-quat": {
102
+ "default": "./alignment-quat.js"
103
+ },
104
+ "./api": {
105
+ "default": "./api.js"
106
+ },
107
+ "./column": {
108
+ "default": "./column.js"
109
+ },
110
+ "./concat": {
111
+ "default": "./concat.js"
112
+ },
113
+ "./conjugate": {
114
+ "default": "./conjugate.js"
115
+ },
116
+ "./constants": {
117
+ "default": "./constants.js"
118
+ },
119
+ "./defmath": {
120
+ "default": "./defmath.js"
121
+ },
122
+ "./determinant": {
123
+ "default": "./determinant.js"
124
+ },
125
+ "./diag": {
126
+ "default": "./diag.js"
127
+ },
128
+ "./div": {
129
+ "default": "./div.js"
130
+ },
131
+ "./divn": {
132
+ "default": "./divn.js"
133
+ },
134
+ "./fit": {
135
+ "default": "./fit.js"
136
+ },
137
+ "./frustum": {
138
+ "default": "./frustum.js"
139
+ },
140
+ "./identity": {
141
+ "default": "./identity.js"
142
+ },
143
+ "./invert": {
144
+ "default": "./invert.js"
145
+ },
146
+ "./lookat": {
147
+ "default": "./lookat.js"
148
+ },
149
+ "./m22-m23": {
150
+ "default": "./m22-m23.js"
151
+ },
152
+ "./m23-m22": {
153
+ "default": "./m23-m22.js"
154
+ },
155
+ "./m23-m44": {
156
+ "default": "./m23-m44.js"
157
+ },
158
+ "./m33-m44": {
159
+ "default": "./m33-m44.js"
160
+ },
161
+ "./m44-m33": {
162
+ "default": "./m44-m33.js"
163
+ },
164
+ "./matn": {
165
+ "default": "./matn.js"
166
+ },
167
+ "./matv": {
168
+ "default": "./matv.js"
169
+ },
170
+ "./mixq": {
171
+ "default": "./mixq.js"
172
+ },
173
+ "./mul": {
174
+ "default": "./mul.js"
175
+ },
176
+ "./mulm": {
177
+ "default": "./mulm.js"
178
+ },
179
+ "./muln": {
180
+ "default": "./muln.js"
181
+ },
182
+ "./mulq": {
183
+ "default": "./mulq.js"
184
+ },
185
+ "./mulv": {
186
+ "default": "./mulv.js"
187
+ },
188
+ "./mulvm": {
189
+ "default": "./mulvm.js"
190
+ },
191
+ "./normal-mat": {
192
+ "default": "./normal-mat.js"
193
+ },
194
+ "./orthagonal": {
195
+ "default": "./orthagonal.js"
196
+ },
197
+ "./ortho": {
198
+ "default": "./ortho.js"
199
+ },
200
+ "./outer-product": {
201
+ "default": "./outer-product.js"
202
+ },
203
+ "./perspective": {
204
+ "default": "./perspective.js"
205
+ },
206
+ "./project": {
207
+ "default": "./project.js"
208
+ },
209
+ "./quat-axis-angle": {
210
+ "default": "./quat-axis-angle.js"
211
+ },
212
+ "./quat-euler": {
213
+ "default": "./quat-euler.js"
214
+ },
215
+ "./quat-m33": {
216
+ "default": "./quat-m33.js"
217
+ },
218
+ "./quat-m44": {
219
+ "default": "./quat-m44.js"
220
+ },
221
+ "./rotation-around-axis": {
222
+ "default": "./rotation-around-axis.js"
223
+ },
224
+ "./rotation-around-point": {
225
+ "default": "./rotation-around-point.js"
226
+ },
227
+ "./rotation": {
228
+ "default": "./rotation.js"
229
+ },
230
+ "./row": {
231
+ "default": "./row.js"
232
+ },
233
+ "./scale-center": {
234
+ "default": "./scale-center.js"
235
+ },
236
+ "./scale": {
237
+ "default": "./scale.js"
238
+ },
239
+ "./set": {
240
+ "default": "./set.js"
241
+ },
242
+ "./shear": {
243
+ "default": "./shear.js"
244
+ },
245
+ "./skew": {
246
+ "default": "./skew.js"
247
+ },
248
+ "./sub": {
249
+ "default": "./sub.js"
250
+ },
251
+ "./subn": {
252
+ "default": "./subn.js"
253
+ },
254
+ "./trace": {
255
+ "default": "./trace.js"
256
+ },
257
+ "./transform": {
258
+ "default": "./transform.js"
259
+ },
260
+ "./translation": {
261
+ "default": "./translation.js"
262
+ },
263
+ "./transpose": {
264
+ "default": "./transpose.js"
265
+ },
266
+ "./viewport": {
267
+ "default": "./viewport.js"
268
+ }
269
+ },
270
+ "thi.ng": {
271
+ "related": [
272
+ "color",
273
+ "geom",
274
+ "vector-pools",
275
+ "vectors"
276
+ ],
277
+ "year": 2018
278
+ },
279
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
280
+ }
package/CHANGELOG.md DELETED
@@ -1,77 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-08-04T09:13:01Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@3.0.0) (2025-04-16)
15
-
16
- #### 🛑 Breaking changes
17
-
18
- - update to remove dynamic codegen ([#497](https://github.com/thi-ng/umbrella/issues/497)) ([7c6835e](https://github.com/thi-ng/umbrella/commit/7c6835e))
19
- - BREAKING CHANGE: Refactoring & restructuring related to [#497](https://github.com/thi-ng/umbrella/issues/497)
20
- - replace former codegen approach with higher-order functions
21
- - add new`defMath()` & `defMathN()` impls
22
-
23
- #### 🩹 Bug fixes
24
-
25
- - minor update `identity()` ([222aea1](https://github.com/thi-ng/umbrella/commit/222aea1))
26
- - use correct dispatch arg (due to change in [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/main/packages/vectors))
27
-
28
- #### ♻️ Refactoring
29
-
30
- - minor internal optimizations (vector ops) ([696578e](https://github.com/thi-ng/umbrella/commit/696578e))
31
-
32
- ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.4.0) (2024-06-21)
33
-
34
- #### 🚀 Features
35
-
36
- - add AxisOrder type for quadFromEuler() ([f9722dd](https://github.com/thi-ng/umbrella/commit/f9722dd))
37
-
38
- #### ♻️ Refactoring
39
-
40
- - rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
41
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
42
-
43
- ### [2.3.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.3.34) (2024-04-20)
44
-
45
- #### ♻️ Refactoring
46
-
47
- - update type usage ([c3f3751](https://github.com/thi-ng/umbrella/commit/c3f3751))
48
-
49
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.3.0) (2023-12-18)
50
-
51
- #### 🚀 Features
52
-
53
- - add rotationAroundPoint23() ([7b3ed38](https://github.com/thi-ng/umbrella/commit/7b3ed38))
54
-
55
- ### [2.2.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.2.7) (2023-11-09)
56
-
57
- #### ♻️ Refactoring
58
-
59
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
60
-
61
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.2.0) (2023-10-23)
62
-
63
- #### 🚀 Features
64
-
65
- - add fit23 & fit44() matrix ops ([e2040e1](https://github.com/thi-ng/umbrella/commit/e2040e1))
66
-
67
- ### [2.1.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.1.22) (2022-08-16)
68
-
69
- #### 🩹 Bug fixes
70
-
71
- - fix [#352](https://github.com/thi-ng/umbrella/issues/352), update set() return var ([d32026c](https://github.com/thi-ng/umbrella/commit/d32026c))
72
-
73
- ### [2.1.19](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.1.19) (2022-08-06)
74
-
75
- #### ⏱ Performance improvements
76
-
77
- - update vector fns ([39565cb](https://github.com/thi-ng/umbrella/commit/39565cb))