@thi.ng/scenegraph 2.0.34 → 2.0.36

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 210 standalone projects, maintained as part
10
+ > This is one of 211 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/anode.js CHANGED
@@ -52,7 +52,7 @@ class ANode {
52
52
  }
53
53
  draw(ctx) {
54
54
  if (this.display) {
55
- for (let c of this.children) {
55
+ for (const c of this.children) {
56
56
  c.draw(ctx);
57
57
  }
58
58
  }
package/node2.js CHANGED
@@ -38,7 +38,7 @@ class Node2D extends ANode {
38
38
  mulM23(this.mat, this.parent.mat, this.mat);
39
39
  }
40
40
  invert23(this.invMat, this.mat);
41
- for (let c of this.children) {
41
+ for (const c of this.children) {
42
42
  c.update();
43
43
  }
44
44
  }
package/node3.js CHANGED
@@ -38,7 +38,7 @@ class Node3D extends ANode {
38
38
  mulM44(this.mat, this.parent.mat, this.mat);
39
39
  }
40
40
  invert44(this.invMat, this.mat);
41
- for (let c of this.children) {
41
+ for (const c of this.children) {
42
42
  c.update();
43
43
  }
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/scenegraph",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "description": "Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,11 +39,11 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.8",
43
- "@thi.ng/checks": "^3.7.24",
44
- "@thi.ng/errors": "^2.5.48",
45
- "@thi.ng/matrices": "^3.0.28",
46
- "@thi.ng/vectors": "^8.6.13"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/checks": "^3.8.0",
44
+ "@thi.ng/errors": "^2.5.50",
45
+ "@thi.ng/matrices": "^3.0.30",
46
+ "@thi.ng/vectors": "^8.6.15"
47
47
  },
48
48
  "devDependencies": {
49
49
  "esbuild": "^0.27.0",
@@ -101,5 +101,5 @@
101
101
  ],
102
102
  "status": "alpha"
103
103
  },
104
- "gitHead": "be6e7657b1e5c54d7d648d1b52888a7297e95a17\n"
104
+ "gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
105
105
  }