@thi.ng/scenegraph 0.6.30 → 0.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/README.md +1 -1
- package/anode.js +8 -0
- package/node2.js +3 -0
- package/node3.js +3 -0
- package/package.json +12 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-
|
|
3
|
+
- **Last updated**: 2023-11-09T10:28:19Z
|
|
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
|
+
### [0.6.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@0.6.32) (2023-11-09)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
17
|
+
|
|
12
18
|
## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@0.6.0) (2023-04-19)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
package/anode.js
CHANGED
package/node2.js
CHANGED
|
@@ -7,6 +7,9 @@ import { set2 } from "@thi.ng/vectors/set";
|
|
|
7
7
|
import { ANode } from "./anode.js";
|
|
8
8
|
import { toHiccup } from "./hiccup.js";
|
|
9
9
|
export class Node2D extends ANode {
|
|
10
|
+
translate;
|
|
11
|
+
rotate;
|
|
12
|
+
scale;
|
|
10
13
|
constructor(id, parent, translate = [0, 0], rotate = 0, scale = 1, body) {
|
|
11
14
|
super(id, parent, body);
|
|
12
15
|
this.translate = translate;
|
package/node3.js
CHANGED
|
@@ -7,6 +7,9 @@ import { set3 } from "@thi.ng/vectors/set";
|
|
|
7
7
|
import { ANode } from "./anode.js";
|
|
8
8
|
import { toHiccup } from "./hiccup.js";
|
|
9
9
|
export class Node3D extends ANode {
|
|
10
|
+
translate;
|
|
11
|
+
rotate;
|
|
12
|
+
scale;
|
|
10
13
|
constructor(id, parent, translate = [0, 0, 0], rotate = [0, 0, 0], scale = 1, body) {
|
|
11
14
|
super(id, parent, body);
|
|
12
15
|
this.translate = translate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/scenegraph",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.33",
|
|
4
4
|
"description": "Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -28,24 +28,23 @@
|
|
|
28
28
|
"clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
|
|
29
29
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
30
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
|
-
"doc:readme": "
|
|
32
|
-
"doc:stats": "tools:module-stats",
|
|
31
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
33
32
|
"pub": "yarn npm publish --access public",
|
|
34
|
-
"test": "
|
|
33
|
+
"test": "bun test"
|
|
35
34
|
},
|
|
36
35
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.9.
|
|
38
|
-
"@thi.ng/checks": "^3.4.
|
|
39
|
-
"@thi.ng/errors": "^2.4.
|
|
40
|
-
"@thi.ng/matrices": "^2.2.
|
|
41
|
-
"@thi.ng/vectors": "^7.8.
|
|
36
|
+
"@thi.ng/api": "^8.9.8",
|
|
37
|
+
"@thi.ng/checks": "^3.4.8",
|
|
38
|
+
"@thi.ng/errors": "^2.4.2",
|
|
39
|
+
"@thi.ng/matrices": "^2.2.8",
|
|
40
|
+
"@thi.ng/vectors": "^7.8.4"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.38.
|
|
45
|
-
"@thi.ng/testament": "^0.
|
|
43
|
+
"@microsoft/api-extractor": "^7.38.2",
|
|
44
|
+
"@thi.ng/testament": "^0.4.1",
|
|
46
45
|
"rimraf": "^5.0.5",
|
|
47
46
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.25.
|
|
47
|
+
"typedoc": "^0.25.3",
|
|
49
48
|
"typescript": "^5.2.2"
|
|
50
49
|
},
|
|
51
50
|
"keywords": [
|
|
@@ -98,5 +97,5 @@
|
|
|
98
97
|
],
|
|
99
98
|
"status": "alpha"
|
|
100
99
|
},
|
|
101
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
|
|
102
101
|
}
|