@thi.ng/webgl 6.6.31 → 6.6.33
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 +7 -1
- package/geo/quad.js +2 -2
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-02-
|
|
3
|
+
- **Last updated**: 2024-02-22T23:15:26Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [6.6.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.32) (2024-02-22)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
17
|
+
|
|
12
18
|
### [6.6.28](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.28) (2024-02-16)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/geo/quad.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DrawMode } from "../api/model.js";
|
|
2
|
-
const defQuadModel = (opts) => {
|
|
3
|
-
let { size
|
|
2
|
+
const defQuadModel = (opts = {}) => {
|
|
3
|
+
let { size = 2, uv = true, center = true } = opts;
|
|
4
4
|
size *= 0.5;
|
|
5
5
|
const o = center ? 0 : size;
|
|
6
6
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.33",
|
|
4
4
|
"description": "WebGL & GLSL abstraction layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"test": "bun test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.9.
|
|
43
|
-
"@thi.ng/associative": "^6.3.
|
|
42
|
+
"@thi.ng/api": "^8.9.26",
|
|
43
|
+
"@thi.ng/associative": "^6.3.43",
|
|
44
44
|
"@thi.ng/canvas": "^0.2.7",
|
|
45
45
|
"@thi.ng/checks": "^3.5.0",
|
|
46
46
|
"@thi.ng/equiv": "^2.1.49",
|
|
47
47
|
"@thi.ng/errors": "^2.4.18",
|
|
48
|
-
"@thi.ng/logger": "^3.0.
|
|
49
|
-
"@thi.ng/matrices": "^2.3.
|
|
50
|
-
"@thi.ng/memoize": "^3.1.
|
|
51
|
-
"@thi.ng/pixel": "^6.1.
|
|
52
|
-
"@thi.ng/shader-ast": "^0.13.
|
|
53
|
-
"@thi.ng/shader-ast-glsl": "^0.4.
|
|
54
|
-
"@thi.ng/shader-ast-stdlib": "^0.16.
|
|
55
|
-
"@thi.ng/transducers": "^8.9.
|
|
56
|
-
"@thi.ng/vector-pools": "^3.1.
|
|
57
|
-
"@thi.ng/vectors": "^7.10.
|
|
48
|
+
"@thi.ng/logger": "^3.0.3",
|
|
49
|
+
"@thi.ng/matrices": "^2.3.18",
|
|
50
|
+
"@thi.ng/memoize": "^3.1.60",
|
|
51
|
+
"@thi.ng/pixel": "^6.1.12",
|
|
52
|
+
"@thi.ng/shader-ast": "^0.13.14",
|
|
53
|
+
"@thi.ng/shader-ast-glsl": "^0.4.104",
|
|
54
|
+
"@thi.ng/shader-ast-stdlib": "^0.16.29",
|
|
55
|
+
"@thi.ng/transducers": "^8.9.7",
|
|
56
|
+
"@thi.ng/vector-pools": "^3.1.110",
|
|
57
|
+
"@thi.ng/vectors": "^7.10.12"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -219,5 +219,5 @@
|
|
|
219
219
|
],
|
|
220
220
|
"year": 2014
|
|
221
221
|
},
|
|
222
|
-
"gitHead": "
|
|
222
|
+
"gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
|
|
223
223
|
}
|