@adatechnology/game-shapes 0.2.2 → 0.2.4
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/dist/{chunk-M5N2SHNL.js → chunk-FZQTELDQ.js} +14 -12
- package/dist/chunk-FZQTELDQ.js.map +1 -0
- package/dist/index.global.js +13 -11
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/worker.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-M5N2SHNL.js.map +0 -1
package/dist/index.global.js
CHANGED
|
@@ -1134,17 +1134,19 @@ var GameShapes = (() => {
|
|
|
1134
1134
|
if (p.prevZ) p.prevZ.nextZ = p.nextZ;
|
|
1135
1135
|
if (p.nextZ) p.nextZ.prevZ = p.prevZ;
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1137
|
+
var Node = class {
|
|
1138
|
+
constructor(i, x, y) {
|
|
1139
|
+
this.i = i;
|
|
1140
|
+
this.x = x;
|
|
1141
|
+
this.y = y;
|
|
1142
|
+
this.prev = null;
|
|
1143
|
+
this.next = null;
|
|
1144
|
+
this.z = 0;
|
|
1145
|
+
this.prevZ = null;
|
|
1146
|
+
this.nextZ = null;
|
|
1147
|
+
this.steiner = false;
|
|
1148
|
+
}
|
|
1149
|
+
};
|
|
1148
1150
|
function signedArea(data, start, end, dim) {
|
|
1149
1151
|
let sum = 0;
|
|
1150
1152
|
for (let i = start, j = end - dim; i < end; i += dim) {
|