@thi.ng/geom 6.0.3 → 6.0.5
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/edges.js +3 -3
- package/package.json +32 -32
- package/vertices.js +7 -7
package/CHANGELOG.md
CHANGED
package/edges.js
CHANGED
|
@@ -59,13 +59,13 @@ export const edges = defmulti(__dispatch, {
|
|
|
59
59
|
[a, b],
|
|
60
60
|
[b, c],
|
|
61
61
|
[c, d],
|
|
62
|
-
[d, a],
|
|
62
|
+
[d, a], // bottom
|
|
63
63
|
[e, f],
|
|
64
64
|
[f, g],
|
|
65
65
|
[g, h],
|
|
66
|
-
[h, e],
|
|
66
|
+
[h, e], // top
|
|
67
67
|
[a, e],
|
|
68
|
-
[b, f],
|
|
68
|
+
[b, f], // left
|
|
69
69
|
[c, g],
|
|
70
70
|
[d, h], // right
|
|
71
71
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"description": "Functional, polymorphic API for 2D geometry types & SVG generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,41 +34,41 @@
|
|
|
34
34
|
"tool:bpatch": "tools:node-esm tools/bpatch.ts"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.9.
|
|
38
|
-
"@thi.ng/arrays": "^2.7.
|
|
39
|
-
"@thi.ng/associative": "^6.3.
|
|
40
|
-
"@thi.ng/checks": "^3.4.
|
|
41
|
-
"@thi.ng/defmulti": "^3.0.
|
|
42
|
-
"@thi.ng/equiv": "^2.1.
|
|
43
|
-
"@thi.ng/errors": "^2.4.
|
|
44
|
-
"@thi.ng/geom-api": "^3.4.
|
|
45
|
-
"@thi.ng/geom-arc": "^2.1.
|
|
46
|
-
"@thi.ng/geom-clip-line": "^2.3.
|
|
47
|
-
"@thi.ng/geom-clip-poly": "^2.1.
|
|
48
|
-
"@thi.ng/geom-closest-point": "^2.1.
|
|
49
|
-
"@thi.ng/geom-hull": "^2.1.
|
|
50
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
51
|
-
"@thi.ng/geom-poly-utils": "^2.3.
|
|
52
|
-
"@thi.ng/geom-resample": "^2.3.
|
|
53
|
-
"@thi.ng/geom-splines": "^2.2.
|
|
54
|
-
"@thi.ng/geom-subdiv-curve": "^2.1.
|
|
55
|
-
"@thi.ng/geom-tessellate": "^2.1.
|
|
56
|
-
"@thi.ng/hiccup": "^5.0.
|
|
57
|
-
"@thi.ng/hiccup-svg": "^5.0.
|
|
58
|
-
"@thi.ng/math": "^5.7.
|
|
59
|
-
"@thi.ng/matrices": "^2.2.
|
|
60
|
-
"@thi.ng/random": "^3.6.
|
|
61
|
-
"@thi.ng/strings": "^3.
|
|
62
|
-
"@thi.ng/transducers": "^8.8.
|
|
63
|
-
"@thi.ng/vectors": "^7.8.
|
|
37
|
+
"@thi.ng/api": "^8.9.9",
|
|
38
|
+
"@thi.ng/arrays": "^2.7.5",
|
|
39
|
+
"@thi.ng/associative": "^6.3.21",
|
|
40
|
+
"@thi.ng/checks": "^3.4.9",
|
|
41
|
+
"@thi.ng/defmulti": "^3.0.7",
|
|
42
|
+
"@thi.ng/equiv": "^2.1.34",
|
|
43
|
+
"@thi.ng/errors": "^2.4.3",
|
|
44
|
+
"@thi.ng/geom-api": "^3.4.47",
|
|
45
|
+
"@thi.ng/geom-arc": "^2.1.90",
|
|
46
|
+
"@thi.ng/geom-clip-line": "^2.3.47",
|
|
47
|
+
"@thi.ng/geom-clip-poly": "^2.1.89",
|
|
48
|
+
"@thi.ng/geom-closest-point": "^2.1.85",
|
|
49
|
+
"@thi.ng/geom-hull": "^2.1.85",
|
|
50
|
+
"@thi.ng/geom-isec": "^2.1.89",
|
|
51
|
+
"@thi.ng/geom-poly-utils": "^2.3.73",
|
|
52
|
+
"@thi.ng/geom-resample": "^2.3.11",
|
|
53
|
+
"@thi.ng/geom-splines": "^2.2.64",
|
|
54
|
+
"@thi.ng/geom-subdiv-curve": "^2.1.89",
|
|
55
|
+
"@thi.ng/geom-tessellate": "^2.1.90",
|
|
56
|
+
"@thi.ng/hiccup": "^5.0.8",
|
|
57
|
+
"@thi.ng/hiccup-svg": "^5.0.35",
|
|
58
|
+
"@thi.ng/math": "^5.7.4",
|
|
59
|
+
"@thi.ng/matrices": "^2.2.10",
|
|
60
|
+
"@thi.ng/random": "^3.6.15",
|
|
61
|
+
"@thi.ng/strings": "^3.7.0",
|
|
62
|
+
"@thi.ng/transducers": "^8.8.12",
|
|
63
|
+
"@thi.ng/vectors": "^7.8.6"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@microsoft/api-extractor": "^7.38.
|
|
67
|
-
"@thi.ng/testament": "^0.4.
|
|
66
|
+
"@microsoft/api-extractor": "^7.38.3",
|
|
67
|
+
"@thi.ng/testament": "^0.4.2",
|
|
68
68
|
"rimraf": "^5.0.5",
|
|
69
69
|
"tools": "^0.0.1",
|
|
70
70
|
"typedoc": "^0.25.3",
|
|
71
|
-
"typescript": "^5.
|
|
71
|
+
"typescript": "^5.3.2"
|
|
72
72
|
},
|
|
73
73
|
"keywords": [
|
|
74
74
|
"2d",
|
|
@@ -397,5 +397,5 @@
|
|
|
397
397
|
],
|
|
398
398
|
"year": 2013
|
|
399
399
|
},
|
|
400
|
-
"gitHead": "
|
|
400
|
+
"gitHead": "f6de41f4991704fdbbb2899bb430ed4f4f6efab0\n"
|
|
401
401
|
}
|
package/vertices.js
CHANGED
|
@@ -80,13 +80,13 @@ export const vertices = defmulti(__dispatch, {
|
|
|
80
80
|
const [px, py, pz] = pos;
|
|
81
81
|
const [qx, qy, qz] = add3([], pos, size);
|
|
82
82
|
return [
|
|
83
|
-
[px, py, pz],
|
|
84
|
-
[px, py, qz],
|
|
85
|
-
[qx, py, qz],
|
|
86
|
-
[qx, py, pz],
|
|
87
|
-
[px, qy, pz],
|
|
88
|
-
[px, qy, qz],
|
|
89
|
-
[qx, qy, qz],
|
|
83
|
+
[px, py, pz], // a
|
|
84
|
+
[px, py, qz], // b
|
|
85
|
+
[qx, py, qz], // c
|
|
86
|
+
[qx, py, pz], // d
|
|
87
|
+
[px, qy, pz], // e
|
|
88
|
+
[px, qy, qz], // f
|
|
89
|
+
[qx, qy, qz], // g
|
|
90
90
|
[qx, qy, pz], // h
|
|
91
91
|
];
|
|
92
92
|
},
|